commit aff0f4eeda284e9cfbdd6247884b472ba2858682 Author: bcjang Date: Wed Feb 12 18:32:21 2025 +0900 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..33153a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +.idea/* +.gradle/* +bin/* +build/* +logs/* +/gradle/wrapper/gradle-wrapper.jar +/gradle/wrapper/gradle-wrapper.properties diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3d844ef --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM openjdk:17 + +#인수 설정 +ARG JAR_FILE=build/libs/CaliverseAdminAPI.jar + +#환경 변수 +#ENV ENVIRONMENT=${ENVIRONMENT} +# +#RUN if [ "$ENVIRONMENT" = "stage" ] ; then \ +# JAR_FILE=build/libs/CaliverseAdminAPI-stage.jar ; \ +# elif [ "$ENVIRONMENT" = "live" ] ; then \ +# JAR_FILE=build/libs/CaliverseAdminAPI-live.jar ; \ +# else \ +# JAR_FILE=build/libs/CaliverseAdminAPI.jar ; \ +# fi + +COPY ${JAR_FILE} admintool.jar +#메모리 최소 2기가 최대 4기가 +ENV JAVA_OPTS="-Xms2g -Xmx4g" +ENTRYPOINT ["java","-jar","/admintool.jar"] \ No newline at end of file diff --git a/Dockerfile.dev b/Dockerfile.dev new file mode 100644 index 0000000..f81b290 --- /dev/null +++ b/Dockerfile.dev @@ -0,0 +1,8 @@ +FROM openjdk:17-jdk-slim + +ARG JAR_FILE=build/libs/CaliverseAdminAPI-dev.jar + +COPY ${JAR_FILE} admintool.jar +#메모리 최소 2기가 최대 4기가 +ENV JAVA_OPTS="-Xms2g -Xmx4g" +ENTRYPOINT ["java","-Dspring.profiles.active=dev","-jar","/admintool.jar"] \ No newline at end of file diff --git a/Dockerfile.live b/Dockerfile.live new file mode 100644 index 0000000..ff99dd8 --- /dev/null +++ b/Dockerfile.live @@ -0,0 +1,8 @@ +FROM openjdk:17 + +ARG JAR_FILE=build/libs/CaliverseAdminAPI-live.jar + +COPY ${JAR_FILE} admintool.jar +#메모리 최소 2기가 최대 4기가 +ENV JAVA_OPTS="-Xms2g -Xmx4g" +ENTRYPOINT ["java","-Dspring.profiles.active=live","-jar","/admintool.jar"] \ No newline at end of file diff --git a/Dockerfile.qa b/Dockerfile.qa new file mode 100644 index 0000000..a10d8d4 --- /dev/null +++ b/Dockerfile.qa @@ -0,0 +1,8 @@ +FROM openjdk:17 + +ARG JAR_FILE=build/libs/CaliverseAdminAPI-qa.jar + +COPY ${JAR_FILE} admintool.jar +#메모리 최소 2기가 최대 4기가 +ENV JAVA_OPTS="-Xms2g -Xmx4g" +ENTRYPOINT ["java","-Dspring.profiles.active=qa","-jar","/admintool.jar"] \ No newline at end of file diff --git a/Dockerfile.stage b/Dockerfile.stage new file mode 100644 index 0000000..c99dd89 --- /dev/null +++ b/Dockerfile.stage @@ -0,0 +1,8 @@ +FROM openjdk:17 + +ARG JAR_FILE=build/libs/CaliverseAdminAPI-stage.jar + +COPY ${JAR_FILE} admintool.jar +#메모리 최소 2기가 최대 4기가 +ENV JAVA_OPTS="-Xms2g -Xmx4g" +ENTRYPOINT ["java","-Dspring.profiles.active=stage","-jar","/admintool.jar"] \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..cd84c50 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,100 @@ +pipeline { + agent any + + environment { + DOCKER_IMAGE = 'caliverse/admintool-back' + DOCKER_TAG = '1.0.0' + DOCKER_TAG_PRE = '1.0.0' + FILE_NAME = 'admintool_back.tar' + DOCKER_NAME = 'admintool-back' + DOCKER_PORT = '23450' + } + + stages { + stage('Gradle Build') { + steps { + script { + sh 'chmod +x gradlew' //gradle 권한 설정 + sh './gradlew clean build -x test -Pprofile=stage' //추후 +// sh './gradlew clean build -x test' //빌드 test는 하지않는다 + } + } + } + stage('Docker Image Build') { + steps { + script { + sh 'docker rmi $DOCKER_IMAGE:$DOCKER_TAG_PRE || true' //이전 이미지 삭제 + sh 'rm $FILE_NAME || true' //이전 .tar 파일 삭제 + sh 'docker build -t $DOCKER_IMAGE:$DOCKER_TAG .' + echo 'Docker Image Create' + sh 'docker save -o $FILE_NAME $DOCKER_IMAGE:$DOCKER_TAG' + echo 'Docker Image > .tar File Create' + } + } + } + stage('SSH Tunneling') { + steps { + script { + sh 'sudo lsof -ti @127.30.148.164:2211 | xargs -r sudo kill -9; sudo ssh -f -N -L 127.30.148.164:2211:172.30.148.164:2211 ubuntu@52.32.111.3 -p 2211 -i /home/admintool/USWest2-KeyPair.pem -o StrictHostKeyChecking=no' + } + } + } + stage('Transfer Docker Image') { + steps { + // aws .tar transfer + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'stage-backend', + transfers: [ + sshTransfer( + sourceFiles: "${FILE_NAME}", + remoteDirectory: '', + execCommand: """ + echo '.tar Transfer Complete' + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('Deploy to Remote'){ + steps{ + // aws command + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'stage-backend', + transfers: [ + sshTransfer( + execCommand: """ + docker stop ${DOCKER_NAME} || true && + docker rm ${DOCKER_NAME} || true && + docker rmi ${DOCKER_IMAGE}:${DOCKER_TAG_PRE} || true && + docker load -i ${FILE_NAME} && + docker run -d \ + -p ${DOCKER_PORT}:${DOCKER_PORT} \ + --name ${DOCKER_NAME} \ + --restart=always \ + -e TZ=\${TZ:-Asia/Seoul} \ + -v ./admintool/log:/logs \ + ${DOCKER_IMAGE}:${DOCKER_TAG} && + rm ${FILE_NAME} + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + } +} \ No newline at end of file diff --git a/Jenkinsfile.dev b/Jenkinsfile.dev new file mode 100644 index 0000000..7bc05a8 --- /dev/null +++ b/Jenkinsfile.dev @@ -0,0 +1,83 @@ +pipeline { + agent any + + environment { + DOCKER_IMAGE = 'caliverse/admintool-back-dev' + DOCKER_TAG = '1.0.0' + DOCKER_TAG_PRE = '1.0.0' + FILE_NAME = 'admintool_back_dev.tar' + DOCKER_NAME = 'admintool-back-dev' + DOCKER_PORT = '23450' + DOCKERFILE_NAME = 'Dockerfile.dev' + TMPDIR = '/tmp/jenkins' + BUILD_DIR = '/home/admintool/admintool-back' + } + + stages { + stage('Gradle Build') { + steps { + script { + sh 'chmod +x gradlew' //gradle 권한 설정 + sh './gradlew clean build -x test -Pprofile=dev' //빌드 test는 하지않는다 + } + } + } + stage('MetaData Checkout'){ + steps{ + checkout([$class: 'SubversionSCM', + additionalCredentials: [], + excludedCommitMessages: '', + excludedRegions: '', + excludedRevprop: '', + excludedUsers: '', + filterChangelog: false, + ignoreDirPropChanges: false, + includedRegions: '', + locations: [ + [ + cancelProcessOnExternalsFail: true, + credentialsId: 'jenkins-build', + depthOption: 'infinity', + ignoreExternalsOption: true, + local: 'metadata', + remote: 'svn://10.20.20.9/trunk/Caliverse/DataAssets/MS2/JSON@HEAD' + ] + ], + quietOperation: true, + workspaceUpdater: [$class: 'UpdateUpdater'] + ]) + } + } + stage('MeataData Transfer'){ + steps{ + dir(env.TMPDIR){ + sh "rsync -av --exclude='.svn' ${WORKSPACE}/metadata/* /home/admintool/admintool-back/metadata/" + sh 'rm -rf ${WORKSPACE}/metadata' + } + } + } + stage('Docker Image Build & Deploy') { + steps { + script { + sh 'docker rmi $DOCKER_IMAGE:$DOCKER_TAG_PRE || true' //이전 이미지 삭제 + sh 'docker rmi $DOCKER_IMAGE:$DOCKER_TAG || true' + sh 'docker build -f $DOCKERFILE_NAME -t $DOCKER_IMAGE:$DOCKER_TAG .' + echo 'Docker Image Create' + sh 'docker stop ${DOCKER_NAME} || true' + sh 'docker rm ${DOCKER_NAME} || true' + sh 'docker run -d \ + -p $DOCKER_PORT:$DOCKER_PORT \ + --name $DOCKER_NAME \ + --restart=always \ + --log-opt max-size=10m \ + -e TZ=\${TZ:-Asia/Seoul} \ + -v /home/admintool/admintool-back/metadata:/metadata:ro,cached \ + -v /home/admintool/admintool-back/log:/logs \ + -v /home/admintool/admintool-back/upload:/upload \ + $DOCKER_IMAGE:$DOCKER_TAG' + echo 'Docker Run Complete' + } + } + } + } +} \ No newline at end of file diff --git a/Jenkinsfile.live b/Jenkinsfile.live new file mode 100644 index 0000000..a067fe1 --- /dev/null +++ b/Jenkinsfile.live @@ -0,0 +1,165 @@ +pipeline { + agent any + + environment { + DOCKER_IMAGE = 'caliverse/admintool-back-live' + DOCKER_TAG = '1.0.0' + DOCKER_TAG_PRE = '1.0.0' + FILE_NAME = 'admintool_back_live.tar' + DOCKER_NAME = 'admintool-back-live' + DOCKER_PORT = '23450' + DOCKERFILE_NAME = 'Dockerfile.live' + META_FOLDER = 'metadata/*' + REMOTE_META_FOLDER = 'admintool' + } + + stages { + stage('Gradle Build') { + steps { + script { + sh 'chmod +x gradlew' //gradle 권한 설정 + sh './gradlew clean build -x test -Pprofile=live' //빌드 test는 하지않는다 + } + } + } + stage('Docker Image Build') { + steps { + script { + sh 'docker rmi $DOCKER_IMAGE:$DOCKER_TAG_PRE || true' //이전 이미지 삭제 + sh 'rm $FILE_NAME || true' //이전 .tar 파일 삭제 + sh 'docker build -f $DOCKERFILE_NAME -t $DOCKER_IMAGE:$DOCKER_TAG .' + echo 'Docker Image Create' + sh 'docker save -o $FILE_NAME $DOCKER_IMAGE:$DOCKER_TAG' + echo 'Docker Image > .tar File Create' + } + } + } + stage('MetaData Checkout'){ + steps{ + checkout([$class: 'SubversionSCM', + additionalCredentials: [], + excludedCommitMessages: '', + excludedRegions: '', + excludedRevprop: '', + excludedUsers: '', + filterChangelog: false, + ignoreDirPropChanges: false, + includedRegions: '', + locations: [ + [ + cancelProcessOnExternalsFail: true, + credentialsId: 'jenkins-build', + depthOption: 'infinity', + ignoreExternalsOption: true, + local: 'metadata', + remote: 'svn://10.20.20.9/branches/Product/DataAssets/MS2/JSON@HEAD' + ] + ], + quietOperation: true, + workspaceUpdater: [$class: 'UpdateUpdater'] + ]) + } + } + stage('SSH Tunneling Start') { + steps { + script { + sh 'rm -rf ${WORKSPACE}/metadata/.svn' + sh 'rm -rf ${WORKSPACE}/metadata/QuestScript' + sh '/home/admintool/ssh-tunneling-live.sh start' + } + } + } + stage('Transfer MeataData'){ + steps{ + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'live-backend', + transfers: [ + sshTransfer( + sourceFiles: "${META_FOLDER}", + remoteDirectory: "${REMOTE_META_FOLDER}", + execCommand: """ + echo 'metadata Transfer Complete' + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('Transfer Docker Image') { + steps { + // aws .tar transfer + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'live-backend', + transfers: [ + sshTransfer( + sourceFiles: "${FILE_NAME}", + remoteDirectory: '', + execCommand: """ + echo '.tar Transfer Complete' + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('Deploy to Remote'){ + steps{ + // aws command + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'live-backend', + transfers: [ + sshTransfer( + execCommand: """ + docker stop ${DOCKER_NAME} || true && + docker rm ${DOCKER_NAME} || true && + docker rmi ${DOCKER_IMAGE}:${DOCKER_TAG_PRE} || true && + docker load -i ${FILE_NAME} && + docker run -d \ + -p ${DOCKER_PORT}:${DOCKER_PORT} \ + --name ${DOCKER_NAME} \ + --restart=always \ + --log-opt max-size=10m \ + -e TZ=\${TZ:-Asia/Seoul} \ + -v ./admintool/log:/logs \ + -v ./admintool/upload:/upload \ + -v ./admintool/metadata:/metadata:ro,cached \ + ${DOCKER_IMAGE}:${DOCKER_TAG} && + rm ${FILE_NAME} + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('SSH Tunneling Stop') { + steps { + script { + sh 'rm -rf ${WORKSPACE}/metadata' + echo 'metadata Directory Remove' + sh '/home/admintool/ssh-tunneling-live.sh stop; /home/admintool/ssh-tunneling-live.sh status' + } + } + } + } +} \ No newline at end of file diff --git a/Jenkinsfile.live.simple b/Jenkinsfile.live.simple new file mode 100644 index 0000000..78ae8f1 --- /dev/null +++ b/Jenkinsfile.live.simple @@ -0,0 +1,112 @@ +pipeline { + agent any + + environment { + DOCKER_IMAGE = 'caliverse/admintool-back-live' + DOCKER_TAG = '1.0.0' + DOCKER_TAG_PRE = '1.0.0' + FILE_NAME = 'admintool_back_live.tar' + DOCKER_NAME = 'admintool-back-live' + DOCKER_PORT = '23450' + DOCKERFILE_NAME = 'Dockerfile.live' + META_FOLDER = 'metadata/*' + REMOTE_META_FOLDER = 'admintool' + } + + stages { + stage('Gradle Build') { + steps { + script { + sh 'chmod +x gradlew' //gradle 권한 설정 + sh './gradlew clean build -x test -Pprofile=live' //빌드 test는 하지않는다 + } + } + } + stage('Docker Image Build') { + steps { + script { + sh 'docker rmi $DOCKER_IMAGE:$DOCKER_TAG_PRE || true' //이전 이미지 삭제 + sh 'rm $FILE_NAME || true' //이전 .tar 파일 삭제 + sh 'docker build -f $DOCKERFILE_NAME -t $DOCKER_IMAGE:$DOCKER_TAG .' + echo 'Docker Image Create' + sh 'docker save -o $FILE_NAME $DOCKER_IMAGE:$DOCKER_TAG' + echo 'Docker Image > .tar File Create' + } + } + } + stage('SSH Tunneling Start') { + steps { + script { + sh '/home/admintool/ssh-tunneling-live.sh start' + } + } + } + stage('Transfer Docker Image') { + steps { + // aws .tar transfer + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'live-backend', + transfers: [ + sshTransfer( + sourceFiles: "${FILE_NAME}", + remoteDirectory: '', + execCommand: """ + echo '.tar Transfer Complete' + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('Deploy to Remote'){ + steps{ + // aws command + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'live-backend', + transfers: [ + sshTransfer( + execCommand: """ + docker stop ${DOCKER_NAME} || true && + docker rm ${DOCKER_NAME} || true && + docker rmi ${DOCKER_IMAGE}:${DOCKER_TAG_PRE} || true && + docker load -i ${FILE_NAME} && + docker run -d \ + -p ${DOCKER_PORT}:${DOCKER_PORT} \ + --name ${DOCKER_NAME} \ + --restart=always \ + --log-opt max-size=10m \ + -e TZ=\${TZ:-Asia/Seoul} \ + -v ./admintool/log:/logs \ + -v ./admintool/upload:/upload \ + -v ./admintool/metadata:/metadata:ro,cached \ + ${DOCKER_IMAGE}:${DOCKER_TAG} && + rm ${FILE_NAME} + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('SSH Tunneling Stop') { + steps { + script { + sh '/home/admintool/ssh-tunneling-live.sh stop; /home/admintool/ssh-tunneling-live.sh status' + } + } + } + } +} \ No newline at end of file diff --git a/Jenkinsfile.qa b/Jenkinsfile.qa new file mode 100644 index 0000000..433e612 --- /dev/null +++ b/Jenkinsfile.qa @@ -0,0 +1,164 @@ +pipeline { + agent any + + environment { + DOCKER_IMAGE = 'caliverse/admintool-back-qa' + DOCKER_TAG = '1.0.0' + DOCKER_TAG_PRE = '1.0.0' + FILE_NAME = 'admintool_back_qa.tar' + DOCKER_NAME = 'admintool-back-qa' + DOCKER_PORT = '23450' + DOCKERFILE_NAME = 'Dockerfile.qa' + META_FOLDER = 'metadata/*' + REMOTE_META_FOLDER = 'admintool' + } + + stages { + stage('Gradle Build') { + steps { + script { + sh 'chmod +x gradlew' //gradle 권한 설정 + sh './gradlew clean build -x test -Pprofile=qa' //빌드 test는 하지않는다 + } + } + } + stage('Docker Image Build') { + steps { + script { + sh 'docker rmi $DOCKER_IMAGE:$DOCKER_TAG_PRE || true' //이전 이미지 삭제 + sh 'rm $FILE_NAME || true' //이전 .tar 파일 삭제 + sh 'docker build -f $DOCKERFILE_NAME -t $DOCKER_IMAGE:$DOCKER_TAG .' + echo 'Docker Image Create' + sh 'docker save -o $FILE_NAME $DOCKER_IMAGE:$DOCKER_TAG' + echo 'Docker Image > .tar File Create' + } + } + } + stage('MetaData Checkout'){ + steps{ + checkout([$class: 'SubversionSCM', + additionalCredentials: [], + excludedCommitMessages: '', + excludedRegions: '', + excludedRevprop: '', + excludedUsers: '', + filterChangelog: false, + ignoreDirPropChanges: false, + includedRegions: '', + locations: [ + [ + cancelProcessOnExternalsFail: true, + credentialsId: 'jenkins-build', + depthOption: 'infinity', + ignoreExternalsOption: true, + local: 'metadata', + remote: 'svn://10.20.20.9/branches/Stable/DataAssets/MS2/JSON@HEAD' + ] + ], + quietOperation: true, + workspaceUpdater: [$class: 'UpdateUpdater'] + ]) + } + } + stage('SSH Tunneling Start') { + steps { + script { + sh 'rm -rf ${WORKSPACE}/metadata/.svn' + sh 'rm -rf ${WORKSPACE}/metadata/QuestScript' + sh '/home/admintool/ssh-tunneling-qa.sh start' + } + } + } + stage('Transfer MeataData'){ + steps{ + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'qa-backend', + transfers: [ + sshTransfer( + sourceFiles: "${META_FOLDER}", + remoteDirectory: "${REMOTE_META_FOLDER}", + execCommand: """ + echo 'metadata Transfer Complete' + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('Transfer Docker Image') { + steps { + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'qa-backend', + transfers: [ + sshTransfer( + sourceFiles: "${FILE_NAME}", + remoteDirectory: '', + execCommand: """ + echo '.tar Transfer Complete' + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('Deploy to Remote'){ + steps{ + // aws command + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'qa-backend', + transfers: [ + sshTransfer( + execCommand: """ + docker stop ${DOCKER_NAME} || true && + docker rm ${DOCKER_NAME} || true && + docker rmi ${DOCKER_IMAGE}:${DOCKER_TAG_PRE} || true && + docker load -i ${FILE_NAME} && + docker run -d \ + -p ${DOCKER_PORT}:${DOCKER_PORT} \ + --name ${DOCKER_NAME} \ + --restart=always \ + --log-opt max-size=10m \ + -e TZ=\${TZ:-Asia/Seoul} \ + -v ./admintool/log:/logs \ + -v ./admintool/upload:/upload \ + -v ./admintool/metadata:/metadata:ro,cached \ + ${DOCKER_IMAGE}:${DOCKER_TAG} && + rm ${FILE_NAME} + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('SSH Tunneling Stop') { + steps { + script { + sh 'rm -rf ${WORKSPACE}/metadata' + echo 'metadata Directory Remove' + sh '/home/admintool/ssh-tunneling-qa.sh stop; /home/admintool/ssh-tunneling-qa.sh status' + } + } + } + } +} \ No newline at end of file diff --git a/Jenkinsfile.qa.simple b/Jenkinsfile.qa.simple new file mode 100644 index 0000000..b167a5c --- /dev/null +++ b/Jenkinsfile.qa.simple @@ -0,0 +1,111 @@ +pipeline { + agent any + + environment { + DOCKER_IMAGE = 'caliverse/admintool-back-qa' + DOCKER_TAG = '1.0.0' + DOCKER_TAG_PRE = '1.0.0' + FILE_NAME = 'admintool_back_qa.tar' + DOCKER_NAME = 'admintool-back-qa' + DOCKER_PORT = '23450' + DOCKERFILE_NAME = 'Dockerfile.qa' + META_FOLDER = 'metadata/*' + REMOTE_META_FOLDER = 'admintool' + } + + stages { + stage('Gradle Build') { + steps { + script { + sh 'chmod +x gradlew' //gradle 권한 설정 + sh './gradlew clean build -x test -Pprofile=qa' //빌드 test는 하지않는다 + } + } + } + stage('Docker Image Build') { + steps { + script { + sh 'docker rmi $DOCKER_IMAGE:$DOCKER_TAG_PRE || true' //이전 이미지 삭제 + sh 'rm $FILE_NAME || true' //이전 .tar 파일 삭제 + sh 'docker build -f $DOCKERFILE_NAME -t $DOCKER_IMAGE:$DOCKER_TAG .' + echo 'Docker Image Create' + sh 'docker save -o $FILE_NAME $DOCKER_IMAGE:$DOCKER_TAG' + echo 'Docker Image > .tar File Create' + } + } + } + stage('SSH Tunneling Start') { + steps { + script { + sh '/home/admintool/ssh-tunneling-qa.sh start' + } + } + } + stage('Transfer Docker Image') { + steps { + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'qa-backend', + transfers: [ + sshTransfer( + sourceFiles: "${FILE_NAME}", + remoteDirectory: '', + execCommand: """ + echo '.tar Transfer Complete' + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('Deploy to Remote'){ + steps{ + // aws command + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'qa-backend', + transfers: [ + sshTransfer( + execCommand: """ + docker stop ${DOCKER_NAME} || true && + docker rm ${DOCKER_NAME} || true && + docker rmi ${DOCKER_IMAGE}:${DOCKER_TAG_PRE} || true && + docker load -i ${FILE_NAME} && + docker run -d \ + -p ${DOCKER_PORT}:${DOCKER_PORT} \ + --name ${DOCKER_NAME} \ + --restart=always \ + --log-opt max-size=10m \ + -e TZ=\${TZ:-Asia/Seoul} \ + -v ./admintool/log:/logs \ + -v ./admintool/upload:/upload \ + -v ./admintool/metadata:/metadata:ro,cached \ + ${DOCKER_IMAGE}:${DOCKER_TAG} && + rm ${FILE_NAME} + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('SSH Tunneling Stop') { + steps { + script { + sh '/home/admintool/ssh-tunneling-qa.sh stop; /home/admintool/ssh-tunneling-qa.sh status' + } + } + } + } +} \ No newline at end of file diff --git a/Jenkinsfile.stage b/Jenkinsfile.stage new file mode 100644 index 0000000..d43e907 --- /dev/null +++ b/Jenkinsfile.stage @@ -0,0 +1,165 @@ +pipeline { + agent any + + environment { + DOCKER_IMAGE = 'caliverse/admintool-back-stage' + DOCKER_TAG = '1.0.0' + DOCKER_TAG_PRE = '1.0.0' + FILE_NAME = 'admintool_back_stage.tar' + DOCKER_NAME = 'admintool-back-stage' + DOCKER_PORT = '23450' + DOCKERFILE_NAME = 'Dockerfile.stage' + META_FOLDER = 'metadata/*' + REMOTE_META_FOLDER = 'admintool' + } + + stages { + stage('Gradle Build') { + steps { + script { + sh 'chmod +x gradlew' //gradle 권한 설정 + sh './gradlew clean build -x test -Pprofile=stage' //빌드 test는 하지않는다 + } + } + } + stage('Docker Image Build') { + steps { + script { + sh 'docker rmi $DOCKER_IMAGE:$DOCKER_TAG_PRE || true' //이전 이미지 삭제 + sh 'rm $FILE_NAME || true' //이전 .tar 파일 삭제 + sh 'docker build -f $DOCKERFILE_NAME -t $DOCKER_IMAGE:$DOCKER_TAG .' + echo 'Docker Image Create' + sh 'docker save -o $FILE_NAME $DOCKER_IMAGE:$DOCKER_TAG' + echo 'Docker Image > .tar File Create' + } + } + } + stage('MetaData Checkout'){ + steps{ + checkout([$class: 'SubversionSCM', + additionalCredentials: [], + excludedCommitMessages: '', + excludedRegions: '', + excludedRevprop: '', + excludedUsers: '', + filterChangelog: false, + ignoreDirPropChanges: false, + includedRegions: '', + locations: [ + [ + cancelProcessOnExternalsFail: true, + credentialsId: 'jenkins-build', + depthOption: 'infinity', + ignoreExternalsOption: true, + local: 'metadata', + remote: 'svn://10.20.20.9/branches/Product/DataAssets/MS2/JSON@HEAD' + ] + ], + quietOperation: true, + workspaceUpdater: [$class: 'UpdateUpdater'] + ]) + } + } + stage('SSH Tunneling Start') { + steps { + script { + sh 'rm -rf ${WORKSPACE}/metadata/.svn' + sh 'rm -rf ${WORKSPACE}/metadata/QuestScript' + sh '/home/admintool/ssh-tunneling-stage.sh start' + } + } + } + stage('Transfer MeataData'){ + steps{ + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'stage-backend', + transfers: [ + sshTransfer( + sourceFiles: "${META_FOLDER}", + remoteDirectory: "${REMOTE_META_FOLDER}", + execCommand: """ + echo 'metadata Transfer Complete' + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('Transfer Docker Image') { + steps { + // aws .tar transfer + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'stage-backend', + transfers: [ + sshTransfer( + sourceFiles: "${FILE_NAME}", + remoteDirectory: '', + execCommand: """ + echo '.tar Transfer Complete' + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('Deploy to Remote'){ + steps{ + // aws command + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'stage-backend', + transfers: [ + sshTransfer( + execCommand: """ + docker stop ${DOCKER_NAME} || true && + docker rm ${DOCKER_NAME} || true && + docker rmi ${DOCKER_IMAGE}:${DOCKER_TAG_PRE} || true && + docker load -i ${FILE_NAME} && + docker run -d \ + -p ${DOCKER_PORT}:${DOCKER_PORT} \ + --name ${DOCKER_NAME} \ + --restart=always \ + --log-opt max-size=10m \ + -e TZ=\${TZ:-Asia/Seoul} \ + -v ./admintool/log:/logs \ + -v ./admintool/upload:/upload \ + -v ./admintool/metadata:/metadata:ro,cached \ + ${DOCKER_IMAGE}:${DOCKER_TAG} && + rm ${FILE_NAME} + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('SSH Tunneling Stop') { + steps { + script { + sh 'rm -rf ${WORKSPACE}/metadata' + echo 'metadata Directory Remove' + sh '/home/admintool/ssh-tunneling-stage.sh stop; /home/admintool/ssh-tunneling-stage.sh status' + } + } + } + } +} \ No newline at end of file diff --git a/Jenkinsfile.stage.simple b/Jenkinsfile.stage.simple new file mode 100644 index 0000000..dedadbd --- /dev/null +++ b/Jenkinsfile.stage.simple @@ -0,0 +1,112 @@ +pipeline { + agent any + + environment { + DOCKER_IMAGE = 'caliverse/admintool-back-stage' + DOCKER_TAG = '1.0.0' + DOCKER_TAG_PRE = '1.0.0' + FILE_NAME = 'admintool_back_stage.tar' + DOCKER_NAME = 'admintool-back-stage' + DOCKER_PORT = '23450' + DOCKERFILE_NAME = 'Dockerfile.stage' + META_FOLDER = 'metadata/*' + REMOTE_META_FOLDER = 'admintool' + } + + stages { + stage('Gradle Build') { + steps { + script { + sh 'chmod +x gradlew' //gradle 권한 설정 + sh './gradlew clean build -x test -Pprofile=stage' //빌드 test는 하지않는다 + } + } + } + stage('Docker Image Build') { + steps { + script { + sh 'docker rmi $DOCKER_IMAGE:$DOCKER_TAG_PRE || true' //이전 이미지 삭제 + sh 'rm $FILE_NAME || true' //이전 .tar 파일 삭제 + sh 'docker build -f $DOCKERFILE_NAME -t $DOCKER_IMAGE:$DOCKER_TAG .' + echo 'Docker Image Create' + sh 'docker save -o $FILE_NAME $DOCKER_IMAGE:$DOCKER_TAG' + echo 'Docker Image > .tar File Create' + } + } + } + stage('SSH Tunneling Start') { + steps { + script { + sh '/home/admintool/ssh-tunneling-stage.sh start' + } + } + } + stage('Transfer Docker Image') { + steps { + // aws .tar transfer + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'stage-backend', + transfers: [ + sshTransfer( + sourceFiles: "${FILE_NAME}", + remoteDirectory: '', + execCommand: """ + echo '.tar Transfer Complete' + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('Deploy to Remote'){ + steps{ + // aws command + sshPublisher( + publishers: [ + sshPublisherDesc( + configName: 'stage-backend', + transfers: [ + sshTransfer( + execCommand: """ + docker stop ${DOCKER_NAME} || true && + docker rm ${DOCKER_NAME} || true && + docker rmi ${DOCKER_IMAGE}:${DOCKER_TAG_PRE} || true && + docker load -i ${FILE_NAME} && + docker run -d \ + -p ${DOCKER_PORT}:${DOCKER_PORT} \ + --name ${DOCKER_NAME} \ + --restart=always \ + --log-opt max-size=10m \ + -e TZ=\${TZ:-Asia/Seoul} \ + -v ./admintool/log:/logs \ + -v ./admintool/upload:/upload \ + -v ./admintool/metadata:/metadata:ro,cached \ + ${DOCKER_IMAGE}:${DOCKER_TAG} && + rm ${FILE_NAME} + """, + execTimeout: 120000 + ) + ], + usePromotionTimestamp: false, + verbose: true + ) + ] + ) + } + } + stage('SSH Tunneling Stop') { + steps { + script { + sh '/home/admintool/ssh-tunneling-stage.sh stop; /home/admintool/ssh-tunneling-stage.sh status' + } + } + } + } +} \ No newline at end of file diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..c721f59 --- /dev/null +++ b/build.gradle @@ -0,0 +1,146 @@ +plugins { + id 'java' + id 'org.springframework.boot' version '3.0.5' + id 'io.spring.dependency-management' version '1.1.0' + id 'org.sonarqube' version '4.0.0.2929' +} + +group = 'com.caliverse.admin' +version = '1.0.0' + +/*ava 17 버전과 호환*/ +java { + sourceCompatibility = '17' +} + +configurations { + compileOnly { + extendsFrom annotationProcessor + } +} + +repositories { + mavenCentral() +} + +dependencies { + implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.2' + implementation 'org.springframework.boot:spring-boot-starter-web' + implementation 'org.springframework.boot:spring-boot-starter-security' + implementation 'org.springframework.boot:spring-boot-starter-aop' + + implementation 'org.apache.httpcomponents.client5:httpclient5:5.4.1' + implementation 'org.apache.httpcomponents.core5:httpcore5:5.3.1' + + //Json + implementation group: 'org.json', name: 'json', version: '20231013' + implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310' + + //aws + implementation platform('software.amazon.awssdk:bom:2.20.155') + implementation 'software.amazon.awssdk:dynamodb' + implementation 'software.amazon.awssdk:dynamodb-enhanced' + implementation 'software.amazon.awssdk:s3:2.21.5' + implementation 'software.amazon.awssdk:auth' + implementation 'software.amazon.awssdk:cloudwatch' + + //메일 서버 + implementation 'org.springframework.boot:spring-boot-starter-mail' + //mongoDB + implementation 'org.springframework.boot:spring-boot-starter-data-mongodb' + + //POI + implementation 'org.apache.poi:poi:5.2.2' + implementation 'org.apache.poi:poi-ooxml:5.2.2' + + //spring batch + implementation 'org.springframework.boot:spring-boot-starter-batch' + + // jwt + implementation 'io.jsonwebtoken:jjwt-api:0.11.5' + implementation 'io.jsonwebtoken:jjwt-impl:0.11.5' + implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5' + //swagger + implementation group: 'org.springdoc', name: 'springdoc-openapi-starter-webmvc-ui', version: '2.1.0' + + // RabbitMQ + implementation 'com.rabbitmq:amqp-client:5.21.0' + + // proto + implementation group: 'com.google.protobuf', name: 'protobuf-java', version: '3.21.12' + implementation group: 'com.google.protobuf', name: 'protobuf-java-util', version: '3.25.3' + + //redis + implementation 'redis.clients:jedis:4.3.1' + implementation 'org.springframework.boot:spring-boot-starter-data-redis' + + compileOnly 'org.projectlombok:lombok' + runtimeOnly 'com.mysql:mysql-connector-j' + annotationProcessor 'org.projectlombok:lombok' + testImplementation 'org.springframework.boot:spring-boot-starter-test' + +} + +sonarqube { + properties { + property "sonar.projectKey", "admintool" + property "sonar.host.url", "http://localhost:9000" + property "sonar.token", "sqp_097d54f557bc6f85200f6340bbf86906a00ac38c" + property "sonar.sourceEncoding", "UTF-8" + property "sonar.exclusions", "**/build/**, **/src/main/java/com/caliverse/admin/domain/RabbitMq/**, **/logs/**, **/.gradle/**, **/bin/**, **/.idea/**" + } +} + + +tasks.named('test') { + useJUnitPlatform() +} +tasks.named('jar'){ + enabled=false +} +tasks { + processResources { + duplicatesStrategy = org.gradle.api.file.DuplicatesStrategy.INCLUDE + } +} + +def getDate() { + new Date().format('yyyyMMdd') +} + +// 빌드 종류별 처리 +def profiles = project.hasProperty('profile') ? project.property('profile') : 'local' +println "Active profile: $profiles" + +tasks.withType(JavaExec) { + systemProperty 'spring.profiles.active', profiles +} + +bootJar{ + + archivesBaseName = 'CaliverseAdminAPI' + archiveVersion = '1.0.0' + +// archiveFileName = "CaliverseAdminAPI-${version}-${profile}.jar" + archiveFileName = "CaliverseAdminAPI-${profiles}.jar" +} +sourceSets { + /** + * 개발환경 : local + * 운영환경 : live + * 환경 변경하여 빌드시 ext.profile 값 변경 + */ +// def Properties properties = new Properties() +// Reader reader = new FileReader(project.rootProject.file('src/main/resources/config/application.yml')) +// properties.load(reader) +// ext.profile = properties.getProperty('active') + println "Active resources set src/main/resources/config/${profiles}" + main { + java { + srcDirs "src/main/java" + } + resources { + srcDirs "src/main/resources/config","src/main/resources/config/${profiles}" + } + } +} diff --git a/gradlew b/gradlew new file mode 100644 index 0000000..8b1cf35 --- /dev/null +++ b/gradlew @@ -0,0 +1,245 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# 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. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +# This is normally unused +# shellcheck disable=SC2034 +APP_BASE_NAME=${0##*/} +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { + echo "$*" +} >&2 + +die () { + echo + echo "$*" + echo + exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD=$JAVA_HOME/jre/sh/java + else + JAVACMD=$JAVA_HOME/bin/java + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD=java + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC3045 + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC3045 + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + + # Now convert the arguments - kludge to limit ourselves to /bin/sh + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) + fi + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg + done +fi + + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx4096m" "-Xms4096m"' + +# Collect all arguments for the java command; +# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then + die "xargs is not available" +fi + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000..7aa8c67 --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,92 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx4096m" "-Xms4096m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..ed97280 --- /dev/null +++ b/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'CaliverseAdminAPI' diff --git a/src/main/java/com/caliverse/admin/CaliverseAdminApplication.java b/src/main/java/com/caliverse/admin/CaliverseAdminApplication.java new file mode 100644 index 0000000..773649b --- /dev/null +++ b/src/main/java/com/caliverse/admin/CaliverseAdminApplication.java @@ -0,0 +1,18 @@ +package com.caliverse.admin; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.transaction.annotation.EnableTransactionManagement; +import java.util.TimeZone; + + +@SpringBootApplication +@EnableTransactionManagement +public class CaliverseAdminApplication { + + public static void main(String[] args) { + TimeZone.setDefault(TimeZone.getTimeZone("UTC")); + SpringApplication.run(CaliverseAdminApplication.class, args); + } + +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatordomain/IndicatorsLog.java b/src/main/java/com/caliverse/admin/Indicators/Indicatordomain/IndicatorsLog.java new file mode 100644 index 0000000..f0f06be --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatordomain/IndicatorsLog.java @@ -0,0 +1,5 @@ +package com.caliverse.admin.Indicators.Indicatordomain; + +public interface IndicatorsLog { + +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatordomain/IndicatorsResult.java b/src/main/java/com/caliverse/admin/Indicators/Indicatordomain/IndicatorsResult.java new file mode 100644 index 0000000..3326604 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatordomain/IndicatorsResult.java @@ -0,0 +1,58 @@ +package com.caliverse.admin.Indicators.Indicatordomain; + +import java.time.LocalDate; +import java.util.List; + +import com.caliverse.admin.domain.entity.Currencys; +import com.caliverse.admin.domain.entity.Distinct; +import com.caliverse.admin.domain.response.IndicatorsResponse.DailyGoods; +import com.caliverse.admin.domain.response.IndicatorsResponse.Dau; +import com.caliverse.admin.domain.response.IndicatorsResponse.MCU; +import com.caliverse.admin.domain.response.IndicatorsResponse.NRU; +import com.caliverse.admin.domain.response.IndicatorsResponse.PU; +import com.caliverse.admin.domain.response.IndicatorsResponse.Playtime; +import com.caliverse.admin.domain.response.IndicatorsResponse.Retention; +import com.caliverse.admin.domain.response.IndicatorsResponse.Segment; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +import lombok.Builder; +import lombok.Data; + +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class IndicatorsResult { + + private String message; + + //이용자 지표 + private LocalDate date; + private Dau dau; + private NRU nru; + private PU pu; + private MCU mcu; + @JsonProperty("distinct") + private List list; + //Retention + @JsonProperty("retention") + private List retentionList; + //Segment + @JsonProperty("start_dt") + private String startDt; + @JsonProperty("end_dt") + private String endDt; + @JsonProperty("segment") + private List segmentList; + //플레이타임 + @JsonProperty("playtime") + private List playtimeList; + //재화 + @JsonProperty("currencys") + private List currencysList; + @JsonProperty("list") + private List dailyGoods; + + //@JsonProperty("dau_list") + //private List dailyActiveUserList; +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsAuLoadService.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsAuLoadService.java new file mode 100644 index 0000000..2b6797e --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsAuLoadService.java @@ -0,0 +1,38 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice; + +import java.util.List; + +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.AggregationResults; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase; +import com.caliverse.admin.global.common.constants.AdminConstants; + +@Service +public class IndicatorsAuLoadService extends IndicatorsLogLoadServiceBase { + + public IndicatorsAuLoadService( @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate){ + super(mongoTemplate); + } + + @Override + public List getIndicatorsLogData(String startTime, String endTime, Class clazz) { + + Criteria criteria = makeCriteria(startTime, endTime); + List operations = setDefaultOperation(criteria); + + + Aggregation aggregation = Aggregation.newAggregation(operations); + AggregationResults results = mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, clazz); + + List mappedResult = results.getMappedResults(); + return mappedResult; + } + +} \ No newline at end of file diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsCapacityLoadService.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsCapacityLoadService.java new file mode 100644 index 0000000..d5d44bc --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsCapacityLoadService.java @@ -0,0 +1,68 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase; +import com.caliverse.admin.global.common.constants.AdminConstants; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.domain.Sort; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.ConditionalOperators; +import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class IndicatorsCapacityLoadService extends IndicatorsLogLoadServiceBase { + public IndicatorsCapacityLoadService( + @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate + ) { + super(mongoTemplate); + } + + public T getDailyIndicatorLog(String date, Class clazz) { + Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_CAPACITY_READ_TOTAL).then(0L)) + .as(AdminConstants.MONGO_DB_KEY_CAPACITY_READ_TOTAL) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_CAPACITY_WRITE_TOTAL).then(0L)) + .as(AdminConstants.MONGO_DB_KEY_CAPACITY_WRITE_TOTAL); + + List operations = List.of( + Aggregation.match(criteria), + projection + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_CAPACITY, clazz) + .getUniqueMappedResult(); // 단일 결과만 반환 + } + + @Override + public List getIndicatorsLogData(String startTime, String endTime, Class clazz) { + Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_CAPACITY_READ_TOTAL).then(0L)) + .as(AdminConstants.MONGO_DB_KEY_CAPACITY_READ_TOTAL) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_CAPACITY_WRITE_TOTAL).then(0L)) + .as(AdminConstants.MONGO_DB_KEY_CAPACITY_WRITE_TOTAL); + + List operations = List.of( + Aggregation.match(criteria), + projection, + Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY) + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_CAPACITY, clazz).getMappedResults(); + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsDauLoadService.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsDauLoadService.java new file mode 100644 index 0000000..2662c3e --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsDauLoadService.java @@ -0,0 +1,69 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase; +import com.caliverse.admin.global.common.constants.AdminConstants; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.domain.Sort; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.ConditionalOperators; +import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class IndicatorsDauLoadService extends IndicatorsLogLoadServiceBase { + public IndicatorsDauLoadService( + @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate + ) { + super(mongoTemplate); + } + + public T getDailyIndicatorLog(String date, Class clazz) { + Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_COLLECTION_DAU, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_DAU).then(0)) + .as(AdminConstants.MONGO_DB_COLLECTION_DAU); + + List operations = List.of( + Aggregation.match(criteria), + projection + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + List results = mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_DAU, clazz) + .getMappedResults(); + + return results.get(0); + +// return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_DAU, clazz) +// .getUniqueMappedResult(); // 단일 결과만 반환 + } + + @Override + public List getIndicatorsLogData(String startTime, String endTime, Class clazz) { + Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_COLLECTION_DAU, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_DAU).then(0)) + .as(AdminConstants.MONGO_DB_COLLECTION_DAU); + + List operations = List.of( + Aggregation.match(criteria), + projection, + Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY) + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_DAU, clazz).getMappedResults(); + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsDglcLoadService.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsDglcLoadService.java new file mode 100644 index 0000000..16c104d --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsDglcLoadService.java @@ -0,0 +1,62 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase; +import com.caliverse.admin.global.common.constants.AdminConstants; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.domain.Sort; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.ConditionalOperators; +import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class IndicatorsDglcLoadService extends IndicatorsLogLoadServiceBase { + public IndicatorsDglcLoadService( + @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate + ) { + super(mongoTemplate); + } + + public T getDailyIndicatorLog(String date, Class clazz) { + Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_COLLECTION_DGLC, AdminConstants.MONGO_DB_KEY_LOGDAY); + + List operations = List.of( + Aggregation.match(criteria), + projection + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_DGLC, clazz) + .getUniqueMappedResult(); + } + + @Override + public List getIndicatorsLogData(String startTime, String endTime, Class clazz) { + Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_COLLECTION_DGLC, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_DGLC).then(0)) + .as(AdminConstants.MONGO_DB_COLLECTION_DGLC); + + List operations = List.of( + Aggregation.match(criteria), + projection, + Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY) + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_DGLC, clazz).getMappedResults(); + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsMauLoadService.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsMauLoadService.java new file mode 100644 index 0000000..4a42ed7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsMauLoadService.java @@ -0,0 +1,62 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase; +import com.caliverse.admin.global.common.constants.AdminConstants; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.domain.Sort; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.ConditionalOperators; +import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class IndicatorsMauLoadService extends IndicatorsLogLoadServiceBase { + public IndicatorsMauLoadService( + @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate + ) { + super(mongoTemplate); + } + + public T getDailyIndicatorLog(String date, Class clazz) { + Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_COLLECTION_MAU, AdminConstants.MONGO_DB_KEY_LOGDAY); + + List operations = List.of( + Aggregation.match(criteria), + projection + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_MAU, clazz) + .getUniqueMappedResult(); + } + + @Override + public List getIndicatorsLogData(String startTime, String endTime, Class clazz) { + Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_COLLECTION_MAU, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_MAU).then(0)) + .as(AdminConstants.MONGO_DB_COLLECTION_MAU); + + List operations = List.of( + Aggregation.match(criteria), + projection, + Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY) + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_MAU, clazz).getMappedResults(); + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsMcuLoadService.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsMcuLoadService.java new file mode 100644 index 0000000..64d6f03 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsMcuLoadService.java @@ -0,0 +1,69 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase; +import com.caliverse.admin.global.common.constants.AdminConstants; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.domain.Sort; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.ConditionalOperators; +import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class IndicatorsMcuLoadService extends IndicatorsLogLoadServiceBase { + public IndicatorsMcuLoadService( + @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate + ) { + super(mongoTemplate); + } + + public T getDailyIndicatorLog(String date, Class clazz) { + Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_KEY_MAX_COUNT_USER, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_MAX_COUNT_USER).then(0)) + .as(AdminConstants.MONGO_DB_COLLECTION_MCU); + + List operations = List.of( + Aggregation.match(criteria), + projection + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + List results = mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_MCU, clazz) + .getMappedResults(); + + return results.get(0); + +// return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_MCU, clazz) +// .getUniqueMappedResult(); // 단일 결과만 반환 + } + + @Override + public List getIndicatorsLogData(String startTime, String endTime, Class clazz) { + Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_KEY_MAX_COUNT_USER, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_MAX_COUNT_USER).then(0)) + .as(AdminConstants.MONGO_DB_COLLECTION_MCU); + + List operations = List.of( + Aggregation.match(criteria), + projection, + Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY) + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_MCU, clazz).getMappedResults(); + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsMetaverServerLoadService.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsMetaverServerLoadService.java new file mode 100644 index 0000000..a91c468 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsMetaverServerLoadService.java @@ -0,0 +1,69 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase; +import com.caliverse.admin.global.common.constants.AdminConstants; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.domain.Sort; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.ConditionalOperators; +import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class IndicatorsMetaverServerLoadService extends IndicatorsLogLoadServiceBase { + public IndicatorsMetaverServerLoadService( + @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate + ) { + super(mongoTemplate); + } + + public T getDailyIndicatorLog(String date, Class clazz) { + Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_KEY_SERVER_COUNT, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_SERVER_COUNT).then(0)) + .as(AdminConstants.MONGO_DB_COLLECTION_METAVER_SERVER); + + List operations = List.of( + Aggregation.match(criteria), + projection + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + List results = mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_METAVER_SERVER, clazz) + .getMappedResults(); + + return results.get(0); + +// return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_DAU, clazz) +// .getUniqueMappedResult(); // 단일 결과만 반환 + } + + @Override + public List getIndicatorsLogData(String startTime, String endTime, Class clazz) { + Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_KEY_SERVER_COUNT, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_SERVER_COUNT).then(0)) + .as(AdminConstants.MONGO_DB_COLLECTION_METAVER_SERVER); + + List operations = List.of( + Aggregation.match(criteria), + projection, + Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY) + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_METAVER_SERVER, clazz).getMappedResults(); + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsNruLoadService.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsNruLoadService.java new file mode 100644 index 0000000..4696795 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsNruLoadService.java @@ -0,0 +1,69 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase; +import com.caliverse.admin.global.common.constants.AdminConstants; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.domain.Sort; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.ConditionalOperators; +import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class IndicatorsNruLoadService extends IndicatorsLogLoadServiceBase { + public IndicatorsNruLoadService( + @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate + ) { + super(mongoTemplate); + } + + public T getDailyIndicatorLog(String date, Class clazz) { + Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_COLLECTION_NRU, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_NRU).then(0)) + .as(AdminConstants.MONGO_DB_COLLECTION_NRU); + + List operations = List.of( + Aggregation.match(criteria), + projection + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + List results = mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_NRU, clazz) + .getMappedResults(); + + return results.get(0); + +// return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_NRU, clazz) +// .getUniqueMappedResult(); // 단일 결과만 반환 + } + + @Override + public List getIndicatorsLogData(String startTime, String endTime, Class clazz) { + Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_COLLECTION_NRU, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_NRU).then(0)) + .as(AdminConstants.MONGO_DB_COLLECTION_NRU); + + List operations = List.of( + Aggregation.match(criteria), + projection, + Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY) + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_NRU, clazz).getMappedResults(); + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsPlayTimeLoadService.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsPlayTimeLoadService.java new file mode 100644 index 0000000..d0753c3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsPlayTimeLoadService.java @@ -0,0 +1,62 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase; +import com.caliverse.admin.global.common.constants.AdminConstants; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.domain.Sort; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.ConditionalOperators; +import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class IndicatorsPlayTimeLoadService extends IndicatorsLogLoadServiceBase { + public IndicatorsPlayTimeLoadService( + @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate + ) { + super(mongoTemplate); + } + + public T getDailyIndicatorLog(String date, Class clazz) { + Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_KEY_TOTAL_PLAY_TIME_COUNT, AdminConstants.MONGO_DB_KEY_LOGDAY); + + List operations = List.of( + Aggregation.match(criteria), + projection + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_PLAYTIME, clazz) + .getUniqueMappedResult(); // 단일 결과만 반환 + } + + @Override + public List getIndicatorsLogData(String startTime, String endTime, Class clazz) { + Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_KEY_TOTAL_PLAY_TIME_COUNT, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_TOTAL_PLAY_TIME_COUNT).then(0L)) + .as(AdminConstants.MONGO_DB_COLLECTION_PLAYTIME); + + List operations = List.of( + Aggregation.match(criteria), + projection, + Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY) + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_PLAYTIME, clazz).getMappedResults(); + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsUgqCreateLoadService.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsUgqCreateLoadService.java new file mode 100644 index 0000000..00b3fe4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsUgqCreateLoadService.java @@ -0,0 +1,64 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase; +import com.caliverse.admin.global.common.constants.AdminConstants; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.domain.Sort; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.ConditionalOperators; +import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class IndicatorsUgqCreateLoadService extends IndicatorsLogLoadServiceBase { + public IndicatorsUgqCreateLoadService( + @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate + ) { + super(mongoTemplate); + } + + public T getDailyIndicatorLog(String date, Class clazz) { + Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_KEY_UGQ_CREATE_COUNT, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_UGQ_CREATE_COUNT).then(0L)) + .as(AdminConstants.MONGO_DB_COLLECTION_UGQ_CREATE); + + List operations = List.of( + Aggregation.match(criteria), + projection + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_UGQ_CREATE, clazz) + .getUniqueMappedResult(); // 단일 결과만 반환 + } + + @Override + public List getIndicatorsLogData(String startTime, String endTime, Class clazz) { + Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_KEY_UGQ_CREATE_COUNT, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_UGQ_CREATE_COUNT).then(0L)) + .as(AdminConstants.MONGO_DB_COLLECTION_UGQ_CREATE); + + List operations = List.of( + Aggregation.match(criteria), + projection, + Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY) + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_UGQ_CREATE, clazz).getMappedResults(); + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsWauLoadService.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsWauLoadService.java new file mode 100644 index 0000000..c6885f3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/aggregationservice/IndicatorsWauLoadService.java @@ -0,0 +1,62 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase; +import com.caliverse.admin.global.common.constants.AdminConstants; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.domain.Sort; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.ConditionalOperators; +import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class IndicatorsWauLoadService extends IndicatorsLogLoadServiceBase { + public IndicatorsWauLoadService( + @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate + ) { + super(mongoTemplate); + } + + public T getDailyIndicatorLog(String date, Class clazz) { + Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_COLLECTION_WAU, AdminConstants.MONGO_DB_KEY_LOGDAY); + + List operations = List.of( + Aggregation.match(criteria), + projection + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_WAU, clazz) + .getUniqueMappedResult(); + } + + @Override + public List getIndicatorsLogData(String startTime, String endTime, Class clazz) { + Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY); + + ProjectionOperation projection = Aggregation.project() + .andInclude(AdminConstants.MONGO_DB_COLLECTION_WAU, AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_WAU).then(0)) + .as(AdminConstants.MONGO_DB_COLLECTION_WAU); + + List operations = List.of( + Aggregation.match(criteria), + projection, + Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY) + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + + return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_WAU, clazz).getMappedResults(); + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/base/IndicatorsLogLoadService.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/base/IndicatorsLogLoadService.java new file mode 100644 index 0000000..6b0c8fd --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/base/IndicatorsLogLoadService.java @@ -0,0 +1,11 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.base; + +import java.util.List; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; + +public interface IndicatorsLogLoadService { + + List getIndicatorsLogData(String startTime, String endTime, Class clazz); + +} diff --git a/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/base/IndicatorsLogLoadServiceBase.java b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/base/IndicatorsLogLoadServiceBase.java new file mode 100644 index 0000000..58c4da3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/Indicatorsservice/base/IndicatorsLogLoadServiceBase.java @@ -0,0 +1,67 @@ +package com.caliverse.admin.Indicators.Indicatorsservice.base; + +import java.util.ArrayList; +import java.util.List; + +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import com.caliverse.admin.global.common.constants.AdminConstants; + + +@Service +public abstract class IndicatorsLogLoadServiceBase implements IndicatorsLogLoadService { + + protected final MongoTemplate mongoTemplate; + + public IndicatorsLogLoadServiceBase( + @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate + ) { + this.mongoTemplate = mongoTemplate; + } + + protected Criteria makeCriteria(String startDate, String endDate, String dateFieldName) { + return new Criteria() + .andOperator( + Criteria.where(dateFieldName).gte(startDate), + Criteria.where(dateFieldName).lt(endDate) + ); + } + + public Criteria makeCriteria(String startDate, String endDate) + { + return makeCriteria(startDate, endDate, AdminConstants.MONGO_DB_KEY_LOGTIME); + } + + // 24.12.13 현재 사용안함 + private AggregationOperation getDefaultProjectOperationName(){ + ProjectionOperation projectOperation = Aggregation.project() + .and(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(AdminConstants.INDICATORS_KEY_DAU_BY_LANG).as(AdminConstants.INDICATORS_KEY_DAU_BY_LANG) + ; + return projectOperation; + } + + // 24.12.13 현재 사용안함 + protected List setDefaultOperation(Criteria criteria){ + + List operations = new ArrayList<>(); + + operations.add(Aggregation.match(criteria)); + operations.add(getDefaultProjectOperationName()); + + return operations; + } + + + + + + +} + diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/AuPerMinLogInfo.java b/src/main/java/com/caliverse/admin/Indicators/entity/AuPerMinLogInfo.java new file mode 100644 index 0000000..4f1ad06 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/AuPerMinLogInfo.java @@ -0,0 +1,34 @@ +package com.caliverse.admin.Indicators.entity; + +import java.util.List; + +import org.springframework.data.annotation.Id; +import org.springframework.data.mongodb.core.mapping.Document; + +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +@Document(collection = "au") +public class AuPerMinLogInfo extends LogInfoBase { + + @Id + private String logMinute; + + private String languageType; + private List userGuidList; + private int userGuidListCount; + + + public AuPerMinLogInfo(String logMinute, String languageType, List userGuidList, int userGuidListCount) { + super(StatisticsType.AU_PER_MIN); + + this.logMinute = logMinute; + this.languageType = languageType; + this.userGuidList = userGuidList; + this.userGuidListCount = userGuidListCount; + + } + +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/DBCapacityInfo.java b/src/main/java/com/caliverse/admin/Indicators/entity/DBCapacityInfo.java new file mode 100644 index 0000000..e95f195 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/DBCapacityInfo.java @@ -0,0 +1,25 @@ +package com.caliverse.admin.Indicators.entity; + +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Getter +@Setter +@Document(collection = "capacity") +public class DBCapacityInfo extends LogInfoBase{ + private String logDay; + private String namespace; + private Long consumeReadTotal; + private Long consumeWriteTotal; + + public DBCapacityInfo(String logDay, String namespace, Long consumeReadTotal, Long consumeWriteTotal) { + super(StatisticsType.CAPACITY); + + this.logDay = logDay; + this.namespace = namespace; + this.consumeReadTotal = consumeReadTotal; + this.consumeWriteTotal = consumeWriteTotal; + } + +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/DauLogInfo.java b/src/main/java/com/caliverse/admin/Indicators/entity/DauLogInfo.java new file mode 100644 index 0000000..34cd375 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/DauLogInfo.java @@ -0,0 +1,25 @@ +package com.caliverse.admin.Indicators.entity; + +import java.util.Map; + +import org.springframework.data.mongodb.core.mapping.Document; + +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +@Document(collection = "dau") +public class DauLogInfo extends LogInfoBase { + + private Integer dau; + private String logDay; + + public DauLogInfo(String logDay, Integer dau) { + super(StatisticsType.DAU); + this.dau = dau; + this.logDay = logDay; + + //this.dauByLang = dauByLang; + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/DglcLogInfo.java b/src/main/java/com/caliverse/admin/Indicators/entity/DglcLogInfo.java new file mode 100644 index 0000000..f0be90b --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/DglcLogInfo.java @@ -0,0 +1,20 @@ +package com.caliverse.admin.Indicators.entity; + +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Getter +@Setter +@Document(collection = "dglc") +public class DglcLogInfo extends LogInfoBase{ + private String logDay; + private Integer dglc; + + public DglcLogInfo(String logDay, Integer dglc) { + super(StatisticsType.DGLC); + + this.logDay = logDay; + this.dglc = dglc; + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/LogInfoBase.java b/src/main/java/com/caliverse/admin/Indicators/entity/LogInfoBase.java new file mode 100644 index 0000000..9af0b49 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/LogInfoBase.java @@ -0,0 +1,17 @@ +package com.caliverse.admin.Indicators.entity; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; + +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +public class LogInfoBase implements IndicatorsLog{ + + private StatisticsType statisticsType; + + public LogInfoBase(StatisticsType statisticsType) { + this.statisticsType = statisticsType; + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/MauLogInfo.java b/src/main/java/com/caliverse/admin/Indicators/entity/MauLogInfo.java new file mode 100644 index 0000000..9b847cf --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/MauLogInfo.java @@ -0,0 +1,25 @@ +package com.caliverse.admin.Indicators.entity; + +import java.util.Map; + +import org.springframework.data.mongodb.core.mapping.Document; + +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +@Document(collection = "mau") +public class MauLogInfo extends LogInfoBase { + + private Integer mau; + private String logDay; + + public MauLogInfo(String logDay, Integer mau) { + super(StatisticsType.MAU); + + this.mau = mau; + this.logDay = logDay; + } + +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/McuLogInfo.java b/src/main/java/com/caliverse/admin/Indicators/entity/McuLogInfo.java new file mode 100644 index 0000000..51f3ec6 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/McuLogInfo.java @@ -0,0 +1,25 @@ +package com.caliverse.admin.Indicators.entity; + +import java.util.Map; + +import org.springframework.data.mongodb.core.mapping.Document; + +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +@Document(collection = "mcu") +public class McuLogInfo extends LogInfoBase { + + private String logDay; + private Integer maxCountUser; + + public McuLogInfo(String logDay, Integer maxCountUser) { + super(StatisticsType.MCU); + + this.logDay = logDay; + this.maxCountUser = maxCountUser; + + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/MetaverseServerInfo.java b/src/main/java/com/caliverse/admin/Indicators/entity/MetaverseServerInfo.java new file mode 100644 index 0000000..cb822c6 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/MetaverseServerInfo.java @@ -0,0 +1,21 @@ +package com.caliverse.admin.Indicators.entity; + +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Getter +@Setter +@Document(collection = "metaverseserver") +public class MetaverseServerInfo extends LogInfoBase{ + private String logDay; + private Integer serverCount; + + public MetaverseServerInfo(String logDay, Integer serverCount) { + super(StatisticsType.SERVER_INFO); + + this.logDay = logDay; + this.serverCount = serverCount; + } + +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/MoneyLogInfo.java b/src/main/java/com/caliverse/admin/Indicators/entity/MoneyLogInfo.java new file mode 100644 index 0000000..2348113 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/MoneyLogInfo.java @@ -0,0 +1,32 @@ +package com.caliverse.admin.Indicators.entity; + +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Getter +@Setter +@Document(collection = "money") +public class MoneyLogInfo extends LogInfoBase { + + private String logDay; + private String guid; + private String nickname; + private Double gold; + private Double sapphire; + private Double calium; + private Double ruby; + + public MoneyLogInfo(String logDay, String guid, String nickname, Double gold, Double sapphire, Double calium, Double ruby) { + super(StatisticsType.MONEY); + + this.logDay = logDay; + this.guid = guid; + this.nickname = nickname; + this.gold = gold; + this.sapphire = sapphire; + this.calium = calium; + this.ruby = ruby; + } + +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/NruLogInfo.java b/src/main/java/com/caliverse/admin/Indicators/entity/NruLogInfo.java new file mode 100644 index 0000000..caa4ab9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/NruLogInfo.java @@ -0,0 +1,20 @@ +package com.caliverse.admin.Indicators.entity; + +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Getter +@Setter +@Document(collection = "nru") +public class NruLogInfo extends LogInfoBase{ + private String logDay; + private Integer nru; + + public NruLogInfo(String logDay, Integer nru) { + super(StatisticsType.NRU); + + this.logDay = logDay; + this.nru = nru; + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/PlayTimeLogInfo.java b/src/main/java/com/caliverse/admin/Indicators/entity/PlayTimeLogInfo.java new file mode 100644 index 0000000..2791546 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/PlayTimeLogInfo.java @@ -0,0 +1,20 @@ +package com.caliverse.admin.Indicators.entity; + +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Getter +@Setter +@Document(collection = "playtime") +public class PlayTimeLogInfo extends LogInfoBase{ + private String logDay; + private Long totalPlayTimeCount; + + public PlayTimeLogInfo(String logDay, Long totalPlayTimeCount) { + super(StatisticsType.PLAY_TIME); + + this.logDay = logDay; + this.totalPlayTimeCount = totalPlayTimeCount; + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/StatisticsType.java b/src/main/java/com/caliverse/admin/Indicators/entity/StatisticsType.java new file mode 100644 index 0000000..8abb3e7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/StatisticsType.java @@ -0,0 +1,28 @@ +package com.caliverse.admin.Indicators.entity; + +public enum StatisticsType { + + AU_PER_MIN, + //AU_PER_HOUR, + DAU, + WAU, + MAU, + MCU, + NRU, + PLAY_TIME, + DGLC, + CAPACITY, + UGQ_CREATE, + SERVER_INFO, + MONEY + ; + + public static StatisticsType getStatisticsType(String type) { + for (StatisticsType statisticsType : StatisticsType.values()) { + if (statisticsType.name().equals(type)) { + return statisticsType; + } + } + return null; + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/UgqCreateLogInfo.java b/src/main/java/com/caliverse/admin/Indicators/entity/UgqCreateLogInfo.java new file mode 100644 index 0000000..5293193 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/UgqCreateLogInfo.java @@ -0,0 +1,20 @@ +package com.caliverse.admin.Indicators.entity; + +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Getter +@Setter +@Document(collection = "ugqcreate") +public class UgqCreateLogInfo extends LogInfoBase{ + private String logDay; + private Integer ugqCrateCount; + + public UgqCreateLogInfo(String logDay, Integer ugqCrateCount) { + super(StatisticsType.UGQ_CREATE); + + this.logDay = logDay; + this.ugqCrateCount = ugqCrateCount; + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/entity/WauLogInfo.java b/src/main/java/com/caliverse/admin/Indicators/entity/WauLogInfo.java new file mode 100644 index 0000000..088e7dc --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/entity/WauLogInfo.java @@ -0,0 +1,24 @@ +package com.caliverse.admin.Indicators.entity; + +import java.util.Map; + +import org.springframework.data.mongodb.core.mapping.Document; + +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +@Document(collection = "wau") +public class WauLogInfo extends LogInfoBase { + + private Integer wau; + private String logDay; + + public WauLogInfo(String logDay, Integer wau) { + super(StatisticsType.WAU); + + this.logDay = logDay; + this.wau = wau; + } +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorAuPerMinRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorAuPerMinRepository.java new file mode 100644 index 0000000..ee3d444 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorAuPerMinRepository.java @@ -0,0 +1,9 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + +import org.springframework.data.mongodb.repository.MongoRepository; + +import com.caliverse.admin.Indicators.entity.AuPerMinLogInfo; + +public interface IndicatorAuPerMinRepository extends MongoRepository { + +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorDBCapacityRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorDBCapacityRepository.java new file mode 100644 index 0000000..3f2f938 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorDBCapacityRepository.java @@ -0,0 +1,7 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + +import com.caliverse.admin.Indicators.entity.DBCapacityInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +public interface IndicatorDBCapacityRepository extends MongoRepository { +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorDauRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorDauRepository.java new file mode 100644 index 0000000..3b2e67a --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorDauRepository.java @@ -0,0 +1,12 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + +import org.springframework.data.mongodb.repository.MongoRepository; + +import com.caliverse.admin.Indicators.entity.DauLogInfo; +import org.springframework.data.mongodb.repository.Query; + +import java.util.List; + +public interface IndicatorDauRepository extends MongoRepository { + List findByLogDay(String logDay); +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorDglcRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorDglcRepository.java new file mode 100644 index 0000000..9474cc9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorDglcRepository.java @@ -0,0 +1,7 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + +import com.caliverse.admin.Indicators.entity.DglcLogInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +public interface IndicatorDglcRepository extends MongoRepository { +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorMauRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorMauRepository.java new file mode 100644 index 0000000..1ad7b99 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorMauRepository.java @@ -0,0 +1,8 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + +import com.caliverse.admin.Indicators.entity.DauLogInfo; +import com.caliverse.admin.Indicators.entity.MauLogInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +public interface IndicatorMauRepository extends MongoRepository { +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorMcuRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorMcuRepository.java new file mode 100644 index 0000000..f22b06c --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorMcuRepository.java @@ -0,0 +1,10 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + +import com.caliverse.admin.Indicators.entity.McuLogInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +import java.util.List; + +public interface IndicatorMcuRepository extends MongoRepository { + List findByLogDay(String logDay); +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorMetaverServerRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorMetaverServerRepository.java new file mode 100644 index 0000000..44169ce --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorMetaverServerRepository.java @@ -0,0 +1,7 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + +import com.caliverse.admin.Indicators.entity.MetaverseServerInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +public interface IndicatorMetaverServerRepository extends MongoRepository { +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorMoneyRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorMoneyRepository.java new file mode 100644 index 0000000..7c7b389 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorMoneyRepository.java @@ -0,0 +1,7 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + +import com.caliverse.admin.Indicators.entity.MoneyLogInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +public interface IndicatorMoneyRepository extends MongoRepository { +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorNruRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorNruRepository.java new file mode 100644 index 0000000..8355dd3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorNruRepository.java @@ -0,0 +1,10 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + +import com.caliverse.admin.Indicators.entity.NruLogInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +import java.util.List; + +public interface IndicatorNruRepository extends MongoRepository { + List findByLogDay(String logDay); +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorPlayTimRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorPlayTimRepository.java new file mode 100644 index 0000000..0a101df --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorPlayTimRepository.java @@ -0,0 +1,7 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + +import com.caliverse.admin.Indicators.entity.PlayTimeLogInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +public interface IndicatorPlayTimRepository extends MongoRepository { +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorUgqCreateRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorUgqCreateRepository.java new file mode 100644 index 0000000..27d7676 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorUgqCreateRepository.java @@ -0,0 +1,7 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + +import com.caliverse.admin.Indicators.entity.UgqCreateLogInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +public interface IndicatorUgqCreateRepository extends MongoRepository { +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorWauRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorWauRepository.java new file mode 100644 index 0000000..5fdd918 --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/IndicatorWauRepository.java @@ -0,0 +1,9 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + +import com.caliverse.admin.Indicators.entity.DauLogInfo; +import com.caliverse.admin.Indicators.entity.WauLogInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +public interface IndicatorWauRepository extends MongoRepository { + +} diff --git a/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/MongoIndicatorRepository.java b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/MongoIndicatorRepository.java new file mode 100644 index 0000000..d1d7a4b --- /dev/null +++ b/src/main/java/com/caliverse/admin/Indicators/indicatorrepository/MongoIndicatorRepository.java @@ -0,0 +1,10 @@ +package com.caliverse.admin.Indicators.indicatorrepository; + + + +public interface MongoIndicatorRepository{ +} +// public interface MongoStatRepository extends MongoRepository { + +// } + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/MessageHandlerService.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/MessageHandlerService.java new file mode 100644 index 0000000..b645269 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/MessageHandlerService.java @@ -0,0 +1,77 @@ +package com.caliverse.admin.domain.RabbitMq; + +import com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType; +import com.caliverse.admin.domain.RabbitMq.message.MailItem; +import com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage; +import com.caliverse.admin.domain.RabbitMq.message.ServerMessage; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Slf4j +@Service +public class MessageHandlerService { + + private final RabbitMqService rabbitMqService; + + public MessageHandlerService(RabbitMqService rabbitMqService) { + this.rabbitMqService = rabbitMqService; + } + + public void sendUserKickMessage(String userGuid, String serverName){ + var user_kick_builder = ServerMessage.MOS2GS_NTF_USER_KICK.newBuilder(); + user_kick_builder.setUserGuid(userGuid); + user_kick_builder.setKickReasonMsg(""); + user_kick_builder.setLogoutReasonType(LogoutReasonType.LogoutReasonType_None); + + rabbitMqService.SendMessage(user_kick_builder.build(), serverName); + } + + public void sendNoticeMessage(List serverList, String type, List msgList, List senderList){ + try { + var noticeBuilder = ServerMessage.MOS2GS_NTF_NOTICE_CHAT.newBuilder(); + noticeBuilder.addNoticeType(type); +// noticeBuilder.setNoticeType(0, type); +// int msgIdx = 0; + for (OperationSystemMessage msg : msgList) { + noticeBuilder.addChatMessage(msg); +// noticeBuilder.setChatMessage(msgIdx, msg); +// msgIdx++; + } + for (OperationSystemMessage sender : senderList) { + noticeBuilder.addSender(sender); + } + for (String server : serverList) { + rabbitMqService.SendMessage(noticeBuilder.build(), server); + } + }catch (Exception e){ + log.error(e.getMessage()); + } + } + + public void sendMailMessage(String serverName, String userGuid, String mailType, List titleList, List msgList + , List itemList, List senderList){ + var mail_builder = ServerMessage.MOS2GS_NTF_MAIL_SEND.newBuilder(); + mail_builder.setUserGuid(userGuid); + mail_builder.setMailType(mailType); + + for(OperationSystemMessage title : titleList){ + mail_builder.addTitle(title); + } + for(OperationSystemMessage msg : msgList){ + mail_builder.addMsg(msg); + } + for(MailItem item : itemList){ + mail_builder.addItemList(item); + } + for(OperationSystemMessage sender : senderList){ + mail_builder.addSender(sender); + } + rabbitMqService.SendMessage(mail_builder.build(), serverName); + + } + + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/RabbitMqService.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/RabbitMqService.java new file mode 100644 index 0000000..40dd7e0 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/RabbitMqService.java @@ -0,0 +1,93 @@ +package com.caliverse.admin.domain.RabbitMq; + +import com.caliverse.admin.domain.RabbitMq.message.ServerMessage; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.google.protobuf.InvalidProtocolBufferException; +import com.google.protobuf.Timestamp; +import com.google.protobuf.util.JsonFormat; +import com.rabbitmq.client.Channel; +import com.rabbitmq.client.Connection; +import lombok.Getter; +import lombok.extern.slf4j.Slf4j; +import org.apache.catalina.Server; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import java.io.IOException; +import java.time.Instant; +import java.util.Objects; +import java.util.concurrent.TimeoutException; + +@Slf4j +@Service +public class RabbitMqService { + + private final Connection m_rabbitMq; + + public RabbitMqService(Connection rabbitMqConnection) { + this.m_rabbitMq = rabbitMqConnection; + } + + // Send ServerMessage to GameServer + + public void SendMessage(com.google.protobuf.GeneratedMessageV3 message, String destServer) { + try { + Channel channel = m_rabbitMq.createChannel(); + var server_message_builder = ServerMessage.newBuilder(); + server_message_builder.setMessageTime(getCurrentTimestamp()); + server_message_builder.setMessageSender("AdminTool"); + + for(var descriptor : ServerMessage.getDescriptor().getOneofs().get(0).getFields()) + { + if(!Objects.equals(descriptor.getMessageType().getName(), message.getDescriptorForType().getName())) continue; + server_message_builder.setField(descriptor, message); + break; + } + + String send = JsonFormat.printer().print(server_message_builder); + channel.queueDeclare(destServer, true, false, true, null); + channel.basicPublish("", destServer, null, send.getBytes()); + + } + catch (InvalidProtocolBufferException e) { + log.error("InvalidProtocolBufferException message: {}, destServer: {}, e.Message : {}", message.toString(), destServer, e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.EXCEPTION_INVALID_PROTOCOL_BUFFER_EXCEPTION_ERROR.getMessage()); + } + catch (IOException e) { + log.error("IOException message: {}, destServer: {}, e.Message : {}", message.toString(), destServer, e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.EXCEPTION_IO_EXCEPTION_ERROR.getMessage()); + } + } + + private Timestamp getCurrentTimestamp() + { + var current = Instant.now(); + + return Timestamp.newBuilder().setSeconds(current.getEpochSecond()) + .setNanos(current.getNano()).build(); + } + + // Consumer 등록 : 현재는 운영툴 Backend 가 ServerMessage 를 받을 필요가 없다. + /*public void startConsumer() throws IOException, TimeoutException + { + if(!m_rabbitMq.isOpen()) + { + return; + } + + try(Channel channel = m_rabbitMq.createChannel()) + { + channel.queueDeclare(m_server_name, true, false, true, null); + channel.basicConsume(m_server_name, true, deliveryCallback, consumerTag -> { }); + } + } + + private final DeliverCallback deliveryCallback = (consumerTag, delivery) -> + { + String message = new String(delivery.getBody()); + logger.info("Received message: {}", message); + };*/ +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/RabbitMqUtils.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/RabbitMqUtils.java new file mode 100644 index 0000000..c312abf --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/RabbitMqUtils.java @@ -0,0 +1,62 @@ +package com.caliverse.admin.domain.RabbitMq; + +import com.caliverse.admin.domain.RabbitMq.message.*; +import com.caliverse.admin.domain.entity.BlackList; +import com.caliverse.admin.domain.entity.SANCTIONS; +import com.caliverse.admin.domain.entity.SANCTIONSTYPE; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Component; + +@Component +@RequiredArgsConstructor +public class RabbitMqUtils { +// public static UserBlockReasonType getUserBlockSanctionName(SANCTIONS sanction){ +// switch (sanction){ +// case ACCOUNT_IMPERSONATION: +// return UserBlockReasonType.UserBlockReasonType_Account_Impersonation; +// case BAD_BEHAVIOR: +// return UserBlockReasonType.UserBlockReasonType_Bad_Behavior; +// case CASH_TRANSACTION: +// return UserBlockReasonType.UserBlockReasonType_Cash_Transaction; +// case ADMIN_IMPERSONATION: +// return UserBlockReasonType.UserBlockReasonType_Asmin_Impersonation; +// case BUG_ABUSE: +// return UserBlockReasonType.UserBlockReasonType_Bug_Abuse; +// case GAME_INTERFERENCE: +// return UserBlockReasonType.UserBlockReasonType_Game_Interference; +// case ILLEGAL_PROGRAM: +// return UserBlockReasonType.UserBlockReasonType_Illegal_Program; +// case INAPPROPRIATE_NAME: +// return UserBlockReasonType.UserBlockReasonType_Inappropriate_Name; +// case PERSONAL_INFO_LEAK: +// return UserBlockReasonType.UserBlockReasonType_Personal_Info_Leak; +// case SERVICE_INTERFERENCE: +// return UserBlockReasonType.UserBlockReasonType_Service_Interference; +// } +// return null; +// } +// +// public static UserBlockPolicyType getUserBlockPolicyName(SANCTIONSTYPE sanctionstype){ +// switch (sanctionstype){ +// case ACCESS_RESTRICTIONS: +// return UserBlockPolicyType.UserBlockPolicyType_Access_Restrictions; +// case CHATTING_RESTRICTIONS: +// return UserBlockPolicyType.UserBlockPolicyType_Chatting_Restrictions; +// } +// return null; +// } + + public static AuthAdminLevelType getUserAdminLevelType(String type){ + switch (type){ + case "0": + return AuthAdminLevelType.AuthAdminLevelType_None; + case "1": + return AuthAdminLevelType.AuthAdminLevelType_GmNormal; + case "2": + return AuthAdminLevelType.AuthAdminLevelType_GmSuper; + case "3": + return AuthAdminLevelType.AuthAdminLevelType_Developer; + } + return null; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AbilityInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AbilityInfo.java new file mode 100644 index 0000000..ab69945 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AbilityInfo.java @@ -0,0 +1,735 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ɷġ  : Ŷ
+ * 
+ * + * Protobuf type {@code AbilityInfo} + */ +public final class AbilityInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AbilityInfo) + AbilityInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use AbilityInfo.newBuilder() to construct. + private AbilityInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AbilityInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AbilityInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AbilityInfo_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetValues(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AbilityInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.class, com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder.class); + } + + public static final int VALUES_FIELD_NUMBER = 1; + private static final class ValuesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.Integer, java.lang.Integer> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AbilityInfo_ValuesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.INT32, + 0, + com.google.protobuf.WireFormat.FieldType.INT32, + 0); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.Integer, java.lang.Integer> values_; + private com.google.protobuf.MapField + internalGetValues() { + if (values_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ValuesDefaultEntryHolder.defaultEntry); + } + return values_; + } + public int getValuesCount() { + return internalGetValues().getMap().size(); + } + /** + *
+   * <AttributeType, ɷġ>
+   * 
+ * + * map<int32, int32> values = 1; + */ + @java.lang.Override + public boolean containsValues( + int key) { + + return internalGetValues().getMap().containsKey(key); + } + /** + * Use {@link #getValuesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getValues() { + return getValuesMap(); + } + /** + *
+   * <AttributeType, ɷġ>
+   * 
+ * + * map<int32, int32> values = 1; + */ + @java.lang.Override + public java.util.Map getValuesMap() { + return internalGetValues().getMap(); + } + /** + *
+   * <AttributeType, ɷġ>
+   * 
+ * + * map<int32, int32> values = 1; + */ + @java.lang.Override + public int getValuesOrDefault( + int key, + int defaultValue) { + + java.util.Map map = + internalGetValues().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * <AttributeType, ɷġ>
+   * 
+ * + * map<int32, int32> values = 1; + */ + @java.lang.Override + public int getValuesOrThrow( + int key) { + + java.util.Map map = + internalGetValues().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeIntegerMapTo( + output, + internalGetValues(), + ValuesDefaultEntryHolder.defaultEntry, + 1); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetValues().getMap().entrySet()) { + com.google.protobuf.MapEntry + values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, values__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.AbilityInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo other = (com.caliverse.admin.domain.RabbitMq.message.AbilityInfo) obj; + + if (!internalGetValues().equals( + other.internalGetValues())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetValues().getMap().isEmpty()) { + hash = (37 * hash) + VALUES_FIELD_NUMBER; + hash = (53 * hash) + internalGetValues().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.AbilityInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * ɷġ  : Ŷ
+   * 
+ * + * Protobuf type {@code AbilityInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AbilityInfo) + com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AbilityInfo_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetValues(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableValues(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AbilityInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.class, com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableValues().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AbilityInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo build() { + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo result = new com.caliverse.admin.domain.RabbitMq.message.AbilityInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.AbilityInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.values_ = internalGetValues(); + result.values_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.AbilityInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.AbilityInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.AbilityInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance()) return this; + internalGetMutableValues().mergeFrom( + other.internalGetValues()); + bitField0_ |= 0x00000001; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + values__ = input.readMessage( + ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableValues().getMutableMap().put( + values__.getKey(), values__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.Integer, java.lang.Integer> values_; + private com.google.protobuf.MapField + internalGetValues() { + if (values_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ValuesDefaultEntryHolder.defaultEntry); + } + return values_; + } + private com.google.protobuf.MapField + internalGetMutableValues() { + if (values_ == null) { + values_ = com.google.protobuf.MapField.newMapField( + ValuesDefaultEntryHolder.defaultEntry); + } + if (!values_.isMutable()) { + values_ = values_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return values_; + } + public int getValuesCount() { + return internalGetValues().getMap().size(); + } + /** + *
+     * <AttributeType, ɷġ>
+     * 
+ * + * map<int32, int32> values = 1; + */ + @java.lang.Override + public boolean containsValues( + int key) { + + return internalGetValues().getMap().containsKey(key); + } + /** + * Use {@link #getValuesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getValues() { + return getValuesMap(); + } + /** + *
+     * <AttributeType, ɷġ>
+     * 
+ * + * map<int32, int32> values = 1; + */ + @java.lang.Override + public java.util.Map getValuesMap() { + return internalGetValues().getMap(); + } + /** + *
+     * <AttributeType, ɷġ>
+     * 
+ * + * map<int32, int32> values = 1; + */ + @java.lang.Override + public int getValuesOrDefault( + int key, + int defaultValue) { + + java.util.Map map = + internalGetValues().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * <AttributeType, ɷġ>
+     * 
+ * + * map<int32, int32> values = 1; + */ + @java.lang.Override + public int getValuesOrThrow( + int key) { + + java.util.Map map = + internalGetValues().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearValues() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableValues().getMutableMap() + .clear(); + return this; + } + /** + *
+     * <AttributeType, ɷġ>
+     * 
+ * + * map<int32, int32> values = 1; + */ + public Builder removeValues( + int key) { + + internalGetMutableValues().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableValues() { + bitField0_ |= 0x00000001; + return internalGetMutableValues().getMutableMap(); + } + /** + *
+     * <AttributeType, ɷġ>
+     * 
+ * + * map<int32, int32> values = 1; + */ + public Builder putValues( + int key, + int value) { + + + internalGetMutableValues().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     * <AttributeType, ɷġ>
+     * 
+ * + * map<int32, int32> values = 1; + */ + public Builder putAllValues( + java.util.Map values) { + internalGetMutableValues().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:AbilityInfo) + } + + // @@protoc_insertion_point(class_scope:AbilityInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.AbilityInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.AbilityInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AbilityInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AbilityInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AbilityInfoOrBuilder.java new file mode 100644 index 0000000..ce00e26 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AbilityInfoOrBuilder.java @@ -0,0 +1,61 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface AbilityInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:AbilityInfo) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * <AttributeType, ɷġ>
+   * 
+ * + * map<int32, int32> values = 1; + */ + int getValuesCount(); + /** + *
+   * <AttributeType, ɷġ>
+   * 
+ * + * map<int32, int32> values = 1; + */ + boolean containsValues( + int key); + /** + * Use {@link #getValuesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getValues(); + /** + *
+   * <AttributeType, ɷġ>
+   * 
+ * + * map<int32, int32> values = 1; + */ + java.util.Map + getValuesMap(); + /** + *
+   * <AttributeType, ɷġ>
+   * 
+ * + * map<int32, int32> values = 1; + */ + int getValuesOrDefault( + int key, + int defaultValue); + /** + *
+   * <AttributeType, ɷġ>
+   * 
+ * + * map<int32, int32> values = 1; + */ + int getValuesOrThrow( + int key); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AccountCreationType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AccountCreationType.java new file mode 100644 index 0000000..12744e2 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AccountCreationType.java @@ -0,0 +1,135 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * Account  
+ * 
+ * + * Protobuf enum {@code AccountCreationType} + */ +public enum AccountCreationType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * AccountCreationType_None = 0; + */ + AccountCreationType_None(0), + /** + * AccountCreationType_Normal = 1; + */ + AccountCreationType_Normal(1), + /** + * AccountCreationType_Test = 2; + */ + AccountCreationType_Test(2), + /** + * AccountCreationType_Bot = 3; + */ + AccountCreationType_Bot(3), + UNRECOGNIZED(-1), + ; + + /** + * AccountCreationType_None = 0; + */ + public static final int AccountCreationType_None_VALUE = 0; + /** + * AccountCreationType_Normal = 1; + */ + public static final int AccountCreationType_Normal_VALUE = 1; + /** + * AccountCreationType_Test = 2; + */ + public static final int AccountCreationType_Test_VALUE = 2; + /** + * AccountCreationType_Bot = 3; + */ + public static final int AccountCreationType_Bot_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AccountCreationType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AccountCreationType forNumber(int value) { + switch (value) { + case 0: return AccountCreationType_None; + case 1: return AccountCreationType_Normal; + case 2: return AccountCreationType_Test; + case 3: return AccountCreationType_Bot; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + AccountCreationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AccountCreationType findValueByNumber(int number) { + return AccountCreationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(10); + } + + private static final AccountCreationType[] VALUES = values(); + + public static AccountCreationType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AccountCreationType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:AccountCreationType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AccountSactionType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AccountSactionType.java new file mode 100644 index 0000000..677560b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AccountSactionType.java @@ -0,0 +1,278 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *   
+ * 
+ * + * Protobuf enum {@code AccountSactionType} + */ +public enum AccountSactionType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * AccountSactionType_None = 0; + */ + AccountSactionType_None(0), + /** + *
+   * ų 
+   * 
+ * + * AccountSactionType_BadBhavior = 1; + */ + AccountSactionType_BadBhavior(1), + /** + *
+   * Ұ ̸ 
+   * 
+ * + * AccountSactionType_InvapproprivateName = 2; + */ + AccountSactionType_InvapproprivateName(2), + /** + *
+   * ij Ʈ
+   * 
+ * + * AccountSactionType_CashTransaction = 3; + */ + AccountSactionType_CashTransaction(3), + /** + *
+   *   
+   * 
+ * + * AccountSactionType_GameInterference = 4; + */ + AccountSactionType_GameInterference(4), + /** + *
+   *  
+   * 
+ * + * AccountSactionType_ServiceInterference = 5; + */ + AccountSactionType_ServiceInterference(5), + /** + *
+   *  
+   * 
+ * + * AccountSactionType_AccountImpersonation = 6; + */ + AccountSactionType_AccountImpersonation(6), + /** + *
+   * /¡
+   * 
+ * + * AccountSactionType_BugAbuse = 7; + */ + AccountSactionType_BugAbuse(7), + /** + *
+   * α׷ ҹ
+   * 
+ * + * AccountSactionType_IllegalProgram = 8; + */ + AccountSactionType_IllegalProgram(8), + /** + *
+   *  
+   * 
+ * + * AccountSactionType_PersonalInfo_Leak = 9; + */ + AccountSactionType_PersonalInfo_Leak(9), + /** + *
+   *  Ī
+   * 
+ * + * AccountSactionType_AdminImpersonation = 10; + */ + AccountSactionType_AdminImpersonation(10), + UNRECOGNIZED(-1), + ; + + /** + * AccountSactionType_None = 0; + */ + public static final int AccountSactionType_None_VALUE = 0; + /** + *
+   * ų 
+   * 
+ * + * AccountSactionType_BadBhavior = 1; + */ + public static final int AccountSactionType_BadBhavior_VALUE = 1; + /** + *
+   * Ұ ̸ 
+   * 
+ * + * AccountSactionType_InvapproprivateName = 2; + */ + public static final int AccountSactionType_InvapproprivateName_VALUE = 2; + /** + *
+   * ij Ʈ
+   * 
+ * + * AccountSactionType_CashTransaction = 3; + */ + public static final int AccountSactionType_CashTransaction_VALUE = 3; + /** + *
+   *   
+   * 
+ * + * AccountSactionType_GameInterference = 4; + */ + public static final int AccountSactionType_GameInterference_VALUE = 4; + /** + *
+   *  
+   * 
+ * + * AccountSactionType_ServiceInterference = 5; + */ + public static final int AccountSactionType_ServiceInterference_VALUE = 5; + /** + *
+   *  
+   * 
+ * + * AccountSactionType_AccountImpersonation = 6; + */ + public static final int AccountSactionType_AccountImpersonation_VALUE = 6; + /** + *
+   * /¡
+   * 
+ * + * AccountSactionType_BugAbuse = 7; + */ + public static final int AccountSactionType_BugAbuse_VALUE = 7; + /** + *
+   * α׷ ҹ
+   * 
+ * + * AccountSactionType_IllegalProgram = 8; + */ + public static final int AccountSactionType_IllegalProgram_VALUE = 8; + /** + *
+   *  
+   * 
+ * + * AccountSactionType_PersonalInfo_Leak = 9; + */ + public static final int AccountSactionType_PersonalInfo_Leak_VALUE = 9; + /** + *
+   *  Ī
+   * 
+ * + * AccountSactionType_AdminImpersonation = 10; + */ + public static final int AccountSactionType_AdminImpersonation_VALUE = 10; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AccountSactionType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AccountSactionType forNumber(int value) { + switch (value) { + case 0: return AccountSactionType_None; + case 1: return AccountSactionType_BadBhavior; + case 2: return AccountSactionType_InvapproprivateName; + case 3: return AccountSactionType_CashTransaction; + case 4: return AccountSactionType_GameInterference; + case 5: return AccountSactionType_ServiceInterference; + case 6: return AccountSactionType_AccountImpersonation; + case 7: return AccountSactionType_BugAbuse; + case 8: return AccountSactionType_IllegalProgram; + case 9: return AccountSactionType_PersonalInfo_Leak; + case 10: return AccountSactionType_AdminImpersonation; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + AccountSactionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AccountSactionType findValueByNumber(int number) { + return AccountSactionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(19); + } + + private static final AccountSactionType[] VALUES = values(); + + public static AccountSactionType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AccountSactionType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:AccountSactionType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AccountType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AccountType.java new file mode 100644 index 0000000..2bccfd5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AccountType.java @@ -0,0 +1,126 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  
+ * 
+ * + * Protobuf enum {@code AccountType} + */ +public enum AccountType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * AccountType_None = 0; + */ + AccountType_None(0), + /** + * AccountType_Google = 1; + */ + AccountType_Google(1), + /** + * AccountType_Apple = 2; + */ + AccountType_Apple(2), + UNRECOGNIZED(-1), + ; + + /** + * AccountType_None = 0; + */ + public static final int AccountType_None_VALUE = 0; + /** + * AccountType_Google = 1; + */ + public static final int AccountType_Google_VALUE = 1; + /** + * AccountType_Apple = 2; + */ + public static final int AccountType_Apple_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AccountType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AccountType forNumber(int value) { + switch (value) { + case 0: return AccountType_None; + case 1: return AccountType_Google; + case 2: return AccountType_Apple; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + AccountType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AccountType findValueByNumber(int number) { + return AccountType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(1); + } + + private static final AccountType[] VALUES = values(); + + public static AccountType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AccountType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:AccountType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AllUgqInfos.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AllUgqInfos.java new file mode 100644 index 0000000..ed9d8f4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AllUgqInfos.java @@ -0,0 +1,1554 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code AllUgqInfos} + */ +public final class AllUgqInfos extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AllUgqInfos) + AllUgqInfosOrBuilder { +private static final long serialVersionUID = 0L; + // Use AllUgqInfos.newBuilder() to construct. + private AllUgqInfos(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AllUgqInfos() { + quests_ = java.util.Collections.emptyList(); + questMetaInfos_ = java.util.Collections.emptyList(); + ugqGameQuestDataForClients_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AllUgqInfos(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AllUgqInfos_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AllUgqInfos_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos.class, com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos.Builder.class); + } + + public static final int QUESTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List quests_; + /** + * repeated .QuestInfo quests = 1; + */ + @java.lang.Override + public java.util.List getQuestsList() { + return quests_; + } + /** + * repeated .QuestInfo quests = 1; + */ + @java.lang.Override + public java.util.List + getQuestsOrBuilderList() { + return quests_; + } + /** + * repeated .QuestInfo quests = 1; + */ + @java.lang.Override + public int getQuestsCount() { + return quests_.size(); + } + /** + * repeated .QuestInfo quests = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestInfo getQuests(int index) { + return quests_.get(index); + } + /** + * repeated .QuestInfo quests = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestInfoOrBuilder getQuestsOrBuilder( + int index) { + return quests_.get(index); + } + + public static final int QUESTMETAINFOS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List questMetaInfos_; + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + @java.lang.Override + public java.util.List getQuestMetaInfosList() { + return questMetaInfos_; + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + @java.lang.Override + public java.util.List + getQuestMetaInfosOrBuilderList() { + return questMetaInfos_; + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + @java.lang.Override + public int getQuestMetaInfosCount() { + return questMetaInfos_.size(); + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo getQuestMetaInfos(int index) { + return questMetaInfos_.get(index); + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfoOrBuilder getQuestMetaInfosOrBuilder( + int index) { + return questMetaInfos_.get(index); + } + + public static final int UGQGAMEQUESTDATAFORCLIENTS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List ugqGameQuestDataForClients_; + /** + *
+   *ȭ , ŸƲ 
+   * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + @java.lang.Override + public java.util.List getUgqGameQuestDataForClientsList() { + return ugqGameQuestDataForClients_; + } + /** + *
+   *ȭ , ŸƲ 
+   * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + @java.lang.Override + public java.util.List + getUgqGameQuestDataForClientsOrBuilderList() { + return ugqGameQuestDataForClients_; + } + /** + *
+   *ȭ , ŸƲ 
+   * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + @java.lang.Override + public int getUgqGameQuestDataForClientsCount() { + return ugqGameQuestDataForClients_.size(); + } + /** + *
+   *ȭ , ŸƲ 
+   * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient getUgqGameQuestDataForClients(int index) { + return ugqGameQuestDataForClients_.get(index); + } + /** + *
+   *ȭ , ŸƲ 
+   * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClientOrBuilder getUgqGameQuestDataForClientsOrBuilder( + int index) { + return ugqGameQuestDataForClients_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < quests_.size(); i++) { + output.writeMessage(1, quests_.get(i)); + } + for (int i = 0; i < questMetaInfos_.size(); i++) { + output.writeMessage(2, questMetaInfos_.get(i)); + } + for (int i = 0; i < ugqGameQuestDataForClients_.size(); i++) { + output.writeMessage(3, ugqGameQuestDataForClients_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < quests_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, quests_.get(i)); + } + for (int i = 0; i < questMetaInfos_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, questMetaInfos_.get(i)); + } + for (int i = 0; i < ugqGameQuestDataForClients_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, ugqGameQuestDataForClients_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos other = (com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos) obj; + + if (!getQuestsList() + .equals(other.getQuestsList())) return false; + if (!getQuestMetaInfosList() + .equals(other.getQuestMetaInfosList())) return false; + if (!getUgqGameQuestDataForClientsList() + .equals(other.getUgqGameQuestDataForClientsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getQuestsCount() > 0) { + hash = (37 * hash) + QUESTS_FIELD_NUMBER; + hash = (53 * hash) + getQuestsList().hashCode(); + } + if (getQuestMetaInfosCount() > 0) { + hash = (37 * hash) + QUESTMETAINFOS_FIELD_NUMBER; + hash = (53 * hash) + getQuestMetaInfosList().hashCode(); + } + if (getUgqGameQuestDataForClientsCount() > 0) { + hash = (37 * hash) + UGQGAMEQUESTDATAFORCLIENTS_FIELD_NUMBER; + hash = (53 * hash) + getUgqGameQuestDataForClientsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code AllUgqInfos} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AllUgqInfos) + com.caliverse.admin.domain.RabbitMq.message.AllUgqInfosOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AllUgqInfos_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AllUgqInfos_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos.class, com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (questsBuilder_ == null) { + quests_ = java.util.Collections.emptyList(); + } else { + quests_ = null; + questsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (questMetaInfosBuilder_ == null) { + questMetaInfos_ = java.util.Collections.emptyList(); + } else { + questMetaInfos_ = null; + questMetaInfosBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + if (ugqGameQuestDataForClientsBuilder_ == null) { + ugqGameQuestDataForClients_ = java.util.Collections.emptyList(); + } else { + ugqGameQuestDataForClients_ = null; + ugqGameQuestDataForClientsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AllUgqInfos_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos build() { + com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos result = new com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos result) { + if (questsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + quests_ = java.util.Collections.unmodifiableList(quests_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.quests_ = quests_; + } else { + result.quests_ = questsBuilder_.build(); + } + if (questMetaInfosBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + questMetaInfos_ = java.util.Collections.unmodifiableList(questMetaInfos_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.questMetaInfos_ = questMetaInfos_; + } else { + result.questMetaInfos_ = questMetaInfosBuilder_.build(); + } + if (ugqGameQuestDataForClientsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + ugqGameQuestDataForClients_ = java.util.Collections.unmodifiableList(ugqGameQuestDataForClients_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.ugqGameQuestDataForClients_ = ugqGameQuestDataForClients_; + } else { + result.ugqGameQuestDataForClients_ = ugqGameQuestDataForClientsBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos.getDefaultInstance()) return this; + if (questsBuilder_ == null) { + if (!other.quests_.isEmpty()) { + if (quests_.isEmpty()) { + quests_ = other.quests_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureQuestsIsMutable(); + quests_.addAll(other.quests_); + } + onChanged(); + } + } else { + if (!other.quests_.isEmpty()) { + if (questsBuilder_.isEmpty()) { + questsBuilder_.dispose(); + questsBuilder_ = null; + quests_ = other.quests_; + bitField0_ = (bitField0_ & ~0x00000001); + questsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQuestsFieldBuilder() : null; + } else { + questsBuilder_.addAllMessages(other.quests_); + } + } + } + if (questMetaInfosBuilder_ == null) { + if (!other.questMetaInfos_.isEmpty()) { + if (questMetaInfos_.isEmpty()) { + questMetaInfos_ = other.questMetaInfos_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureQuestMetaInfosIsMutable(); + questMetaInfos_.addAll(other.questMetaInfos_); + } + onChanged(); + } + } else { + if (!other.questMetaInfos_.isEmpty()) { + if (questMetaInfosBuilder_.isEmpty()) { + questMetaInfosBuilder_.dispose(); + questMetaInfosBuilder_ = null; + questMetaInfos_ = other.questMetaInfos_; + bitField0_ = (bitField0_ & ~0x00000002); + questMetaInfosBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQuestMetaInfosFieldBuilder() : null; + } else { + questMetaInfosBuilder_.addAllMessages(other.questMetaInfos_); + } + } + } + if (ugqGameQuestDataForClientsBuilder_ == null) { + if (!other.ugqGameQuestDataForClients_.isEmpty()) { + if (ugqGameQuestDataForClients_.isEmpty()) { + ugqGameQuestDataForClients_ = other.ugqGameQuestDataForClients_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureUgqGameQuestDataForClientsIsMutable(); + ugqGameQuestDataForClients_.addAll(other.ugqGameQuestDataForClients_); + } + onChanged(); + } + } else { + if (!other.ugqGameQuestDataForClients_.isEmpty()) { + if (ugqGameQuestDataForClientsBuilder_.isEmpty()) { + ugqGameQuestDataForClientsBuilder_.dispose(); + ugqGameQuestDataForClientsBuilder_ = null; + ugqGameQuestDataForClients_ = other.ugqGameQuestDataForClients_; + bitField0_ = (bitField0_ & ~0x00000004); + ugqGameQuestDataForClientsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUgqGameQuestDataForClientsFieldBuilder() : null; + } else { + ugqGameQuestDataForClientsBuilder_.addAllMessages(other.ugqGameQuestDataForClients_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.caliverse.admin.domain.RabbitMq.message.QuestInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.QuestInfo.parser(), + extensionRegistry); + if (questsBuilder_ == null) { + ensureQuestsIsMutable(); + quests_.add(m); + } else { + questsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.parser(), + extensionRegistry); + if (questMetaInfosBuilder_ == null) { + ensureQuestMetaInfosIsMutable(); + questMetaInfos_.add(m); + } else { + questMetaInfosBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.parser(), + extensionRegistry); + if (ugqGameQuestDataForClientsBuilder_ == null) { + ensureUgqGameQuestDataForClientsIsMutable(); + ugqGameQuestDataForClients_.add(m); + } else { + ugqGameQuestDataForClientsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List quests_ = + java.util.Collections.emptyList(); + private void ensureQuestsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + quests_ = new java.util.ArrayList(quests_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.QuestInfo, com.caliverse.admin.domain.RabbitMq.message.QuestInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.QuestInfoOrBuilder> questsBuilder_; + + /** + * repeated .QuestInfo quests = 1; + */ + public java.util.List getQuestsList() { + if (questsBuilder_ == null) { + return java.util.Collections.unmodifiableList(quests_); + } else { + return questsBuilder_.getMessageList(); + } + } + /** + * repeated .QuestInfo quests = 1; + */ + public int getQuestsCount() { + if (questsBuilder_ == null) { + return quests_.size(); + } else { + return questsBuilder_.getCount(); + } + } + /** + * repeated .QuestInfo quests = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.QuestInfo getQuests(int index) { + if (questsBuilder_ == null) { + return quests_.get(index); + } else { + return questsBuilder_.getMessage(index); + } + } + /** + * repeated .QuestInfo quests = 1; + */ + public Builder setQuests( + int index, com.caliverse.admin.domain.RabbitMq.message.QuestInfo value) { + if (questsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureQuestsIsMutable(); + quests_.set(index, value); + onChanged(); + } else { + questsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .QuestInfo quests = 1; + */ + public Builder setQuests( + int index, com.caliverse.admin.domain.RabbitMq.message.QuestInfo.Builder builderForValue) { + if (questsBuilder_ == null) { + ensureQuestsIsMutable(); + quests_.set(index, builderForValue.build()); + onChanged(); + } else { + questsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .QuestInfo quests = 1; + */ + public Builder addQuests(com.caliverse.admin.domain.RabbitMq.message.QuestInfo value) { + if (questsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureQuestsIsMutable(); + quests_.add(value); + onChanged(); + } else { + questsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .QuestInfo quests = 1; + */ + public Builder addQuests( + int index, com.caliverse.admin.domain.RabbitMq.message.QuestInfo value) { + if (questsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureQuestsIsMutable(); + quests_.add(index, value); + onChanged(); + } else { + questsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .QuestInfo quests = 1; + */ + public Builder addQuests( + com.caliverse.admin.domain.RabbitMq.message.QuestInfo.Builder builderForValue) { + if (questsBuilder_ == null) { + ensureQuestsIsMutable(); + quests_.add(builderForValue.build()); + onChanged(); + } else { + questsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .QuestInfo quests = 1; + */ + public Builder addQuests( + int index, com.caliverse.admin.domain.RabbitMq.message.QuestInfo.Builder builderForValue) { + if (questsBuilder_ == null) { + ensureQuestsIsMutable(); + quests_.add(index, builderForValue.build()); + onChanged(); + } else { + questsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .QuestInfo quests = 1; + */ + public Builder addAllQuests( + java.lang.Iterable values) { + if (questsBuilder_ == null) { + ensureQuestsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, quests_); + onChanged(); + } else { + questsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .QuestInfo quests = 1; + */ + public Builder clearQuests() { + if (questsBuilder_ == null) { + quests_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + questsBuilder_.clear(); + } + return this; + } + /** + * repeated .QuestInfo quests = 1; + */ + public Builder removeQuests(int index) { + if (questsBuilder_ == null) { + ensureQuestsIsMutable(); + quests_.remove(index); + onChanged(); + } else { + questsBuilder_.remove(index); + } + return this; + } + /** + * repeated .QuestInfo quests = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.QuestInfo.Builder getQuestsBuilder( + int index) { + return getQuestsFieldBuilder().getBuilder(index); + } + /** + * repeated .QuestInfo quests = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.QuestInfoOrBuilder getQuestsOrBuilder( + int index) { + if (questsBuilder_ == null) { + return quests_.get(index); } else { + return questsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .QuestInfo quests = 1; + */ + public java.util.List + getQuestsOrBuilderList() { + if (questsBuilder_ != null) { + return questsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(quests_); + } + } + /** + * repeated .QuestInfo quests = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.QuestInfo.Builder addQuestsBuilder() { + return getQuestsFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.QuestInfo.getDefaultInstance()); + } + /** + * repeated .QuestInfo quests = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.QuestInfo.Builder addQuestsBuilder( + int index) { + return getQuestsFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.QuestInfo.getDefaultInstance()); + } + /** + * repeated .QuestInfo quests = 1; + */ + public java.util.List + getQuestsBuilderList() { + return getQuestsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.QuestInfo, com.caliverse.admin.domain.RabbitMq.message.QuestInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.QuestInfoOrBuilder> + getQuestsFieldBuilder() { + if (questsBuilder_ == null) { + questsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.QuestInfo, com.caliverse.admin.domain.RabbitMq.message.QuestInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.QuestInfoOrBuilder>( + quests_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + quests_ = null; + } + return questsBuilder_; + } + + private java.util.List questMetaInfos_ = + java.util.Collections.emptyList(); + private void ensureQuestMetaInfosIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + questMetaInfos_ = new java.util.ArrayList(questMetaInfos_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfoOrBuilder> questMetaInfosBuilder_; + + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public java.util.List getQuestMetaInfosList() { + if (questMetaInfosBuilder_ == null) { + return java.util.Collections.unmodifiableList(questMetaInfos_); + } else { + return questMetaInfosBuilder_.getMessageList(); + } + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public int getQuestMetaInfosCount() { + if (questMetaInfosBuilder_ == null) { + return questMetaInfos_.size(); + } else { + return questMetaInfosBuilder_.getCount(); + } + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo getQuestMetaInfos(int index) { + if (questMetaInfosBuilder_ == null) { + return questMetaInfos_.get(index); + } else { + return questMetaInfosBuilder_.getMessage(index); + } + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public Builder setQuestMetaInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo value) { + if (questMetaInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureQuestMetaInfosIsMutable(); + questMetaInfos_.set(index, value); + onChanged(); + } else { + questMetaInfosBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public Builder setQuestMetaInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.Builder builderForValue) { + if (questMetaInfosBuilder_ == null) { + ensureQuestMetaInfosIsMutable(); + questMetaInfos_.set(index, builderForValue.build()); + onChanged(); + } else { + questMetaInfosBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public Builder addQuestMetaInfos(com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo value) { + if (questMetaInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureQuestMetaInfosIsMutable(); + questMetaInfos_.add(value); + onChanged(); + } else { + questMetaInfosBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public Builder addQuestMetaInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo value) { + if (questMetaInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureQuestMetaInfosIsMutable(); + questMetaInfos_.add(index, value); + onChanged(); + } else { + questMetaInfosBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public Builder addQuestMetaInfos( + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.Builder builderForValue) { + if (questMetaInfosBuilder_ == null) { + ensureQuestMetaInfosIsMutable(); + questMetaInfos_.add(builderForValue.build()); + onChanged(); + } else { + questMetaInfosBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public Builder addQuestMetaInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.Builder builderForValue) { + if (questMetaInfosBuilder_ == null) { + ensureQuestMetaInfosIsMutable(); + questMetaInfos_.add(index, builderForValue.build()); + onChanged(); + } else { + questMetaInfosBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public Builder addAllQuestMetaInfos( + java.lang.Iterable values) { + if (questMetaInfosBuilder_ == null) { + ensureQuestMetaInfosIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, questMetaInfos_); + onChanged(); + } else { + questMetaInfosBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public Builder clearQuestMetaInfos() { + if (questMetaInfosBuilder_ == null) { + questMetaInfos_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + questMetaInfosBuilder_.clear(); + } + return this; + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public Builder removeQuestMetaInfos(int index) { + if (questMetaInfosBuilder_ == null) { + ensureQuestMetaInfosIsMutable(); + questMetaInfos_.remove(index); + onChanged(); + } else { + questMetaInfosBuilder_.remove(index); + } + return this; + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.Builder getQuestMetaInfosBuilder( + int index) { + return getQuestMetaInfosFieldBuilder().getBuilder(index); + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfoOrBuilder getQuestMetaInfosOrBuilder( + int index) { + if (questMetaInfosBuilder_ == null) { + return questMetaInfos_.get(index); } else { + return questMetaInfosBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public java.util.List + getQuestMetaInfosOrBuilderList() { + if (questMetaInfosBuilder_ != null) { + return questMetaInfosBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(questMetaInfos_); + } + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.Builder addQuestMetaInfosBuilder() { + return getQuestMetaInfosFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.getDefaultInstance()); + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.Builder addQuestMetaInfosBuilder( + int index) { + return getQuestMetaInfosFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.getDefaultInstance()); + } + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + public java.util.List + getQuestMetaInfosBuilderList() { + return getQuestMetaInfosFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfoOrBuilder> + getQuestMetaInfosFieldBuilder() { + if (questMetaInfosBuilder_ == null) { + questMetaInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfoOrBuilder>( + questMetaInfos_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + questMetaInfos_ = null; + } + return questMetaInfosBuilder_; + } + + private java.util.List ugqGameQuestDataForClients_ = + java.util.Collections.emptyList(); + private void ensureUgqGameQuestDataForClientsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + ugqGameQuestDataForClients_ = new java.util.ArrayList(ugqGameQuestDataForClients_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClientOrBuilder> ugqGameQuestDataForClientsBuilder_; + + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public java.util.List getUgqGameQuestDataForClientsList() { + if (ugqGameQuestDataForClientsBuilder_ == null) { + return java.util.Collections.unmodifiableList(ugqGameQuestDataForClients_); + } else { + return ugqGameQuestDataForClientsBuilder_.getMessageList(); + } + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public int getUgqGameQuestDataForClientsCount() { + if (ugqGameQuestDataForClientsBuilder_ == null) { + return ugqGameQuestDataForClients_.size(); + } else { + return ugqGameQuestDataForClientsBuilder_.getCount(); + } + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient getUgqGameQuestDataForClients(int index) { + if (ugqGameQuestDataForClientsBuilder_ == null) { + return ugqGameQuestDataForClients_.get(index); + } else { + return ugqGameQuestDataForClientsBuilder_.getMessage(index); + } + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public Builder setUgqGameQuestDataForClients( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient value) { + if (ugqGameQuestDataForClientsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUgqGameQuestDataForClientsIsMutable(); + ugqGameQuestDataForClients_.set(index, value); + onChanged(); + } else { + ugqGameQuestDataForClientsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public Builder setUgqGameQuestDataForClients( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.Builder builderForValue) { + if (ugqGameQuestDataForClientsBuilder_ == null) { + ensureUgqGameQuestDataForClientsIsMutable(); + ugqGameQuestDataForClients_.set(index, builderForValue.build()); + onChanged(); + } else { + ugqGameQuestDataForClientsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public Builder addUgqGameQuestDataForClients(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient value) { + if (ugqGameQuestDataForClientsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUgqGameQuestDataForClientsIsMutable(); + ugqGameQuestDataForClients_.add(value); + onChanged(); + } else { + ugqGameQuestDataForClientsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public Builder addUgqGameQuestDataForClients( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient value) { + if (ugqGameQuestDataForClientsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUgqGameQuestDataForClientsIsMutable(); + ugqGameQuestDataForClients_.add(index, value); + onChanged(); + } else { + ugqGameQuestDataForClientsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public Builder addUgqGameQuestDataForClients( + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.Builder builderForValue) { + if (ugqGameQuestDataForClientsBuilder_ == null) { + ensureUgqGameQuestDataForClientsIsMutable(); + ugqGameQuestDataForClients_.add(builderForValue.build()); + onChanged(); + } else { + ugqGameQuestDataForClientsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public Builder addUgqGameQuestDataForClients( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.Builder builderForValue) { + if (ugqGameQuestDataForClientsBuilder_ == null) { + ensureUgqGameQuestDataForClientsIsMutable(); + ugqGameQuestDataForClients_.add(index, builderForValue.build()); + onChanged(); + } else { + ugqGameQuestDataForClientsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public Builder addAllUgqGameQuestDataForClients( + java.lang.Iterable values) { + if (ugqGameQuestDataForClientsBuilder_ == null) { + ensureUgqGameQuestDataForClientsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ugqGameQuestDataForClients_); + onChanged(); + } else { + ugqGameQuestDataForClientsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public Builder clearUgqGameQuestDataForClients() { + if (ugqGameQuestDataForClientsBuilder_ == null) { + ugqGameQuestDataForClients_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + ugqGameQuestDataForClientsBuilder_.clear(); + } + return this; + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public Builder removeUgqGameQuestDataForClients(int index) { + if (ugqGameQuestDataForClientsBuilder_ == null) { + ensureUgqGameQuestDataForClientsIsMutable(); + ugqGameQuestDataForClients_.remove(index); + onChanged(); + } else { + ugqGameQuestDataForClientsBuilder_.remove(index); + } + return this; + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.Builder getUgqGameQuestDataForClientsBuilder( + int index) { + return getUgqGameQuestDataForClientsFieldBuilder().getBuilder(index); + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClientOrBuilder getUgqGameQuestDataForClientsOrBuilder( + int index) { + if (ugqGameQuestDataForClientsBuilder_ == null) { + return ugqGameQuestDataForClients_.get(index); } else { + return ugqGameQuestDataForClientsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public java.util.List + getUgqGameQuestDataForClientsOrBuilderList() { + if (ugqGameQuestDataForClientsBuilder_ != null) { + return ugqGameQuestDataForClientsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(ugqGameQuestDataForClients_); + } + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.Builder addUgqGameQuestDataForClientsBuilder() { + return getUgqGameQuestDataForClientsFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.getDefaultInstance()); + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.Builder addUgqGameQuestDataForClientsBuilder( + int index) { + return getUgqGameQuestDataForClientsFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.getDefaultInstance()); + } + /** + *
+     *ȭ , ŸƲ 
+     * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + public java.util.List + getUgqGameQuestDataForClientsBuilderList() { + return getUgqGameQuestDataForClientsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClientOrBuilder> + getUgqGameQuestDataForClientsFieldBuilder() { + if (ugqGameQuestDataForClientsBuilder_ == null) { + ugqGameQuestDataForClientsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClientOrBuilder>( + ugqGameQuestDataForClients_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + ugqGameQuestDataForClients_ = null; + } + return ugqGameQuestDataForClientsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:AllUgqInfos) + } + + // @@protoc_insertion_point(class_scope:AllUgqInfos) + private static final com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllUgqInfos parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AllUgqInfos getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AllUgqInfosOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AllUgqInfosOrBuilder.java new file mode 100644 index 0000000..52e5453 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AllUgqInfosOrBuilder.java @@ -0,0 +1,101 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface AllUgqInfosOrBuilder extends + // @@protoc_insertion_point(interface_extends:AllUgqInfos) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .QuestInfo quests = 1; + */ + java.util.List + getQuestsList(); + /** + * repeated .QuestInfo quests = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.QuestInfo getQuests(int index); + /** + * repeated .QuestInfo quests = 1; + */ + int getQuestsCount(); + /** + * repeated .QuestInfo quests = 1; + */ + java.util.List + getQuestsOrBuilderList(); + /** + * repeated .QuestInfo quests = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.QuestInfoOrBuilder getQuestsOrBuilder( + int index); + + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + java.util.List + getQuestMetaInfosList(); + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo getQuestMetaInfos(int index); + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + int getQuestMetaInfosCount(); + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + java.util.List + getQuestMetaInfosOrBuilderList(); + /** + * repeated .QuestMetaInfo questMetaInfos = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfoOrBuilder getQuestMetaInfosOrBuilder( + int index); + + /** + *
+   *ȭ , ŸƲ 
+   * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + java.util.List + getUgqGameQuestDataForClientsList(); + /** + *
+   *ȭ , ŸƲ 
+   * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient getUgqGameQuestDataForClients(int index); + /** + *
+   *ȭ , ŸƲ 
+   * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + int getUgqGameQuestDataForClientsCount(); + /** + *
+   *ȭ , ŸƲ 
+   * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + java.util.List + getUgqGameQuestDataForClientsOrBuilderList(); + /** + *
+   *ȭ , ŸƲ 
+   * 
+ * + * repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClientOrBuilder getUgqGameQuestDataForClientsOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AmountDeltaType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AmountDeltaType.java new file mode 100644 index 0000000..4c40247 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AmountDeltaType.java @@ -0,0 +1,159 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  ȭ  : ȭ ȭ
+ * 
+ * + * Protobuf enum {@code AmountDeltaType} + */ +public enum AmountDeltaType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * AmountDeltaType_None = 0; + */ + AmountDeltaType_None(0), + /** + *
+   * ȹ ( )
+   * 
+ * + * AmountDeltaType_Acquire = 1; + */ + AmountDeltaType_Acquire(1), + /** + *
+   * Ҹ ( )
+   * 
+ * + * AmountDeltaType_Consume = 2; + */ + AmountDeltaType_Consume(2), + /** + *
+   *  ( :ȹ,  :Ҹ)
+   * 
+ * + * AmountDeltaType_Merge = 3; + */ + AmountDeltaType_Merge(3), + UNRECOGNIZED(-1), + ; + + /** + * AmountDeltaType_None = 0; + */ + public static final int AmountDeltaType_None_VALUE = 0; + /** + *
+   * ȹ ( )
+   * 
+ * + * AmountDeltaType_Acquire = 1; + */ + public static final int AmountDeltaType_Acquire_VALUE = 1; + /** + *
+   * Ҹ ( )
+   * 
+ * + * AmountDeltaType_Consume = 2; + */ + public static final int AmountDeltaType_Consume_VALUE = 2; + /** + *
+   *  ( :ȹ,  :Ҹ)
+   * 
+ * + * AmountDeltaType_Merge = 3; + */ + public static final int AmountDeltaType_Merge_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AmountDeltaType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AmountDeltaType forNumber(int value) { + switch (value) { + case 0: return AmountDeltaType_None; + case 1: return AmountDeltaType_Acquire; + case 2: return AmountDeltaType_Consume; + case 3: return AmountDeltaType_Merge; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + AmountDeltaType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AmountDeltaType findValueByNumber(int number) { + return AmountDeltaType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(22); + } + + private static final AmountDeltaType[] VALUES = values(); + + public static AmountDeltaType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AmountDeltaType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:AmountDeltaType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AppearanceCustomization.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AppearanceCustomization.java new file mode 100644 index 0000000..b931472 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AppearanceCustomization.java @@ -0,0 +1,789 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  Ŀ͸¡ : Ŷ
+ * 
+ * + * Protobuf type {@code AppearanceCustomization} + */ +public final class AppearanceCustomization extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AppearanceCustomization) + AppearanceCustomizationOrBuilder { +private static final long serialVersionUID = 0L; + // Use AppearanceCustomization.newBuilder() to construct. + private AppearanceCustomization(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AppearanceCustomization() { + customValues_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AppearanceCustomization(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceCustomization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceCustomization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.class, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder.class); + } + + public static final int BASICSTYLE_FIELD_NUMBER = 1; + private int basicStyle_ = 0; + /** + * int32 basicStyle = 1; + * @return The basicStyle. + */ + @java.lang.Override + public int getBasicStyle() { + return basicStyle_; + } + + public static final int BODYSHAPE_FIELD_NUMBER = 2; + private int bodyShape_ = 0; + /** + * int32 bodyShape = 2; + * @return The bodyShape. + */ + @java.lang.Override + public int getBodyShape() { + return bodyShape_; + } + + public static final int HAIRSTYLE_FIELD_NUMBER = 3; + private int hairStyle_ = 0; + /** + * int32 hairStyle = 3; + * @return The hairStyle. + */ + @java.lang.Override + public int getHairStyle() { + return hairStyle_; + } + + public static final int CUSTOMVALUES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList customValues_; + /** + * repeated int32 customValues = 5; + * @return A list containing the customValues. + */ + @java.lang.Override + public java.util.List + getCustomValuesList() { + return customValues_; + } + /** + * repeated int32 customValues = 5; + * @return The count of customValues. + */ + public int getCustomValuesCount() { + return customValues_.size(); + } + /** + * repeated int32 customValues = 5; + * @param index The index of the element to return. + * @return The customValues at the given index. + */ + public int getCustomValues(int index) { + return customValues_.getInt(index); + } + private int customValuesMemoizedSerializedSize = -1; + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (basicStyle_ != 0) { + output.writeInt32(1, basicStyle_); + } + if (bodyShape_ != 0) { + output.writeInt32(2, bodyShape_); + } + if (hairStyle_ != 0) { + output.writeInt32(3, hairStyle_); + } + if (getCustomValuesList().size() > 0) { + output.writeUInt32NoTag(42); + output.writeUInt32NoTag(customValuesMemoizedSerializedSize); + } + for (int i = 0; i < customValues_.size(); i++) { + output.writeInt32NoTag(customValues_.getInt(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (basicStyle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, basicStyle_); + } + if (bodyShape_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, bodyShape_); + } + if (hairStyle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, hairStyle_); + } + { + int dataSize = 0; + for (int i = 0; i < customValues_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(customValues_.getInt(i)); + } + size += dataSize; + if (!getCustomValuesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + customValuesMemoizedSerializedSize = dataSize; + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization other = (com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization) obj; + + if (getBasicStyle() + != other.getBasicStyle()) return false; + if (getBodyShape() + != other.getBodyShape()) return false; + if (getHairStyle() + != other.getHairStyle()) return false; + if (!getCustomValuesList() + .equals(other.getCustomValuesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + BASICSTYLE_FIELD_NUMBER; + hash = (53 * hash) + getBasicStyle(); + hash = (37 * hash) + BODYSHAPE_FIELD_NUMBER; + hash = (53 * hash) + getBodyShape(); + hash = (37 * hash) + HAIRSTYLE_FIELD_NUMBER; + hash = (53 * hash) + getHairStyle(); + if (getCustomValuesCount() > 0) { + hash = (37 * hash) + CUSTOMVALUES_FIELD_NUMBER; + hash = (53 * hash) + getCustomValuesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   *  Ŀ͸¡ : Ŷ
+   * 
+ * + * Protobuf type {@code AppearanceCustomization} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AppearanceCustomization) + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceCustomization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceCustomization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.class, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + basicStyle_ = 0; + bodyShape_ = 0; + hairStyle_ = 0; + customValues_ = emptyIntList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceCustomization_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization build() { + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization result = new com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization result) { + if (((bitField0_ & 0x00000008) != 0)) { + customValues_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.customValues_ = customValues_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.basicStyle_ = basicStyle_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.bodyShape_ = bodyShape_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.hairStyle_ = hairStyle_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance()) return this; + if (other.getBasicStyle() != 0) { + setBasicStyle(other.getBasicStyle()); + } + if (other.getBodyShape() != 0) { + setBodyShape(other.getBodyShape()); + } + if (other.getHairStyle() != 0) { + setHairStyle(other.getHairStyle()); + } + if (!other.customValues_.isEmpty()) { + if (customValues_.isEmpty()) { + customValues_ = other.customValues_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureCustomValuesIsMutable(); + customValues_.addAll(other.customValues_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + basicStyle_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + bodyShape_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + hairStyle_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 40: { + int v = input.readInt32(); + ensureCustomValuesIsMutable(); + customValues_.addInt(v); + break; + } // case 40 + case 42: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureCustomValuesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + customValues_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int basicStyle_ ; + /** + * int32 basicStyle = 1; + * @return The basicStyle. + */ + @java.lang.Override + public int getBasicStyle() { + return basicStyle_; + } + /** + * int32 basicStyle = 1; + * @param value The basicStyle to set. + * @return This builder for chaining. + */ + public Builder setBasicStyle(int value) { + + basicStyle_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 basicStyle = 1; + * @return This builder for chaining. + */ + public Builder clearBasicStyle() { + bitField0_ = (bitField0_ & ~0x00000001); + basicStyle_ = 0; + onChanged(); + return this; + } + + private int bodyShape_ ; + /** + * int32 bodyShape = 2; + * @return The bodyShape. + */ + @java.lang.Override + public int getBodyShape() { + return bodyShape_; + } + /** + * int32 bodyShape = 2; + * @param value The bodyShape to set. + * @return This builder for chaining. + */ + public Builder setBodyShape(int value) { + + bodyShape_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 bodyShape = 2; + * @return This builder for chaining. + */ + public Builder clearBodyShape() { + bitField0_ = (bitField0_ & ~0x00000002); + bodyShape_ = 0; + onChanged(); + return this; + } + + private int hairStyle_ ; + /** + * int32 hairStyle = 3; + * @return The hairStyle. + */ + @java.lang.Override + public int getHairStyle() { + return hairStyle_; + } + /** + * int32 hairStyle = 3; + * @param value The hairStyle to set. + * @return This builder for chaining. + */ + public Builder setHairStyle(int value) { + + hairStyle_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 hairStyle = 3; + * @return This builder for chaining. + */ + public Builder clearHairStyle() { + bitField0_ = (bitField0_ & ~0x00000004); + hairStyle_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList customValues_ = emptyIntList(); + private void ensureCustomValuesIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + customValues_ = mutableCopy(customValues_); + bitField0_ |= 0x00000008; + } + } + /** + * repeated int32 customValues = 5; + * @return A list containing the customValues. + */ + public java.util.List + getCustomValuesList() { + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(customValues_) : customValues_; + } + /** + * repeated int32 customValues = 5; + * @return The count of customValues. + */ + public int getCustomValuesCount() { + return customValues_.size(); + } + /** + * repeated int32 customValues = 5; + * @param index The index of the element to return. + * @return The customValues at the given index. + */ + public int getCustomValues(int index) { + return customValues_.getInt(index); + } + /** + * repeated int32 customValues = 5; + * @param index The index to set the value at. + * @param value The customValues to set. + * @return This builder for chaining. + */ + public Builder setCustomValues( + int index, int value) { + + ensureCustomValuesIsMutable(); + customValues_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated int32 customValues = 5; + * @param value The customValues to add. + * @return This builder for chaining. + */ + public Builder addCustomValues(int value) { + + ensureCustomValuesIsMutable(); + customValues_.addInt(value); + onChanged(); + return this; + } + /** + * repeated int32 customValues = 5; + * @param values The customValues to add. + * @return This builder for chaining. + */ + public Builder addAllCustomValues( + java.lang.Iterable values) { + ensureCustomValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, customValues_); + onChanged(); + return this; + } + /** + * repeated int32 customValues = 5; + * @return This builder for chaining. + */ + public Builder clearCustomValues() { + customValues_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:AppearanceCustomization) + } + + // @@protoc_insertion_point(class_scope:AppearanceCustomization) + private static final com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppearanceCustomization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AppearanceCustomizationOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AppearanceCustomizationOrBuilder.java new file mode 100644 index 0000000..09b4746 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AppearanceCustomizationOrBuilder.java @@ -0,0 +1,44 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface AppearanceCustomizationOrBuilder extends + // @@protoc_insertion_point(interface_extends:AppearanceCustomization) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 basicStyle = 1; + * @return The basicStyle. + */ + int getBasicStyle(); + + /** + * int32 bodyShape = 2; + * @return The bodyShape. + */ + int getBodyShape(); + + /** + * int32 hairStyle = 3; + * @return The hairStyle. + */ + int getHairStyle(); + + /** + * repeated int32 customValues = 5; + * @return A list containing the customValues. + */ + java.util.List getCustomValuesList(); + /** + * repeated int32 customValues = 5; + * @return The count of customValues. + */ + int getCustomValuesCount(); + /** + * repeated int32 customValues = 5; + * @param index The index of the element to return. + * @return The customValues at the given index. + */ + int getCustomValues(int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AppearanceProfile.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AppearanceProfile.java new file mode 100644 index 0000000..ace4561 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AppearanceProfile.java @@ -0,0 +1,739 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *   : Ŷ
+ * 
+ * + * Protobuf type {@code AppearanceProfile} + */ +public final class AppearanceProfile extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AppearanceProfile) + AppearanceProfileOrBuilder { +private static final long serialVersionUID = 0L; + // Use AppearanceProfile.newBuilder() to construct. + private AppearanceProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AppearanceProfile() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AppearanceProfile(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceProfile_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetValues(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.class, com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.Builder.class); + } + + public static final int VALUES_FIELD_NUMBER = 1; + private static final class ValuesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceProfile_ValuesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> values_; + private com.google.protobuf.MapField + internalGetValues() { + if (values_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ValuesDefaultEntryHolder.defaultEntry); + } + return values_; + } + public int getValuesCount() { + return internalGetValues().getMap().size(); + } + /** + *
+   * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+   * 
+ * + * map<string, string> values = 1; + */ + @java.lang.Override + public boolean containsValues( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetValues().getMap().containsKey(key); + } + /** + * Use {@link #getValuesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getValues() { + return getValuesMap(); + } + /** + *
+   * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+   * 
+ * + * map<string, string> values = 1; + */ + @java.lang.Override + public java.util.Map getValuesMap() { + return internalGetValues().getMap(); + } + /** + *
+   * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+   * 
+ * + * map<string, string> values = 1; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getValuesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetValues().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+   * 
+ * + * map<string, string> values = 1; + */ + @java.lang.Override + public java.lang.String getValuesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetValues().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetValues(), + ValuesDefaultEntryHolder.defaultEntry, + 1); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetValues().getMap().entrySet()) { + com.google.protobuf.MapEntry + values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, values__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile other = (com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile) obj; + + if (!internalGetValues().equals( + other.internalGetValues())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetValues().getMap().isEmpty()) { + hash = (37 * hash) + VALUES_FIELD_NUMBER; + hash = (53 * hash) + internalGetValues().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   *   : Ŷ
+   * 
+ * + * Protobuf type {@code AppearanceProfile} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AppearanceProfile) + com.caliverse.admin.domain.RabbitMq.message.AppearanceProfileOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceProfile_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetValues(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableValues(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.class, com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableValues().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceProfile_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile build() { + com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile result = new com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.values_ = internalGetValues(); + result.values_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.getDefaultInstance()) return this; + internalGetMutableValues().mergeFrom( + other.internalGetValues()); + bitField0_ |= 0x00000001; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + values__ = input.readMessage( + ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableValues().getMutableMap().put( + values__.getKey(), values__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> values_; + private com.google.protobuf.MapField + internalGetValues() { + if (values_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ValuesDefaultEntryHolder.defaultEntry); + } + return values_; + } + private com.google.protobuf.MapField + internalGetMutableValues() { + if (values_ == null) { + values_ = com.google.protobuf.MapField.newMapField( + ValuesDefaultEntryHolder.defaultEntry); + } + if (!values_.isMutable()) { + values_ = values_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return values_; + } + public int getValuesCount() { + return internalGetValues().getMap().size(); + } + /** + *
+     * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+     * 
+ * + * map<string, string> values = 1; + */ + @java.lang.Override + public boolean containsValues( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetValues().getMap().containsKey(key); + } + /** + * Use {@link #getValuesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getValues() { + return getValuesMap(); + } + /** + *
+     * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+     * 
+ * + * map<string, string> values = 1; + */ + @java.lang.Override + public java.util.Map getValuesMap() { + return internalGetValues().getMap(); + } + /** + *
+     * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+     * 
+ * + * map<string, string> values = 1; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getValuesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetValues().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+     * 
+ * + * map<string, string> values = 1; + */ + @java.lang.Override + public java.lang.String getValuesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetValues().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearValues() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableValues().getMutableMap() + .clear(); + return this; + } + /** + *
+     * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+     * 
+ * + * map<string, string> values = 1; + */ + public Builder removeValues( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableValues().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableValues() { + bitField0_ |= 0x00000001; + return internalGetMutableValues().getMutableMap(); + } + /** + *
+     * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+     * 
+ * + * map<string, string> values = 1; + */ + public Builder putValues( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableValues().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+     * 
+ * + * map<string, string> values = 1; + */ + public Builder putAllValues( + java.util.Map values) { + internalGetMutableValues().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:AppearanceProfile) + } + + // @@protoc_insertion_point(class_scope:AppearanceProfile) + private static final com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppearanceProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AppearanceProfileOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AppearanceProfileOrBuilder.java new file mode 100644 index 0000000..c3735af --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AppearanceProfileOrBuilder.java @@ -0,0 +1,63 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface AppearanceProfileOrBuilder extends + // @@protoc_insertion_point(interface_extends:AppearanceProfile) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+   * 
+ * + * map<string, string> values = 1; + */ + int getValuesCount(); + /** + *
+   * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+   * 
+ * + * map<string, string> values = 1; + */ + boolean containsValues( + java.lang.String key); + /** + * Use {@link #getValuesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getValues(); + /** + *
+   * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+   * 
+ * + * map<string, string> values = 1; + */ + java.util.Map + getValuesMap(); + /** + *
+   * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+   * 
+ * + * map<string, string> values = 1; + */ + /* nullable */ +java.lang.String getValuesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+   * Ŭ̾Ʈ    !!!, Key & Value  ִ       ʿ !!!,   ʿ  proto Ͽ ߰ ʿ !!! (Key & Value: Json )
+   * 
+ * + * map<string, string> values = 1; + */ + java.lang.String getValuesOrThrow( + java.lang.String key); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AttributeInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AttributeInfo.java new file mode 100644 index 0000000..203728b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AttributeInfo.java @@ -0,0 +1,540 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code AttributeInfo} + */ +public final class AttributeInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AttributeInfo) + AttributeInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use AttributeInfo.newBuilder() to construct. + private AttributeInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AttributeInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AttributeInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AttributeInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AttributeInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.class, com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.Builder.class); + } + + public static final int ATTRIBUTEID_FIELD_NUMBER = 1; + private int attributeid_ = 0; + /** + * int32 attributeid = 1; + * @return The attributeid. + */ + @java.lang.Override + public int getAttributeid() { + return attributeid_; + } + + public static final int VALUE_FIELD_NUMBER = 2; + private int value_ = 0; + /** + * int32 value = 2; + * @return The value. + */ + @java.lang.Override + public int getValue() { + return value_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (attributeid_ != 0) { + output.writeInt32(1, attributeid_); + } + if (value_ != 0) { + output.writeInt32(2, value_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (attributeid_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, attributeid_); + } + if (value_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, value_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.AttributeInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.AttributeInfo other = (com.caliverse.admin.domain.RabbitMq.message.AttributeInfo) obj; + + if (getAttributeid() + != other.getAttributeid()) return false; + if (getValue() + != other.getValue()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ATTRIBUTEID_FIELD_NUMBER; + hash = (53 * hash) + getAttributeid(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.AttributeInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code AttributeInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AttributeInfo) + com.caliverse.admin.domain.RabbitMq.message.AttributeInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AttributeInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AttributeInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.class, com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + attributeid_ = 0; + value_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AttributeInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AttributeInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AttributeInfo build() { + com.caliverse.admin.domain.RabbitMq.message.AttributeInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AttributeInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.AttributeInfo result = new com.caliverse.admin.domain.RabbitMq.message.AttributeInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.AttributeInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.attributeid_ = attributeid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.AttributeInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.AttributeInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.AttributeInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.getDefaultInstance()) return this; + if (other.getAttributeid() != 0) { + setAttributeid(other.getAttributeid()); + } + if (other.getValue() != 0) { + setValue(other.getValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + attributeid_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + value_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int attributeid_ ; + /** + * int32 attributeid = 1; + * @return The attributeid. + */ + @java.lang.Override + public int getAttributeid() { + return attributeid_; + } + /** + * int32 attributeid = 1; + * @param value The attributeid to set. + * @return This builder for chaining. + */ + public Builder setAttributeid(int value) { + + attributeid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 attributeid = 1; + * @return This builder for chaining. + */ + public Builder clearAttributeid() { + bitField0_ = (bitField0_ & ~0x00000001); + attributeid_ = 0; + onChanged(); + return this; + } + + private int value_ ; + /** + * int32 value = 2; + * @return The value. + */ + @java.lang.Override + public int getValue() { + return value_; + } + /** + * int32 value = 2; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue(int value) { + + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 value = 2; + * @return This builder for chaining. + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000002); + value_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:AttributeInfo) + } + + // @@protoc_insertion_point(class_scope:AttributeInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.AttributeInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.AttributeInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttributeInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AttributeInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AttributeInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AttributeInfoOrBuilder.java new file mode 100644 index 0000000..3039b9c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AttributeInfoOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface AttributeInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:AttributeInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 attributeid = 1; + * @return The attributeid. + */ + int getAttributeid(); + + /** + * int32 value = 2; + * @return The value. + */ + int getValue(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AttributeType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AttributeType.java new file mode 100644 index 0000000..452b65c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AttributeType.java @@ -0,0 +1,225 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * Attribute  : AttributeDefinitionData.xlsx  Ȯ
+ * 
+ * + * Protobuf enum {@code AttributeType} + */ +public enum AttributeType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * AttributeType_None = 0; + */ + AttributeType_None(0), + /** + * AttributeType_Rapidity = 1; + */ + AttributeType_Rapidity(1), + /** + * AttributeType_Elasticity = 2; + */ + AttributeType_Elasticity(2), + /** + * AttributeType_Acceleration = 3; + */ + AttributeType_Acceleration(3), + /** + * AttributeType_Endurance = 4; + */ + AttributeType_Endurance(4), + /** + * AttributeType_Intelligence = 5; + */ + AttributeType_Intelligence(5), + /** + * AttributeType_Wits = 6; + */ + AttributeType_Wits(6), + /** + * AttributeType_Charisma = 7; + */ + AttributeType_Charisma(7), + /** + * AttributeType_Manipulation = 8; + */ + AttributeType_Manipulation(8), + /** + * AttributeType_Perception = 9; + */ + AttributeType_Perception(9), + /** + * AttributeType_Strength = 10; + */ + AttributeType_Strength(10), + /** + * AttributeType_Hacking = 11; + */ + AttributeType_Hacking(11), + /** + * AttributeType_Gathering = 12; + */ + AttributeType_Gathering(12), + /** + * AttributeType_Cooking = 13; + */ + AttributeType_Cooking(13), + UNRECOGNIZED(-1), + ; + + /** + * AttributeType_None = 0; + */ + public static final int AttributeType_None_VALUE = 0; + /** + * AttributeType_Rapidity = 1; + */ + public static final int AttributeType_Rapidity_VALUE = 1; + /** + * AttributeType_Elasticity = 2; + */ + public static final int AttributeType_Elasticity_VALUE = 2; + /** + * AttributeType_Acceleration = 3; + */ + public static final int AttributeType_Acceleration_VALUE = 3; + /** + * AttributeType_Endurance = 4; + */ + public static final int AttributeType_Endurance_VALUE = 4; + /** + * AttributeType_Intelligence = 5; + */ + public static final int AttributeType_Intelligence_VALUE = 5; + /** + * AttributeType_Wits = 6; + */ + public static final int AttributeType_Wits_VALUE = 6; + /** + * AttributeType_Charisma = 7; + */ + public static final int AttributeType_Charisma_VALUE = 7; + /** + * AttributeType_Manipulation = 8; + */ + public static final int AttributeType_Manipulation_VALUE = 8; + /** + * AttributeType_Perception = 9; + */ + public static final int AttributeType_Perception_VALUE = 9; + /** + * AttributeType_Strength = 10; + */ + public static final int AttributeType_Strength_VALUE = 10; + /** + * AttributeType_Hacking = 11; + */ + public static final int AttributeType_Hacking_VALUE = 11; + /** + * AttributeType_Gathering = 12; + */ + public static final int AttributeType_Gathering_VALUE = 12; + /** + * AttributeType_Cooking = 13; + */ + public static final int AttributeType_Cooking_VALUE = 13; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AttributeType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AttributeType forNumber(int value) { + switch (value) { + case 0: return AttributeType_None; + case 1: return AttributeType_Rapidity; + case 2: return AttributeType_Elasticity; + case 3: return AttributeType_Acceleration; + case 4: return AttributeType_Endurance; + case 5: return AttributeType_Intelligence; + case 6: return AttributeType_Wits; + case 7: return AttributeType_Charisma; + case 8: return AttributeType_Manipulation; + case 9: return AttributeType_Perception; + case 10: return AttributeType_Strength; + case 11: return AttributeType_Hacking; + case 12: return AttributeType_Gathering; + case 13: return AttributeType_Cooking; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + AttributeType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AttributeType findValueByNumber(int number) { + return AttributeType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(5); + } + + private static final AttributeType[] VALUES = values(); + + public static AttributeType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AttributeType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:AttributeType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AuthAdminLevelType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AuthAdminLevelType.java new file mode 100644 index 0000000..93a11cf --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AuthAdminLevelType.java @@ -0,0 +1,135 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *    
+ * 
+ * + * Protobuf enum {@code AuthAdminLevelType} + */ +public enum AuthAdminLevelType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * AuthAdminLevelType_None = 0; + */ + AuthAdminLevelType_None(0), + /** + * AuthAdminLevelType_GmNormal = 1; + */ + AuthAdminLevelType_GmNormal(1), + /** + * AuthAdminLevelType_GmSuper = 2; + */ + AuthAdminLevelType_GmSuper(2), + /** + * AuthAdminLevelType_Developer = 3; + */ + AuthAdminLevelType_Developer(3), + UNRECOGNIZED(-1), + ; + + /** + * AuthAdminLevelType_None = 0; + */ + public static final int AuthAdminLevelType_None_VALUE = 0; + /** + * AuthAdminLevelType_GmNormal = 1; + */ + public static final int AuthAdminLevelType_GmNormal_VALUE = 1; + /** + * AuthAdminLevelType_GmSuper = 2; + */ + public static final int AuthAdminLevelType_GmSuper_VALUE = 2; + /** + * AuthAdminLevelType_Developer = 3; + */ + public static final int AuthAdminLevelType_Developer_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AuthAdminLevelType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AuthAdminLevelType forNumber(int value) { + switch (value) { + case 0: return AuthAdminLevelType_None; + case 1: return AuthAdminLevelType_GmNormal; + case 2: return AuthAdminLevelType_GmSuper; + case 3: return AuthAdminLevelType_Developer; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + AuthAdminLevelType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AuthAdminLevelType findValueByNumber(int number) { + return AuthAdminLevelType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(13); + } + + private static final AuthAdminLevelType[] VALUES = values(); + + public static AuthAdminLevelType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AuthAdminLevelType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:AuthAdminLevelType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AutoScaleServerType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AutoScaleServerType.java new file mode 100644 index 0000000..3add2ae --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AutoScaleServerType.java @@ -0,0 +1,144 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  ϸ  
+ * 
+ * + * Protobuf enum {@code AutoScaleServerType} + */ +public enum AutoScaleServerType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * AutoScaleServerType_None = 0; + */ + AutoScaleServerType_None(0), + /** + * AutoScaleServerType_Login = 1; + */ + AutoScaleServerType_Login(1), + /** + * AutoScaleServerType_Game = 2; + */ + AutoScaleServerType_Game(2), + /** + * AutoScaleServerType_Indun = 3; + */ + AutoScaleServerType_Indun(3), + /** + * AutoScaleServerType_Chat = 4; + */ + AutoScaleServerType_Chat(4), + UNRECOGNIZED(-1), + ; + + /** + * AutoScaleServerType_None = 0; + */ + public static final int AutoScaleServerType_None_VALUE = 0; + /** + * AutoScaleServerType_Login = 1; + */ + public static final int AutoScaleServerType_Login_VALUE = 1; + /** + * AutoScaleServerType_Game = 2; + */ + public static final int AutoScaleServerType_Game_VALUE = 2; + /** + * AutoScaleServerType_Indun = 3; + */ + public static final int AutoScaleServerType_Indun_VALUE = 3; + /** + * AutoScaleServerType_Chat = 4; + */ + public static final int AutoScaleServerType_Chat_VALUE = 4; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AutoScaleServerType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AutoScaleServerType forNumber(int value) { + switch (value) { + case 0: return AutoScaleServerType_None; + case 1: return AutoScaleServerType_Login; + case 2: return AutoScaleServerType_Game; + case 3: return AutoScaleServerType_Indun; + case 4: return AutoScaleServerType_Chat; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + AutoScaleServerType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AutoScaleServerType findValueByNumber(int number) { + return AutoScaleServerType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(5); + } + + private static final AutoScaleServerType[] VALUES = values(); + + public static AutoScaleServerType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AutoScaleServerType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:AutoScaleServerType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AvatarInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AvatarInfo.java new file mode 100644 index 0000000..b0b3bfa --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AvatarInfo.java @@ -0,0 +1,753 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code AvatarInfo} + */ +public final class AvatarInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AvatarInfo) + AvatarInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use AvatarInfo.newBuilder() to construct. + private AvatarInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AvatarInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AvatarInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AvatarInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AvatarInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.class, com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder.class); + } + + public static final int AVATAR_ID_FIELD_NUMBER = 1; + private int avatarId_ = 0; + /** + *
+   *  
+   * 
+ * + * int32 avatar_id = 1; + * @return The avatarId. + */ + @java.lang.Override + public int getAvatarId() { + return avatarId_; + } + + public static final int APPEARCUSTOMIZE_FIELD_NUMBER = 7; + private com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization appearCustomize_; + /** + * .AppearanceCustomization appearCustomize = 7; + * @return Whether the appearCustomize field is set. + */ + @java.lang.Override + public boolean hasAppearCustomize() { + return appearCustomize_ != null; + } + /** + * .AppearanceCustomization appearCustomize = 7; + * @return The appearCustomize. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getAppearCustomize() { + return appearCustomize_ == null ? com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_; + } + /** + * .AppearanceCustomization appearCustomize = 7; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder getAppearCustomizeOrBuilder() { + return appearCustomize_ == null ? com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_; + } + + public static final int INIT_FIELD_NUMBER = 6; + private int init_ = 0; + /** + *
+   * 1: Ŀ͸¡ȭ ʿ 0: ʿ.
+   * 
+ * + * uint32 Init = 6; + * @return The init. + */ + @java.lang.Override + public int getInit() { + return init_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (avatarId_ != 0) { + output.writeInt32(1, avatarId_); + } + if (init_ != 0) { + output.writeUInt32(6, init_); + } + if (appearCustomize_ != null) { + output.writeMessage(7, getAppearCustomize()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (avatarId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, avatarId_); + } + if (init_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, init_); + } + if (appearCustomize_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getAppearCustomize()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.AvatarInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo other = (com.caliverse.admin.domain.RabbitMq.message.AvatarInfo) obj; + + if (getAvatarId() + != other.getAvatarId()) return false; + if (hasAppearCustomize() != other.hasAppearCustomize()) return false; + if (hasAppearCustomize()) { + if (!getAppearCustomize() + .equals(other.getAppearCustomize())) return false; + } + if (getInit() + != other.getInit()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER; + hash = (53 * hash) + getAvatarId(); + if (hasAppearCustomize()) { + hash = (37 * hash) + APPEARCUSTOMIZE_FIELD_NUMBER; + hash = (53 * hash) + getAppearCustomize().hashCode(); + } + hash = (37 * hash) + INIT_FIELD_NUMBER; + hash = (53 * hash) + getInit(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.AvatarInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code AvatarInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AvatarInfo) + com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AvatarInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AvatarInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.class, com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + avatarId_ = 0; + appearCustomize_ = null; + if (appearCustomizeBuilder_ != null) { + appearCustomizeBuilder_.dispose(); + appearCustomizeBuilder_ = null; + } + init_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AvatarInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo build() { + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo result = new com.caliverse.admin.domain.RabbitMq.message.AvatarInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.AvatarInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.avatarId_ = avatarId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.appearCustomize_ = appearCustomizeBuilder_ == null + ? appearCustomize_ + : appearCustomizeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.init_ = init_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.AvatarInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.AvatarInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.AvatarInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance()) return this; + if (other.getAvatarId() != 0) { + setAvatarId(other.getAvatarId()); + } + if (other.hasAppearCustomize()) { + mergeAppearCustomize(other.getAppearCustomize()); + } + if (other.getInit() != 0) { + setInit(other.getInit()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + avatarId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 48: { + init_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 48 + case 58: { + input.readMessage( + getAppearCustomizeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int avatarId_ ; + /** + *
+     *  
+     * 
+ * + * int32 avatar_id = 1; + * @return The avatarId. + */ + @java.lang.Override + public int getAvatarId() { + return avatarId_; + } + /** + *
+     *  
+     * 
+ * + * int32 avatar_id = 1; + * @param value The avatarId to set. + * @return This builder for chaining. + */ + public Builder setAvatarId(int value) { + + avatarId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     *  
+     * 
+ * + * int32 avatar_id = 1; + * @return This builder for chaining. + */ + public Builder clearAvatarId() { + bitField0_ = (bitField0_ & ~0x00000001); + avatarId_ = 0; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization appearCustomize_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder> appearCustomizeBuilder_; + /** + * .AppearanceCustomization appearCustomize = 7; + * @return Whether the appearCustomize field is set. + */ + public boolean hasAppearCustomize() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .AppearanceCustomization appearCustomize = 7; + * @return The appearCustomize. + */ + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getAppearCustomize() { + if (appearCustomizeBuilder_ == null) { + return appearCustomize_ == null ? com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_; + } else { + return appearCustomizeBuilder_.getMessage(); + } + } + /** + * .AppearanceCustomization appearCustomize = 7; + */ + public Builder setAppearCustomize(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization value) { + if (appearCustomizeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + appearCustomize_ = value; + } else { + appearCustomizeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .AppearanceCustomization appearCustomize = 7; + */ + public Builder setAppearCustomize( + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder builderForValue) { + if (appearCustomizeBuilder_ == null) { + appearCustomize_ = builderForValue.build(); + } else { + appearCustomizeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .AppearanceCustomization appearCustomize = 7; + */ + public Builder mergeAppearCustomize(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization value) { + if (appearCustomizeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + appearCustomize_ != null && + appearCustomize_ != com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance()) { + getAppearCustomizeBuilder().mergeFrom(value); + } else { + appearCustomize_ = value; + } + } else { + appearCustomizeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .AppearanceCustomization appearCustomize = 7; + */ + public Builder clearAppearCustomize() { + bitField0_ = (bitField0_ & ~0x00000002); + appearCustomize_ = null; + if (appearCustomizeBuilder_ != null) { + appearCustomizeBuilder_.dispose(); + appearCustomizeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .AppearanceCustomization appearCustomize = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder getAppearCustomizeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getAppearCustomizeFieldBuilder().getBuilder(); + } + /** + * .AppearanceCustomization appearCustomize = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder getAppearCustomizeOrBuilder() { + if (appearCustomizeBuilder_ != null) { + return appearCustomizeBuilder_.getMessageOrBuilder(); + } else { + return appearCustomize_ == null ? + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_; + } + } + /** + * .AppearanceCustomization appearCustomize = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder> + getAppearCustomizeFieldBuilder() { + if (appearCustomizeBuilder_ == null) { + appearCustomizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder>( + getAppearCustomize(), + getParentForChildren(), + isClean()); + appearCustomize_ = null; + } + return appearCustomizeBuilder_; + } + + private int init_ ; + /** + *
+     * 1: Ŀ͸¡ȭ ʿ 0: ʿ.
+     * 
+ * + * uint32 Init = 6; + * @return The init. + */ + @java.lang.Override + public int getInit() { + return init_; + } + /** + *
+     * 1: Ŀ͸¡ȭ ʿ 0: ʿ.
+     * 
+ * + * uint32 Init = 6; + * @param value The init to set. + * @return This builder for chaining. + */ + public Builder setInit(int value) { + + init_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * 1: Ŀ͸¡ȭ ʿ 0: ʿ.
+     * 
+ * + * uint32 Init = 6; + * @return This builder for chaining. + */ + public Builder clearInit() { + bitField0_ = (bitField0_ & ~0x00000004); + init_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:AvatarInfo) + } + + // @@protoc_insertion_point(class_scope:AvatarInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.AvatarInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.AvatarInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvatarInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AvatarInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AvatarInfoOrBuilder.java new file mode 100644 index 0000000..39bde77 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/AvatarInfoOrBuilder.java @@ -0,0 +1,44 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface AvatarInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:AvatarInfo) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *  
+   * 
+ * + * int32 avatar_id = 1; + * @return The avatarId. + */ + int getAvatarId(); + + /** + * .AppearanceCustomization appearCustomize = 7; + * @return Whether the appearCustomize field is set. + */ + boolean hasAppearCustomize(); + /** + * .AppearanceCustomization appearCustomize = 7; + * @return The appearCustomize. + */ + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getAppearCustomize(); + /** + * .AppearanceCustomization appearCustomize = 7; + */ + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder getAppearCustomizeOrBuilder(); + + /** + *
+   * 1: Ŀ͸¡ȭ ʿ 0: ʿ.
+   * 
+ * + * uint32 Init = 6; + * @return The init. + */ + int getInit(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BlockInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BlockInfo.java new file mode 100644 index 0000000..7e14344 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BlockInfo.java @@ -0,0 +1,927 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code BlockInfo} + */ +public final class BlockInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:BlockInfo) + BlockInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use BlockInfo.newBuilder() to construct. + private BlockInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BlockInfo() { + guid_ = ""; + nickName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BlockInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BlockInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BlockInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.BlockInfo.class, com.caliverse.admin.domain.RabbitMq.message.BlockInfo.Builder.class); + } + + public static final int GUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object guid_ = ""; + /** + * string guid = 1; + * @return The guid. + */ + @java.lang.Override + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } + } + /** + * string guid = 1; + * @return The bytes for guid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NICKNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object nickName_ = ""; + /** + * string nickName = 2; + * @return The nickName. + */ + @java.lang.Override + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickName_ = s; + return s; + } + } + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ISNEW_FIELD_NUMBER = 3; + private int isNew_ = 0; + /** + * int32 isNew = 3; + * @return The isNew. + */ + @java.lang.Override + public int getIsNew() { + return isNew_; + } + + public static final int CREATETIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp createTime_; + /** + * .google.protobuf.Timestamp createTime = 4; + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * .google.protobuf.Timestamp createTime = 4; + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, guid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nickName_); + } + if (isNew_ != 0) { + output.writeInt32(3, isNew_); + } + if (createTime_ != null) { + output.writeMessage(4, getCreateTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, guid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nickName_); + } + if (isNew_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, isNew_); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.BlockInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.BlockInfo other = (com.caliverse.admin.domain.RabbitMq.message.BlockInfo) obj; + + if (!getGuid() + .equals(other.getGuid())) return false; + if (!getNickName() + .equals(other.getNickName())) return false; + if (getIsNew() + != other.getIsNew()) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime() + .equals(other.getCreateTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + GUID_FIELD_NUMBER; + hash = (53 * hash) + getGuid().hashCode(); + hash = (37 * hash) + NICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getNickName().hashCode(); + hash = (37 * hash) + ISNEW_FIELD_NUMBER; + hash = (53 * hash) + getIsNew(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATETIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.BlockInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code BlockInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:BlockInfo) + com.caliverse.admin.domain.RabbitMq.message.BlockInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BlockInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BlockInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.BlockInfo.class, com.caliverse.admin.domain.RabbitMq.message.BlockInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.BlockInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + guid_ = ""; + nickName_ = ""; + isNew_ = 0; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BlockInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BlockInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.BlockInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BlockInfo build() { + com.caliverse.admin.domain.RabbitMq.message.BlockInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BlockInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.BlockInfo result = new com.caliverse.admin.domain.RabbitMq.message.BlockInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.BlockInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.guid_ = guid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nickName_ = nickName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.isNew_ = isNew_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.BlockInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.BlockInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.BlockInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.BlockInfo.getDefaultInstance()) return this; + if (!other.getGuid().isEmpty()) { + guid_ = other.guid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getNickName().isEmpty()) { + nickName_ = other.nickName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getIsNew() != 0) { + setIsNew(other.getIsNew()); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + guid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + nickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + isNew_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object guid_ = ""; + /** + * string guid = 1; + * @return The guid. + */ + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string guid = 1; + * @return The bytes for guid. + */ + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string guid = 1; + * @param value The guid to set. + * @return This builder for chaining. + */ + public Builder setGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + guid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string guid = 1; + * @return This builder for chaining. + */ + public Builder clearGuid() { + guid_ = getDefaultInstance().getGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string guid = 1; + * @param value The bytes for guid to set. + * @return This builder for chaining. + */ + public Builder setGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + guid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object nickName_ = ""; + /** + * string nickName = 2; + * @return The nickName. + */ + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string nickName = 2; + * @param value The nickName to set. + * @return This builder for chaining. + */ + public Builder setNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string nickName = 2; + * @return This builder for chaining. + */ + public Builder clearNickName() { + nickName_ = getDefaultInstance().getNickName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string nickName = 2; + * @param value The bytes for nickName to set. + * @return This builder for chaining. + */ + public Builder setNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int isNew_ ; + /** + * int32 isNew = 3; + * @return The isNew. + */ + @java.lang.Override + public int getIsNew() { + return isNew_; + } + /** + * int32 isNew = 3; + * @param value The isNew to set. + * @return This builder for chaining. + */ + public Builder setIsNew(int value) { + + isNew_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 isNew = 3; + * @return This builder for chaining. + */ + public Builder clearIsNew() { + bitField0_ = (bitField0_ & ~0x00000004); + isNew_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + /** + * .google.protobuf.Timestamp createTime = 4; + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .google.protobuf.Timestamp createTime = 4; + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000008); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:BlockInfo) + } + + // @@protoc_insertion_point(class_scope:BlockInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.BlockInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.BlockInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BlockInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BlockInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BlockInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BlockInfoOrBuilder.java new file mode 100644 index 0000000..762dfad --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BlockInfoOrBuilder.java @@ -0,0 +1,54 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface BlockInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:BlockInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string guid = 1; + * @return The guid. + */ + java.lang.String getGuid(); + /** + * string guid = 1; + * @return The bytes for guid. + */ + com.google.protobuf.ByteString + getGuidBytes(); + + /** + * string nickName = 2; + * @return The nickName. + */ + java.lang.String getNickName(); + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + com.google.protobuf.ByteString + getNickNameBytes(); + + /** + * int32 isNew = 3; + * @return The isNew. + */ + int getIsNew(); + + /** + * .google.protobuf.Timestamp createTime = 4; + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * .google.protobuf.Timestamp createTime = 4; + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * .google.protobuf.Timestamp createTime = 4; + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BoolType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BoolType.java new file mode 100644 index 0000000..d9cbbd9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BoolType.java @@ -0,0 +1,126 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * bool enum
+ * 
+ * + * Protobuf enum {@code BoolType} + */ +public enum BoolType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * BoolType_None = 0; + */ + BoolType_None(0), + /** + * BoolType_True = 1; + */ + BoolType_True(1), + /** + * BoolType_False = 2; + */ + BoolType_False(2), + UNRECOGNIZED(-1), + ; + + /** + * BoolType_None = 0; + */ + public static final int BoolType_None_VALUE = 0; + /** + * BoolType_True = 1; + */ + public static final int BoolType_True_VALUE = 1; + /** + * BoolType_False = 2; + */ + public static final int BoolType_False_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static BoolType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static BoolType forNumber(int value) { + switch (value) { + case 0: return BoolType_None; + case 1: return BoolType_True; + case 2: return BoolType_False; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + BoolType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public BoolType findValueByNumber(int number) { + return BoolType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(0); + } + + private static final BoolType[] VALUES = values(); + + public static BoolType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private BoolType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:BoolType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Buff.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Buff.java new file mode 100644 index 0000000..945a593 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Buff.java @@ -0,0 +1,655 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code Buff} + */ +public final class Buff extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Buff) + BuffOrBuilder { +private static final long serialVersionUID = 0L; + // Use Buff.newBuilder() to construct. + private Buff(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Buff() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Buff(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Buff_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Buff_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Buff.class, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder.class); + } + + public static final int BUFFID_FIELD_NUMBER = 1; + private int buffId_ = 0; + /** + * int32 buffId = 1; + * @return The buffId. + */ + @java.lang.Override + public int getBuffId() { + return buffId_; + } + + public static final int BUFFSTARTTIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp buffStartTime_; + /** + * .google.protobuf.Timestamp buffStartTime = 2; + * @return Whether the buffStartTime field is set. + */ + @java.lang.Override + public boolean hasBuffStartTime() { + return buffStartTime_ != null; + } + /** + * .google.protobuf.Timestamp buffStartTime = 2; + * @return The buffStartTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getBuffStartTime() { + return buffStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buffStartTime_; + } + /** + * .google.protobuf.Timestamp buffStartTime = 2; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getBuffStartTimeOrBuilder() { + return buffStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buffStartTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (buffId_ != 0) { + output.writeInt32(1, buffId_); + } + if (buffStartTime_ != null) { + output.writeMessage(2, getBuffStartTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (buffId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, buffId_); + } + if (buffStartTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getBuffStartTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.Buff)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.Buff other = (com.caliverse.admin.domain.RabbitMq.message.Buff) obj; + + if (getBuffId() + != other.getBuffId()) return false; + if (hasBuffStartTime() != other.hasBuffStartTime()) return false; + if (hasBuffStartTime()) { + if (!getBuffStartTime() + .equals(other.getBuffStartTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + BUFFID_FIELD_NUMBER; + hash = (53 * hash) + getBuffId(); + if (hasBuffStartTime()) { + hash = (37 * hash) + BUFFSTARTTIME_FIELD_NUMBER; + hash = (53 * hash) + getBuffStartTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Buff parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Buff parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.Buff prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code Buff} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:Buff) + com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Buff_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Buff_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Buff.class, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.Buff.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + buffId_ = 0; + buffStartTime_ = null; + if (buffStartTimeBuilder_ != null) { + buffStartTimeBuilder_.dispose(); + buffStartTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Buff_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Buff getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.Buff.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Buff build() { + com.caliverse.admin.domain.RabbitMq.message.Buff result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Buff buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.Buff result = new com.caliverse.admin.domain.RabbitMq.message.Buff(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.Buff result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.buffId_ = buffId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.buffStartTime_ = buffStartTimeBuilder_ == null + ? buffStartTime_ + : buffStartTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.Buff) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.Buff)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.Buff other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.Buff.getDefaultInstance()) return this; + if (other.getBuffId() != 0) { + setBuffId(other.getBuffId()); + } + if (other.hasBuffStartTime()) { + mergeBuffStartTime(other.getBuffStartTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + buffId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getBuffStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int buffId_ ; + /** + * int32 buffId = 1; + * @return The buffId. + */ + @java.lang.Override + public int getBuffId() { + return buffId_; + } + /** + * int32 buffId = 1; + * @param value The buffId to set. + * @return This builder for chaining. + */ + public Builder setBuffId(int value) { + + buffId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 buffId = 1; + * @return This builder for chaining. + */ + public Builder clearBuffId() { + bitField0_ = (bitField0_ & ~0x00000001); + buffId_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp buffStartTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> buffStartTimeBuilder_; + /** + * .google.protobuf.Timestamp buffStartTime = 2; + * @return Whether the buffStartTime field is set. + */ + public boolean hasBuffStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .google.protobuf.Timestamp buffStartTime = 2; + * @return The buffStartTime. + */ + public com.google.protobuf.Timestamp getBuffStartTime() { + if (buffStartTimeBuilder_ == null) { + return buffStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buffStartTime_; + } else { + return buffStartTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp buffStartTime = 2; + */ + public Builder setBuffStartTime(com.google.protobuf.Timestamp value) { + if (buffStartTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + buffStartTime_ = value; + } else { + buffStartTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp buffStartTime = 2; + */ + public Builder setBuffStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (buffStartTimeBuilder_ == null) { + buffStartTime_ = builderForValue.build(); + } else { + buffStartTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp buffStartTime = 2; + */ + public Builder mergeBuffStartTime(com.google.protobuf.Timestamp value) { + if (buffStartTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + buffStartTime_ != null && + buffStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getBuffStartTimeBuilder().mergeFrom(value); + } else { + buffStartTime_ = value; + } + } else { + buffStartTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp buffStartTime = 2; + */ + public Builder clearBuffStartTime() { + bitField0_ = (bitField0_ & ~0x00000002); + buffStartTime_ = null; + if (buffStartTimeBuilder_ != null) { + buffStartTimeBuilder_.dispose(); + buffStartTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp buffStartTime = 2; + */ + public com.google.protobuf.Timestamp.Builder getBuffStartTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getBuffStartTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp buffStartTime = 2; + */ + public com.google.protobuf.TimestampOrBuilder getBuffStartTimeOrBuilder() { + if (buffStartTimeBuilder_ != null) { + return buffStartTimeBuilder_.getMessageOrBuilder(); + } else { + return buffStartTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : buffStartTime_; + } + } + /** + * .google.protobuf.Timestamp buffStartTime = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getBuffStartTimeFieldBuilder() { + if (buffStartTimeBuilder_ == null) { + buffStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getBuffStartTime(), + getParentForChildren(), + isClean()); + buffStartTime_ = null; + } + return buffStartTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Buff) + } + + // @@protoc_insertion_point(class_scope:Buff) + private static final com.caliverse.admin.domain.RabbitMq.message.Buff DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.Buff(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.Buff getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Buff parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Buff getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuffInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuffInfo.java new file mode 100644 index 0000000..a94bcfb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuffInfo.java @@ -0,0 +1,862 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * map Unreal  ߻ repeated 
+ * 
+ * + * Protobuf type {@code BuffInfo} + */ +public final class BuffInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:BuffInfo) + BuffInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use BuffInfo.newBuilder() to construct. + private BuffInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BuffInfo() { + buff_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BuffInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuffInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuffInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.BuffInfo.class, com.caliverse.admin.domain.RabbitMq.message.BuffInfo.Builder.class); + } + + public static final int BUFF_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List buff_; + /** + *
+   *:Buff
+   * 
+ * + * repeated .Buff buff = 1; + */ + @java.lang.Override + public java.util.List getBuffList() { + return buff_; + } + /** + *
+   *:Buff
+   * 
+ * + * repeated .Buff buff = 1; + */ + @java.lang.Override + public java.util.List + getBuffOrBuilderList() { + return buff_; + } + /** + *
+   *:Buff
+   * 
+ * + * repeated .Buff buff = 1; + */ + @java.lang.Override + public int getBuffCount() { + return buff_.size(); + } + /** + *
+   *:Buff
+   * 
+ * + * repeated .Buff buff = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Buff getBuff(int index) { + return buff_.get(index); + } + /** + *
+   *:Buff
+   * 
+ * + * repeated .Buff buff = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder getBuffOrBuilder( + int index) { + return buff_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < buff_.size(); i++) { + output.writeMessage(1, buff_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < buff_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, buff_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.BuffInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.BuffInfo other = (com.caliverse.admin.domain.RabbitMq.message.BuffInfo) obj; + + if (!getBuffList() + .equals(other.getBuffList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getBuffCount() > 0) { + hash = (37 * hash) + BUFF_FIELD_NUMBER; + hash = (53 * hash) + getBuffList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.BuffInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * map Unreal  ߻ repeated 
+   * 
+ * + * Protobuf type {@code BuffInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:BuffInfo) + com.caliverse.admin.domain.RabbitMq.message.BuffInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuffInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuffInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.BuffInfo.class, com.caliverse.admin.domain.RabbitMq.message.BuffInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.BuffInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (buffBuilder_ == null) { + buff_ = java.util.Collections.emptyList(); + } else { + buff_ = null; + buffBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuffInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BuffInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.BuffInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BuffInfo build() { + com.caliverse.admin.domain.RabbitMq.message.BuffInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BuffInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.BuffInfo result = new com.caliverse.admin.domain.RabbitMq.message.BuffInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.BuffInfo result) { + if (buffBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + buff_ = java.util.Collections.unmodifiableList(buff_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.buff_ = buff_; + } else { + result.buff_ = buffBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.BuffInfo result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.BuffInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.BuffInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.BuffInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.BuffInfo.getDefaultInstance()) return this; + if (buffBuilder_ == null) { + if (!other.buff_.isEmpty()) { + if (buff_.isEmpty()) { + buff_ = other.buff_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureBuffIsMutable(); + buff_.addAll(other.buff_); + } + onChanged(); + } + } else { + if (!other.buff_.isEmpty()) { + if (buffBuilder_.isEmpty()) { + buffBuilder_.dispose(); + buffBuilder_ = null; + buff_ = other.buff_; + bitField0_ = (bitField0_ & ~0x00000001); + buffBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBuffFieldBuilder() : null; + } else { + buffBuilder_.addAllMessages(other.buff_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.caliverse.admin.domain.RabbitMq.message.Buff m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.Buff.parser(), + extensionRegistry); + if (buffBuilder_ == null) { + ensureBuffIsMutable(); + buff_.add(m); + } else { + buffBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List buff_ = + java.util.Collections.emptyList(); + private void ensureBuffIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + buff_ = new java.util.ArrayList(buff_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Buff, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder, com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder> buffBuilder_; + + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public java.util.List getBuffList() { + if (buffBuilder_ == null) { + return java.util.Collections.unmodifiableList(buff_); + } else { + return buffBuilder_.getMessageList(); + } + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public int getBuffCount() { + if (buffBuilder_ == null) { + return buff_.size(); + } else { + return buffBuilder_.getCount(); + } + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.Buff getBuff(int index) { + if (buffBuilder_ == null) { + return buff_.get(index); + } else { + return buffBuilder_.getMessage(index); + } + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public Builder setBuff( + int index, com.caliverse.admin.domain.RabbitMq.message.Buff value) { + if (buffBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBuffIsMutable(); + buff_.set(index, value); + onChanged(); + } else { + buffBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public Builder setBuff( + int index, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder builderForValue) { + if (buffBuilder_ == null) { + ensureBuffIsMutable(); + buff_.set(index, builderForValue.build()); + onChanged(); + } else { + buffBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public Builder addBuff(com.caliverse.admin.domain.RabbitMq.message.Buff value) { + if (buffBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBuffIsMutable(); + buff_.add(value); + onChanged(); + } else { + buffBuilder_.addMessage(value); + } + return this; + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public Builder addBuff( + int index, com.caliverse.admin.domain.RabbitMq.message.Buff value) { + if (buffBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBuffIsMutable(); + buff_.add(index, value); + onChanged(); + } else { + buffBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public Builder addBuff( + com.caliverse.admin.domain.RabbitMq.message.Buff.Builder builderForValue) { + if (buffBuilder_ == null) { + ensureBuffIsMutable(); + buff_.add(builderForValue.build()); + onChanged(); + } else { + buffBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public Builder addBuff( + int index, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder builderForValue) { + if (buffBuilder_ == null) { + ensureBuffIsMutable(); + buff_.add(index, builderForValue.build()); + onChanged(); + } else { + buffBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public Builder addAllBuff( + java.lang.Iterable values) { + if (buffBuilder_ == null) { + ensureBuffIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, buff_); + onChanged(); + } else { + buffBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public Builder clearBuff() { + if (buffBuilder_ == null) { + buff_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + buffBuilder_.clear(); + } + return this; + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public Builder removeBuff(int index) { + if (buffBuilder_ == null) { + ensureBuffIsMutable(); + buff_.remove(index); + onChanged(); + } else { + buffBuilder_.remove(index); + } + return this; + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.Buff.Builder getBuffBuilder( + int index) { + return getBuffFieldBuilder().getBuilder(index); + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder getBuffOrBuilder( + int index) { + if (buffBuilder_ == null) { + return buff_.get(index); } else { + return buffBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public java.util.List + getBuffOrBuilderList() { + if (buffBuilder_ != null) { + return buffBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(buff_); + } + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.Buff.Builder addBuffBuilder() { + return getBuffFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.Buff.getDefaultInstance()); + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.Buff.Builder addBuffBuilder( + int index) { + return getBuffFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.Buff.getDefaultInstance()); + } + /** + *
+     *:Buff
+     * 
+ * + * repeated .Buff buff = 1; + */ + public java.util.List + getBuffBuilderList() { + return getBuffFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Buff, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder, com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder> + getBuffFieldBuilder() { + if (buffBuilder_ == null) { + buffBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Buff, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder, com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder>( + buff_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + buff_ = null; + } + return buffBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:BuffInfo) + } + + // @@protoc_insertion_point(class_scope:BuffInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.BuffInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.BuffInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BuffInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BuffInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuffInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuffInfoOrBuilder.java new file mode 100644 index 0000000..36e7f1f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuffInfoOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface BuffInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:BuffInfo) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *:Buff
+   * 
+ * + * repeated .Buff buff = 1; + */ + java.util.List + getBuffList(); + /** + *
+   *:Buff
+   * 
+ * + * repeated .Buff buff = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.Buff getBuff(int index); + /** + *
+   *:Buff
+   * 
+ * + * repeated .Buff buff = 1; + */ + int getBuffCount(); + /** + *
+   *:Buff
+   * 
+ * + * repeated .Buff buff = 1; + */ + java.util.List + getBuffOrBuilderList(); + /** + *
+   *:Buff
+   * 
+ * + * repeated .Buff buff = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder getBuffOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuffOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuffOrBuilder.java new file mode 100644 index 0000000..70c6847 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuffOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface BuffOrBuilder extends + // @@protoc_insertion_point(interface_extends:Buff) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 buffId = 1; + * @return The buffId. + */ + int getBuffId(); + + /** + * .google.protobuf.Timestamp buffStartTime = 2; + * @return Whether the buffStartTime field is set. + */ + boolean hasBuffStartTime(); + /** + * .google.protobuf.Timestamp buffStartTime = 2; + * @return The buffStartTime. + */ + com.google.protobuf.Timestamp getBuffStartTime(); + /** + * .google.protobuf.Timestamp buffStartTime = 2; + */ + com.google.protobuf.TimestampOrBuilder getBuffStartTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuildingInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuildingInfo.java new file mode 100644 index 0000000..00afc3b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuildingInfo.java @@ -0,0 +1,1586 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code BuildingInfo} + */ +public final class BuildingInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:BuildingInfo) + BuildingInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use BuildingInfo.newBuilder() to construct. + private BuildingInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BuildingInfo() { + owner_ = ""; + name_ = ""; + description_ = ""; + roomList_ = java.util.Collections.emptyList(); + propList_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BuildingInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuildingInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuildingInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.BuildingInfo.class, com.caliverse.admin.domain.RabbitMq.message.BuildingInfo.Builder.class); + } + + public static final int ID_FIELD_NUMBER = 1; + private int id_ = 0; + /** + * int32 id = 1; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + + public static final int OWNER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object owner_ = ""; + /** + * string owner = 2; + * @return The owner. + */ + @java.lang.Override + public java.lang.String getOwner() { + java.lang.Object ref = owner_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + owner_ = s; + return s; + } + } + /** + * string owner = 2; + * @return The bytes for owner. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerBytes() { + java.lang.Object ref = owner_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + owner_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * string name = 3; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 3; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + * string description = 4; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + * string description = 4; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ROOMLIST_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private java.util.List roomList_; + /** + * repeated .SlotInfo roomList = 5; + */ + @java.lang.Override + public java.util.List getRoomListList() { + return roomList_; + } + /** + * repeated .SlotInfo roomList = 5; + */ + @java.lang.Override + public java.util.List + getRoomListOrBuilderList() { + return roomList_; + } + /** + * repeated .SlotInfo roomList = 5; + */ + @java.lang.Override + public int getRoomListCount() { + return roomList_.size(); + } + /** + * repeated .SlotInfo roomList = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.SlotInfo getRoomList(int index) { + return roomList_.get(index); + } + /** + * repeated .SlotInfo roomList = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.SlotInfoOrBuilder getRoomListOrBuilder( + int index) { + return roomList_.get(index); + } + + public static final int PROPLIST_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private java.util.List propList_; + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public java.util.List getPropListList() { + return propList_; + } + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public java.util.List + getPropListOrBuilderList() { + return propList_; + } + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public int getPropListCount() { + return propList_.size(); + } + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PropInfo getPropList(int index) { + return propList_.get(index); + } + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder getPropListOrBuilder( + int index) { + return propList_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (id_ != 0) { + output.writeInt32(1, id_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, owner_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); + } + for (int i = 0; i < roomList_.size(); i++) { + output.writeMessage(5, roomList_.get(i)); + } + for (int i = 0; i < propList_.size(); i++) { + output.writeMessage(6, propList_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (id_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, id_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, owner_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); + } + for (int i = 0; i < roomList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, roomList_.get(i)); + } + for (int i = 0; i < propList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, propList_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.BuildingInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.BuildingInfo other = (com.caliverse.admin.domain.RabbitMq.message.BuildingInfo) obj; + + if (getId() + != other.getId()) return false; + if (!getOwner() + .equals(other.getOwner())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getRoomListList() + .equals(other.getRoomListList())) return false; + if (!getPropListList() + .equals(other.getPropListList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + hash = (37 * hash) + OWNER_FIELD_NUMBER; + hash = (53 * hash) + getOwner().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + if (getRoomListCount() > 0) { + hash = (37 * hash) + ROOMLIST_FIELD_NUMBER; + hash = (53 * hash) + getRoomListList().hashCode(); + } + if (getPropListCount() > 0) { + hash = (37 * hash) + PROPLIST_FIELD_NUMBER; + hash = (53 * hash) + getPropListList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.BuildingInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code BuildingInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:BuildingInfo) + com.caliverse.admin.domain.RabbitMq.message.BuildingInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuildingInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuildingInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.BuildingInfo.class, com.caliverse.admin.domain.RabbitMq.message.BuildingInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.BuildingInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + id_ = 0; + owner_ = ""; + name_ = ""; + description_ = ""; + if (roomListBuilder_ == null) { + roomList_ = java.util.Collections.emptyList(); + } else { + roomList_ = null; + roomListBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + if (propListBuilder_ == null) { + propList_ = java.util.Collections.emptyList(); + } else { + propList_ = null; + propListBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000020); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuildingInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BuildingInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.BuildingInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BuildingInfo build() { + com.caliverse.admin.domain.RabbitMq.message.BuildingInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BuildingInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.BuildingInfo result = new com.caliverse.admin.domain.RabbitMq.message.BuildingInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.BuildingInfo result) { + if (roomListBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + roomList_ = java.util.Collections.unmodifiableList(roomList_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.roomList_ = roomList_; + } else { + result.roomList_ = roomListBuilder_.build(); + } + if (propListBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + propList_ = java.util.Collections.unmodifiableList(propList_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.propList_ = propList_; + } else { + result.propList_ = propListBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.BuildingInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.id_ = id_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.owner_ = owner_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.description_ = description_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.BuildingInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.BuildingInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.BuildingInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.BuildingInfo.getDefaultInstance()) return this; + if (other.getId() != 0) { + setId(other.getId()); + } + if (!other.getOwner().isEmpty()) { + owner_ = other.owner_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (roomListBuilder_ == null) { + if (!other.roomList_.isEmpty()) { + if (roomList_.isEmpty()) { + roomList_ = other.roomList_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureRoomListIsMutable(); + roomList_.addAll(other.roomList_); + } + onChanged(); + } + } else { + if (!other.roomList_.isEmpty()) { + if (roomListBuilder_.isEmpty()) { + roomListBuilder_.dispose(); + roomListBuilder_ = null; + roomList_ = other.roomList_; + bitField0_ = (bitField0_ & ~0x00000010); + roomListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRoomListFieldBuilder() : null; + } else { + roomListBuilder_.addAllMessages(other.roomList_); + } + } + } + if (propListBuilder_ == null) { + if (!other.propList_.isEmpty()) { + if (propList_.isEmpty()) { + propList_ = other.propList_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensurePropListIsMutable(); + propList_.addAll(other.propList_); + } + onChanged(); + } + } else { + if (!other.propList_.isEmpty()) { + if (propListBuilder_.isEmpty()) { + propListBuilder_.dispose(); + propListBuilder_ = null; + propList_ = other.propList_; + bitField0_ = (bitField0_ & ~0x00000020); + propListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPropListFieldBuilder() : null; + } else { + propListBuilder_.addAllMessages(other.propList_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + id_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + owner_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + com.caliverse.admin.domain.RabbitMq.message.SlotInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.SlotInfo.parser(), + extensionRegistry); + if (roomListBuilder_ == null) { + ensureRoomListIsMutable(); + roomList_.add(m); + } else { + roomListBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: { + com.caliverse.admin.domain.RabbitMq.message.PropInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.PropInfo.parser(), + extensionRegistry); + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.add(m); + } else { + propListBuilder_.addMessage(m); + } + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int id_ ; + /** + * int32 id = 1; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + /** + * int32 id = 1; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 id = 1; + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000001); + id_ = 0; + onChanged(); + return this; + } + + private java.lang.Object owner_ = ""; + /** + * string owner = 2; + * @return The owner. + */ + public java.lang.String getOwner() { + java.lang.Object ref = owner_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + owner_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string owner = 2; + * @return The bytes for owner. + */ + public com.google.protobuf.ByteString + getOwnerBytes() { + java.lang.Object ref = owner_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + owner_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string owner = 2; + * @param value The owner to set. + * @return This builder for chaining. + */ + public Builder setOwner( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + owner_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string owner = 2; + * @return This builder for chaining. + */ + public Builder clearOwner() { + owner_ = getDefaultInstance().getOwner(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string owner = 2; + * @param value The bytes for owner to set. + * @return This builder for chaining. + */ + public Builder setOwnerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + owner_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 3; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 3; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 3; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string name = 3; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string name = 3; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + * string description = 4; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string description = 4; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string description = 4; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string description = 4; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string description = 4; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.util.List roomList_ = + java.util.Collections.emptyList(); + private void ensureRoomListIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + roomList_ = new java.util.ArrayList(roomList_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.SlotInfo, com.caliverse.admin.domain.RabbitMq.message.SlotInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.SlotInfoOrBuilder> roomListBuilder_; + + /** + * repeated .SlotInfo roomList = 5; + */ + public java.util.List getRoomListList() { + if (roomListBuilder_ == null) { + return java.util.Collections.unmodifiableList(roomList_); + } else { + return roomListBuilder_.getMessageList(); + } + } + /** + * repeated .SlotInfo roomList = 5; + */ + public int getRoomListCount() { + if (roomListBuilder_ == null) { + return roomList_.size(); + } else { + return roomListBuilder_.getCount(); + } + } + /** + * repeated .SlotInfo roomList = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.SlotInfo getRoomList(int index) { + if (roomListBuilder_ == null) { + return roomList_.get(index); + } else { + return roomListBuilder_.getMessage(index); + } + } + /** + * repeated .SlotInfo roomList = 5; + */ + public Builder setRoomList( + int index, com.caliverse.admin.domain.RabbitMq.message.SlotInfo value) { + if (roomListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRoomListIsMutable(); + roomList_.set(index, value); + onChanged(); + } else { + roomListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .SlotInfo roomList = 5; + */ + public Builder setRoomList( + int index, com.caliverse.admin.domain.RabbitMq.message.SlotInfo.Builder builderForValue) { + if (roomListBuilder_ == null) { + ensureRoomListIsMutable(); + roomList_.set(index, builderForValue.build()); + onChanged(); + } else { + roomListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .SlotInfo roomList = 5; + */ + public Builder addRoomList(com.caliverse.admin.domain.RabbitMq.message.SlotInfo value) { + if (roomListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRoomListIsMutable(); + roomList_.add(value); + onChanged(); + } else { + roomListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .SlotInfo roomList = 5; + */ + public Builder addRoomList( + int index, com.caliverse.admin.domain.RabbitMq.message.SlotInfo value) { + if (roomListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRoomListIsMutable(); + roomList_.add(index, value); + onChanged(); + } else { + roomListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .SlotInfo roomList = 5; + */ + public Builder addRoomList( + com.caliverse.admin.domain.RabbitMq.message.SlotInfo.Builder builderForValue) { + if (roomListBuilder_ == null) { + ensureRoomListIsMutable(); + roomList_.add(builderForValue.build()); + onChanged(); + } else { + roomListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .SlotInfo roomList = 5; + */ + public Builder addRoomList( + int index, com.caliverse.admin.domain.RabbitMq.message.SlotInfo.Builder builderForValue) { + if (roomListBuilder_ == null) { + ensureRoomListIsMutable(); + roomList_.add(index, builderForValue.build()); + onChanged(); + } else { + roomListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .SlotInfo roomList = 5; + */ + public Builder addAllRoomList( + java.lang.Iterable values) { + if (roomListBuilder_ == null) { + ensureRoomListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, roomList_); + onChanged(); + } else { + roomListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .SlotInfo roomList = 5; + */ + public Builder clearRoomList() { + if (roomListBuilder_ == null) { + roomList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + roomListBuilder_.clear(); + } + return this; + } + /** + * repeated .SlotInfo roomList = 5; + */ + public Builder removeRoomList(int index) { + if (roomListBuilder_ == null) { + ensureRoomListIsMutable(); + roomList_.remove(index); + onChanged(); + } else { + roomListBuilder_.remove(index); + } + return this; + } + /** + * repeated .SlotInfo roomList = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.SlotInfo.Builder getRoomListBuilder( + int index) { + return getRoomListFieldBuilder().getBuilder(index); + } + /** + * repeated .SlotInfo roomList = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.SlotInfoOrBuilder getRoomListOrBuilder( + int index) { + if (roomListBuilder_ == null) { + return roomList_.get(index); } else { + return roomListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .SlotInfo roomList = 5; + */ + public java.util.List + getRoomListOrBuilderList() { + if (roomListBuilder_ != null) { + return roomListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(roomList_); + } + } + /** + * repeated .SlotInfo roomList = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.SlotInfo.Builder addRoomListBuilder() { + return getRoomListFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.SlotInfo.getDefaultInstance()); + } + /** + * repeated .SlotInfo roomList = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.SlotInfo.Builder addRoomListBuilder( + int index) { + return getRoomListFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.SlotInfo.getDefaultInstance()); + } + /** + * repeated .SlotInfo roomList = 5; + */ + public java.util.List + getRoomListBuilderList() { + return getRoomListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.SlotInfo, com.caliverse.admin.domain.RabbitMq.message.SlotInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.SlotInfoOrBuilder> + getRoomListFieldBuilder() { + if (roomListBuilder_ == null) { + roomListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.SlotInfo, com.caliverse.admin.domain.RabbitMq.message.SlotInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.SlotInfoOrBuilder>( + roomList_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + roomList_ = null; + } + return roomListBuilder_; + } + + private java.util.List propList_ = + java.util.Collections.emptyList(); + private void ensurePropListIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + propList_ = new java.util.ArrayList(propList_); + bitField0_ |= 0x00000020; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.PropInfo, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder> propListBuilder_; + + /** + * repeated .PropInfo propList = 6; + */ + public java.util.List getPropListList() { + if (propListBuilder_ == null) { + return java.util.Collections.unmodifiableList(propList_); + } else { + return propListBuilder_.getMessageList(); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public int getPropListCount() { + if (propListBuilder_ == null) { + return propList_.size(); + } else { + return propListBuilder_.getCount(); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfo getPropList(int index) { + if (propListBuilder_ == null) { + return propList_.get(index); + } else { + return propListBuilder_.getMessage(index); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder setPropList( + int index, com.caliverse.admin.domain.RabbitMq.message.PropInfo value) { + if (propListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePropListIsMutable(); + propList_.set(index, value); + onChanged(); + } else { + propListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder setPropList( + int index, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder builderForValue) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.set(index, builderForValue.build()); + onChanged(); + } else { + propListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addPropList(com.caliverse.admin.domain.RabbitMq.message.PropInfo value) { + if (propListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePropListIsMutable(); + propList_.add(value); + onChanged(); + } else { + propListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addPropList( + int index, com.caliverse.admin.domain.RabbitMq.message.PropInfo value) { + if (propListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePropListIsMutable(); + propList_.add(index, value); + onChanged(); + } else { + propListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addPropList( + com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder builderForValue) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.add(builderForValue.build()); + onChanged(); + } else { + propListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addPropList( + int index, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder builderForValue) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.add(index, builderForValue.build()); + onChanged(); + } else { + propListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addAllPropList( + java.lang.Iterable values) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, propList_); + onChanged(); + } else { + propListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder clearPropList() { + if (propListBuilder_ == null) { + propList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + propListBuilder_.clear(); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder removePropList(int index) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.remove(index); + onChanged(); + } else { + propListBuilder_.remove(index); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder getPropListBuilder( + int index) { + return getPropListFieldBuilder().getBuilder(index); + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder getPropListOrBuilder( + int index) { + if (propListBuilder_ == null) { + return propList_.get(index); } else { + return propListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public java.util.List + getPropListOrBuilderList() { + if (propListBuilder_ != null) { + return propListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(propList_); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder addPropListBuilder() { + return getPropListFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.PropInfo.getDefaultInstance()); + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder addPropListBuilder( + int index) { + return getPropListFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.PropInfo.getDefaultInstance()); + } + /** + * repeated .PropInfo propList = 6; + */ + public java.util.List + getPropListBuilderList() { + return getPropListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.PropInfo, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder> + getPropListFieldBuilder() { + if (propListBuilder_ == null) { + propListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.PropInfo, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder>( + propList_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + propList_ = null; + } + return propListBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:BuildingInfo) + } + + // @@protoc_insertion_point(class_scope:BuildingInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.BuildingInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.BuildingInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.BuildingInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BuildingInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BuildingInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuildingInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuildingInfoOrBuilder.java new file mode 100644 index 0000000..fcea1e9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/BuildingInfoOrBuilder.java @@ -0,0 +1,99 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface BuildingInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:BuildingInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 id = 1; + * @return The id. + */ + int getId(); + + /** + * string owner = 2; + * @return The owner. + */ + java.lang.String getOwner(); + /** + * string owner = 2; + * @return The bytes for owner. + */ + com.google.protobuf.ByteString + getOwnerBytes(); + + /** + * string name = 3; + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 3; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + * string description = 4; + * @return The description. + */ + java.lang.String getDescription(); + /** + * string description = 4; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + * repeated .SlotInfo roomList = 5; + */ + java.util.List + getRoomListList(); + /** + * repeated .SlotInfo roomList = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.SlotInfo getRoomList(int index); + /** + * repeated .SlotInfo roomList = 5; + */ + int getRoomListCount(); + /** + * repeated .SlotInfo roomList = 5; + */ + java.util.List + getRoomListOrBuilderList(); + /** + * repeated .SlotInfo roomList = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.SlotInfoOrBuilder getRoomListOrBuilder( + int index); + + /** + * repeated .PropInfo propList = 6; + */ + java.util.List + getPropListList(); + /** + * repeated .PropInfo propList = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.PropInfo getPropList(int index); + /** + * repeated .PropInfo propList = 6; + */ + int getPropListCount(); + /** + * repeated .PropInfo propList = 6; + */ + java.util.List + getPropListOrBuilderList(); + /** + * repeated .PropInfo propList = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder getPropListOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CartItemInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CartItemInfo.java new file mode 100644 index 0000000..9a1d08a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CartItemInfo.java @@ -0,0 +1,812 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code CartItemInfo} + */ +public final class CartItemInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:CartItemInfo) + CartItemInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use CartItemInfo.newBuilder() to construct. + private CartItemInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CartItemInfo() { + itemGuid_ = ""; + buyType_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CartItemInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CartItemInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CartItemInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.class, com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.Builder.class); + } + + public static final int ITEMGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object itemGuid_ = ""; + /** + * string itemGuid = 1; + * @return The itemGuid. + */ + @java.lang.Override + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } + } + /** + * string itemGuid = 1; + * @return The bytes for itemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEMID_FIELD_NUMBER = 2; + private int itemId_ = 0; + /** + * int32 itemId = 2; + * @return The itemId. + */ + @java.lang.Override + public int getItemId() { + return itemId_; + } + + public static final int COUNT_FIELD_NUMBER = 3; + private int count_ = 0; + /** + * int32 count = 3; + * @return The count. + */ + @java.lang.Override + public int getCount() { + return count_; + } + + public static final int BUYTYPE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object buyType_ = ""; + /** + * string buyType = 4; + * @return The buyType. + */ + @java.lang.Override + public java.lang.String getBuyType() { + java.lang.Object ref = buyType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + buyType_ = s; + return s; + } + } + /** + * string buyType = 4; + * @return The bytes for buyType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBuyTypeBytes() { + java.lang.Object ref = buyType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + buyType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, itemGuid_); + } + if (itemId_ != 0) { + output.writeInt32(2, itemId_); + } + if (count_ != 0) { + output.writeInt32(3, count_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buyType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, buyType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, itemGuid_); + } + if (itemId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, itemId_); + } + if (count_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, count_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buyType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, buyType_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.CartItemInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.CartItemInfo other = (com.caliverse.admin.domain.RabbitMq.message.CartItemInfo) obj; + + if (!getItemGuid() + .equals(other.getItemGuid())) return false; + if (getItemId() + != other.getItemId()) return false; + if (getCount() + != other.getCount()) return false; + if (!getBuyType() + .equals(other.getBuyType())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getItemGuid().hashCode(); + hash = (37 * hash) + ITEMID_FIELD_NUMBER; + hash = (53 * hash) + getItemId(); + hash = (37 * hash) + COUNT_FIELD_NUMBER; + hash = (53 * hash) + getCount(); + hash = (37 * hash) + BUYTYPE_FIELD_NUMBER; + hash = (53 * hash) + getBuyType().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.CartItemInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code CartItemInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:CartItemInfo) + com.caliverse.admin.domain.RabbitMq.message.CartItemInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CartItemInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CartItemInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.class, com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemGuid_ = ""; + itemId_ = 0; + count_ = 0; + buyType_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CartItemInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CartItemInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CartItemInfo build() { + com.caliverse.admin.domain.RabbitMq.message.CartItemInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CartItemInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.CartItemInfo result = new com.caliverse.admin.domain.RabbitMq.message.CartItemInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.CartItemInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemGuid_ = itemGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.itemId_ = itemId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.count_ = count_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.buyType_ = buyType_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.CartItemInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.CartItemInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.CartItemInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.getDefaultInstance()) return this; + if (!other.getItemGuid().isEmpty()) { + itemGuid_ = other.itemGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getItemId() != 0) { + setItemId(other.getItemId()); + } + if (other.getCount() != 0) { + setCount(other.getCount()); + } + if (!other.getBuyType().isEmpty()) { + buyType_ = other.buyType_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + itemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + itemId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + count_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + buyType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object itemGuid_ = ""; + /** + * string itemGuid = 1; + * @return The itemGuid. + */ + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string itemGuid = 1; + * @return The bytes for itemGuid. + */ + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string itemGuid = 1; + * @param value The itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + itemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string itemGuid = 1; + * @return This builder for chaining. + */ + public Builder clearItemGuid() { + itemGuid_ = getDefaultInstance().getItemGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string itemGuid = 1; + * @param value The bytes for itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + itemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int itemId_ ; + /** + * int32 itemId = 2; + * @return The itemId. + */ + @java.lang.Override + public int getItemId() { + return itemId_; + } + /** + * int32 itemId = 2; + * @param value The itemId to set. + * @return This builder for chaining. + */ + public Builder setItemId(int value) { + + itemId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 itemId = 2; + * @return This builder for chaining. + */ + public Builder clearItemId() { + bitField0_ = (bitField0_ & ~0x00000002); + itemId_ = 0; + onChanged(); + return this; + } + + private int count_ ; + /** + * int32 count = 3; + * @return The count. + */ + @java.lang.Override + public int getCount() { + return count_; + } + /** + * int32 count = 3; + * @param value The count to set. + * @return This builder for chaining. + */ + public Builder setCount(int value) { + + count_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 count = 3; + * @return This builder for chaining. + */ + public Builder clearCount() { + bitField0_ = (bitField0_ & ~0x00000004); + count_ = 0; + onChanged(); + return this; + } + + private java.lang.Object buyType_ = ""; + /** + * string buyType = 4; + * @return The buyType. + */ + public java.lang.String getBuyType() { + java.lang.Object ref = buyType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + buyType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string buyType = 4; + * @return The bytes for buyType. + */ + public com.google.protobuf.ByteString + getBuyTypeBytes() { + java.lang.Object ref = buyType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + buyType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string buyType = 4; + * @param value The buyType to set. + * @return This builder for chaining. + */ + public Builder setBuyType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + buyType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string buyType = 4; + * @return This builder for chaining. + */ + public Builder clearBuyType() { + buyType_ = getDefaultInstance().getBuyType(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string buyType = 4; + * @param value The bytes for buyType to set. + * @return This builder for chaining. + */ + public Builder setBuyTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + buyType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:CartItemInfo) + } + + // @@protoc_insertion_point(class_scope:CartItemInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.CartItemInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.CartItemInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CartItemInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CartItemInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CartItemInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CartItemInfoOrBuilder.java new file mode 100644 index 0000000..c24ffb8 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CartItemInfoOrBuilder.java @@ -0,0 +1,45 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface CartItemInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:CartItemInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string itemGuid = 1; + * @return The itemGuid. + */ + java.lang.String getItemGuid(); + /** + * string itemGuid = 1; + * @return The bytes for itemGuid. + */ + com.google.protobuf.ByteString + getItemGuidBytes(); + + /** + * int32 itemId = 2; + * @return The itemId. + */ + int getItemId(); + + /** + * int32 count = 3; + * @return The count. + */ + int getCount(); + + /** + * string buyType = 4; + * @return The buyType. + */ + java.lang.String getBuyType(); + /** + * string buyType = 4; + * @return The bytes for buyType. + */ + com.google.protobuf.ByteString + getBuyTypeBytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ChannelInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ChannelInfo.java new file mode 100644 index 0000000..a7292da --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ChannelInfo.java @@ -0,0 +1,540 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ChannelInfo} + */ +public final class ChannelInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ChannelInfo) + ChannelInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use ChannelInfo.newBuilder() to construct. + private ChannelInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ChannelInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChannelInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ChannelInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ChannelInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.class, com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.Builder.class); + } + + public static final int CHANNEL_FIELD_NUMBER = 1; + private int channel_ = 0; + /** + * int32 channel = 1; + * @return The channel. + */ + @java.lang.Override + public int getChannel() { + return channel_; + } + + public static final int TRAFFICLEVEL_FIELD_NUMBER = 2; + private int trafficlevel_ = 0; + /** + * int32 trafficlevel = 2; + * @return The trafficlevel. + */ + @java.lang.Override + public int getTrafficlevel() { + return trafficlevel_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (channel_ != 0) { + output.writeInt32(1, channel_); + } + if (trafficlevel_ != 0) { + output.writeInt32(2, trafficlevel_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (channel_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, channel_); + } + if (trafficlevel_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, trafficlevel_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ChannelInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ChannelInfo other = (com.caliverse.admin.domain.RabbitMq.message.ChannelInfo) obj; + + if (getChannel() + != other.getChannel()) return false; + if (getTrafficlevel() + != other.getTrafficlevel()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CHANNEL_FIELD_NUMBER; + hash = (53 * hash) + getChannel(); + hash = (37 * hash) + TRAFFICLEVEL_FIELD_NUMBER; + hash = (53 * hash) + getTrafficlevel(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ChannelInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ChannelInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ChannelInfo) + com.caliverse.admin.domain.RabbitMq.message.ChannelInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ChannelInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ChannelInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.class, com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + channel_ = 0; + trafficlevel_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ChannelInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ChannelInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ChannelInfo build() { + com.caliverse.admin.domain.RabbitMq.message.ChannelInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ChannelInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ChannelInfo result = new com.caliverse.admin.domain.RabbitMq.message.ChannelInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ChannelInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.channel_ = channel_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.trafficlevel_ = trafficlevel_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ChannelInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ChannelInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ChannelInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.getDefaultInstance()) return this; + if (other.getChannel() != 0) { + setChannel(other.getChannel()); + } + if (other.getTrafficlevel() != 0) { + setTrafficlevel(other.getTrafficlevel()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + channel_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + trafficlevel_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int channel_ ; + /** + * int32 channel = 1; + * @return The channel. + */ + @java.lang.Override + public int getChannel() { + return channel_; + } + /** + * int32 channel = 1; + * @param value The channel to set. + * @return This builder for chaining. + */ + public Builder setChannel(int value) { + + channel_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 channel = 1; + * @return This builder for chaining. + */ + public Builder clearChannel() { + bitField0_ = (bitField0_ & ~0x00000001); + channel_ = 0; + onChanged(); + return this; + } + + private int trafficlevel_ ; + /** + * int32 trafficlevel = 2; + * @return The trafficlevel. + */ + @java.lang.Override + public int getTrafficlevel() { + return trafficlevel_; + } + /** + * int32 trafficlevel = 2; + * @param value The trafficlevel to set. + * @return This builder for chaining. + */ + public Builder setTrafficlevel(int value) { + + trafficlevel_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 trafficlevel = 2; + * @return This builder for chaining. + */ + public Builder clearTrafficlevel() { + bitField0_ = (bitField0_ & ~0x00000002); + trafficlevel_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ChannelInfo) + } + + // @@protoc_insertion_point(class_scope:ChannelInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.ChannelInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ChannelInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChannelInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ChannelInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ChannelInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ChannelInfoOrBuilder.java new file mode 100644 index 0000000..50e2841 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ChannelInfoOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ChannelInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ChannelInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 channel = 1; + * @return The channel. + */ + int getChannel(); + + /** + * int32 trafficlevel = 2; + * @return The trafficlevel. + */ + int getTrafficlevel(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharInfo.java new file mode 100644 index 0000000..4e6ad1b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharInfo.java @@ -0,0 +1,1351 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code CharInfo} + */ +public final class CharInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:CharInfo) + CharInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use CharInfo.newBuilder() to construct. + private CharInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CharInfo() { + usergroup_ = ""; + displayName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CharInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.CharInfo.class, com.caliverse.admin.domain.RabbitMq.message.CharInfo.Builder.class); + } + + public static final int LEVEL_FIELD_NUMBER = 1; + private int level_ = 0; + /** + * int32 level = 1; + * @return The level. + */ + @java.lang.Override + public int getLevel() { + return level_; + } + + public static final int EXP_FIELD_NUMBER = 2; + private long exp_ = 0L; + /** + * int64 exp = 2; + * @return The exp. + */ + @java.lang.Override + public long getExp() { + return exp_; + } + + public static final int GOLD_FIELD_NUMBER = 3; + private double gold_ = 0D; + /** + * double gold = 3; + * @return The gold. + */ + @java.lang.Override + public double getGold() { + return gold_; + } + + public static final int SAPPHIRE_FIELD_NUMBER = 4; + private double sapphire_ = 0D; + /** + * double sapphire = 4; + * @return The sapphire. + */ + @java.lang.Override + public double getSapphire() { + return sapphire_; + } + + public static final int CALIUM_FIELD_NUMBER = 5; + private double calium_ = 0D; + /** + * double calium = 5; + * @return The calium. + */ + @java.lang.Override + public double getCalium() { + return calium_; + } + + public static final int BEAM_FIELD_NUMBER = 6; + private double beam_ = 0D; + /** + * double beam = 6; + * @return The beam. + */ + @java.lang.Override + public double getBeam() { + return beam_; + } + + public static final int RUBY_FIELD_NUMBER = 7; + private double ruby_ = 0D; + /** + * double ruby = 7; + * @return The ruby. + */ + @java.lang.Override + public double getRuby() { + return ruby_; + } + + public static final int USERGROUP_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object usergroup_ = ""; + /** + * string usergroup = 8; + * @return The usergroup. + */ + @java.lang.Override + public java.lang.String getUsergroup() { + java.lang.Object ref = usergroup_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + usergroup_ = s; + return s; + } + } + /** + * string usergroup = 8; + * @return The bytes for usergroup. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUsergroupBytes() { + java.lang.Object ref = usergroup_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + usergroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_FIELD_NUMBER = 9; + private int operator_ = 0; + /** + * int32 operator = 9; + * @return The operator. + */ + @java.lang.Override + public int getOperator() { + return operator_; + } + + public static final int DISPLAYNAME_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + /** + * string displayName = 10; + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } + } + /** + * string displayName = 10; + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LANGUAGEINFO_FIELD_NUMBER = 11; + private int languageInfo_ = 0; + /** + * int32 languageInfo = 11; + * @return The languageInfo. + */ + @java.lang.Override + public int getLanguageInfo() { + return languageInfo_; + } + + public static final int ISINTROCOMPLETE_FIELD_NUMBER = 12; + private int isIntroComplete_ = 0; + /** + * int32 isIntroComplete = 12; + * @return The isIntroComplete. + */ + @java.lang.Override + public int getIsIntroComplete() { + return isIntroComplete_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (level_ != 0) { + output.writeInt32(1, level_); + } + if (exp_ != 0L) { + output.writeInt64(2, exp_); + } + if (java.lang.Double.doubleToRawLongBits(gold_) != 0) { + output.writeDouble(3, gold_); + } + if (java.lang.Double.doubleToRawLongBits(sapphire_) != 0) { + output.writeDouble(4, sapphire_); + } + if (java.lang.Double.doubleToRawLongBits(calium_) != 0) { + output.writeDouble(5, calium_); + } + if (java.lang.Double.doubleToRawLongBits(beam_) != 0) { + output.writeDouble(6, beam_); + } + if (java.lang.Double.doubleToRawLongBits(ruby_) != 0) { + output.writeDouble(7, ruby_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(usergroup_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, usergroup_); + } + if (operator_ != 0) { + output.writeInt32(9, operator_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, displayName_); + } + if (languageInfo_ != 0) { + output.writeInt32(11, languageInfo_); + } + if (isIntroComplete_ != 0) { + output.writeInt32(12, isIntroComplete_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (level_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, level_); + } + if (exp_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, exp_); + } + if (java.lang.Double.doubleToRawLongBits(gold_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, gold_); + } + if (java.lang.Double.doubleToRawLongBits(sapphire_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(4, sapphire_); + } + if (java.lang.Double.doubleToRawLongBits(calium_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(5, calium_); + } + if (java.lang.Double.doubleToRawLongBits(beam_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(6, beam_); + } + if (java.lang.Double.doubleToRawLongBits(ruby_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(7, ruby_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(usergroup_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, usergroup_); + } + if (operator_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, operator_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, displayName_); + } + if (languageInfo_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(11, languageInfo_); + } + if (isIntroComplete_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(12, isIntroComplete_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.CharInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.CharInfo other = (com.caliverse.admin.domain.RabbitMq.message.CharInfo) obj; + + if (getLevel() + != other.getLevel()) return false; + if (getExp() + != other.getExp()) return false; + if (java.lang.Double.doubleToLongBits(getGold()) + != java.lang.Double.doubleToLongBits( + other.getGold())) return false; + if (java.lang.Double.doubleToLongBits(getSapphire()) + != java.lang.Double.doubleToLongBits( + other.getSapphire())) return false; + if (java.lang.Double.doubleToLongBits(getCalium()) + != java.lang.Double.doubleToLongBits( + other.getCalium())) return false; + if (java.lang.Double.doubleToLongBits(getBeam()) + != java.lang.Double.doubleToLongBits( + other.getBeam())) return false; + if (java.lang.Double.doubleToLongBits(getRuby()) + != java.lang.Double.doubleToLongBits( + other.getRuby())) return false; + if (!getUsergroup() + .equals(other.getUsergroup())) return false; + if (getOperator() + != other.getOperator()) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (getLanguageInfo() + != other.getLanguageInfo()) return false; + if (getIsIntroComplete() + != other.getIsIntroComplete()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLevel(); + hash = (37 * hash) + EXP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExp()); + hash = (37 * hash) + GOLD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getGold())); + hash = (37 * hash) + SAPPHIRE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSapphire())); + hash = (37 * hash) + CALIUM_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getCalium())); + hash = (37 * hash) + BEAM_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getBeam())); + hash = (37 * hash) + RUBY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRuby())); + hash = (37 * hash) + USERGROUP_FIELD_NUMBER; + hash = (53 * hash) + getUsergroup().hashCode(); + hash = (37 * hash) + OPERATOR_FIELD_NUMBER; + hash = (53 * hash) + getOperator(); + hash = (37 * hash) + DISPLAYNAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + LANGUAGEINFO_FIELD_NUMBER; + hash = (53 * hash) + getLanguageInfo(); + hash = (37 * hash) + ISINTROCOMPLETE_FIELD_NUMBER; + hash = (53 * hash) + getIsIntroComplete(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.CharInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code CharInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:CharInfo) + com.caliverse.admin.domain.RabbitMq.message.CharInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.CharInfo.class, com.caliverse.admin.domain.RabbitMq.message.CharInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.CharInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + level_ = 0; + exp_ = 0L; + gold_ = 0D; + sapphire_ = 0D; + calium_ = 0D; + beam_ = 0D; + ruby_ = 0D; + usergroup_ = ""; + operator_ = 0; + displayName_ = ""; + languageInfo_ = 0; + isIntroComplete_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CharInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.CharInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CharInfo build() { + com.caliverse.admin.domain.RabbitMq.message.CharInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CharInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.CharInfo result = new com.caliverse.admin.domain.RabbitMq.message.CharInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.CharInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.level_ = level_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.exp_ = exp_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.gold_ = gold_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.sapphire_ = sapphire_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.calium_ = calium_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.beam_ = beam_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.ruby_ = ruby_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.usergroup_ = usergroup_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.operator_ = operator_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.languageInfo_ = languageInfo_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.isIntroComplete_ = isIntroComplete_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.CharInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.CharInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.CharInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.CharInfo.getDefaultInstance()) return this; + if (other.getLevel() != 0) { + setLevel(other.getLevel()); + } + if (other.getExp() != 0L) { + setExp(other.getExp()); + } + if (other.getGold() != 0D) { + setGold(other.getGold()); + } + if (other.getSapphire() != 0D) { + setSapphire(other.getSapphire()); + } + if (other.getCalium() != 0D) { + setCalium(other.getCalium()); + } + if (other.getBeam() != 0D) { + setBeam(other.getBeam()); + } + if (other.getRuby() != 0D) { + setRuby(other.getRuby()); + } + if (!other.getUsergroup().isEmpty()) { + usergroup_ = other.usergroup_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (other.getOperator() != 0) { + setOperator(other.getOperator()); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000200; + onChanged(); + } + if (other.getLanguageInfo() != 0) { + setLanguageInfo(other.getLanguageInfo()); + } + if (other.getIsIntroComplete() != 0) { + setIsIntroComplete(other.getIsIntroComplete()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + level_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + exp_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 25: { + gold_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + case 33: { + sapphire_ = input.readDouble(); + bitField0_ |= 0x00000008; + break; + } // case 33 + case 41: { + calium_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + case 49: { + beam_ = input.readDouble(); + bitField0_ |= 0x00000020; + break; + } // case 49 + case 57: { + ruby_ = input.readDouble(); + bitField0_ |= 0x00000040; + break; + } // case 57 + case 66: { + usergroup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 72: { + operator_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 82: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 88: { + languageInfo_ = input.readInt32(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 96: { + isIntroComplete_ = input.readInt32(); + bitField0_ |= 0x00000800; + break; + } // case 96 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int level_ ; + /** + * int32 level = 1; + * @return The level. + */ + @java.lang.Override + public int getLevel() { + return level_; + } + /** + * int32 level = 1; + * @param value The level to set. + * @return This builder for chaining. + */ + public Builder setLevel(int value) { + + level_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 level = 1; + * @return This builder for chaining. + */ + public Builder clearLevel() { + bitField0_ = (bitField0_ & ~0x00000001); + level_ = 0; + onChanged(); + return this; + } + + private long exp_ ; + /** + * int64 exp = 2; + * @return The exp. + */ + @java.lang.Override + public long getExp() { + return exp_; + } + /** + * int64 exp = 2; + * @param value The exp to set. + * @return This builder for chaining. + */ + public Builder setExp(long value) { + + exp_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int64 exp = 2; + * @return This builder for chaining. + */ + public Builder clearExp() { + bitField0_ = (bitField0_ & ~0x00000002); + exp_ = 0L; + onChanged(); + return this; + } + + private double gold_ ; + /** + * double gold = 3; + * @return The gold. + */ + @java.lang.Override + public double getGold() { + return gold_; + } + /** + * double gold = 3; + * @param value The gold to set. + * @return This builder for chaining. + */ + public Builder setGold(double value) { + + gold_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * double gold = 3; + * @return This builder for chaining. + */ + public Builder clearGold() { + bitField0_ = (bitField0_ & ~0x00000004); + gold_ = 0D; + onChanged(); + return this; + } + + private double sapphire_ ; + /** + * double sapphire = 4; + * @return The sapphire. + */ + @java.lang.Override + public double getSapphire() { + return sapphire_; + } + /** + * double sapphire = 4; + * @param value The sapphire to set. + * @return This builder for chaining. + */ + public Builder setSapphire(double value) { + + sapphire_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * double sapphire = 4; + * @return This builder for chaining. + */ + public Builder clearSapphire() { + bitField0_ = (bitField0_ & ~0x00000008); + sapphire_ = 0D; + onChanged(); + return this; + } + + private double calium_ ; + /** + * double calium = 5; + * @return The calium. + */ + @java.lang.Override + public double getCalium() { + return calium_; + } + /** + * double calium = 5; + * @param value The calium to set. + * @return This builder for chaining. + */ + public Builder setCalium(double value) { + + calium_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * double calium = 5; + * @return This builder for chaining. + */ + public Builder clearCalium() { + bitField0_ = (bitField0_ & ~0x00000010); + calium_ = 0D; + onChanged(); + return this; + } + + private double beam_ ; + /** + * double beam = 6; + * @return The beam. + */ + @java.lang.Override + public double getBeam() { + return beam_; + } + /** + * double beam = 6; + * @param value The beam to set. + * @return This builder for chaining. + */ + public Builder setBeam(double value) { + + beam_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * double beam = 6; + * @return This builder for chaining. + */ + public Builder clearBeam() { + bitField0_ = (bitField0_ & ~0x00000020); + beam_ = 0D; + onChanged(); + return this; + } + + private double ruby_ ; + /** + * double ruby = 7; + * @return The ruby. + */ + @java.lang.Override + public double getRuby() { + return ruby_; + } + /** + * double ruby = 7; + * @param value The ruby to set. + * @return This builder for chaining. + */ + public Builder setRuby(double value) { + + ruby_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * double ruby = 7; + * @return This builder for chaining. + */ + public Builder clearRuby() { + bitField0_ = (bitField0_ & ~0x00000040); + ruby_ = 0D; + onChanged(); + return this; + } + + private java.lang.Object usergroup_ = ""; + /** + * string usergroup = 8; + * @return The usergroup. + */ + public java.lang.String getUsergroup() { + java.lang.Object ref = usergroup_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + usergroup_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string usergroup = 8; + * @return The bytes for usergroup. + */ + public com.google.protobuf.ByteString + getUsergroupBytes() { + java.lang.Object ref = usergroup_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + usergroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string usergroup = 8; + * @param value The usergroup to set. + * @return This builder for chaining. + */ + public Builder setUsergroup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + usergroup_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * string usergroup = 8; + * @return This builder for chaining. + */ + public Builder clearUsergroup() { + usergroup_ = getDefaultInstance().getUsergroup(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * string usergroup = 8; + * @param value The bytes for usergroup to set. + * @return This builder for chaining. + */ + public Builder setUsergroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + usergroup_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private int operator_ ; + /** + * int32 operator = 9; + * @return The operator. + */ + @java.lang.Override + public int getOperator() { + return operator_; + } + /** + * int32 operator = 9; + * @param value The operator to set. + * @return This builder for chaining. + */ + public Builder setOperator(int value) { + + operator_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * int32 operator = 9; + * @return This builder for chaining. + */ + public Builder clearOperator() { + bitField0_ = (bitField0_ & ~0x00000100); + operator_ = 0; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + /** + * string displayName = 10; + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string displayName = 10; + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString + getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string displayName = 10; + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + displayName_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * string displayName = 10; + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + * string displayName = 10; + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + private int languageInfo_ ; + /** + * int32 languageInfo = 11; + * @return The languageInfo. + */ + @java.lang.Override + public int getLanguageInfo() { + return languageInfo_; + } + /** + * int32 languageInfo = 11; + * @param value The languageInfo to set. + * @return This builder for chaining. + */ + public Builder setLanguageInfo(int value) { + + languageInfo_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * int32 languageInfo = 11; + * @return This builder for chaining. + */ + public Builder clearLanguageInfo() { + bitField0_ = (bitField0_ & ~0x00000400); + languageInfo_ = 0; + onChanged(); + return this; + } + + private int isIntroComplete_ ; + /** + * int32 isIntroComplete = 12; + * @return The isIntroComplete. + */ + @java.lang.Override + public int getIsIntroComplete() { + return isIntroComplete_; + } + /** + * int32 isIntroComplete = 12; + * @param value The isIntroComplete to set. + * @return This builder for chaining. + */ + public Builder setIsIntroComplete(int value) { + + isIntroComplete_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * int32 isIntroComplete = 12; + * @return This builder for chaining. + */ + public Builder clearIsIntroComplete() { + bitField0_ = (bitField0_ & ~0x00000800); + isIntroComplete_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:CharInfo) + } + + // @@protoc_insertion_point(class_scope:CharInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.CharInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.CharInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.CharInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CharInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CharInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharInfoOrBuilder.java new file mode 100644 index 0000000..b193fef --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharInfoOrBuilder.java @@ -0,0 +1,93 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface CharInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:CharInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 level = 1; + * @return The level. + */ + int getLevel(); + + /** + * int64 exp = 2; + * @return The exp. + */ + long getExp(); + + /** + * double gold = 3; + * @return The gold. + */ + double getGold(); + + /** + * double sapphire = 4; + * @return The sapphire. + */ + double getSapphire(); + + /** + * double calium = 5; + * @return The calium. + */ + double getCalium(); + + /** + * double beam = 6; + * @return The beam. + */ + double getBeam(); + + /** + * double ruby = 7; + * @return The ruby. + */ + double getRuby(); + + /** + * string usergroup = 8; + * @return The usergroup. + */ + java.lang.String getUsergroup(); + /** + * string usergroup = 8; + * @return The bytes for usergroup. + */ + com.google.protobuf.ByteString + getUsergroupBytes(); + + /** + * int32 operator = 9; + * @return The operator. + */ + int getOperator(); + + /** + * string displayName = 10; + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + * string displayName = 10; + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString + getDisplayNameBytes(); + + /** + * int32 languageInfo = 11; + * @return The languageInfo. + */ + int getLanguageInfo(); + + /** + * int32 isIntroComplete = 12; + * @return The isIntroComplete. + */ + int getIsIntroComplete(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharPos.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharPos.java new file mode 100644 index 0000000..ff38d7e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharPos.java @@ -0,0 +1,655 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code CharPos} + */ +public final class CharPos extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:CharPos) + CharPosOrBuilder { +private static final long serialVersionUID = 0L; + // Use CharPos.newBuilder() to construct. + private CharPos(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CharPos() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CharPos(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharPos_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharPos_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.CharPos.class, com.caliverse.admin.domain.RabbitMq.message.CharPos.Builder.class); + } + + public static final int MAP_ID_FIELD_NUMBER = 1; + private int mapId_ = 0; + /** + * int32 map_id = 1; + * @return The mapId. + */ + @java.lang.Override + public int getMapId() { + return mapId_; + } + + public static final int POS_FIELD_NUMBER = 2; + private com.caliverse.admin.domain.RabbitMq.message.Pos pos_; + /** + * .Pos pos = 2; + * @return Whether the pos field is set. + */ + @java.lang.Override + public boolean hasPos() { + return pos_ != null; + } + /** + * .Pos pos = 2; + * @return The pos. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Pos getPos() { + return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } + /** + * .Pos pos = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder() { + return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (mapId_ != 0) { + output.writeInt32(1, mapId_); + } + if (pos_ != null) { + output.writeMessage(2, getPos()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (mapId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, mapId_); + } + if (pos_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPos()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.CharPos)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.CharPos other = (com.caliverse.admin.domain.RabbitMq.message.CharPos) obj; + + if (getMapId() + != other.getMapId()) return false; + if (hasPos() != other.hasPos()) return false; + if (hasPos()) { + if (!getPos() + .equals(other.getPos())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MAP_ID_FIELD_NUMBER; + hash = (53 * hash) + getMapId(); + if (hasPos()) { + hash = (37 * hash) + POS_FIELD_NUMBER; + hash = (53 * hash) + getPos().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.CharPos prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code CharPos} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:CharPos) + com.caliverse.admin.domain.RabbitMq.message.CharPosOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharPos_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharPos_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.CharPos.class, com.caliverse.admin.domain.RabbitMq.message.CharPos.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.CharPos.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + mapId_ = 0; + pos_ = null; + if (posBuilder_ != null) { + posBuilder_.dispose(); + posBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharPos_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CharPos getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.CharPos.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CharPos build() { + com.caliverse.admin.domain.RabbitMq.message.CharPos result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CharPos buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.CharPos result = new com.caliverse.admin.domain.RabbitMq.message.CharPos(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.CharPos result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.mapId_ = mapId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pos_ = posBuilder_ == null + ? pos_ + : posBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.CharPos) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.CharPos)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.CharPos other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.CharPos.getDefaultInstance()) return this; + if (other.getMapId() != 0) { + setMapId(other.getMapId()); + } + if (other.hasPos()) { + mergePos(other.getPos()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + mapId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getPosFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int mapId_ ; + /** + * int32 map_id = 1; + * @return The mapId. + */ + @java.lang.Override + public int getMapId() { + return mapId_; + } + /** + * int32 map_id = 1; + * @param value The mapId to set. + * @return This builder for chaining. + */ + public Builder setMapId(int value) { + + mapId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 map_id = 1; + * @return This builder for chaining. + */ + public Builder clearMapId() { + bitField0_ = (bitField0_ & ~0x00000001); + mapId_ = 0; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.Pos pos_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> posBuilder_; + /** + * .Pos pos = 2; + * @return Whether the pos field is set. + */ + public boolean hasPos() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .Pos pos = 2; + * @return The pos. + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos getPos() { + if (posBuilder_ == null) { + return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } else { + return posBuilder_.getMessage(); + } + } + /** + * .Pos pos = 2; + */ + public Builder setPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (posBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + pos_ = value; + } else { + posBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .Pos pos = 2; + */ + public Builder setPos( + com.caliverse.admin.domain.RabbitMq.message.Pos.Builder builderForValue) { + if (posBuilder_ == null) { + pos_ = builderForValue.build(); + } else { + posBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .Pos pos = 2; + */ + public Builder mergePos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (posBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + pos_ != null && + pos_ != com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance()) { + getPosBuilder().mergeFrom(value); + } else { + pos_ = value; + } + } else { + posBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .Pos pos = 2; + */ + public Builder clearPos() { + bitField0_ = (bitField0_ & ~0x00000002); + pos_ = null; + if (posBuilder_ != null) { + posBuilder_.dispose(); + posBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Pos pos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos.Builder getPosBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getPosFieldBuilder().getBuilder(); + } + /** + * .Pos pos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder() { + if (posBuilder_ != null) { + return posBuilder_.getMessageOrBuilder(); + } else { + return pos_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } + } + /** + * .Pos pos = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> + getPosFieldBuilder() { + if (posBuilder_ == null) { + posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder>( + getPos(), + getParentForChildren(), + isClean()); + pos_ = null; + } + return posBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:CharPos) + } + + // @@protoc_insertion_point(class_scope:CharPos) + private static final com.caliverse.admin.domain.RabbitMq.message.CharPos DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.CharPos(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.CharPos getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CharPos parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CharPos getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharPosOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharPosOrBuilder.java new file mode 100644 index 0000000..db6f6c9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharPosOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface CharPosOrBuilder extends + // @@protoc_insertion_point(interface_extends:CharPos) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 map_id = 1; + * @return The mapId. + */ + int getMapId(); + + /** + * .Pos pos = 2; + * @return Whether the pos field is set. + */ + boolean hasPos(); + /** + * .Pos pos = 2; + * @return The pos. + */ + com.caliverse.admin.domain.RabbitMq.message.Pos getPos(); + /** + * .Pos pos = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharRace.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharRace.java new file mode 100644 index 0000000..cd3f814 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CharRace.java @@ -0,0 +1,162 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ij  
+ * 
+ * + * Protobuf enum {@code CharRace} + */ +public enum CharRace + implements com.google.protobuf.ProtocolMessageEnum { + /** + * CharRace_None = 0; + */ + CharRace_None(0), + /** + * CharRace_Latino = 1; + */ + CharRace_Latino(1), + /** + * CharRace_Caucasian = 2; + */ + CharRace_Caucasian(2), + /** + * CharRace_African = 3; + */ + CharRace_African(3), + /** + * CharRace_Northeastasian = 4; + */ + CharRace_Northeastasian(4), + /** + * CharRace_Southasian = 5; + */ + CharRace_Southasian(5), + /** + * CharRace_Pacificislander = 6; + */ + CharRace_Pacificislander(6), + UNRECOGNIZED(-1), + ; + + /** + * CharRace_None = 0; + */ + public static final int CharRace_None_VALUE = 0; + /** + * CharRace_Latino = 1; + */ + public static final int CharRace_Latino_VALUE = 1; + /** + * CharRace_Caucasian = 2; + */ + public static final int CharRace_Caucasian_VALUE = 2; + /** + * CharRace_African = 3; + */ + public static final int CharRace_African_VALUE = 3; + /** + * CharRace_Northeastasian = 4; + */ + public static final int CharRace_Northeastasian_VALUE = 4; + /** + * CharRace_Southasian = 5; + */ + public static final int CharRace_Southasian_VALUE = 5; + /** + * CharRace_Pacificislander = 6; + */ + public static final int CharRace_Pacificislander_VALUE = 6; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static CharRace valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static CharRace forNumber(int value) { + switch (value) { + case 0: return CharRace_None; + case 1: return CharRace_Latino; + case 2: return CharRace_Caucasian; + case 3: return CharRace_African; + case 4: return CharRace_Northeastasian; + case 5: return CharRace_Southasian; + case 6: return CharRace_Pacificislander; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + CharRace> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CharRace findValueByNumber(int number) { + return CharRace.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(12); + } + + private static final CharRace[] VALUES = values(); + + public static CharRace valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private CharRace(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:CharRace) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ChatType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ChatType.java new file mode 100644 index 0000000..343e23b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ChatType.java @@ -0,0 +1,244 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ä 
+ * 
+ * + * Protobuf enum {@code ChatType} + */ +public enum ChatType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ChatType_None = 0; + */ + ChatType_None(0), + /** + *
+   * Ϲ/
+   * 
+ * + * ChatType_Normal = 1; + */ + ChatType_Normal(1), + /** + *
+   * ä/
+   * 
+ * + * ChatType_Channel = 2; + */ + ChatType_Channel(2), + /** + *
+   * ӼӸ
+   * 
+ * + * ChatType_Whisper = 3; + */ + ChatType_Whisper(3), + /** + *
+   * ü(Ȯ)
+   * 
+ * + * ChatType_Total = 4; + */ + ChatType_Total(4), + /** + *
+   * Ƽ
+   * 
+ * + * ChatType_Party = 5; + */ + ChatType_Party(5), + /** + *
+   * ˸
+   * 
+ * + * ChatType_Notice = 10; + */ + ChatType_Notice(10), + /** + *
+   * ˸ + 佺Ʈ
+   * 
+ * + * ChatType_NoticeToast = 11; + */ + ChatType_NoticeToast(11), + /** + *
+   * ý ޽ - Ŭ󿡼 
+   * 
+ * + * ChatType_System = 12; + */ + ChatType_System(12), + UNRECOGNIZED(-1), + ; + + /** + * ChatType_None = 0; + */ + public static final int ChatType_None_VALUE = 0; + /** + *
+   * Ϲ/
+   * 
+ * + * ChatType_Normal = 1; + */ + public static final int ChatType_Normal_VALUE = 1; + /** + *
+   * ä/
+   * 
+ * + * ChatType_Channel = 2; + */ + public static final int ChatType_Channel_VALUE = 2; + /** + *
+   * ӼӸ
+   * 
+ * + * ChatType_Whisper = 3; + */ + public static final int ChatType_Whisper_VALUE = 3; + /** + *
+   * ü(Ȯ)
+   * 
+ * + * ChatType_Total = 4; + */ + public static final int ChatType_Total_VALUE = 4; + /** + *
+   * Ƽ
+   * 
+ * + * ChatType_Party = 5; + */ + public static final int ChatType_Party_VALUE = 5; + /** + *
+   * ˸
+   * 
+ * + * ChatType_Notice = 10; + */ + public static final int ChatType_Notice_VALUE = 10; + /** + *
+   * ˸ + 佺Ʈ
+   * 
+ * + * ChatType_NoticeToast = 11; + */ + public static final int ChatType_NoticeToast_VALUE = 11; + /** + *
+   * ý ޽ - Ŭ󿡼 
+   * 
+ * + * ChatType_System = 12; + */ + public static final int ChatType_System_VALUE = 12; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ChatType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ChatType forNumber(int value) { + switch (value) { + case 0: return ChatType_None; + case 1: return ChatType_Normal; + case 2: return ChatType_Channel; + case 3: return ChatType_Whisper; + case 4: return ChatType_Total; + case 5: return ChatType_Party; + case 10: return ChatType_Notice; + case 11: return ChatType_NoticeToast; + case 12: return ChatType_System; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ChatType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChatType findValueByNumber(int number) { + return ChatType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(7); + } + + private static final ChatType[] VALUES = values(); + + public static ChatType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ChatType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ChatType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClaimEventActiveInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClaimEventActiveInfo.java new file mode 100644 index 0000000..d118dbf --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClaimEventActiveInfo.java @@ -0,0 +1,607 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ClaimEventActiveInfo} + */ +public final class ClaimEventActiveInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ClaimEventActiveInfo) + ClaimEventActiveInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use ClaimEventActiveInfo.newBuilder() to construct. + private ClaimEventActiveInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ClaimEventActiveInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ClaimEventActiveInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClaimEventActiveInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClaimEventActiveInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.class, com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.Builder.class); + } + + public static final int ACTIVEREWARDIDX_FIELD_NUMBER = 1; + private int activeRewardIdx_ = 0; + /** + * int32 activeRewardIdx = 1; + * @return The activeRewardIdx. + */ + @java.lang.Override + public int getActiveRewardIdx() { + return activeRewardIdx_; + } + + public static final int ISCOMPLETE_FIELD_NUMBER = 2; + private int isComplete_ = 0; + /** + * int32 isComplete = 2; + * @return The isComplete. + */ + @java.lang.Override + public int getIsComplete() { + return isComplete_; + } + + public static final int REWARDREMAINSECOND_FIELD_NUMBER = 3; + private long rewardRemainSecond_ = 0L; + /** + * int64 rewardRemainSecond = 3; + * @return The rewardRemainSecond. + */ + @java.lang.Override + public long getRewardRemainSecond() { + return rewardRemainSecond_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (activeRewardIdx_ != 0) { + output.writeInt32(1, activeRewardIdx_); + } + if (isComplete_ != 0) { + output.writeInt32(2, isComplete_); + } + if (rewardRemainSecond_ != 0L) { + output.writeInt64(3, rewardRemainSecond_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (activeRewardIdx_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, activeRewardIdx_); + } + if (isComplete_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, isComplete_); + } + if (rewardRemainSecond_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, rewardRemainSecond_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo other = (com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo) obj; + + if (getActiveRewardIdx() + != other.getActiveRewardIdx()) return false; + if (getIsComplete() + != other.getIsComplete()) return false; + if (getRewardRemainSecond() + != other.getRewardRemainSecond()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ACTIVEREWARDIDX_FIELD_NUMBER; + hash = (53 * hash) + getActiveRewardIdx(); + hash = (37 * hash) + ISCOMPLETE_FIELD_NUMBER; + hash = (53 * hash) + getIsComplete(); + hash = (37 * hash) + REWARDREMAINSECOND_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRewardRemainSecond()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ClaimEventActiveInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ClaimEventActiveInfo) + com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClaimEventActiveInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClaimEventActiveInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.class, com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + activeRewardIdx_ = 0; + isComplete_ = 0; + rewardRemainSecond_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClaimEventActiveInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo build() { + com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo result = new com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.activeRewardIdx_ = activeRewardIdx_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.isComplete_ = isComplete_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.rewardRemainSecond_ = rewardRemainSecond_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.getDefaultInstance()) return this; + if (other.getActiveRewardIdx() != 0) { + setActiveRewardIdx(other.getActiveRewardIdx()); + } + if (other.getIsComplete() != 0) { + setIsComplete(other.getIsComplete()); + } + if (other.getRewardRemainSecond() != 0L) { + setRewardRemainSecond(other.getRewardRemainSecond()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + activeRewardIdx_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + isComplete_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + rewardRemainSecond_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int activeRewardIdx_ ; + /** + * int32 activeRewardIdx = 1; + * @return The activeRewardIdx. + */ + @java.lang.Override + public int getActiveRewardIdx() { + return activeRewardIdx_; + } + /** + * int32 activeRewardIdx = 1; + * @param value The activeRewardIdx to set. + * @return This builder for chaining. + */ + public Builder setActiveRewardIdx(int value) { + + activeRewardIdx_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 activeRewardIdx = 1; + * @return This builder for chaining. + */ + public Builder clearActiveRewardIdx() { + bitField0_ = (bitField0_ & ~0x00000001); + activeRewardIdx_ = 0; + onChanged(); + return this; + } + + private int isComplete_ ; + /** + * int32 isComplete = 2; + * @return The isComplete. + */ + @java.lang.Override + public int getIsComplete() { + return isComplete_; + } + /** + * int32 isComplete = 2; + * @param value The isComplete to set. + * @return This builder for chaining. + */ + public Builder setIsComplete(int value) { + + isComplete_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 isComplete = 2; + * @return This builder for chaining. + */ + public Builder clearIsComplete() { + bitField0_ = (bitField0_ & ~0x00000002); + isComplete_ = 0; + onChanged(); + return this; + } + + private long rewardRemainSecond_ ; + /** + * int64 rewardRemainSecond = 3; + * @return The rewardRemainSecond. + */ + @java.lang.Override + public long getRewardRemainSecond() { + return rewardRemainSecond_; + } + /** + * int64 rewardRemainSecond = 3; + * @param value The rewardRemainSecond to set. + * @return This builder for chaining. + */ + public Builder setRewardRemainSecond(long value) { + + rewardRemainSecond_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int64 rewardRemainSecond = 3; + * @return This builder for chaining. + */ + public Builder clearRewardRemainSecond() { + bitField0_ = (bitField0_ & ~0x00000004); + rewardRemainSecond_ = 0L; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ClaimEventActiveInfo) + } + + // @@protoc_insertion_point(class_scope:ClaimEventActiveInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClaimEventActiveInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClaimEventActiveInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClaimEventActiveInfoOrBuilder.java new file mode 100644 index 0000000..4cf8f96 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClaimEventActiveInfoOrBuilder.java @@ -0,0 +1,27 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ClaimEventActiveInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ClaimEventActiveInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 activeRewardIdx = 1; + * @return The activeRewardIdx. + */ + int getActiveRewardIdx(); + + /** + * int32 isComplete = 2; + * @return The isComplete. + */ + int getIsComplete(); + + /** + * int64 rewardRemainSecond = 3; + * @return The rewardRemainSecond. + */ + long getRewardRemainSecond(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClientProgramVersion.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClientProgramVersion.java new file mode 100644 index 0000000..6bd8145 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClientProgramVersion.java @@ -0,0 +1,751 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_ProgramVersion.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * 클라이언트 프로그램 버전 정보
+ * 
+ * + * Protobuf type {@code ClientProgramVersion} + */ +public final class ClientProgramVersion extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ClientProgramVersion) + ClientProgramVersionOrBuilder { +private static final long serialVersionUID = 0L; + // Use ClientProgramVersion.newBuilder() to construct. + private ClientProgramVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ClientProgramVersion() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ClientProgramVersion(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ClientProgramVersion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ClientProgramVersion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.class, com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.Builder.class); + } + + public static final int METASCHEMAVERSION_FIELD_NUMBER = 1; + private long metaSchemaVersion_ = 0L; + /** + * uint64 metaSchemaVersion = 1; + * @return The metaSchemaVersion. + */ + @java.lang.Override + public long getMetaSchemaVersion() { + return metaSchemaVersion_; + } + + public static final int METADATAVERSION_FIELD_NUMBER = 2; + private long metaDataVersion_ = 0L; + /** + * uint64 metaDataVersion = 2; + * @return The metaDataVersion. + */ + @java.lang.Override + public long getMetaDataVersion() { + return metaDataVersion_; + } + + public static final int PACKETVERSION_FIELD_NUMBER = 3; + private long packetVersion_ = 0L; + /** + * uint64 packetVersion = 3; + * @return The packetVersion. + */ + @java.lang.Override + public long getPacketVersion() { + return packetVersion_; + } + + public static final int LOGICVERSION_FIELD_NUMBER = 4; + private long logicVersion_ = 0L; + /** + * uint64 logicVersion = 4; + * @return The logicVersion. + */ + @java.lang.Override + public long getLogicVersion() { + return logicVersion_; + } + + public static final int RESOURCEVERSION_FIELD_NUMBER = 5; + private long resourceVersion_ = 0L; + /** + * uint64 resourceVersion = 5; + * @return The resourceVersion. + */ + @java.lang.Override + public long getResourceVersion() { + return resourceVersion_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (metaSchemaVersion_ != 0L) { + output.writeUInt64(1, metaSchemaVersion_); + } + if (metaDataVersion_ != 0L) { + output.writeUInt64(2, metaDataVersion_); + } + if (packetVersion_ != 0L) { + output.writeUInt64(3, packetVersion_); + } + if (logicVersion_ != 0L) { + output.writeUInt64(4, logicVersion_); + } + if (resourceVersion_ != 0L) { + output.writeUInt64(5, resourceVersion_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (metaSchemaVersion_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(1, metaSchemaVersion_); + } + if (metaDataVersion_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(2, metaDataVersion_); + } + if (packetVersion_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(3, packetVersion_); + } + if (logicVersion_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(4, logicVersion_); + } + if (resourceVersion_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(5, resourceVersion_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion other = (com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion) obj; + + if (getMetaSchemaVersion() + != other.getMetaSchemaVersion()) return false; + if (getMetaDataVersion() + != other.getMetaDataVersion()) return false; + if (getPacketVersion() + != other.getPacketVersion()) return false; + if (getLogicVersion() + != other.getLogicVersion()) return false; + if (getResourceVersion() + != other.getResourceVersion()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + METASCHEMAVERSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMetaSchemaVersion()); + hash = (37 * hash) + METADATAVERSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMetaDataVersion()); + hash = (37 * hash) + PACKETVERSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPacketVersion()); + hash = (37 * hash) + LOGICVERSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLogicVersion()); + hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getResourceVersion()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * 클라이언트 프로그램 버전 정보
+   * 
+ * + * Protobuf type {@code ClientProgramVersion} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ClientProgramVersion) + com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ClientProgramVersion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ClientProgramVersion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.class, com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + metaSchemaVersion_ = 0L; + metaDataVersion_ = 0L; + packetVersion_ = 0L; + logicVersion_ = 0L; + resourceVersion_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ClientProgramVersion_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion build() { + com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion result = new com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.metaSchemaVersion_ = metaSchemaVersion_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.metaDataVersion_ = metaDataVersion_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.packetVersion_ = packetVersion_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.logicVersion_ = logicVersion_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.resourceVersion_ = resourceVersion_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.getDefaultInstance()) return this; + if (other.getMetaSchemaVersion() != 0L) { + setMetaSchemaVersion(other.getMetaSchemaVersion()); + } + if (other.getMetaDataVersion() != 0L) { + setMetaDataVersion(other.getMetaDataVersion()); + } + if (other.getPacketVersion() != 0L) { + setPacketVersion(other.getPacketVersion()); + } + if (other.getLogicVersion() != 0L) { + setLogicVersion(other.getLogicVersion()); + } + if (other.getResourceVersion() != 0L) { + setResourceVersion(other.getResourceVersion()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + metaSchemaVersion_ = input.readUInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + metaDataVersion_ = input.readUInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + packetVersion_ = input.readUInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + logicVersion_ = input.readUInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + resourceVersion_ = input.readUInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long metaSchemaVersion_ ; + /** + * uint64 metaSchemaVersion = 1; + * @return The metaSchemaVersion. + */ + @java.lang.Override + public long getMetaSchemaVersion() { + return metaSchemaVersion_; + } + /** + * uint64 metaSchemaVersion = 1; + * @param value The metaSchemaVersion to set. + * @return This builder for chaining. + */ + public Builder setMetaSchemaVersion(long value) { + + metaSchemaVersion_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * uint64 metaSchemaVersion = 1; + * @return This builder for chaining. + */ + public Builder clearMetaSchemaVersion() { + bitField0_ = (bitField0_ & ~0x00000001); + metaSchemaVersion_ = 0L; + onChanged(); + return this; + } + + private long metaDataVersion_ ; + /** + * uint64 metaDataVersion = 2; + * @return The metaDataVersion. + */ + @java.lang.Override + public long getMetaDataVersion() { + return metaDataVersion_; + } + /** + * uint64 metaDataVersion = 2; + * @param value The metaDataVersion to set. + * @return This builder for chaining. + */ + public Builder setMetaDataVersion(long value) { + + metaDataVersion_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * uint64 metaDataVersion = 2; + * @return This builder for chaining. + */ + public Builder clearMetaDataVersion() { + bitField0_ = (bitField0_ & ~0x00000002); + metaDataVersion_ = 0L; + onChanged(); + return this; + } + + private long packetVersion_ ; + /** + * uint64 packetVersion = 3; + * @return The packetVersion. + */ + @java.lang.Override + public long getPacketVersion() { + return packetVersion_; + } + /** + * uint64 packetVersion = 3; + * @param value The packetVersion to set. + * @return This builder for chaining. + */ + public Builder setPacketVersion(long value) { + + packetVersion_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * uint64 packetVersion = 3; + * @return This builder for chaining. + */ + public Builder clearPacketVersion() { + bitField0_ = (bitField0_ & ~0x00000004); + packetVersion_ = 0L; + onChanged(); + return this; + } + + private long logicVersion_ ; + /** + * uint64 logicVersion = 4; + * @return The logicVersion. + */ + @java.lang.Override + public long getLogicVersion() { + return logicVersion_; + } + /** + * uint64 logicVersion = 4; + * @param value The logicVersion to set. + * @return This builder for chaining. + */ + public Builder setLogicVersion(long value) { + + logicVersion_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * uint64 logicVersion = 4; + * @return This builder for chaining. + */ + public Builder clearLogicVersion() { + bitField0_ = (bitField0_ & ~0x00000008); + logicVersion_ = 0L; + onChanged(); + return this; + } + + private long resourceVersion_ ; + /** + * uint64 resourceVersion = 5; + * @return The resourceVersion. + */ + @java.lang.Override + public long getResourceVersion() { + return resourceVersion_; + } + /** + * uint64 resourceVersion = 5; + * @param value The resourceVersion to set. + * @return This builder for chaining. + */ + public Builder setResourceVersion(long value) { + + resourceVersion_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * uint64 resourceVersion = 5; + * @return This builder for chaining. + */ + public Builder clearResourceVersion() { + bitField0_ = (bitField0_ & ~0x00000010); + resourceVersion_ = 0L; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ClientProgramVersion) + } + + // @@protoc_insertion_point(class_scope:ClientProgramVersion) + private static final com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientProgramVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClientProgramVersionOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClientProgramVersionOrBuilder.java new file mode 100644 index 0000000..899abd5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClientProgramVersionOrBuilder.java @@ -0,0 +1,39 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_ProgramVersion.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ClientProgramVersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:ClientProgramVersion) + com.google.protobuf.MessageOrBuilder { + + /** + * uint64 metaSchemaVersion = 1; + * @return The metaSchemaVersion. + */ + long getMetaSchemaVersion(); + + /** + * uint64 metaDataVersion = 2; + * @return The metaDataVersion. + */ + long getMetaDataVersion(); + + /** + * uint64 packetVersion = 3; + * @return The packetVersion. + */ + long getPacketVersion(); + + /** + * uint64 logicVersion = 4; + * @return The logicVersion. + */ + long getLogicVersion(); + + /** + * uint64 resourceVersion = 5; + * @return The resourceVersion. + */ + long getResourceVersion(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClothInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClothInfo.java new file mode 100644 index 0000000..e66defe --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClothInfo.java @@ -0,0 +1,2832 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ClothInfo} + */ +public final class ClothInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ClothInfo) + ClothInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use ClothInfo.newBuilder() to construct. + private ClothInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ClothInfo() { + clothAvatarItemGuid_ = ""; + clothHeadwearItemGuid_ = ""; + clothMaskItemGuid_ = ""; + clothBagItemGuid_ = ""; + clothShoesItemGuid_ = ""; + clothOuterItemGuid_ = ""; + clothTopsItemGuid_ = ""; + clothBottomsItemGuid_ = ""; + clothGlovesItemGuid_ = ""; + clothEarringsItemGuid_ = ""; + clothNecklessItemGuid_ = ""; + clothSocksItemGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ClothInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClothInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClothInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ClothInfo.class, com.caliverse.admin.domain.RabbitMq.message.ClothInfo.Builder.class); + } + + public static final int CLOTH_AVATAR_ITEMGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object clothAvatarItemGuid_ = ""; + /** + * string cloth_avatar_itemGuid = 1; + * @return The clothAvatarItemGuid. + */ + @java.lang.Override + public java.lang.String getClothAvatarItemGuid() { + java.lang.Object ref = clothAvatarItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothAvatarItemGuid_ = s; + return s; + } + } + /** + * string cloth_avatar_itemGuid = 1; + * @return The bytes for clothAvatarItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClothAvatarItemGuidBytes() { + java.lang.Object ref = clothAvatarItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothAvatarItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOTH_HEADWEAR_ITEMGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object clothHeadwearItemGuid_ = ""; + /** + * string cloth_headwear_itemGuid = 2; + * @return The clothHeadwearItemGuid. + */ + @java.lang.Override + public java.lang.String getClothHeadwearItemGuid() { + java.lang.Object ref = clothHeadwearItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothHeadwearItemGuid_ = s; + return s; + } + } + /** + * string cloth_headwear_itemGuid = 2; + * @return The bytes for clothHeadwearItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClothHeadwearItemGuidBytes() { + java.lang.Object ref = clothHeadwearItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothHeadwearItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOTH_MASK_ITEMGUID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object clothMaskItemGuid_ = ""; + /** + * string cloth_mask_itemGuid = 3; + * @return The clothMaskItemGuid. + */ + @java.lang.Override + public java.lang.String getClothMaskItemGuid() { + java.lang.Object ref = clothMaskItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothMaskItemGuid_ = s; + return s; + } + } + /** + * string cloth_mask_itemGuid = 3; + * @return The bytes for clothMaskItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClothMaskItemGuidBytes() { + java.lang.Object ref = clothMaskItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothMaskItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOTH_BAG_ITEMGUID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object clothBagItemGuid_ = ""; + /** + * string cloth_bag_itemGuid = 4; + * @return The clothBagItemGuid. + */ + @java.lang.Override + public java.lang.String getClothBagItemGuid() { + java.lang.Object ref = clothBagItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothBagItemGuid_ = s; + return s; + } + } + /** + * string cloth_bag_itemGuid = 4; + * @return The bytes for clothBagItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClothBagItemGuidBytes() { + java.lang.Object ref = clothBagItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothBagItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOTH_SHOES_ITEMGUID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object clothShoesItemGuid_ = ""; + /** + * string cloth_shoes_itemGuid = 5; + * @return The clothShoesItemGuid. + */ + @java.lang.Override + public java.lang.String getClothShoesItemGuid() { + java.lang.Object ref = clothShoesItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothShoesItemGuid_ = s; + return s; + } + } + /** + * string cloth_shoes_itemGuid = 5; + * @return The bytes for clothShoesItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClothShoesItemGuidBytes() { + java.lang.Object ref = clothShoesItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothShoesItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOTH_OUTER_ITEMGUID_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object clothOuterItemGuid_ = ""; + /** + * string cloth_outer_itemGuid = 6; + * @return The clothOuterItemGuid. + */ + @java.lang.Override + public java.lang.String getClothOuterItemGuid() { + java.lang.Object ref = clothOuterItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothOuterItemGuid_ = s; + return s; + } + } + /** + * string cloth_outer_itemGuid = 6; + * @return The bytes for clothOuterItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClothOuterItemGuidBytes() { + java.lang.Object ref = clothOuterItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothOuterItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOTH_TOPS_ITEMGUID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object clothTopsItemGuid_ = ""; + /** + * string cloth_tops_itemGuid = 7; + * @return The clothTopsItemGuid. + */ + @java.lang.Override + public java.lang.String getClothTopsItemGuid() { + java.lang.Object ref = clothTopsItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothTopsItemGuid_ = s; + return s; + } + } + /** + * string cloth_tops_itemGuid = 7; + * @return The bytes for clothTopsItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClothTopsItemGuidBytes() { + java.lang.Object ref = clothTopsItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothTopsItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOTH_BOTTOMS_ITEMGUID_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object clothBottomsItemGuid_ = ""; + /** + * string cloth_bottoms_itemGuid = 8; + * @return The clothBottomsItemGuid. + */ + @java.lang.Override + public java.lang.String getClothBottomsItemGuid() { + java.lang.Object ref = clothBottomsItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothBottomsItemGuid_ = s; + return s; + } + } + /** + * string cloth_bottoms_itemGuid = 8; + * @return The bytes for clothBottomsItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClothBottomsItemGuidBytes() { + java.lang.Object ref = clothBottomsItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothBottomsItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOTH_GLOVES_ITEMGUID_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private volatile java.lang.Object clothGlovesItemGuid_ = ""; + /** + * string cloth_gloves_itemGuid = 9; + * @return The clothGlovesItemGuid. + */ + @java.lang.Override + public java.lang.String getClothGlovesItemGuid() { + java.lang.Object ref = clothGlovesItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothGlovesItemGuid_ = s; + return s; + } + } + /** + * string cloth_gloves_itemGuid = 9; + * @return The bytes for clothGlovesItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClothGlovesItemGuidBytes() { + java.lang.Object ref = clothGlovesItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothGlovesItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOTH_EARRINGS_ITEMGUID_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private volatile java.lang.Object clothEarringsItemGuid_ = ""; + /** + * string cloth_earrings_itemGuid = 10; + * @return The clothEarringsItemGuid. + */ + @java.lang.Override + public java.lang.String getClothEarringsItemGuid() { + java.lang.Object ref = clothEarringsItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothEarringsItemGuid_ = s; + return s; + } + } + /** + * string cloth_earrings_itemGuid = 10; + * @return The bytes for clothEarringsItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClothEarringsItemGuidBytes() { + java.lang.Object ref = clothEarringsItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothEarringsItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOTH_NECKLESS_ITEMGUID_FIELD_NUMBER = 11; + @SuppressWarnings("serial") + private volatile java.lang.Object clothNecklessItemGuid_ = ""; + /** + * string cloth_neckless_itemGuid = 11; + * @return The clothNecklessItemGuid. + */ + @java.lang.Override + public java.lang.String getClothNecklessItemGuid() { + java.lang.Object ref = clothNecklessItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothNecklessItemGuid_ = s; + return s; + } + } + /** + * string cloth_neckless_itemGuid = 11; + * @return The bytes for clothNecklessItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClothNecklessItemGuidBytes() { + java.lang.Object ref = clothNecklessItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothNecklessItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOTH_SOCKS_ITEMGUID_FIELD_NUMBER = 12; + @SuppressWarnings("serial") + private volatile java.lang.Object clothSocksItemGuid_ = ""; + /** + * string cloth_socks_itemGuid = 12; + * @return The clothSocksItemGuid. + */ + @java.lang.Override + public java.lang.String getClothSocksItemGuid() { + java.lang.Object ref = clothSocksItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothSocksItemGuid_ = s; + return s; + } + } + /** + * string cloth_socks_itemGuid = 12; + * @return The bytes for clothSocksItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClothSocksItemGuidBytes() { + java.lang.Object ref = clothSocksItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothSocksItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLOTH_AVATAR_FIELD_NUMBER = 13; + private int clothAvatar_ = 0; + /** + * uint32 cloth_avatar = 13; + * @return The clothAvatar. + */ + @java.lang.Override + public int getClothAvatar() { + return clothAvatar_; + } + + public static final int CLOTH_HEADWEAR_FIELD_NUMBER = 14; + private int clothHeadwear_ = 0; + /** + * uint32 cloth_headwear = 14; + * @return The clothHeadwear. + */ + @java.lang.Override + public int getClothHeadwear() { + return clothHeadwear_; + } + + public static final int CLOTH_MASK_FIELD_NUMBER = 15; + private int clothMask_ = 0; + /** + * uint32 cloth_mask = 15; + * @return The clothMask. + */ + @java.lang.Override + public int getClothMask() { + return clothMask_; + } + + public static final int CLOTH_BAG_FIELD_NUMBER = 16; + private int clothBag_ = 0; + /** + * uint32 cloth_bag = 16; + * @return The clothBag. + */ + @java.lang.Override + public int getClothBag() { + return clothBag_; + } + + public static final int CLOTH_SHOES_FIELD_NUMBER = 17; + private int clothShoes_ = 0; + /** + * uint32 cloth_shoes = 17; + * @return The clothShoes. + */ + @java.lang.Override + public int getClothShoes() { + return clothShoes_; + } + + public static final int CLOTH_OUTER_FIELD_NUMBER = 18; + private int clothOuter_ = 0; + /** + * uint32 cloth_outer = 18; + * @return The clothOuter. + */ + @java.lang.Override + public int getClothOuter() { + return clothOuter_; + } + + public static final int CLOTH_TOPS_FIELD_NUMBER = 19; + private int clothTops_ = 0; + /** + * uint32 cloth_tops = 19; + * @return The clothTops. + */ + @java.lang.Override + public int getClothTops() { + return clothTops_; + } + + public static final int CLOTH_BOTTOMS_FIELD_NUMBER = 20; + private int clothBottoms_ = 0; + /** + * uint32 cloth_bottoms = 20; + * @return The clothBottoms. + */ + @java.lang.Override + public int getClothBottoms() { + return clothBottoms_; + } + + public static final int CLOTH_GLOVES_FIELD_NUMBER = 21; + private int clothGloves_ = 0; + /** + * uint32 cloth_gloves = 21; + * @return The clothGloves. + */ + @java.lang.Override + public int getClothGloves() { + return clothGloves_; + } + + public static final int CLOTH_EARRINGS_FIELD_NUMBER = 22; + private int clothEarrings_ = 0; + /** + * uint32 cloth_earrings = 22; + * @return The clothEarrings. + */ + @java.lang.Override + public int getClothEarrings() { + return clothEarrings_; + } + + public static final int CLOTH_NECKLESS_FIELD_NUMBER = 23; + private int clothNeckless_ = 0; + /** + * uint32 cloth_neckless = 23; + * @return The clothNeckless. + */ + @java.lang.Override + public int getClothNeckless() { + return clothNeckless_; + } + + public static final int CLOTH_SOCKS_FIELD_NUMBER = 24; + private int clothSocks_ = 0; + /** + * uint32 cloth_socks = 24; + * @return The clothSocks. + */ + @java.lang.Override + public int getClothSocks() { + return clothSocks_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothAvatarItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clothAvatarItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothHeadwearItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clothHeadwearItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothMaskItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clothMaskItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothBagItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, clothBagItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothShoesItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, clothShoesItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothOuterItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, clothOuterItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothTopsItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, clothTopsItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothBottomsItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, clothBottomsItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothGlovesItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, clothGlovesItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothEarringsItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, clothEarringsItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothNecklessItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, clothNecklessItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothSocksItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, clothSocksItemGuid_); + } + if (clothAvatar_ != 0) { + output.writeUInt32(13, clothAvatar_); + } + if (clothHeadwear_ != 0) { + output.writeUInt32(14, clothHeadwear_); + } + if (clothMask_ != 0) { + output.writeUInt32(15, clothMask_); + } + if (clothBag_ != 0) { + output.writeUInt32(16, clothBag_); + } + if (clothShoes_ != 0) { + output.writeUInt32(17, clothShoes_); + } + if (clothOuter_ != 0) { + output.writeUInt32(18, clothOuter_); + } + if (clothTops_ != 0) { + output.writeUInt32(19, clothTops_); + } + if (clothBottoms_ != 0) { + output.writeUInt32(20, clothBottoms_); + } + if (clothGloves_ != 0) { + output.writeUInt32(21, clothGloves_); + } + if (clothEarrings_ != 0) { + output.writeUInt32(22, clothEarrings_); + } + if (clothNeckless_ != 0) { + output.writeUInt32(23, clothNeckless_); + } + if (clothSocks_ != 0) { + output.writeUInt32(24, clothSocks_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothAvatarItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clothAvatarItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothHeadwearItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clothHeadwearItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothMaskItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clothMaskItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothBagItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, clothBagItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothShoesItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, clothShoesItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothOuterItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, clothOuterItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothTopsItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, clothTopsItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothBottomsItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, clothBottomsItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothGlovesItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clothGlovesItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothEarringsItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, clothEarringsItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothNecklessItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, clothNecklessItemGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clothSocksItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, clothSocksItemGuid_); + } + if (clothAvatar_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(13, clothAvatar_); + } + if (clothHeadwear_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(14, clothHeadwear_); + } + if (clothMask_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(15, clothMask_); + } + if (clothBag_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(16, clothBag_); + } + if (clothShoes_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(17, clothShoes_); + } + if (clothOuter_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(18, clothOuter_); + } + if (clothTops_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(19, clothTops_); + } + if (clothBottoms_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(20, clothBottoms_); + } + if (clothGloves_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(21, clothGloves_); + } + if (clothEarrings_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(22, clothEarrings_); + } + if (clothNeckless_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(23, clothNeckless_); + } + if (clothSocks_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(24, clothSocks_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ClothInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ClothInfo other = (com.caliverse.admin.domain.RabbitMq.message.ClothInfo) obj; + + if (!getClothAvatarItemGuid() + .equals(other.getClothAvatarItemGuid())) return false; + if (!getClothHeadwearItemGuid() + .equals(other.getClothHeadwearItemGuid())) return false; + if (!getClothMaskItemGuid() + .equals(other.getClothMaskItemGuid())) return false; + if (!getClothBagItemGuid() + .equals(other.getClothBagItemGuid())) return false; + if (!getClothShoesItemGuid() + .equals(other.getClothShoesItemGuid())) return false; + if (!getClothOuterItemGuid() + .equals(other.getClothOuterItemGuid())) return false; + if (!getClothTopsItemGuid() + .equals(other.getClothTopsItemGuid())) return false; + if (!getClothBottomsItemGuid() + .equals(other.getClothBottomsItemGuid())) return false; + if (!getClothGlovesItemGuid() + .equals(other.getClothGlovesItemGuid())) return false; + if (!getClothEarringsItemGuid() + .equals(other.getClothEarringsItemGuid())) return false; + if (!getClothNecklessItemGuid() + .equals(other.getClothNecklessItemGuid())) return false; + if (!getClothSocksItemGuid() + .equals(other.getClothSocksItemGuid())) return false; + if (getClothAvatar() + != other.getClothAvatar()) return false; + if (getClothHeadwear() + != other.getClothHeadwear()) return false; + if (getClothMask() + != other.getClothMask()) return false; + if (getClothBag() + != other.getClothBag()) return false; + if (getClothShoes() + != other.getClothShoes()) return false; + if (getClothOuter() + != other.getClothOuter()) return false; + if (getClothTops() + != other.getClothTops()) return false; + if (getClothBottoms() + != other.getClothBottoms()) return false; + if (getClothGloves() + != other.getClothGloves()) return false; + if (getClothEarrings() + != other.getClothEarrings()) return false; + if (getClothNeckless() + != other.getClothNeckless()) return false; + if (getClothSocks() + != other.getClothSocks()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CLOTH_AVATAR_ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getClothAvatarItemGuid().hashCode(); + hash = (37 * hash) + CLOTH_HEADWEAR_ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getClothHeadwearItemGuid().hashCode(); + hash = (37 * hash) + CLOTH_MASK_ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getClothMaskItemGuid().hashCode(); + hash = (37 * hash) + CLOTH_BAG_ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getClothBagItemGuid().hashCode(); + hash = (37 * hash) + CLOTH_SHOES_ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getClothShoesItemGuid().hashCode(); + hash = (37 * hash) + CLOTH_OUTER_ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getClothOuterItemGuid().hashCode(); + hash = (37 * hash) + CLOTH_TOPS_ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getClothTopsItemGuid().hashCode(); + hash = (37 * hash) + CLOTH_BOTTOMS_ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getClothBottomsItemGuid().hashCode(); + hash = (37 * hash) + CLOTH_GLOVES_ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getClothGlovesItemGuid().hashCode(); + hash = (37 * hash) + CLOTH_EARRINGS_ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getClothEarringsItemGuid().hashCode(); + hash = (37 * hash) + CLOTH_NECKLESS_ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getClothNecklessItemGuid().hashCode(); + hash = (37 * hash) + CLOTH_SOCKS_ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getClothSocksItemGuid().hashCode(); + hash = (37 * hash) + CLOTH_AVATAR_FIELD_NUMBER; + hash = (53 * hash) + getClothAvatar(); + hash = (37 * hash) + CLOTH_HEADWEAR_FIELD_NUMBER; + hash = (53 * hash) + getClothHeadwear(); + hash = (37 * hash) + CLOTH_MASK_FIELD_NUMBER; + hash = (53 * hash) + getClothMask(); + hash = (37 * hash) + CLOTH_BAG_FIELD_NUMBER; + hash = (53 * hash) + getClothBag(); + hash = (37 * hash) + CLOTH_SHOES_FIELD_NUMBER; + hash = (53 * hash) + getClothShoes(); + hash = (37 * hash) + CLOTH_OUTER_FIELD_NUMBER; + hash = (53 * hash) + getClothOuter(); + hash = (37 * hash) + CLOTH_TOPS_FIELD_NUMBER; + hash = (53 * hash) + getClothTops(); + hash = (37 * hash) + CLOTH_BOTTOMS_FIELD_NUMBER; + hash = (53 * hash) + getClothBottoms(); + hash = (37 * hash) + CLOTH_GLOVES_FIELD_NUMBER; + hash = (53 * hash) + getClothGloves(); + hash = (37 * hash) + CLOTH_EARRINGS_FIELD_NUMBER; + hash = (53 * hash) + getClothEarrings(); + hash = (37 * hash) + CLOTH_NECKLESS_FIELD_NUMBER; + hash = (53 * hash) + getClothNeckless(); + hash = (37 * hash) + CLOTH_SOCKS_FIELD_NUMBER; + hash = (53 * hash) + getClothSocks(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ClothInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ClothInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ClothInfo) + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClothInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClothInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ClothInfo.class, com.caliverse.admin.domain.RabbitMq.message.ClothInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ClothInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + clothAvatarItemGuid_ = ""; + clothHeadwearItemGuid_ = ""; + clothMaskItemGuid_ = ""; + clothBagItemGuid_ = ""; + clothShoesItemGuid_ = ""; + clothOuterItemGuid_ = ""; + clothTopsItemGuid_ = ""; + clothBottomsItemGuid_ = ""; + clothGlovesItemGuid_ = ""; + clothEarringsItemGuid_ = ""; + clothNecklessItemGuid_ = ""; + clothSocksItemGuid_ = ""; + clothAvatar_ = 0; + clothHeadwear_ = 0; + clothMask_ = 0; + clothBag_ = 0; + clothShoes_ = 0; + clothOuter_ = 0; + clothTops_ = 0; + clothBottoms_ = 0; + clothGloves_ = 0; + clothEarrings_ = 0; + clothNeckless_ = 0; + clothSocks_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClothInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClothInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ClothInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClothInfo build() { + com.caliverse.admin.domain.RabbitMq.message.ClothInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClothInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ClothInfo result = new com.caliverse.admin.domain.RabbitMq.message.ClothInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ClothInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.clothAvatarItemGuid_ = clothAvatarItemGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.clothHeadwearItemGuid_ = clothHeadwearItemGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.clothMaskItemGuid_ = clothMaskItemGuid_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.clothBagItemGuid_ = clothBagItemGuid_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.clothShoesItemGuid_ = clothShoesItemGuid_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.clothOuterItemGuid_ = clothOuterItemGuid_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.clothTopsItemGuid_ = clothTopsItemGuid_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.clothBottomsItemGuid_ = clothBottomsItemGuid_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.clothGlovesItemGuid_ = clothGlovesItemGuid_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.clothEarringsItemGuid_ = clothEarringsItemGuid_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.clothNecklessItemGuid_ = clothNecklessItemGuid_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.clothSocksItemGuid_ = clothSocksItemGuid_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.clothAvatar_ = clothAvatar_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.clothHeadwear_ = clothHeadwear_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.clothMask_ = clothMask_; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.clothBag_ = clothBag_; + } + if (((from_bitField0_ & 0x00010000) != 0)) { + result.clothShoes_ = clothShoes_; + } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.clothOuter_ = clothOuter_; + } + if (((from_bitField0_ & 0x00040000) != 0)) { + result.clothTops_ = clothTops_; + } + if (((from_bitField0_ & 0x00080000) != 0)) { + result.clothBottoms_ = clothBottoms_; + } + if (((from_bitField0_ & 0x00100000) != 0)) { + result.clothGloves_ = clothGloves_; + } + if (((from_bitField0_ & 0x00200000) != 0)) { + result.clothEarrings_ = clothEarrings_; + } + if (((from_bitField0_ & 0x00400000) != 0)) { + result.clothNeckless_ = clothNeckless_; + } + if (((from_bitField0_ & 0x00800000) != 0)) { + result.clothSocks_ = clothSocks_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ClothInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ClothInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ClothInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ClothInfo.getDefaultInstance()) return this; + if (!other.getClothAvatarItemGuid().isEmpty()) { + clothAvatarItemGuid_ = other.clothAvatarItemGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getClothHeadwearItemGuid().isEmpty()) { + clothHeadwearItemGuid_ = other.clothHeadwearItemGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getClothMaskItemGuid().isEmpty()) { + clothMaskItemGuid_ = other.clothMaskItemGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getClothBagItemGuid().isEmpty()) { + clothBagItemGuid_ = other.clothBagItemGuid_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getClothShoesItemGuid().isEmpty()) { + clothShoesItemGuid_ = other.clothShoesItemGuid_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getClothOuterItemGuid().isEmpty()) { + clothOuterItemGuid_ = other.clothOuterItemGuid_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getClothTopsItemGuid().isEmpty()) { + clothTopsItemGuid_ = other.clothTopsItemGuid_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getClothBottomsItemGuid().isEmpty()) { + clothBottomsItemGuid_ = other.clothBottomsItemGuid_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (!other.getClothGlovesItemGuid().isEmpty()) { + clothGlovesItemGuid_ = other.clothGlovesItemGuid_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (!other.getClothEarringsItemGuid().isEmpty()) { + clothEarringsItemGuid_ = other.clothEarringsItemGuid_; + bitField0_ |= 0x00000200; + onChanged(); + } + if (!other.getClothNecklessItemGuid().isEmpty()) { + clothNecklessItemGuid_ = other.clothNecklessItemGuid_; + bitField0_ |= 0x00000400; + onChanged(); + } + if (!other.getClothSocksItemGuid().isEmpty()) { + clothSocksItemGuid_ = other.clothSocksItemGuid_; + bitField0_ |= 0x00000800; + onChanged(); + } + if (other.getClothAvatar() != 0) { + setClothAvatar(other.getClothAvatar()); + } + if (other.getClothHeadwear() != 0) { + setClothHeadwear(other.getClothHeadwear()); + } + if (other.getClothMask() != 0) { + setClothMask(other.getClothMask()); + } + if (other.getClothBag() != 0) { + setClothBag(other.getClothBag()); + } + if (other.getClothShoes() != 0) { + setClothShoes(other.getClothShoes()); + } + if (other.getClothOuter() != 0) { + setClothOuter(other.getClothOuter()); + } + if (other.getClothTops() != 0) { + setClothTops(other.getClothTops()); + } + if (other.getClothBottoms() != 0) { + setClothBottoms(other.getClothBottoms()); + } + if (other.getClothGloves() != 0) { + setClothGloves(other.getClothGloves()); + } + if (other.getClothEarrings() != 0) { + setClothEarrings(other.getClothEarrings()); + } + if (other.getClothNeckless() != 0) { + setClothNeckless(other.getClothNeckless()); + } + if (other.getClothSocks() != 0) { + setClothSocks(other.getClothSocks()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + clothAvatarItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + clothHeadwearItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + clothMaskItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + clothBagItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + clothShoesItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + clothOuterItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + clothTopsItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + clothBottomsItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + clothGlovesItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + clothEarringsItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: { + clothNecklessItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: { + clothSocksItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 104: { + clothAvatar_ = input.readUInt32(); + bitField0_ |= 0x00001000; + break; + } // case 104 + case 112: { + clothHeadwear_ = input.readUInt32(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: { + clothMask_ = input.readUInt32(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 128: { + clothBag_ = input.readUInt32(); + bitField0_ |= 0x00008000; + break; + } // case 128 + case 136: { + clothShoes_ = input.readUInt32(); + bitField0_ |= 0x00010000; + break; + } // case 136 + case 144: { + clothOuter_ = input.readUInt32(); + bitField0_ |= 0x00020000; + break; + } // case 144 + case 152: { + clothTops_ = input.readUInt32(); + bitField0_ |= 0x00040000; + break; + } // case 152 + case 160: { + clothBottoms_ = input.readUInt32(); + bitField0_ |= 0x00080000; + break; + } // case 160 + case 168: { + clothGloves_ = input.readUInt32(); + bitField0_ |= 0x00100000; + break; + } // case 168 + case 176: { + clothEarrings_ = input.readUInt32(); + bitField0_ |= 0x00200000; + break; + } // case 176 + case 184: { + clothNeckless_ = input.readUInt32(); + bitField0_ |= 0x00400000; + break; + } // case 184 + case 192: { + clothSocks_ = input.readUInt32(); + bitField0_ |= 0x00800000; + break; + } // case 192 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object clothAvatarItemGuid_ = ""; + /** + * string cloth_avatar_itemGuid = 1; + * @return The clothAvatarItemGuid. + */ + public java.lang.String getClothAvatarItemGuid() { + java.lang.Object ref = clothAvatarItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothAvatarItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cloth_avatar_itemGuid = 1; + * @return The bytes for clothAvatarItemGuid. + */ + public com.google.protobuf.ByteString + getClothAvatarItemGuidBytes() { + java.lang.Object ref = clothAvatarItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothAvatarItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cloth_avatar_itemGuid = 1; + * @param value The clothAvatarItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothAvatarItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clothAvatarItemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string cloth_avatar_itemGuid = 1; + * @return This builder for chaining. + */ + public Builder clearClothAvatarItemGuid() { + clothAvatarItemGuid_ = getDefaultInstance().getClothAvatarItemGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string cloth_avatar_itemGuid = 1; + * @param value The bytes for clothAvatarItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothAvatarItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clothAvatarItemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object clothHeadwearItemGuid_ = ""; + /** + * string cloth_headwear_itemGuid = 2; + * @return The clothHeadwearItemGuid. + */ + public java.lang.String getClothHeadwearItemGuid() { + java.lang.Object ref = clothHeadwearItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothHeadwearItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cloth_headwear_itemGuid = 2; + * @return The bytes for clothHeadwearItemGuid. + */ + public com.google.protobuf.ByteString + getClothHeadwearItemGuidBytes() { + java.lang.Object ref = clothHeadwearItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothHeadwearItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cloth_headwear_itemGuid = 2; + * @param value The clothHeadwearItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothHeadwearItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clothHeadwearItemGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string cloth_headwear_itemGuid = 2; + * @return This builder for chaining. + */ + public Builder clearClothHeadwearItemGuid() { + clothHeadwearItemGuid_ = getDefaultInstance().getClothHeadwearItemGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string cloth_headwear_itemGuid = 2; + * @param value The bytes for clothHeadwearItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothHeadwearItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clothHeadwearItemGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object clothMaskItemGuid_ = ""; + /** + * string cloth_mask_itemGuid = 3; + * @return The clothMaskItemGuid. + */ + public java.lang.String getClothMaskItemGuid() { + java.lang.Object ref = clothMaskItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothMaskItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cloth_mask_itemGuid = 3; + * @return The bytes for clothMaskItemGuid. + */ + public com.google.protobuf.ByteString + getClothMaskItemGuidBytes() { + java.lang.Object ref = clothMaskItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothMaskItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cloth_mask_itemGuid = 3; + * @param value The clothMaskItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothMaskItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clothMaskItemGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string cloth_mask_itemGuid = 3; + * @return This builder for chaining. + */ + public Builder clearClothMaskItemGuid() { + clothMaskItemGuid_ = getDefaultInstance().getClothMaskItemGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string cloth_mask_itemGuid = 3; + * @param value The bytes for clothMaskItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothMaskItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clothMaskItemGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object clothBagItemGuid_ = ""; + /** + * string cloth_bag_itemGuid = 4; + * @return The clothBagItemGuid. + */ + public java.lang.String getClothBagItemGuid() { + java.lang.Object ref = clothBagItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothBagItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cloth_bag_itemGuid = 4; + * @return The bytes for clothBagItemGuid. + */ + public com.google.protobuf.ByteString + getClothBagItemGuidBytes() { + java.lang.Object ref = clothBagItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothBagItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cloth_bag_itemGuid = 4; + * @param value The clothBagItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothBagItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clothBagItemGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string cloth_bag_itemGuid = 4; + * @return This builder for chaining. + */ + public Builder clearClothBagItemGuid() { + clothBagItemGuid_ = getDefaultInstance().getClothBagItemGuid(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string cloth_bag_itemGuid = 4; + * @param value The bytes for clothBagItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothBagItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clothBagItemGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object clothShoesItemGuid_ = ""; + /** + * string cloth_shoes_itemGuid = 5; + * @return The clothShoesItemGuid. + */ + public java.lang.String getClothShoesItemGuid() { + java.lang.Object ref = clothShoesItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothShoesItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cloth_shoes_itemGuid = 5; + * @return The bytes for clothShoesItemGuid. + */ + public com.google.protobuf.ByteString + getClothShoesItemGuidBytes() { + java.lang.Object ref = clothShoesItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothShoesItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cloth_shoes_itemGuid = 5; + * @param value The clothShoesItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothShoesItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clothShoesItemGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string cloth_shoes_itemGuid = 5; + * @return This builder for chaining. + */ + public Builder clearClothShoesItemGuid() { + clothShoesItemGuid_ = getDefaultInstance().getClothShoesItemGuid(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string cloth_shoes_itemGuid = 5; + * @param value The bytes for clothShoesItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothShoesItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clothShoesItemGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object clothOuterItemGuid_ = ""; + /** + * string cloth_outer_itemGuid = 6; + * @return The clothOuterItemGuid. + */ + public java.lang.String getClothOuterItemGuid() { + java.lang.Object ref = clothOuterItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothOuterItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cloth_outer_itemGuid = 6; + * @return The bytes for clothOuterItemGuid. + */ + public com.google.protobuf.ByteString + getClothOuterItemGuidBytes() { + java.lang.Object ref = clothOuterItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothOuterItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cloth_outer_itemGuid = 6; + * @param value The clothOuterItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothOuterItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clothOuterItemGuid_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string cloth_outer_itemGuid = 6; + * @return This builder for chaining. + */ + public Builder clearClothOuterItemGuid() { + clothOuterItemGuid_ = getDefaultInstance().getClothOuterItemGuid(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string cloth_outer_itemGuid = 6; + * @param value The bytes for clothOuterItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothOuterItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clothOuterItemGuid_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object clothTopsItemGuid_ = ""; + /** + * string cloth_tops_itemGuid = 7; + * @return The clothTopsItemGuid. + */ + public java.lang.String getClothTopsItemGuid() { + java.lang.Object ref = clothTopsItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothTopsItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cloth_tops_itemGuid = 7; + * @return The bytes for clothTopsItemGuid. + */ + public com.google.protobuf.ByteString + getClothTopsItemGuidBytes() { + java.lang.Object ref = clothTopsItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothTopsItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cloth_tops_itemGuid = 7; + * @param value The clothTopsItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothTopsItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clothTopsItemGuid_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * string cloth_tops_itemGuid = 7; + * @return This builder for chaining. + */ + public Builder clearClothTopsItemGuid() { + clothTopsItemGuid_ = getDefaultInstance().getClothTopsItemGuid(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * string cloth_tops_itemGuid = 7; + * @param value The bytes for clothTopsItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothTopsItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clothTopsItemGuid_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object clothBottomsItemGuid_ = ""; + /** + * string cloth_bottoms_itemGuid = 8; + * @return The clothBottomsItemGuid. + */ + public java.lang.String getClothBottomsItemGuid() { + java.lang.Object ref = clothBottomsItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothBottomsItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cloth_bottoms_itemGuid = 8; + * @return The bytes for clothBottomsItemGuid. + */ + public com.google.protobuf.ByteString + getClothBottomsItemGuidBytes() { + java.lang.Object ref = clothBottomsItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothBottomsItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cloth_bottoms_itemGuid = 8; + * @param value The clothBottomsItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothBottomsItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clothBottomsItemGuid_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * string cloth_bottoms_itemGuid = 8; + * @return This builder for chaining. + */ + public Builder clearClothBottomsItemGuid() { + clothBottomsItemGuid_ = getDefaultInstance().getClothBottomsItemGuid(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * string cloth_bottoms_itemGuid = 8; + * @param value The bytes for clothBottomsItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothBottomsItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clothBottomsItemGuid_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private java.lang.Object clothGlovesItemGuid_ = ""; + /** + * string cloth_gloves_itemGuid = 9; + * @return The clothGlovesItemGuid. + */ + public java.lang.String getClothGlovesItemGuid() { + java.lang.Object ref = clothGlovesItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothGlovesItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cloth_gloves_itemGuid = 9; + * @return The bytes for clothGlovesItemGuid. + */ + public com.google.protobuf.ByteString + getClothGlovesItemGuidBytes() { + java.lang.Object ref = clothGlovesItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothGlovesItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cloth_gloves_itemGuid = 9; + * @param value The clothGlovesItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothGlovesItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clothGlovesItemGuid_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * string cloth_gloves_itemGuid = 9; + * @return This builder for chaining. + */ + public Builder clearClothGlovesItemGuid() { + clothGlovesItemGuid_ = getDefaultInstance().getClothGlovesItemGuid(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + * string cloth_gloves_itemGuid = 9; + * @param value The bytes for clothGlovesItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothGlovesItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clothGlovesItemGuid_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private java.lang.Object clothEarringsItemGuid_ = ""; + /** + * string cloth_earrings_itemGuid = 10; + * @return The clothEarringsItemGuid. + */ + public java.lang.String getClothEarringsItemGuid() { + java.lang.Object ref = clothEarringsItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothEarringsItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cloth_earrings_itemGuid = 10; + * @return The bytes for clothEarringsItemGuid. + */ + public com.google.protobuf.ByteString + getClothEarringsItemGuidBytes() { + java.lang.Object ref = clothEarringsItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothEarringsItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cloth_earrings_itemGuid = 10; + * @param value The clothEarringsItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothEarringsItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clothEarringsItemGuid_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * string cloth_earrings_itemGuid = 10; + * @return This builder for chaining. + */ + public Builder clearClothEarringsItemGuid() { + clothEarringsItemGuid_ = getDefaultInstance().getClothEarringsItemGuid(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + * string cloth_earrings_itemGuid = 10; + * @param value The bytes for clothEarringsItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothEarringsItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clothEarringsItemGuid_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + private java.lang.Object clothNecklessItemGuid_ = ""; + /** + * string cloth_neckless_itemGuid = 11; + * @return The clothNecklessItemGuid. + */ + public java.lang.String getClothNecklessItemGuid() { + java.lang.Object ref = clothNecklessItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothNecklessItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cloth_neckless_itemGuid = 11; + * @return The bytes for clothNecklessItemGuid. + */ + public com.google.protobuf.ByteString + getClothNecklessItemGuidBytes() { + java.lang.Object ref = clothNecklessItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothNecklessItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cloth_neckless_itemGuid = 11; + * @param value The clothNecklessItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothNecklessItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clothNecklessItemGuid_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * string cloth_neckless_itemGuid = 11; + * @return This builder for chaining. + */ + public Builder clearClothNecklessItemGuid() { + clothNecklessItemGuid_ = getDefaultInstance().getClothNecklessItemGuid(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; + } + /** + * string cloth_neckless_itemGuid = 11; + * @param value The bytes for clothNecklessItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothNecklessItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clothNecklessItemGuid_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + private java.lang.Object clothSocksItemGuid_ = ""; + /** + * string cloth_socks_itemGuid = 12; + * @return The clothSocksItemGuid. + */ + public java.lang.String getClothSocksItemGuid() { + java.lang.Object ref = clothSocksItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clothSocksItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cloth_socks_itemGuid = 12; + * @return The bytes for clothSocksItemGuid. + */ + public com.google.protobuf.ByteString + getClothSocksItemGuidBytes() { + java.lang.Object ref = clothSocksItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clothSocksItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cloth_socks_itemGuid = 12; + * @param value The clothSocksItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothSocksItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + clothSocksItemGuid_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * string cloth_socks_itemGuid = 12; + * @return This builder for chaining. + */ + public Builder clearClothSocksItemGuid() { + clothSocksItemGuid_ = getDefaultInstance().getClothSocksItemGuid(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + /** + * string cloth_socks_itemGuid = 12; + * @param value The bytes for clothSocksItemGuid to set. + * @return This builder for chaining. + */ + public Builder setClothSocksItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clothSocksItemGuid_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + + private int clothAvatar_ ; + /** + * uint32 cloth_avatar = 13; + * @return The clothAvatar. + */ + @java.lang.Override + public int getClothAvatar() { + return clothAvatar_; + } + /** + * uint32 cloth_avatar = 13; + * @param value The clothAvatar to set. + * @return This builder for chaining. + */ + public Builder setClothAvatar(int value) { + + clothAvatar_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * uint32 cloth_avatar = 13; + * @return This builder for chaining. + */ + public Builder clearClothAvatar() { + bitField0_ = (bitField0_ & ~0x00001000); + clothAvatar_ = 0; + onChanged(); + return this; + } + + private int clothHeadwear_ ; + /** + * uint32 cloth_headwear = 14; + * @return The clothHeadwear. + */ + @java.lang.Override + public int getClothHeadwear() { + return clothHeadwear_; + } + /** + * uint32 cloth_headwear = 14; + * @param value The clothHeadwear to set. + * @return This builder for chaining. + */ + public Builder setClothHeadwear(int value) { + + clothHeadwear_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * uint32 cloth_headwear = 14; + * @return This builder for chaining. + */ + public Builder clearClothHeadwear() { + bitField0_ = (bitField0_ & ~0x00002000); + clothHeadwear_ = 0; + onChanged(); + return this; + } + + private int clothMask_ ; + /** + * uint32 cloth_mask = 15; + * @return The clothMask. + */ + @java.lang.Override + public int getClothMask() { + return clothMask_; + } + /** + * uint32 cloth_mask = 15; + * @param value The clothMask to set. + * @return This builder for chaining. + */ + public Builder setClothMask(int value) { + + clothMask_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + * uint32 cloth_mask = 15; + * @return This builder for chaining. + */ + public Builder clearClothMask() { + bitField0_ = (bitField0_ & ~0x00004000); + clothMask_ = 0; + onChanged(); + return this; + } + + private int clothBag_ ; + /** + * uint32 cloth_bag = 16; + * @return The clothBag. + */ + @java.lang.Override + public int getClothBag() { + return clothBag_; + } + /** + * uint32 cloth_bag = 16; + * @param value The clothBag to set. + * @return This builder for chaining. + */ + public Builder setClothBag(int value) { + + clothBag_ = value; + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + * uint32 cloth_bag = 16; + * @return This builder for chaining. + */ + public Builder clearClothBag() { + bitField0_ = (bitField0_ & ~0x00008000); + clothBag_ = 0; + onChanged(); + return this; + } + + private int clothShoes_ ; + /** + * uint32 cloth_shoes = 17; + * @return The clothShoes. + */ + @java.lang.Override + public int getClothShoes() { + return clothShoes_; + } + /** + * uint32 cloth_shoes = 17; + * @param value The clothShoes to set. + * @return This builder for chaining. + */ + public Builder setClothShoes(int value) { + + clothShoes_ = value; + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + * uint32 cloth_shoes = 17; + * @return This builder for chaining. + */ + public Builder clearClothShoes() { + bitField0_ = (bitField0_ & ~0x00010000); + clothShoes_ = 0; + onChanged(); + return this; + } + + private int clothOuter_ ; + /** + * uint32 cloth_outer = 18; + * @return The clothOuter. + */ + @java.lang.Override + public int getClothOuter() { + return clothOuter_; + } + /** + * uint32 cloth_outer = 18; + * @param value The clothOuter to set. + * @return This builder for chaining. + */ + public Builder setClothOuter(int value) { + + clothOuter_ = value; + bitField0_ |= 0x00020000; + onChanged(); + return this; + } + /** + * uint32 cloth_outer = 18; + * @return This builder for chaining. + */ + public Builder clearClothOuter() { + bitField0_ = (bitField0_ & ~0x00020000); + clothOuter_ = 0; + onChanged(); + return this; + } + + private int clothTops_ ; + /** + * uint32 cloth_tops = 19; + * @return The clothTops. + */ + @java.lang.Override + public int getClothTops() { + return clothTops_; + } + /** + * uint32 cloth_tops = 19; + * @param value The clothTops to set. + * @return This builder for chaining. + */ + public Builder setClothTops(int value) { + + clothTops_ = value; + bitField0_ |= 0x00040000; + onChanged(); + return this; + } + /** + * uint32 cloth_tops = 19; + * @return This builder for chaining. + */ + public Builder clearClothTops() { + bitField0_ = (bitField0_ & ~0x00040000); + clothTops_ = 0; + onChanged(); + return this; + } + + private int clothBottoms_ ; + /** + * uint32 cloth_bottoms = 20; + * @return The clothBottoms. + */ + @java.lang.Override + public int getClothBottoms() { + return clothBottoms_; + } + /** + * uint32 cloth_bottoms = 20; + * @param value The clothBottoms to set. + * @return This builder for chaining. + */ + public Builder setClothBottoms(int value) { + + clothBottoms_ = value; + bitField0_ |= 0x00080000; + onChanged(); + return this; + } + /** + * uint32 cloth_bottoms = 20; + * @return This builder for chaining. + */ + public Builder clearClothBottoms() { + bitField0_ = (bitField0_ & ~0x00080000); + clothBottoms_ = 0; + onChanged(); + return this; + } + + private int clothGloves_ ; + /** + * uint32 cloth_gloves = 21; + * @return The clothGloves. + */ + @java.lang.Override + public int getClothGloves() { + return clothGloves_; + } + /** + * uint32 cloth_gloves = 21; + * @param value The clothGloves to set. + * @return This builder for chaining. + */ + public Builder setClothGloves(int value) { + + clothGloves_ = value; + bitField0_ |= 0x00100000; + onChanged(); + return this; + } + /** + * uint32 cloth_gloves = 21; + * @return This builder for chaining. + */ + public Builder clearClothGloves() { + bitField0_ = (bitField0_ & ~0x00100000); + clothGloves_ = 0; + onChanged(); + return this; + } + + private int clothEarrings_ ; + /** + * uint32 cloth_earrings = 22; + * @return The clothEarrings. + */ + @java.lang.Override + public int getClothEarrings() { + return clothEarrings_; + } + /** + * uint32 cloth_earrings = 22; + * @param value The clothEarrings to set. + * @return This builder for chaining. + */ + public Builder setClothEarrings(int value) { + + clothEarrings_ = value; + bitField0_ |= 0x00200000; + onChanged(); + return this; + } + /** + * uint32 cloth_earrings = 22; + * @return This builder for chaining. + */ + public Builder clearClothEarrings() { + bitField0_ = (bitField0_ & ~0x00200000); + clothEarrings_ = 0; + onChanged(); + return this; + } + + private int clothNeckless_ ; + /** + * uint32 cloth_neckless = 23; + * @return The clothNeckless. + */ + @java.lang.Override + public int getClothNeckless() { + return clothNeckless_; + } + /** + * uint32 cloth_neckless = 23; + * @param value The clothNeckless to set. + * @return This builder for chaining. + */ + public Builder setClothNeckless(int value) { + + clothNeckless_ = value; + bitField0_ |= 0x00400000; + onChanged(); + return this; + } + /** + * uint32 cloth_neckless = 23; + * @return This builder for chaining. + */ + public Builder clearClothNeckless() { + bitField0_ = (bitField0_ & ~0x00400000); + clothNeckless_ = 0; + onChanged(); + return this; + } + + private int clothSocks_ ; + /** + * uint32 cloth_socks = 24; + * @return The clothSocks. + */ + @java.lang.Override + public int getClothSocks() { + return clothSocks_; + } + /** + * uint32 cloth_socks = 24; + * @param value The clothSocks to set. + * @return This builder for chaining. + */ + public Builder setClothSocks(int value) { + + clothSocks_ = value; + bitField0_ |= 0x00800000; + onChanged(); + return this; + } + /** + * uint32 cloth_socks = 24; + * @return This builder for chaining. + */ + public Builder clearClothSocks() { + bitField0_ = (bitField0_ & ~0x00800000); + clothSocks_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ClothInfo) + } + + // @@protoc_insertion_point(class_scope:ClothInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.ClothInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ClothInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClothInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClothInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClothInfoOfAnotherUser.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClothInfoOfAnotherUser.java new file mode 100644 index 0000000..823062b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClothInfoOfAnotherUser.java @@ -0,0 +1,1200 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ClothInfoOfAnotherUser} + */ +public final class ClothInfoOfAnotherUser extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ClothInfoOfAnotherUser) + ClothInfoOfAnotherUserOrBuilder { +private static final long serialVersionUID = 0L; + // Use ClothInfoOfAnotherUser.newBuilder() to construct. + private ClothInfoOfAnotherUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ClothInfoOfAnotherUser() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ClothInfoOfAnotherUser(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClothInfoOfAnotherUser_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClothInfoOfAnotherUser_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.class, com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.Builder.class); + } + + public static final int CLOTH_AVATAR_FIELD_NUMBER = 1; + private int clothAvatar_ = 0; + /** + * uint32 cloth_avatar = 1; + * @return The clothAvatar. + */ + @java.lang.Override + public int getClothAvatar() { + return clothAvatar_; + } + + public static final int CLOTH_HEADWEAR_FIELD_NUMBER = 2; + private int clothHeadwear_ = 0; + /** + * uint32 cloth_headwear = 2; + * @return The clothHeadwear. + */ + @java.lang.Override + public int getClothHeadwear() { + return clothHeadwear_; + } + + public static final int CLOTH_MASK_FIELD_NUMBER = 3; + private int clothMask_ = 0; + /** + * uint32 cloth_mask = 3; + * @return The clothMask. + */ + @java.lang.Override + public int getClothMask() { + return clothMask_; + } + + public static final int CLOTH_BAG_FIELD_NUMBER = 4; + private int clothBag_ = 0; + /** + * uint32 cloth_bag = 4; + * @return The clothBag. + */ + @java.lang.Override + public int getClothBag() { + return clothBag_; + } + + public static final int CLOTH_SHOES_FIELD_NUMBER = 5; + private int clothShoes_ = 0; + /** + * uint32 cloth_shoes = 5; + * @return The clothShoes. + */ + @java.lang.Override + public int getClothShoes() { + return clothShoes_; + } + + public static final int CLOTH_OUTER_FIELD_NUMBER = 6; + private int clothOuter_ = 0; + /** + * uint32 cloth_outer = 6; + * @return The clothOuter. + */ + @java.lang.Override + public int getClothOuter() { + return clothOuter_; + } + + public static final int CLOTH_TOPS_FIELD_NUMBER = 7; + private int clothTops_ = 0; + /** + * uint32 cloth_tops = 7; + * @return The clothTops. + */ + @java.lang.Override + public int getClothTops() { + return clothTops_; + } + + public static final int CLOTH_BOTTOMS_FIELD_NUMBER = 8; + private int clothBottoms_ = 0; + /** + * uint32 cloth_bottoms = 8; + * @return The clothBottoms. + */ + @java.lang.Override + public int getClothBottoms() { + return clothBottoms_; + } + + public static final int CLOTH_GLOVES_FIELD_NUMBER = 9; + private int clothGloves_ = 0; + /** + * uint32 cloth_gloves = 9; + * @return The clothGloves. + */ + @java.lang.Override + public int getClothGloves() { + return clothGloves_; + } + + public static final int CLOTH_EARRINGS_FIELD_NUMBER = 10; + private int clothEarrings_ = 0; + /** + * uint32 cloth_earrings = 10; + * @return The clothEarrings. + */ + @java.lang.Override + public int getClothEarrings() { + return clothEarrings_; + } + + public static final int CLOTH_NECKLESS_FIELD_NUMBER = 11; + private int clothNeckless_ = 0; + /** + * uint32 cloth_neckless = 11; + * @return The clothNeckless. + */ + @java.lang.Override + public int getClothNeckless() { + return clothNeckless_; + } + + public static final int CLOTH_SOCKS_FIELD_NUMBER = 12; + private int clothSocks_ = 0; + /** + * uint32 cloth_socks = 12; + * @return The clothSocks. + */ + @java.lang.Override + public int getClothSocks() { + return clothSocks_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (clothAvatar_ != 0) { + output.writeUInt32(1, clothAvatar_); + } + if (clothHeadwear_ != 0) { + output.writeUInt32(2, clothHeadwear_); + } + if (clothMask_ != 0) { + output.writeUInt32(3, clothMask_); + } + if (clothBag_ != 0) { + output.writeUInt32(4, clothBag_); + } + if (clothShoes_ != 0) { + output.writeUInt32(5, clothShoes_); + } + if (clothOuter_ != 0) { + output.writeUInt32(6, clothOuter_); + } + if (clothTops_ != 0) { + output.writeUInt32(7, clothTops_); + } + if (clothBottoms_ != 0) { + output.writeUInt32(8, clothBottoms_); + } + if (clothGloves_ != 0) { + output.writeUInt32(9, clothGloves_); + } + if (clothEarrings_ != 0) { + output.writeUInt32(10, clothEarrings_); + } + if (clothNeckless_ != 0) { + output.writeUInt32(11, clothNeckless_); + } + if (clothSocks_ != 0) { + output.writeUInt32(12, clothSocks_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (clothAvatar_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, clothAvatar_); + } + if (clothHeadwear_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, clothHeadwear_); + } + if (clothMask_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, clothMask_); + } + if (clothBag_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, clothBag_); + } + if (clothShoes_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, clothShoes_); + } + if (clothOuter_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, clothOuter_); + } + if (clothTops_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(7, clothTops_); + } + if (clothBottoms_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(8, clothBottoms_); + } + if (clothGloves_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(9, clothGloves_); + } + if (clothEarrings_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(10, clothEarrings_); + } + if (clothNeckless_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(11, clothNeckless_); + } + if (clothSocks_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(12, clothSocks_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser other = (com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser) obj; + + if (getClothAvatar() + != other.getClothAvatar()) return false; + if (getClothHeadwear() + != other.getClothHeadwear()) return false; + if (getClothMask() + != other.getClothMask()) return false; + if (getClothBag() + != other.getClothBag()) return false; + if (getClothShoes() + != other.getClothShoes()) return false; + if (getClothOuter() + != other.getClothOuter()) return false; + if (getClothTops() + != other.getClothTops()) return false; + if (getClothBottoms() + != other.getClothBottoms()) return false; + if (getClothGloves() + != other.getClothGloves()) return false; + if (getClothEarrings() + != other.getClothEarrings()) return false; + if (getClothNeckless() + != other.getClothNeckless()) return false; + if (getClothSocks() + != other.getClothSocks()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CLOTH_AVATAR_FIELD_NUMBER; + hash = (53 * hash) + getClothAvatar(); + hash = (37 * hash) + CLOTH_HEADWEAR_FIELD_NUMBER; + hash = (53 * hash) + getClothHeadwear(); + hash = (37 * hash) + CLOTH_MASK_FIELD_NUMBER; + hash = (53 * hash) + getClothMask(); + hash = (37 * hash) + CLOTH_BAG_FIELD_NUMBER; + hash = (53 * hash) + getClothBag(); + hash = (37 * hash) + CLOTH_SHOES_FIELD_NUMBER; + hash = (53 * hash) + getClothShoes(); + hash = (37 * hash) + CLOTH_OUTER_FIELD_NUMBER; + hash = (53 * hash) + getClothOuter(); + hash = (37 * hash) + CLOTH_TOPS_FIELD_NUMBER; + hash = (53 * hash) + getClothTops(); + hash = (37 * hash) + CLOTH_BOTTOMS_FIELD_NUMBER; + hash = (53 * hash) + getClothBottoms(); + hash = (37 * hash) + CLOTH_GLOVES_FIELD_NUMBER; + hash = (53 * hash) + getClothGloves(); + hash = (37 * hash) + CLOTH_EARRINGS_FIELD_NUMBER; + hash = (53 * hash) + getClothEarrings(); + hash = (37 * hash) + CLOTH_NECKLESS_FIELD_NUMBER; + hash = (53 * hash) + getClothNeckless(); + hash = (37 * hash) + CLOTH_SOCKS_FIELD_NUMBER; + hash = (53 * hash) + getClothSocks(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ClothInfoOfAnotherUser} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ClothInfoOfAnotherUser) + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUserOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClothInfoOfAnotherUser_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClothInfoOfAnotherUser_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.class, com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + clothAvatar_ = 0; + clothHeadwear_ = 0; + clothMask_ = 0; + clothBag_ = 0; + clothShoes_ = 0; + clothOuter_ = 0; + clothTops_ = 0; + clothBottoms_ = 0; + clothGloves_ = 0; + clothEarrings_ = 0; + clothNeckless_ = 0; + clothSocks_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClothInfoOfAnotherUser_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser build() { + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser result = new com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.clothAvatar_ = clothAvatar_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.clothHeadwear_ = clothHeadwear_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.clothMask_ = clothMask_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.clothBag_ = clothBag_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.clothShoes_ = clothShoes_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.clothOuter_ = clothOuter_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.clothTops_ = clothTops_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.clothBottoms_ = clothBottoms_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.clothGloves_ = clothGloves_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.clothEarrings_ = clothEarrings_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.clothNeckless_ = clothNeckless_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.clothSocks_ = clothSocks_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.getDefaultInstance()) return this; + if (other.getClothAvatar() != 0) { + setClothAvatar(other.getClothAvatar()); + } + if (other.getClothHeadwear() != 0) { + setClothHeadwear(other.getClothHeadwear()); + } + if (other.getClothMask() != 0) { + setClothMask(other.getClothMask()); + } + if (other.getClothBag() != 0) { + setClothBag(other.getClothBag()); + } + if (other.getClothShoes() != 0) { + setClothShoes(other.getClothShoes()); + } + if (other.getClothOuter() != 0) { + setClothOuter(other.getClothOuter()); + } + if (other.getClothTops() != 0) { + setClothTops(other.getClothTops()); + } + if (other.getClothBottoms() != 0) { + setClothBottoms(other.getClothBottoms()); + } + if (other.getClothGloves() != 0) { + setClothGloves(other.getClothGloves()); + } + if (other.getClothEarrings() != 0) { + setClothEarrings(other.getClothEarrings()); + } + if (other.getClothNeckless() != 0) { + setClothNeckless(other.getClothNeckless()); + } + if (other.getClothSocks() != 0) { + setClothSocks(other.getClothSocks()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + clothAvatar_ = input.readUInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + clothHeadwear_ = input.readUInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + clothMask_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + clothBag_ = input.readUInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + clothShoes_ = input.readUInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + clothOuter_ = input.readUInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + clothTops_ = input.readUInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + clothBottoms_ = input.readUInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: { + clothGloves_ = input.readUInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: { + clothEarrings_ = input.readUInt32(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + clothNeckless_ = input.readUInt32(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 96: { + clothSocks_ = input.readUInt32(); + bitField0_ |= 0x00000800; + break; + } // case 96 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int clothAvatar_ ; + /** + * uint32 cloth_avatar = 1; + * @return The clothAvatar. + */ + @java.lang.Override + public int getClothAvatar() { + return clothAvatar_; + } + /** + * uint32 cloth_avatar = 1; + * @param value The clothAvatar to set. + * @return This builder for chaining. + */ + public Builder setClothAvatar(int value) { + + clothAvatar_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * uint32 cloth_avatar = 1; + * @return This builder for chaining. + */ + public Builder clearClothAvatar() { + bitField0_ = (bitField0_ & ~0x00000001); + clothAvatar_ = 0; + onChanged(); + return this; + } + + private int clothHeadwear_ ; + /** + * uint32 cloth_headwear = 2; + * @return The clothHeadwear. + */ + @java.lang.Override + public int getClothHeadwear() { + return clothHeadwear_; + } + /** + * uint32 cloth_headwear = 2; + * @param value The clothHeadwear to set. + * @return This builder for chaining. + */ + public Builder setClothHeadwear(int value) { + + clothHeadwear_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * uint32 cloth_headwear = 2; + * @return This builder for chaining. + */ + public Builder clearClothHeadwear() { + bitField0_ = (bitField0_ & ~0x00000002); + clothHeadwear_ = 0; + onChanged(); + return this; + } + + private int clothMask_ ; + /** + * uint32 cloth_mask = 3; + * @return The clothMask. + */ + @java.lang.Override + public int getClothMask() { + return clothMask_; + } + /** + * uint32 cloth_mask = 3; + * @param value The clothMask to set. + * @return This builder for chaining. + */ + public Builder setClothMask(int value) { + + clothMask_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * uint32 cloth_mask = 3; + * @return This builder for chaining. + */ + public Builder clearClothMask() { + bitField0_ = (bitField0_ & ~0x00000004); + clothMask_ = 0; + onChanged(); + return this; + } + + private int clothBag_ ; + /** + * uint32 cloth_bag = 4; + * @return The clothBag. + */ + @java.lang.Override + public int getClothBag() { + return clothBag_; + } + /** + * uint32 cloth_bag = 4; + * @param value The clothBag to set. + * @return This builder for chaining. + */ + public Builder setClothBag(int value) { + + clothBag_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * uint32 cloth_bag = 4; + * @return This builder for chaining. + */ + public Builder clearClothBag() { + bitField0_ = (bitField0_ & ~0x00000008); + clothBag_ = 0; + onChanged(); + return this; + } + + private int clothShoes_ ; + /** + * uint32 cloth_shoes = 5; + * @return The clothShoes. + */ + @java.lang.Override + public int getClothShoes() { + return clothShoes_; + } + /** + * uint32 cloth_shoes = 5; + * @param value The clothShoes to set. + * @return This builder for chaining. + */ + public Builder setClothShoes(int value) { + + clothShoes_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * uint32 cloth_shoes = 5; + * @return This builder for chaining. + */ + public Builder clearClothShoes() { + bitField0_ = (bitField0_ & ~0x00000010); + clothShoes_ = 0; + onChanged(); + return this; + } + + private int clothOuter_ ; + /** + * uint32 cloth_outer = 6; + * @return The clothOuter. + */ + @java.lang.Override + public int getClothOuter() { + return clothOuter_; + } + /** + * uint32 cloth_outer = 6; + * @param value The clothOuter to set. + * @return This builder for chaining. + */ + public Builder setClothOuter(int value) { + + clothOuter_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * uint32 cloth_outer = 6; + * @return This builder for chaining. + */ + public Builder clearClothOuter() { + bitField0_ = (bitField0_ & ~0x00000020); + clothOuter_ = 0; + onChanged(); + return this; + } + + private int clothTops_ ; + /** + * uint32 cloth_tops = 7; + * @return The clothTops. + */ + @java.lang.Override + public int getClothTops() { + return clothTops_; + } + /** + * uint32 cloth_tops = 7; + * @param value The clothTops to set. + * @return This builder for chaining. + */ + public Builder setClothTops(int value) { + + clothTops_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * uint32 cloth_tops = 7; + * @return This builder for chaining. + */ + public Builder clearClothTops() { + bitField0_ = (bitField0_ & ~0x00000040); + clothTops_ = 0; + onChanged(); + return this; + } + + private int clothBottoms_ ; + /** + * uint32 cloth_bottoms = 8; + * @return The clothBottoms. + */ + @java.lang.Override + public int getClothBottoms() { + return clothBottoms_; + } + /** + * uint32 cloth_bottoms = 8; + * @param value The clothBottoms to set. + * @return This builder for chaining. + */ + public Builder setClothBottoms(int value) { + + clothBottoms_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * uint32 cloth_bottoms = 8; + * @return This builder for chaining. + */ + public Builder clearClothBottoms() { + bitField0_ = (bitField0_ & ~0x00000080); + clothBottoms_ = 0; + onChanged(); + return this; + } + + private int clothGloves_ ; + /** + * uint32 cloth_gloves = 9; + * @return The clothGloves. + */ + @java.lang.Override + public int getClothGloves() { + return clothGloves_; + } + /** + * uint32 cloth_gloves = 9; + * @param value The clothGloves to set. + * @return This builder for chaining. + */ + public Builder setClothGloves(int value) { + + clothGloves_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * uint32 cloth_gloves = 9; + * @return This builder for chaining. + */ + public Builder clearClothGloves() { + bitField0_ = (bitField0_ & ~0x00000100); + clothGloves_ = 0; + onChanged(); + return this; + } + + private int clothEarrings_ ; + /** + * uint32 cloth_earrings = 10; + * @return The clothEarrings. + */ + @java.lang.Override + public int getClothEarrings() { + return clothEarrings_; + } + /** + * uint32 cloth_earrings = 10; + * @param value The clothEarrings to set. + * @return This builder for chaining. + */ + public Builder setClothEarrings(int value) { + + clothEarrings_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * uint32 cloth_earrings = 10; + * @return This builder for chaining. + */ + public Builder clearClothEarrings() { + bitField0_ = (bitField0_ & ~0x00000200); + clothEarrings_ = 0; + onChanged(); + return this; + } + + private int clothNeckless_ ; + /** + * uint32 cloth_neckless = 11; + * @return The clothNeckless. + */ + @java.lang.Override + public int getClothNeckless() { + return clothNeckless_; + } + /** + * uint32 cloth_neckless = 11; + * @param value The clothNeckless to set. + * @return This builder for chaining. + */ + public Builder setClothNeckless(int value) { + + clothNeckless_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * uint32 cloth_neckless = 11; + * @return This builder for chaining. + */ + public Builder clearClothNeckless() { + bitField0_ = (bitField0_ & ~0x00000400); + clothNeckless_ = 0; + onChanged(); + return this; + } + + private int clothSocks_ ; + /** + * uint32 cloth_socks = 12; + * @return The clothSocks. + */ + @java.lang.Override + public int getClothSocks() { + return clothSocks_; + } + /** + * uint32 cloth_socks = 12; + * @param value The clothSocks to set. + * @return This builder for chaining. + */ + public Builder setClothSocks(int value) { + + clothSocks_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * uint32 cloth_socks = 12; + * @return This builder for chaining. + */ + public Builder clearClothSocks() { + bitField0_ = (bitField0_ & ~0x00000800); + clothSocks_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ClothInfoOfAnotherUser) + } + + // @@protoc_insertion_point(class_scope:ClothInfoOfAnotherUser) + private static final com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClothInfoOfAnotherUser parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClothInfoOfAnotherUserOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClothInfoOfAnotherUserOrBuilder.java new file mode 100644 index 0000000..7eceb62 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClothInfoOfAnotherUserOrBuilder.java @@ -0,0 +1,81 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ClothInfoOfAnotherUserOrBuilder extends + // @@protoc_insertion_point(interface_extends:ClothInfoOfAnotherUser) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 cloth_avatar = 1; + * @return The clothAvatar. + */ + int getClothAvatar(); + + /** + * uint32 cloth_headwear = 2; + * @return The clothHeadwear. + */ + int getClothHeadwear(); + + /** + * uint32 cloth_mask = 3; + * @return The clothMask. + */ + int getClothMask(); + + /** + * uint32 cloth_bag = 4; + * @return The clothBag. + */ + int getClothBag(); + + /** + * uint32 cloth_shoes = 5; + * @return The clothShoes. + */ + int getClothShoes(); + + /** + * uint32 cloth_outer = 6; + * @return The clothOuter. + */ + int getClothOuter(); + + /** + * uint32 cloth_tops = 7; + * @return The clothTops. + */ + int getClothTops(); + + /** + * uint32 cloth_bottoms = 8; + * @return The clothBottoms. + */ + int getClothBottoms(); + + /** + * uint32 cloth_gloves = 9; + * @return The clothGloves. + */ + int getClothGloves(); + + /** + * uint32 cloth_earrings = 10; + * @return The clothEarrings. + */ + int getClothEarrings(); + + /** + * uint32 cloth_neckless = 11; + * @return The clothNeckless. + */ + int getClothNeckless(); + + /** + * uint32 cloth_socks = 12; + * @return The clothSocks. + */ + int getClothSocks(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClothInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClothInfoOrBuilder.java new file mode 100644 index 0000000..fcd7e43 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ClothInfoOrBuilder.java @@ -0,0 +1,225 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ClothInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ClothInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string cloth_avatar_itemGuid = 1; + * @return The clothAvatarItemGuid. + */ + java.lang.String getClothAvatarItemGuid(); + /** + * string cloth_avatar_itemGuid = 1; + * @return The bytes for clothAvatarItemGuid. + */ + com.google.protobuf.ByteString + getClothAvatarItemGuidBytes(); + + /** + * string cloth_headwear_itemGuid = 2; + * @return The clothHeadwearItemGuid. + */ + java.lang.String getClothHeadwearItemGuid(); + /** + * string cloth_headwear_itemGuid = 2; + * @return The bytes for clothHeadwearItemGuid. + */ + com.google.protobuf.ByteString + getClothHeadwearItemGuidBytes(); + + /** + * string cloth_mask_itemGuid = 3; + * @return The clothMaskItemGuid. + */ + java.lang.String getClothMaskItemGuid(); + /** + * string cloth_mask_itemGuid = 3; + * @return The bytes for clothMaskItemGuid. + */ + com.google.protobuf.ByteString + getClothMaskItemGuidBytes(); + + /** + * string cloth_bag_itemGuid = 4; + * @return The clothBagItemGuid. + */ + java.lang.String getClothBagItemGuid(); + /** + * string cloth_bag_itemGuid = 4; + * @return The bytes for clothBagItemGuid. + */ + com.google.protobuf.ByteString + getClothBagItemGuidBytes(); + + /** + * string cloth_shoes_itemGuid = 5; + * @return The clothShoesItemGuid. + */ + java.lang.String getClothShoesItemGuid(); + /** + * string cloth_shoes_itemGuid = 5; + * @return The bytes for clothShoesItemGuid. + */ + com.google.protobuf.ByteString + getClothShoesItemGuidBytes(); + + /** + * string cloth_outer_itemGuid = 6; + * @return The clothOuterItemGuid. + */ + java.lang.String getClothOuterItemGuid(); + /** + * string cloth_outer_itemGuid = 6; + * @return The bytes for clothOuterItemGuid. + */ + com.google.protobuf.ByteString + getClothOuterItemGuidBytes(); + + /** + * string cloth_tops_itemGuid = 7; + * @return The clothTopsItemGuid. + */ + java.lang.String getClothTopsItemGuid(); + /** + * string cloth_tops_itemGuid = 7; + * @return The bytes for clothTopsItemGuid. + */ + com.google.protobuf.ByteString + getClothTopsItemGuidBytes(); + + /** + * string cloth_bottoms_itemGuid = 8; + * @return The clothBottomsItemGuid. + */ + java.lang.String getClothBottomsItemGuid(); + /** + * string cloth_bottoms_itemGuid = 8; + * @return The bytes for clothBottomsItemGuid. + */ + com.google.protobuf.ByteString + getClothBottomsItemGuidBytes(); + + /** + * string cloth_gloves_itemGuid = 9; + * @return The clothGlovesItemGuid. + */ + java.lang.String getClothGlovesItemGuid(); + /** + * string cloth_gloves_itemGuid = 9; + * @return The bytes for clothGlovesItemGuid. + */ + com.google.protobuf.ByteString + getClothGlovesItemGuidBytes(); + + /** + * string cloth_earrings_itemGuid = 10; + * @return The clothEarringsItemGuid. + */ + java.lang.String getClothEarringsItemGuid(); + /** + * string cloth_earrings_itemGuid = 10; + * @return The bytes for clothEarringsItemGuid. + */ + com.google.protobuf.ByteString + getClothEarringsItemGuidBytes(); + + /** + * string cloth_neckless_itemGuid = 11; + * @return The clothNecklessItemGuid. + */ + java.lang.String getClothNecklessItemGuid(); + /** + * string cloth_neckless_itemGuid = 11; + * @return The bytes for clothNecklessItemGuid. + */ + com.google.protobuf.ByteString + getClothNecklessItemGuidBytes(); + + /** + * string cloth_socks_itemGuid = 12; + * @return The clothSocksItemGuid. + */ + java.lang.String getClothSocksItemGuid(); + /** + * string cloth_socks_itemGuid = 12; + * @return The bytes for clothSocksItemGuid. + */ + com.google.protobuf.ByteString + getClothSocksItemGuidBytes(); + + /** + * uint32 cloth_avatar = 13; + * @return The clothAvatar. + */ + int getClothAvatar(); + + /** + * uint32 cloth_headwear = 14; + * @return The clothHeadwear. + */ + int getClothHeadwear(); + + /** + * uint32 cloth_mask = 15; + * @return The clothMask. + */ + int getClothMask(); + + /** + * uint32 cloth_bag = 16; + * @return The clothBag. + */ + int getClothBag(); + + /** + * uint32 cloth_shoes = 17; + * @return The clothShoes. + */ + int getClothShoes(); + + /** + * uint32 cloth_outer = 18; + * @return The clothOuter. + */ + int getClothOuter(); + + /** + * uint32 cloth_tops = 19; + * @return The clothTops. + */ + int getClothTops(); + + /** + * uint32 cloth_bottoms = 20; + * @return The clothBottoms. + */ + int getClothBottoms(); + + /** + * uint32 cloth_gloves = 21; + * @return The clothGloves. + */ + int getClothGloves(); + + /** + * uint32 cloth_earrings = 22; + * @return The clothEarrings. + */ + int getClothEarrings(); + + /** + * uint32 cloth_neckless = 23; + * @return The clothNeckless. + */ + int getClothNeckless(); + + /** + * uint32 cloth_socks = 24; + * @return The clothSocks. + */ + int getClothSocks(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Color.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Color.java new file mode 100644 index 0000000..481a2f9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Color.java @@ -0,0 +1,680 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code Color} + */ +public final class Color extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Color) + ColorOrBuilder { +private static final long serialVersionUID = 0L; + // Use Color.newBuilder() to construct. + private Color(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Color() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Color(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Color_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Color_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Color.class, com.caliverse.admin.domain.RabbitMq.message.Color.Builder.class); + } + + public static final int R_FIELD_NUMBER = 1; + private float r_ = 0F; + /** + * float r = 1; + * @return The r. + */ + @java.lang.Override + public float getR() { + return r_; + } + + public static final int G_FIELD_NUMBER = 2; + private float g_ = 0F; + /** + * float g = 2; + * @return The g. + */ + @java.lang.Override + public float getG() { + return g_; + } + + public static final int B_FIELD_NUMBER = 3; + private float b_ = 0F; + /** + * float b = 3; + * @return The b. + */ + @java.lang.Override + public float getB() { + return b_; + } + + public static final int A_FIELD_NUMBER = 4; + private float a_ = 0F; + /** + * float a = 4; + * @return The a. + */ + @java.lang.Override + public float getA() { + return a_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (java.lang.Float.floatToRawIntBits(r_) != 0) { + output.writeFloat(1, r_); + } + if (java.lang.Float.floatToRawIntBits(g_) != 0) { + output.writeFloat(2, g_); + } + if (java.lang.Float.floatToRawIntBits(b_) != 0) { + output.writeFloat(3, b_); + } + if (java.lang.Float.floatToRawIntBits(a_) != 0) { + output.writeFloat(4, a_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (java.lang.Float.floatToRawIntBits(r_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, r_); + } + if (java.lang.Float.floatToRawIntBits(g_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, g_); + } + if (java.lang.Float.floatToRawIntBits(b_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, b_); + } + if (java.lang.Float.floatToRawIntBits(a_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, a_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.Color)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.Color other = (com.caliverse.admin.domain.RabbitMq.message.Color) obj; + + if (java.lang.Float.floatToIntBits(getR()) + != java.lang.Float.floatToIntBits( + other.getR())) return false; + if (java.lang.Float.floatToIntBits(getG()) + != java.lang.Float.floatToIntBits( + other.getG())) return false; + if (java.lang.Float.floatToIntBits(getB()) + != java.lang.Float.floatToIntBits( + other.getB())) return false; + if (java.lang.Float.floatToIntBits(getA()) + != java.lang.Float.floatToIntBits( + other.getA())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + R_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getR()); + hash = (37 * hash) + G_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getG()); + hash = (37 * hash) + B_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getB()); + hash = (37 * hash) + A_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getA()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Color parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Color parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.Color prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code Color} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:Color) + com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Color_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Color_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Color.class, com.caliverse.admin.domain.RabbitMq.message.Color.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.Color.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + r_ = 0F; + g_ = 0F; + b_ = 0F; + a_ = 0F; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Color_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Color getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Color build() { + com.caliverse.admin.domain.RabbitMq.message.Color result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Color buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.Color result = new com.caliverse.admin.domain.RabbitMq.message.Color(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.Color result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.r_ = r_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.g_ = g_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.b_ = b_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.a_ = a_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.Color) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.Color)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.Color other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance()) return this; + if (other.getR() != 0F) { + setR(other.getR()); + } + if (other.getG() != 0F) { + setG(other.getG()); + } + if (other.getB() != 0F) { + setB(other.getB()); + } + if (other.getA() != 0F) { + setA(other.getA()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 13: { + r_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 21: { + g_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + case 29: { + b_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 29 + case 37: { + a_ = input.readFloat(); + bitField0_ |= 0x00000008; + break; + } // case 37 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private float r_ ; + /** + * float r = 1; + * @return The r. + */ + @java.lang.Override + public float getR() { + return r_; + } + /** + * float r = 1; + * @param value The r to set. + * @return This builder for chaining. + */ + public Builder setR(float value) { + + r_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * float r = 1; + * @return This builder for chaining. + */ + public Builder clearR() { + bitField0_ = (bitField0_ & ~0x00000001); + r_ = 0F; + onChanged(); + return this; + } + + private float g_ ; + /** + * float g = 2; + * @return The g. + */ + @java.lang.Override + public float getG() { + return g_; + } + /** + * float g = 2; + * @param value The g to set. + * @return This builder for chaining. + */ + public Builder setG(float value) { + + g_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * float g = 2; + * @return This builder for chaining. + */ + public Builder clearG() { + bitField0_ = (bitField0_ & ~0x00000002); + g_ = 0F; + onChanged(); + return this; + } + + private float b_ ; + /** + * float b = 3; + * @return The b. + */ + @java.lang.Override + public float getB() { + return b_; + } + /** + * float b = 3; + * @param value The b to set. + * @return This builder for chaining. + */ + public Builder setB(float value) { + + b_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * float b = 3; + * @return This builder for chaining. + */ + public Builder clearB() { + bitField0_ = (bitField0_ & ~0x00000004); + b_ = 0F; + onChanged(); + return this; + } + + private float a_ ; + /** + * float a = 4; + * @return The a. + */ + @java.lang.Override + public float getA() { + return a_; + } + /** + * float a = 4; + * @param value The a to set. + * @return This builder for chaining. + */ + public Builder setA(float value) { + + a_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * float a = 4; + * @return This builder for chaining. + */ + public Builder clearA() { + bitField0_ = (bitField0_ & ~0x00000008); + a_ = 0F; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Color) + } + + // @@protoc_insertion_point(class_scope:Color) + private static final com.caliverse.admin.domain.RabbitMq.message.Color DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.Color(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.Color getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Color parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Color getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ColorOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ColorOrBuilder.java new file mode 100644 index 0000000..b3433e8 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ColorOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ColorOrBuilder extends + // @@protoc_insertion_point(interface_extends:Color) + com.google.protobuf.MessageOrBuilder { + + /** + * float r = 1; + * @return The r. + */ + float getR(); + + /** + * float g = 2; + * @return The g. + */ + float getG(); + + /** + * float b = 3; + * @return The b. + */ + float getB(); + + /** + * float a = 4; + * @return The a. + */ + float getA(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CommonResult.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CommonResult.java new file mode 100644 index 0000000..dda294c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CommonResult.java @@ -0,0 +1,862 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ֿ    : Ŷ
+ * 
+ * + * Protobuf type {@code CommonResult} + */ +public final class CommonResult extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:CommonResult) + CommonResultOrBuilder { +private static final long serialVersionUID = 0L; + // Use CommonResult.newBuilder() to construct. + private CommonResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CommonResult() { + entityCommonResults_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CommonResult(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CommonResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CommonResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.CommonResult.class, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder.class); + } + + public static final int ENTITYCOMMONRESULTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List entityCommonResults_; + /** + *
+   * ں EntityCommonResult  
+   * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + @java.lang.Override + public java.util.List getEntityCommonResultsList() { + return entityCommonResults_; + } + /** + *
+   * ں EntityCommonResult  
+   * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + @java.lang.Override + public java.util.List + getEntityCommonResultsOrBuilderList() { + return entityCommonResults_; + } + /** + *
+   * ں EntityCommonResult  
+   * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + @java.lang.Override + public int getEntityCommonResultsCount() { + return entityCommonResults_.size(); + } + /** + *
+   * ں EntityCommonResult  
+   * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult getEntityCommonResults(int index) { + return entityCommonResults_.get(index); + } + /** + *
+   * ں EntityCommonResult  
+   * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder getEntityCommonResultsOrBuilder( + int index) { + return entityCommonResults_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < entityCommonResults_.size(); i++) { + output.writeMessage(1, entityCommonResults_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < entityCommonResults_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entityCommonResults_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.CommonResult)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.CommonResult other = (com.caliverse.admin.domain.RabbitMq.message.CommonResult) obj; + + if (!getEntityCommonResultsList() + .equals(other.getEntityCommonResultsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getEntityCommonResultsCount() > 0) { + hash = (37 * hash) + ENTITYCOMMONRESULTS_FIELD_NUMBER; + hash = (53 * hash) + getEntityCommonResultsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.CommonResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * ֿ    : Ŷ
+   * 
+ * + * Protobuf type {@code CommonResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:CommonResult) + com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CommonResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CommonResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.CommonResult.class, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.CommonResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (entityCommonResultsBuilder_ == null) { + entityCommonResults_ = java.util.Collections.emptyList(); + } else { + entityCommonResults_ = null; + entityCommonResultsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CommonResult_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CommonResult getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CommonResult build() { + com.caliverse.admin.domain.RabbitMq.message.CommonResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CommonResult buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.CommonResult result = new com.caliverse.admin.domain.RabbitMq.message.CommonResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.CommonResult result) { + if (entityCommonResultsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + entityCommonResults_ = java.util.Collections.unmodifiableList(entityCommonResults_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.entityCommonResults_ = entityCommonResults_; + } else { + result.entityCommonResults_ = entityCommonResultsBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.CommonResult result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.CommonResult) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.CommonResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.CommonResult other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance()) return this; + if (entityCommonResultsBuilder_ == null) { + if (!other.entityCommonResults_.isEmpty()) { + if (entityCommonResults_.isEmpty()) { + entityCommonResults_ = other.entityCommonResults_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureEntityCommonResultsIsMutable(); + entityCommonResults_.addAll(other.entityCommonResults_); + } + onChanged(); + } + } else { + if (!other.entityCommonResults_.isEmpty()) { + if (entityCommonResultsBuilder_.isEmpty()) { + entityCommonResultsBuilder_.dispose(); + entityCommonResultsBuilder_ = null; + entityCommonResults_ = other.entityCommonResults_; + bitField0_ = (bitField0_ & ~0x00000001); + entityCommonResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntityCommonResultsFieldBuilder() : null; + } else { + entityCommonResultsBuilder_.addAllMessages(other.entityCommonResults_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.parser(), + extensionRegistry); + if (entityCommonResultsBuilder_ == null) { + ensureEntityCommonResultsIsMutable(); + entityCommonResults_.add(m); + } else { + entityCommonResultsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List entityCommonResults_ = + java.util.Collections.emptyList(); + private void ensureEntityCommonResultsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + entityCommonResults_ = new java.util.ArrayList(entityCommonResults_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder> entityCommonResultsBuilder_; + + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public java.util.List getEntityCommonResultsList() { + if (entityCommonResultsBuilder_ == null) { + return java.util.Collections.unmodifiableList(entityCommonResults_); + } else { + return entityCommonResultsBuilder_.getMessageList(); + } + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public int getEntityCommonResultsCount() { + if (entityCommonResultsBuilder_ == null) { + return entityCommonResults_.size(); + } else { + return entityCommonResultsBuilder_.getCount(); + } + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult getEntityCommonResults(int index) { + if (entityCommonResultsBuilder_ == null) { + return entityCommonResults_.get(index); + } else { + return entityCommonResultsBuilder_.getMessage(index); + } + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public Builder setEntityCommonResults( + int index, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult value) { + if (entityCommonResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntityCommonResultsIsMutable(); + entityCommonResults_.set(index, value); + onChanged(); + } else { + entityCommonResultsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public Builder setEntityCommonResults( + int index, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder builderForValue) { + if (entityCommonResultsBuilder_ == null) { + ensureEntityCommonResultsIsMutable(); + entityCommonResults_.set(index, builderForValue.build()); + onChanged(); + } else { + entityCommonResultsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public Builder addEntityCommonResults(com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult value) { + if (entityCommonResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntityCommonResultsIsMutable(); + entityCommonResults_.add(value); + onChanged(); + } else { + entityCommonResultsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public Builder addEntityCommonResults( + int index, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult value) { + if (entityCommonResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEntityCommonResultsIsMutable(); + entityCommonResults_.add(index, value); + onChanged(); + } else { + entityCommonResultsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public Builder addEntityCommonResults( + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder builderForValue) { + if (entityCommonResultsBuilder_ == null) { + ensureEntityCommonResultsIsMutable(); + entityCommonResults_.add(builderForValue.build()); + onChanged(); + } else { + entityCommonResultsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public Builder addEntityCommonResults( + int index, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder builderForValue) { + if (entityCommonResultsBuilder_ == null) { + ensureEntityCommonResultsIsMutable(); + entityCommonResults_.add(index, builderForValue.build()); + onChanged(); + } else { + entityCommonResultsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public Builder addAllEntityCommonResults( + java.lang.Iterable values) { + if (entityCommonResultsBuilder_ == null) { + ensureEntityCommonResultsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entityCommonResults_); + onChanged(); + } else { + entityCommonResultsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public Builder clearEntityCommonResults() { + if (entityCommonResultsBuilder_ == null) { + entityCommonResults_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + entityCommonResultsBuilder_.clear(); + } + return this; + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public Builder removeEntityCommonResults(int index) { + if (entityCommonResultsBuilder_ == null) { + ensureEntityCommonResultsIsMutable(); + entityCommonResults_.remove(index); + onChanged(); + } else { + entityCommonResultsBuilder_.remove(index); + } + return this; + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder getEntityCommonResultsBuilder( + int index) { + return getEntityCommonResultsFieldBuilder().getBuilder(index); + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder getEntityCommonResultsOrBuilder( + int index) { + if (entityCommonResultsBuilder_ == null) { + return entityCommonResults_.get(index); } else { + return entityCommonResultsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public java.util.List + getEntityCommonResultsOrBuilderList() { + if (entityCommonResultsBuilder_ != null) { + return entityCommonResultsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(entityCommonResults_); + } + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder addEntityCommonResultsBuilder() { + return getEntityCommonResultsFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.getDefaultInstance()); + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder addEntityCommonResultsBuilder( + int index) { + return getEntityCommonResultsFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.getDefaultInstance()); + } + /** + *
+     * ں EntityCommonResult  
+     * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + public java.util.List + getEntityCommonResultsBuilderList() { + return getEntityCommonResultsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder> + getEntityCommonResultsFieldBuilder() { + if (entityCommonResultsBuilder_ == null) { + entityCommonResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder>( + entityCommonResults_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + entityCommonResults_ = null; + } + return entityCommonResultsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:CommonResult) + } + + // @@protoc_insertion_point(class_scope:CommonResult) + private static final com.caliverse.admin.domain.RabbitMq.message.CommonResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.CommonResult(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.CommonResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommonResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CommonResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CommonResultOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CommonResultOrBuilder.java new file mode 100644 index 0000000..2ef55e7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CommonResultOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface CommonResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:CommonResult) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * ں EntityCommonResult  
+   * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + java.util.List + getEntityCommonResultsList(); + /** + *
+   * ں EntityCommonResult  
+   * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult getEntityCommonResults(int index); + /** + *
+   * ں EntityCommonResult  
+   * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + int getEntityCommonResultsCount(); + /** + *
+   * ں EntityCommonResult  
+   * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + java.util.List + getEntityCommonResultsOrBuilderList(); + /** + *
+   * ں EntityCommonResult  
+   * 
+ * + * repeated .EntityCommonResult entityCommonResults = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder getEntityCommonResultsOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ContentsType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ContentsType.java new file mode 100644 index 0000000..ce533b3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ContentsType.java @@ -0,0 +1,224 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  
+ * 
+ * + * Protobuf enum {@code ContentsType} + */ +public enum ContentsType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ContentsType_None = 0; + */ + ContentsType_None(0), + /** + * ContentsType_MyHome = 1; + */ + ContentsType_MyHome(1), + /** + * ContentsType_DressRoom = 2; + */ + ContentsType_DressRoom(2), + /** + * ContentsType_Concert = 3; + */ + ContentsType_Concert(3), + /** + * ContentsType_Movie = 4; + */ + ContentsType_Movie(4), + /** + *
+   *   ³?? 
+   * 
+ * + * ContentsType_Instance = 5; + */ + ContentsType_Instance(5), + /** + * ContentsType_Meeting = 6; + */ + ContentsType_Meeting(6), + /** + * ContentsType_BeaconCreateRoom = 7; + */ + ContentsType_BeaconCreateRoom(7), + /** + * ContentsType_BeaconEditRoom = 8; + */ + ContentsType_BeaconEditRoom(8), + /** + * ContentsType_BeaconDraftRoom = 9; + */ + ContentsType_BeaconDraftRoom(9), + /** + * ContentsType_EditRoom = 10; + */ + ContentsType_EditRoom(10), + /** + * ContentsType_BeaconCustomizeRoom = 11; + */ + ContentsType_BeaconCustomizeRoom(11), + /** + * ContentsType_BattleRoom = 12; + */ + ContentsType_BattleRoom(12), + UNRECOGNIZED(-1), + ; + + /** + * ContentsType_None = 0; + */ + public static final int ContentsType_None_VALUE = 0; + /** + * ContentsType_MyHome = 1; + */ + public static final int ContentsType_MyHome_VALUE = 1; + /** + * ContentsType_DressRoom = 2; + */ + public static final int ContentsType_DressRoom_VALUE = 2; + /** + * ContentsType_Concert = 3; + */ + public static final int ContentsType_Concert_VALUE = 3; + /** + * ContentsType_Movie = 4; + */ + public static final int ContentsType_Movie_VALUE = 4; + /** + *
+   *   ³?? 
+   * 
+ * + * ContentsType_Instance = 5; + */ + public static final int ContentsType_Instance_VALUE = 5; + /** + * ContentsType_Meeting = 6; + */ + public static final int ContentsType_Meeting_VALUE = 6; + /** + * ContentsType_BeaconCreateRoom = 7; + */ + public static final int ContentsType_BeaconCreateRoom_VALUE = 7; + /** + * ContentsType_BeaconEditRoom = 8; + */ + public static final int ContentsType_BeaconEditRoom_VALUE = 8; + /** + * ContentsType_BeaconDraftRoom = 9; + */ + public static final int ContentsType_BeaconDraftRoom_VALUE = 9; + /** + * ContentsType_EditRoom = 10; + */ + public static final int ContentsType_EditRoom_VALUE = 10; + /** + * ContentsType_BeaconCustomizeRoom = 11; + */ + public static final int ContentsType_BeaconCustomizeRoom_VALUE = 11; + /** + * ContentsType_BattleRoom = 12; + */ + public static final int ContentsType_BattleRoom_VALUE = 12; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ContentsType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ContentsType forNumber(int value) { + switch (value) { + case 0: return ContentsType_None; + case 1: return ContentsType_MyHome; + case 2: return ContentsType_DressRoom; + case 3: return ContentsType_Concert; + case 4: return ContentsType_Movie; + case 5: return ContentsType_Instance; + case 6: return ContentsType_Meeting; + case 7: return ContentsType_BeaconCreateRoom; + case 8: return ContentsType_BeaconEditRoom; + case 9: return ContentsType_BeaconDraftRoom; + case 10: return ContentsType_EditRoom; + case 11: return ContentsType_BeaconCustomizeRoom; + case 12: return ContentsType_BattleRoom; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ContentsType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContentsType findValueByNumber(int number) { + return ContentsType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(11); + } + + private static final ContentsType[] VALUES = values(); + + public static ContentsType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ContentsType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ContentsType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Coordinate.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Coordinate.java new file mode 100644 index 0000000..0af3adf --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Coordinate.java @@ -0,0 +1,612 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code Coordinate} + */ +public final class Coordinate extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Coordinate) + CoordinateOrBuilder { +private static final long serialVersionUID = 0L; + // Use Coordinate.newBuilder() to construct. + private Coordinate(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Coordinate() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Coordinate(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Coordinate_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Coordinate_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Coordinate.class, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder.class); + } + + public static final int X_FIELD_NUMBER = 1; + private float x_ = 0F; + /** + * float x = 1; + * @return The x. + */ + @java.lang.Override + public float getX() { + return x_; + } + + public static final int Y_FIELD_NUMBER = 2; + private float y_ = 0F; + /** + * float y = 2; + * @return The y. + */ + @java.lang.Override + public float getY() { + return y_; + } + + public static final int Z_FIELD_NUMBER = 3; + private float z_ = 0F; + /** + * float z = 3; + * @return The z. + */ + @java.lang.Override + public float getZ() { + return z_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (java.lang.Float.floatToRawIntBits(x_) != 0) { + output.writeFloat(1, x_); + } + if (java.lang.Float.floatToRawIntBits(y_) != 0) { + output.writeFloat(2, y_); + } + if (java.lang.Float.floatToRawIntBits(z_) != 0) { + output.writeFloat(3, z_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (java.lang.Float.floatToRawIntBits(x_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, x_); + } + if (java.lang.Float.floatToRawIntBits(y_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, y_); + } + if (java.lang.Float.floatToRawIntBits(z_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, z_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.Coordinate)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.Coordinate other = (com.caliverse.admin.domain.RabbitMq.message.Coordinate) obj; + + if (java.lang.Float.floatToIntBits(getX()) + != java.lang.Float.floatToIntBits( + other.getX())) return false; + if (java.lang.Float.floatToIntBits(getY()) + != java.lang.Float.floatToIntBits( + other.getY())) return false; + if (java.lang.Float.floatToIntBits(getZ()) + != java.lang.Float.floatToIntBits( + other.getZ())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + X_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getX()); + hash = (37 * hash) + Y_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getY()); + hash = (37 * hash) + Z_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getZ()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.Coordinate prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code Coordinate} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:Coordinate) + com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Coordinate_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Coordinate_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Coordinate.class, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.Coordinate.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + x_ = 0F; + y_ = 0F; + z_ = 0F; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Coordinate_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Coordinate getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Coordinate build() { + com.caliverse.admin.domain.RabbitMq.message.Coordinate result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Coordinate buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.Coordinate result = new com.caliverse.admin.domain.RabbitMq.message.Coordinate(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.Coordinate result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.x_ = x_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.y_ = y_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.z_ = z_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.Coordinate) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.Coordinate)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.Coordinate other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance()) return this; + if (other.getX() != 0F) { + setX(other.getX()); + } + if (other.getY() != 0F) { + setY(other.getY()); + } + if (other.getZ() != 0F) { + setZ(other.getZ()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 13: { + x_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 21: { + y_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + case 29: { + z_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 29 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private float x_ ; + /** + * float x = 1; + * @return The x. + */ + @java.lang.Override + public float getX() { + return x_; + } + /** + * float x = 1; + * @param value The x to set. + * @return This builder for chaining. + */ + public Builder setX(float value) { + + x_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * float x = 1; + * @return This builder for chaining. + */ + public Builder clearX() { + bitField0_ = (bitField0_ & ~0x00000001); + x_ = 0F; + onChanged(); + return this; + } + + private float y_ ; + /** + * float y = 2; + * @return The y. + */ + @java.lang.Override + public float getY() { + return y_; + } + /** + * float y = 2; + * @param value The y to set. + * @return This builder for chaining. + */ + public Builder setY(float value) { + + y_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * float y = 2; + * @return This builder for chaining. + */ + public Builder clearY() { + bitField0_ = (bitField0_ & ~0x00000002); + y_ = 0F; + onChanged(); + return this; + } + + private float z_ ; + /** + * float z = 3; + * @return The z. + */ + @java.lang.Override + public float getZ() { + return z_; + } + /** + * float z = 3; + * @param value The z to set. + * @return This builder for chaining. + */ + public Builder setZ(float value) { + + z_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * float z = 3; + * @return This builder for chaining. + */ + public Builder clearZ() { + bitField0_ = (bitField0_ & ~0x00000004); + z_ = 0F; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Coordinate) + } + + // @@protoc_insertion_point(class_scope:Coordinate) + private static final com.caliverse.admin.domain.RabbitMq.message.Coordinate DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.Coordinate(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.Coordinate getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Coordinate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Coordinate getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CoordinateOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CoordinateOrBuilder.java new file mode 100644 index 0000000..8dca65a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CoordinateOrBuilder.java @@ -0,0 +1,27 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface CoordinateOrBuilder extends + // @@protoc_insertion_point(interface_extends:Coordinate) + com.google.protobuf.MessageOrBuilder { + + /** + * float x = 1; + * @return The x. + */ + float getX(); + + /** + * float y = 2; + * @return The y. + */ + float getY(); + + /** + * float z = 3; + * @return The z. + */ + float getZ(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CountDeltaType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CountDeltaType.java new file mode 100644 index 0000000..816eaac --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CountDeltaType.java @@ -0,0 +1,193 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  ȭ  :  ȭ
+ * 
+ * + * Protobuf enum {@code CountDeltaType} + */ +public enum CountDeltaType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * CountDeltaType_None = 0; + */ + CountDeltaType_None(0), + /** + *
+   * ű
+   * 
+ * + * CountDeltaType_New = 1; + */ + CountDeltaType_New(1), + /** + *
+   * 
+   * 
+ * + * CountDeltaType_Update = 2; + */ + CountDeltaType_Update(2), + /** + *
+   * 
+   * 
+ * + * CountDeltaType_Acquire = 3; + */ + CountDeltaType_Acquire(3), + /** + *
+   * 
+   * 
+ * + * CountDeltaType_Consume = 4; + */ + CountDeltaType_Consume(4), + /** + *
+   * 
+   * 
+ * + * CountDeltaType_Delete = 5; + */ + CountDeltaType_Delete(5), + UNRECOGNIZED(-1), + ; + + /** + * CountDeltaType_None = 0; + */ + public static final int CountDeltaType_None_VALUE = 0; + /** + *
+   * ű
+   * 
+ * + * CountDeltaType_New = 1; + */ + public static final int CountDeltaType_New_VALUE = 1; + /** + *
+   * 
+   * 
+ * + * CountDeltaType_Update = 2; + */ + public static final int CountDeltaType_Update_VALUE = 2; + /** + *
+   * 
+   * 
+ * + * CountDeltaType_Acquire = 3; + */ + public static final int CountDeltaType_Acquire_VALUE = 3; + /** + *
+   * 
+   * 
+ * + * CountDeltaType_Consume = 4; + */ + public static final int CountDeltaType_Consume_VALUE = 4; + /** + *
+   * 
+   * 
+ * + * CountDeltaType_Delete = 5; + */ + public static final int CountDeltaType_Delete_VALUE = 5; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static CountDeltaType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static CountDeltaType forNumber(int value) { + switch (value) { + case 0: return CountDeltaType_None; + case 1: return CountDeltaType_New; + case 2: return CountDeltaType_Update; + case 3: return CountDeltaType_Acquire; + case 4: return CountDeltaType_Consume; + case 5: return CountDeltaType_Delete; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + CountDeltaType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CountDeltaType findValueByNumber(int number) { + return CountDeltaType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(23); + } + + private static final CountDeltaType[] VALUES = values(); + + public static CountDeltaType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private CountDeltaType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:CountDeltaType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CraftInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CraftInfo.java new file mode 100644 index 0000000..1a49c2a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CraftInfo.java @@ -0,0 +1,1108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code CraftInfo} + */ +public final class CraftInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:CraftInfo) + CraftInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use CraftInfo.newBuilder() to construct. + private CraftInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CraftInfo() { + anchorGuid_ = ""; + beaconGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CraftInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CraftInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CraftInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.CraftInfo.class, com.caliverse.admin.domain.RabbitMq.message.CraftInfo.Builder.class); + } + + public static final int ANCHOR_GUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object anchorGuid_ = ""; + /** + * string anchor_guid = 1; + * @return The anchorGuid. + */ + @java.lang.Override + public java.lang.String getAnchorGuid() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorGuid_ = s; + return s; + } + } + /** + * string anchor_guid = 1; + * @return The bytes for anchorGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAnchorGuidBytes() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CRAFTMETAID_FIELD_NUMBER = 2; + private int craftMetaId_ = 0; + /** + * int32 craftMetaId = 2; + * @return The craftMetaId. + */ + @java.lang.Override + public int getCraftMetaId() { + return craftMetaId_; + } + + public static final int CRAFTSTARTTIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp craftStartTime_; + /** + * .google.protobuf.Timestamp craftStartTime = 3; + * @return Whether the craftStartTime field is set. + */ + @java.lang.Override + public boolean hasCraftStartTime() { + return craftStartTime_ != null; + } + /** + * .google.protobuf.Timestamp craftStartTime = 3; + * @return The craftStartTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCraftStartTime() { + return craftStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftStartTime_; + } + /** + * .google.protobuf.Timestamp craftStartTime = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCraftStartTimeOrBuilder() { + return craftStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftStartTime_; + } + + public static final int CRAFTFINISHTIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp craftFinishTime_; + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + * @return Whether the craftFinishTime field is set. + */ + @java.lang.Override + public boolean hasCraftFinishTime() { + return craftFinishTime_ != null; + } + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + * @return The craftFinishTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCraftFinishTime() { + return craftFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftFinishTime_; + } + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCraftFinishTimeOrBuilder() { + return craftFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftFinishTime_; + } + + public static final int BEACONGUID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object beaconGuid_ = ""; + /** + * string beaconGuid = 5; + * @return The beaconGuid. + */ + @java.lang.Override + public java.lang.String getBeaconGuid() { + java.lang.Object ref = beaconGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + beaconGuid_ = s; + return s; + } + } + /** + * string beaconGuid = 5; + * @return The bytes for beaconGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBeaconGuidBytes() { + java.lang.Object ref = beaconGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + beaconGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, anchorGuid_); + } + if (craftMetaId_ != 0) { + output.writeInt32(2, craftMetaId_); + } + if (craftStartTime_ != null) { + output.writeMessage(3, getCraftStartTime()); + } + if (craftFinishTime_ != null) { + output.writeMessage(4, getCraftFinishTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(beaconGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, beaconGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, anchorGuid_); + } + if (craftMetaId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, craftMetaId_); + } + if (craftStartTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCraftStartTime()); + } + if (craftFinishTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCraftFinishTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(beaconGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, beaconGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.CraftInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.CraftInfo other = (com.caliverse.admin.domain.RabbitMq.message.CraftInfo) obj; + + if (!getAnchorGuid() + .equals(other.getAnchorGuid())) return false; + if (getCraftMetaId() + != other.getCraftMetaId()) return false; + if (hasCraftStartTime() != other.hasCraftStartTime()) return false; + if (hasCraftStartTime()) { + if (!getCraftStartTime() + .equals(other.getCraftStartTime())) return false; + } + if (hasCraftFinishTime() != other.hasCraftFinishTime()) return false; + if (hasCraftFinishTime()) { + if (!getCraftFinishTime() + .equals(other.getCraftFinishTime())) return false; + } + if (!getBeaconGuid() + .equals(other.getBeaconGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ANCHOR_GUID_FIELD_NUMBER; + hash = (53 * hash) + getAnchorGuid().hashCode(); + hash = (37 * hash) + CRAFTMETAID_FIELD_NUMBER; + hash = (53 * hash) + getCraftMetaId(); + if (hasCraftStartTime()) { + hash = (37 * hash) + CRAFTSTARTTIME_FIELD_NUMBER; + hash = (53 * hash) + getCraftStartTime().hashCode(); + } + if (hasCraftFinishTime()) { + hash = (37 * hash) + CRAFTFINISHTIME_FIELD_NUMBER; + hash = (53 * hash) + getCraftFinishTime().hashCode(); + } + hash = (37 * hash) + BEACONGUID_FIELD_NUMBER; + hash = (53 * hash) + getBeaconGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.CraftInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code CraftInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:CraftInfo) + com.caliverse.admin.domain.RabbitMq.message.CraftInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CraftInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CraftInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.CraftInfo.class, com.caliverse.admin.domain.RabbitMq.message.CraftInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.CraftInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + anchorGuid_ = ""; + craftMetaId_ = 0; + craftStartTime_ = null; + if (craftStartTimeBuilder_ != null) { + craftStartTimeBuilder_.dispose(); + craftStartTimeBuilder_ = null; + } + craftFinishTime_ = null; + if (craftFinishTimeBuilder_ != null) { + craftFinishTimeBuilder_.dispose(); + craftFinishTimeBuilder_ = null; + } + beaconGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CraftInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CraftInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.CraftInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CraftInfo build() { + com.caliverse.admin.domain.RabbitMq.message.CraftInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CraftInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.CraftInfo result = new com.caliverse.admin.domain.RabbitMq.message.CraftInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.CraftInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.anchorGuid_ = anchorGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.craftMetaId_ = craftMetaId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.craftStartTime_ = craftStartTimeBuilder_ == null + ? craftStartTime_ + : craftStartTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.craftFinishTime_ = craftFinishTimeBuilder_ == null + ? craftFinishTime_ + : craftFinishTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.beaconGuid_ = beaconGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.CraftInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.CraftInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.CraftInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.CraftInfo.getDefaultInstance()) return this; + if (!other.getAnchorGuid().isEmpty()) { + anchorGuid_ = other.anchorGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getCraftMetaId() != 0) { + setCraftMetaId(other.getCraftMetaId()); + } + if (other.hasCraftStartTime()) { + mergeCraftStartTime(other.getCraftStartTime()); + } + if (other.hasCraftFinishTime()) { + mergeCraftFinishTime(other.getCraftFinishTime()); + } + if (!other.getBeaconGuid().isEmpty()) { + beaconGuid_ = other.beaconGuid_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + anchorGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + craftMetaId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getCraftStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getCraftFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + beaconGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object anchorGuid_ = ""; + /** + * string anchor_guid = 1; + * @return The anchorGuid. + */ + public java.lang.String getAnchorGuid() { + java.lang.Object ref = anchorGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string anchor_guid = 1; + * @return The bytes for anchorGuid. + */ + public com.google.protobuf.ByteString + getAnchorGuidBytes() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string anchor_guid = 1; + * @param value The anchorGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + anchorGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string anchor_guid = 1; + * @return This builder for chaining. + */ + public Builder clearAnchorGuid() { + anchorGuid_ = getDefaultInstance().getAnchorGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string anchor_guid = 1; + * @param value The bytes for anchorGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + anchorGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int craftMetaId_ ; + /** + * int32 craftMetaId = 2; + * @return The craftMetaId. + */ + @java.lang.Override + public int getCraftMetaId() { + return craftMetaId_; + } + /** + * int32 craftMetaId = 2; + * @param value The craftMetaId to set. + * @return This builder for chaining. + */ + public Builder setCraftMetaId(int value) { + + craftMetaId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 craftMetaId = 2; + * @return This builder for chaining. + */ + public Builder clearCraftMetaId() { + bitField0_ = (bitField0_ & ~0x00000002); + craftMetaId_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp craftStartTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> craftStartTimeBuilder_; + /** + * .google.protobuf.Timestamp craftStartTime = 3; + * @return Whether the craftStartTime field is set. + */ + public boolean hasCraftStartTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .google.protobuf.Timestamp craftStartTime = 3; + * @return The craftStartTime. + */ + public com.google.protobuf.Timestamp getCraftStartTime() { + if (craftStartTimeBuilder_ == null) { + return craftStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftStartTime_; + } else { + return craftStartTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp craftStartTime = 3; + */ + public Builder setCraftStartTime(com.google.protobuf.Timestamp value) { + if (craftStartTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + craftStartTime_ = value; + } else { + craftStartTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp craftStartTime = 3; + */ + public Builder setCraftStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (craftStartTimeBuilder_ == null) { + craftStartTime_ = builderForValue.build(); + } else { + craftStartTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp craftStartTime = 3; + */ + public Builder mergeCraftStartTime(com.google.protobuf.Timestamp value) { + if (craftStartTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + craftStartTime_ != null && + craftStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCraftStartTimeBuilder().mergeFrom(value); + } else { + craftStartTime_ = value; + } + } else { + craftStartTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp craftStartTime = 3; + */ + public Builder clearCraftStartTime() { + bitField0_ = (bitField0_ & ~0x00000004); + craftStartTime_ = null; + if (craftStartTimeBuilder_ != null) { + craftStartTimeBuilder_.dispose(); + craftStartTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp craftStartTime = 3; + */ + public com.google.protobuf.Timestamp.Builder getCraftStartTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getCraftStartTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp craftStartTime = 3; + */ + public com.google.protobuf.TimestampOrBuilder getCraftStartTimeOrBuilder() { + if (craftStartTimeBuilder_ != null) { + return craftStartTimeBuilder_.getMessageOrBuilder(); + } else { + return craftStartTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : craftStartTime_; + } + } + /** + * .google.protobuf.Timestamp craftStartTime = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCraftStartTimeFieldBuilder() { + if (craftStartTimeBuilder_ == null) { + craftStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCraftStartTime(), + getParentForChildren(), + isClean()); + craftStartTime_ = null; + } + return craftStartTimeBuilder_; + } + + private com.google.protobuf.Timestamp craftFinishTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> craftFinishTimeBuilder_; + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + * @return Whether the craftFinishTime field is set. + */ + public boolean hasCraftFinishTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + * @return The craftFinishTime. + */ + public com.google.protobuf.Timestamp getCraftFinishTime() { + if (craftFinishTimeBuilder_ == null) { + return craftFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftFinishTime_; + } else { + return craftFinishTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + */ + public Builder setCraftFinishTime(com.google.protobuf.Timestamp value) { + if (craftFinishTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + craftFinishTime_ = value; + } else { + craftFinishTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + */ + public Builder setCraftFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (craftFinishTimeBuilder_ == null) { + craftFinishTime_ = builderForValue.build(); + } else { + craftFinishTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + */ + public Builder mergeCraftFinishTime(com.google.protobuf.Timestamp value) { + if (craftFinishTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + craftFinishTime_ != null && + craftFinishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCraftFinishTimeBuilder().mergeFrom(value); + } else { + craftFinishTime_ = value; + } + } else { + craftFinishTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + */ + public Builder clearCraftFinishTime() { + bitField0_ = (bitField0_ & ~0x00000008); + craftFinishTime_ = null; + if (craftFinishTimeBuilder_ != null) { + craftFinishTimeBuilder_.dispose(); + craftFinishTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + */ + public com.google.protobuf.Timestamp.Builder getCraftFinishTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getCraftFinishTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + */ + public com.google.protobuf.TimestampOrBuilder getCraftFinishTimeOrBuilder() { + if (craftFinishTimeBuilder_ != null) { + return craftFinishTimeBuilder_.getMessageOrBuilder(); + } else { + return craftFinishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : craftFinishTime_; + } + } + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCraftFinishTimeFieldBuilder() { + if (craftFinishTimeBuilder_ == null) { + craftFinishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCraftFinishTime(), + getParentForChildren(), + isClean()); + craftFinishTime_ = null; + } + return craftFinishTimeBuilder_; + } + + private java.lang.Object beaconGuid_ = ""; + /** + * string beaconGuid = 5; + * @return The beaconGuid. + */ + public java.lang.String getBeaconGuid() { + java.lang.Object ref = beaconGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + beaconGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string beaconGuid = 5; + * @return The bytes for beaconGuid. + */ + public com.google.protobuf.ByteString + getBeaconGuidBytes() { + java.lang.Object ref = beaconGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + beaconGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string beaconGuid = 5; + * @param value The beaconGuid to set. + * @return This builder for chaining. + */ + public Builder setBeaconGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + beaconGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string beaconGuid = 5; + * @return This builder for chaining. + */ + public Builder clearBeaconGuid() { + beaconGuid_ = getDefaultInstance().getBeaconGuid(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string beaconGuid = 5; + * @param value The bytes for beaconGuid to set. + * @return This builder for chaining. + */ + public Builder setBeaconGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + beaconGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:CraftInfo) + } + + // @@protoc_insertion_point(class_scope:CraftInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.CraftInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.CraftInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CraftInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CraftInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CraftInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CraftInfoOrBuilder.java new file mode 100644 index 0000000..af6a840 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CraftInfoOrBuilder.java @@ -0,0 +1,69 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface CraftInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:CraftInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string anchor_guid = 1; + * @return The anchorGuid. + */ + java.lang.String getAnchorGuid(); + /** + * string anchor_guid = 1; + * @return The bytes for anchorGuid. + */ + com.google.protobuf.ByteString + getAnchorGuidBytes(); + + /** + * int32 craftMetaId = 2; + * @return The craftMetaId. + */ + int getCraftMetaId(); + + /** + * .google.protobuf.Timestamp craftStartTime = 3; + * @return Whether the craftStartTime field is set. + */ + boolean hasCraftStartTime(); + /** + * .google.protobuf.Timestamp craftStartTime = 3; + * @return The craftStartTime. + */ + com.google.protobuf.Timestamp getCraftStartTime(); + /** + * .google.protobuf.Timestamp craftStartTime = 3; + */ + com.google.protobuf.TimestampOrBuilder getCraftStartTimeOrBuilder(); + + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + * @return Whether the craftFinishTime field is set. + */ + boolean hasCraftFinishTime(); + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + * @return The craftFinishTime. + */ + com.google.protobuf.Timestamp getCraftFinishTime(); + /** + * .google.protobuf.Timestamp craftFinishTime = 4; + */ + com.google.protobuf.TimestampOrBuilder getCraftFinishTimeOrBuilder(); + + /** + * string beaconGuid = 5; + * @return The beaconGuid. + */ + java.lang.String getBeaconGuid(); + /** + * string beaconGuid = 5; + * @return The bytes for beaconGuid. + */ + com.google.protobuf.ByteString + getBeaconGuidBytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CrafterBeaconPos.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CrafterBeaconPos.java new file mode 100644 index 0000000..d7b8c77 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CrafterBeaconPos.java @@ -0,0 +1,725 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code CrafterBeaconPos} + */ +public final class CrafterBeaconPos extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:CrafterBeaconPos) + CrafterBeaconPosOrBuilder { +private static final long serialVersionUID = 0L; + // Use CrafterBeaconPos.newBuilder() to construct. + private CrafterBeaconPos(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CrafterBeaconPos() { + anchorGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CrafterBeaconPos(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_CrafterBeaconPos_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_CrafterBeaconPos_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.class, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.Builder.class); + } + + public static final int ANCHORGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object anchorGuid_ = ""; + /** + * string anchorGuid = 1; + * @return The anchorGuid. + */ + @java.lang.Override + public java.lang.String getAnchorGuid() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorGuid_ = s; + return s; + } + } + /** + * string anchorGuid = 1; + * @return The bytes for anchorGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAnchorGuidBytes() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CRAFTERBEACONPOS_FIELD_NUMBER = 2; + private com.caliverse.admin.domain.RabbitMq.message.Pos crafterBeaconPos_; + /** + * .Pos crafterBeaconPos = 2; + * @return Whether the crafterBeaconPos field is set. + */ + @java.lang.Override + public boolean hasCrafterBeaconPos() { + return crafterBeaconPos_ != null; + } + /** + * .Pos crafterBeaconPos = 2; + * @return The crafterBeaconPos. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Pos getCrafterBeaconPos() { + return crafterBeaconPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : crafterBeaconPos_; + } + /** + * .Pos crafterBeaconPos = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getCrafterBeaconPosOrBuilder() { + return crafterBeaconPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : crafterBeaconPos_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, anchorGuid_); + } + if (crafterBeaconPos_ != null) { + output.writeMessage(2, getCrafterBeaconPos()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, anchorGuid_); + } + if (crafterBeaconPos_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCrafterBeaconPos()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos other = (com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos) obj; + + if (!getAnchorGuid() + .equals(other.getAnchorGuid())) return false; + if (hasCrafterBeaconPos() != other.hasCrafterBeaconPos()) return false; + if (hasCrafterBeaconPos()) { + if (!getCrafterBeaconPos() + .equals(other.getCrafterBeaconPos())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ANCHORGUID_FIELD_NUMBER; + hash = (53 * hash) + getAnchorGuid().hashCode(); + if (hasCrafterBeaconPos()) { + hash = (37 * hash) + CRAFTERBEACONPOS_FIELD_NUMBER; + hash = (53 * hash) + getCrafterBeaconPos().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code CrafterBeaconPos} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:CrafterBeaconPos) + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPosOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_CrafterBeaconPos_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_CrafterBeaconPos_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.class, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + anchorGuid_ = ""; + crafterBeaconPos_ = null; + if (crafterBeaconPosBuilder_ != null) { + crafterBeaconPosBuilder_.dispose(); + crafterBeaconPosBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_CrafterBeaconPos_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos build() { + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos result = new com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.anchorGuid_ = anchorGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.crafterBeaconPos_ = crafterBeaconPosBuilder_ == null + ? crafterBeaconPos_ + : crafterBeaconPosBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.getDefaultInstance()) return this; + if (!other.getAnchorGuid().isEmpty()) { + anchorGuid_ = other.anchorGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasCrafterBeaconPos()) { + mergeCrafterBeaconPos(other.getCrafterBeaconPos()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + anchorGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCrafterBeaconPosFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object anchorGuid_ = ""; + /** + * string anchorGuid = 1; + * @return The anchorGuid. + */ + public java.lang.String getAnchorGuid() { + java.lang.Object ref = anchorGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string anchorGuid = 1; + * @return The bytes for anchorGuid. + */ + public com.google.protobuf.ByteString + getAnchorGuidBytes() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string anchorGuid = 1; + * @param value The anchorGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + anchorGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string anchorGuid = 1; + * @return This builder for chaining. + */ + public Builder clearAnchorGuid() { + anchorGuid_ = getDefaultInstance().getAnchorGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string anchorGuid = 1; + * @param value The bytes for anchorGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + anchorGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.Pos crafterBeaconPos_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> crafterBeaconPosBuilder_; + /** + * .Pos crafterBeaconPos = 2; + * @return Whether the crafterBeaconPos field is set. + */ + public boolean hasCrafterBeaconPos() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .Pos crafterBeaconPos = 2; + * @return The crafterBeaconPos. + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos getCrafterBeaconPos() { + if (crafterBeaconPosBuilder_ == null) { + return crafterBeaconPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : crafterBeaconPos_; + } else { + return crafterBeaconPosBuilder_.getMessage(); + } + } + /** + * .Pos crafterBeaconPos = 2; + */ + public Builder setCrafterBeaconPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (crafterBeaconPosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + crafterBeaconPos_ = value; + } else { + crafterBeaconPosBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .Pos crafterBeaconPos = 2; + */ + public Builder setCrafterBeaconPos( + com.caliverse.admin.domain.RabbitMq.message.Pos.Builder builderForValue) { + if (crafterBeaconPosBuilder_ == null) { + crafterBeaconPos_ = builderForValue.build(); + } else { + crafterBeaconPosBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .Pos crafterBeaconPos = 2; + */ + public Builder mergeCrafterBeaconPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (crafterBeaconPosBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + crafterBeaconPos_ != null && + crafterBeaconPos_ != com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance()) { + getCrafterBeaconPosBuilder().mergeFrom(value); + } else { + crafterBeaconPos_ = value; + } + } else { + crafterBeaconPosBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .Pos crafterBeaconPos = 2; + */ + public Builder clearCrafterBeaconPos() { + bitField0_ = (bitField0_ & ~0x00000002); + crafterBeaconPos_ = null; + if (crafterBeaconPosBuilder_ != null) { + crafterBeaconPosBuilder_.dispose(); + crafterBeaconPosBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Pos crafterBeaconPos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos.Builder getCrafterBeaconPosBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getCrafterBeaconPosFieldBuilder().getBuilder(); + } + /** + * .Pos crafterBeaconPos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getCrafterBeaconPosOrBuilder() { + if (crafterBeaconPosBuilder_ != null) { + return crafterBeaconPosBuilder_.getMessageOrBuilder(); + } else { + return crafterBeaconPos_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : crafterBeaconPos_; + } + } + /** + * .Pos crafterBeaconPos = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> + getCrafterBeaconPosFieldBuilder() { + if (crafterBeaconPosBuilder_ == null) { + crafterBeaconPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder>( + getCrafterBeaconPos(), + getParentForChildren(), + isClean()); + crafterBeaconPos_ = null; + } + return crafterBeaconPosBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:CrafterBeaconPos) + } + + // @@protoc_insertion_point(class_scope:CrafterBeaconPos) + private static final com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CrafterBeaconPos parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CrafterBeaconPosOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CrafterBeaconPosOrBuilder.java new file mode 100644 index 0000000..e24f11c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CrafterBeaconPosOrBuilder.java @@ -0,0 +1,36 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface CrafterBeaconPosOrBuilder extends + // @@protoc_insertion_point(interface_extends:CrafterBeaconPos) + com.google.protobuf.MessageOrBuilder { + + /** + * string anchorGuid = 1; + * @return The anchorGuid. + */ + java.lang.String getAnchorGuid(); + /** + * string anchorGuid = 1; + * @return The bytes for anchorGuid. + */ + com.google.protobuf.ByteString + getAnchorGuidBytes(); + + /** + * .Pos crafterBeaconPos = 2; + * @return Whether the crafterBeaconPos field is set. + */ + boolean hasCrafterBeaconPos(); + /** + * .Pos crafterBeaconPos = 2; + * @return The crafterBeaconPos. + */ + com.caliverse.admin.domain.RabbitMq.message.Pos getCrafterBeaconPos(); + /** + * .Pos crafterBeaconPos = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getCrafterBeaconPosOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CurrencyType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CurrencyType.java new file mode 100644 index 0000000..d92ab0a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/CurrencyType.java @@ -0,0 +1,193 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ȭ 
+ * 
+ * + * Protobuf enum {@code CurrencyType} + */ +public enum CurrencyType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * CurrencyType_None = 0; + */ + CurrencyType_None(0), + /** + *
+   * ΰ  ⺻ ȭ
+   * 
+ * + * CurrencyType_Gold = 1; + */ + CurrencyType_Gold(1), + /** + *
+   * ΰ   ȭ () BlueCali )
+   * 
+ * + * CurrencyType_Sapphire = 2; + */ + CurrencyType_Sapphire(2), + /** + *
+   *  ׷̵ , /Ÿ 湮   () RedCali )
+   * 
+ * + * CurrencyType_Calium = 3; + */ + CurrencyType_Calium(3), + /** + *
+   *  ׷̵  ,  ŷ  () BlackCali )
+   * 
+ * + * CurrencyType_Beam = 4; + */ + CurrencyType_Beam(4), + /** + *
+   * ű ߰ ȭ
+   * 
+ * + * CurrencyType_Ruby = 5; + */ + CurrencyType_Ruby(5), + UNRECOGNIZED(-1), + ; + + /** + * CurrencyType_None = 0; + */ + public static final int CurrencyType_None_VALUE = 0; + /** + *
+   * ΰ  ⺻ ȭ
+   * 
+ * + * CurrencyType_Gold = 1; + */ + public static final int CurrencyType_Gold_VALUE = 1; + /** + *
+   * ΰ   ȭ () BlueCali )
+   * 
+ * + * CurrencyType_Sapphire = 2; + */ + public static final int CurrencyType_Sapphire_VALUE = 2; + /** + *
+   *  ׷̵ , /Ÿ 湮   () RedCali )
+   * 
+ * + * CurrencyType_Calium = 3; + */ + public static final int CurrencyType_Calium_VALUE = 3; + /** + *
+   *  ׷̵  ,  ŷ  () BlackCali )
+   * 
+ * + * CurrencyType_Beam = 4; + */ + public static final int CurrencyType_Beam_VALUE = 4; + /** + *
+   * ű ߰ ȭ
+   * 
+ * + * CurrencyType_Ruby = 5; + */ + public static final int CurrencyType_Ruby_VALUE = 5; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static CurrencyType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static CurrencyType forNumber(int value) { + switch (value) { + case 0: return CurrencyType_None; + case 1: return CurrencyType_Gold; + case 2: return CurrencyType_Sapphire; + case 3: return CurrencyType_Calium; + case 4: return CurrencyType_Beam; + case 5: return CurrencyType_Ruby; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + CurrencyType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CurrencyType findValueByNumber(int number) { + return CurrencyType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(24); + } + + private static final CurrencyType[] VALUES = values(); + + public static CurrencyType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private CurrencyType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:CurrencyType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DateRangeUgqBoardItem.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DateRangeUgqBoardItem.java new file mode 100644 index 0000000..9240331 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DateRangeUgqBoardItem.java @@ -0,0 +1,965 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code DateRangeUgqBoardItem} + */ +public final class DateRangeUgqBoardItem extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:DateRangeUgqBoardItem) + DateRangeUgqBoardItemOrBuilder { +private static final long serialVersionUID = 0L; + // Use DateRangeUgqBoardItem.newBuilder() to construct. + private DateRangeUgqBoardItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DateRangeUgqBoardItem() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DateRangeUgqBoardItem(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_DateRangeUgqBoardItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_DateRangeUgqBoardItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.class, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.Builder.class); + } + + private int bitField0_; + public static final int TODAY_FIELD_NUMBER = 1; + private com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem today_; + /** + * optional .UgqBoardItem today = 1; + * @return Whether the today field is set. + */ + @java.lang.Override + public boolean hasToday() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .UgqBoardItem today = 1; + * @return The today. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getToday() { + return today_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance() : today_; + } + /** + * optional .UgqBoardItem today = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder getTodayOrBuilder() { + return today_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance() : today_; + } + + public static final int THISWEEK_FIELD_NUMBER = 2; + private com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem thisWeek_; + /** + * optional .UgqBoardItem thisWeek = 2; + * @return Whether the thisWeek field is set. + */ + @java.lang.Override + public boolean hasThisWeek() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .UgqBoardItem thisWeek = 2; + * @return The thisWeek. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getThisWeek() { + return thisWeek_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance() : thisWeek_; + } + /** + * optional .UgqBoardItem thisWeek = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder getThisWeekOrBuilder() { + return thisWeek_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance() : thisWeek_; + } + + public static final int THISMONTH_FIELD_NUMBER = 3; + private com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem thisMonth_; + /** + * optional .UgqBoardItem thisMonth = 3; + * @return Whether the thisMonth field is set. + */ + @java.lang.Override + public boolean hasThisMonth() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional .UgqBoardItem thisMonth = 3; + * @return The thisMonth. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getThisMonth() { + return thisMonth_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance() : thisMonth_; + } + /** + * optional .UgqBoardItem thisMonth = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder getThisMonthOrBuilder() { + return thisMonth_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance() : thisMonth_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getToday()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getThisWeek()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(3, getThisMonth()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getToday()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getThisWeek()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getThisMonth()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem other = (com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem) obj; + + if (hasToday() != other.hasToday()) return false; + if (hasToday()) { + if (!getToday() + .equals(other.getToday())) return false; + } + if (hasThisWeek() != other.hasThisWeek()) return false; + if (hasThisWeek()) { + if (!getThisWeek() + .equals(other.getThisWeek())) return false; + } + if (hasThisMonth() != other.hasThisMonth()) return false; + if (hasThisMonth()) { + if (!getThisMonth() + .equals(other.getThisMonth())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasToday()) { + hash = (37 * hash) + TODAY_FIELD_NUMBER; + hash = (53 * hash) + getToday().hashCode(); + } + if (hasThisWeek()) { + hash = (37 * hash) + THISWEEK_FIELD_NUMBER; + hash = (53 * hash) + getThisWeek().hashCode(); + } + if (hasThisMonth()) { + hash = (37 * hash) + THISMONTH_FIELD_NUMBER; + hash = (53 * hash) + getThisMonth().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code DateRangeUgqBoardItem} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:DateRangeUgqBoardItem) + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_DateRangeUgqBoardItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_DateRangeUgqBoardItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.class, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getTodayFieldBuilder(); + getThisWeekFieldBuilder(); + getThisMonthFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + today_ = null; + if (todayBuilder_ != null) { + todayBuilder_.dispose(); + todayBuilder_ = null; + } + thisWeek_ = null; + if (thisWeekBuilder_ != null) { + thisWeekBuilder_.dispose(); + thisWeekBuilder_ = null; + } + thisMonth_ = null; + if (thisMonthBuilder_ != null) { + thisMonthBuilder_.dispose(); + thisMonthBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_DateRangeUgqBoardItem_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem build() { + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem result = new com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.today_ = todayBuilder_ == null + ? today_ + : todayBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.thisWeek_ = thisWeekBuilder_ == null + ? thisWeek_ + : thisWeekBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.thisMonth_ = thisMonthBuilder_ == null + ? thisMonth_ + : thisMonthBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.getDefaultInstance()) return this; + if (other.hasToday()) { + mergeToday(other.getToday()); + } + if (other.hasThisWeek()) { + mergeThisWeek(other.getThisWeek()); + } + if (other.hasThisMonth()) { + mergeThisMonth(other.getThisMonth()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getTodayFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getThisWeekFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getThisMonthFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem today_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder> todayBuilder_; + /** + * optional .UgqBoardItem today = 1; + * @return Whether the today field is set. + */ + public boolean hasToday() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .UgqBoardItem today = 1; + * @return The today. + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getToday() { + if (todayBuilder_ == null) { + return today_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance() : today_; + } else { + return todayBuilder_.getMessage(); + } + } + /** + * optional .UgqBoardItem today = 1; + */ + public Builder setToday(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem value) { + if (todayBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + today_ = value; + } else { + todayBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * optional .UgqBoardItem today = 1; + */ + public Builder setToday( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder builderForValue) { + if (todayBuilder_ == null) { + today_ = builderForValue.build(); + } else { + todayBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * optional .UgqBoardItem today = 1; + */ + public Builder mergeToday(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem value) { + if (todayBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + today_ != null && + today_ != com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance()) { + getTodayBuilder().mergeFrom(value); + } else { + today_ = value; + } + } else { + todayBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * optional .UgqBoardItem today = 1; + */ + public Builder clearToday() { + bitField0_ = (bitField0_ & ~0x00000001); + today_ = null; + if (todayBuilder_ != null) { + todayBuilder_.dispose(); + todayBuilder_ = null; + } + onChanged(); + return this; + } + /** + * optional .UgqBoardItem today = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder getTodayBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getTodayFieldBuilder().getBuilder(); + } + /** + * optional .UgqBoardItem today = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder getTodayOrBuilder() { + if (todayBuilder_ != null) { + return todayBuilder_.getMessageOrBuilder(); + } else { + return today_ == null ? + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance() : today_; + } + } + /** + * optional .UgqBoardItem today = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder> + getTodayFieldBuilder() { + if (todayBuilder_ == null) { + todayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder>( + getToday(), + getParentForChildren(), + isClean()); + today_ = null; + } + return todayBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem thisWeek_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder> thisWeekBuilder_; + /** + * optional .UgqBoardItem thisWeek = 2; + * @return Whether the thisWeek field is set. + */ + public boolean hasThisWeek() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .UgqBoardItem thisWeek = 2; + * @return The thisWeek. + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getThisWeek() { + if (thisWeekBuilder_ == null) { + return thisWeek_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance() : thisWeek_; + } else { + return thisWeekBuilder_.getMessage(); + } + } + /** + * optional .UgqBoardItem thisWeek = 2; + */ + public Builder setThisWeek(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem value) { + if (thisWeekBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + thisWeek_ = value; + } else { + thisWeekBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * optional .UgqBoardItem thisWeek = 2; + */ + public Builder setThisWeek( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder builderForValue) { + if (thisWeekBuilder_ == null) { + thisWeek_ = builderForValue.build(); + } else { + thisWeekBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * optional .UgqBoardItem thisWeek = 2; + */ + public Builder mergeThisWeek(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem value) { + if (thisWeekBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + thisWeek_ != null && + thisWeek_ != com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance()) { + getThisWeekBuilder().mergeFrom(value); + } else { + thisWeek_ = value; + } + } else { + thisWeekBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * optional .UgqBoardItem thisWeek = 2; + */ + public Builder clearThisWeek() { + bitField0_ = (bitField0_ & ~0x00000002); + thisWeek_ = null; + if (thisWeekBuilder_ != null) { + thisWeekBuilder_.dispose(); + thisWeekBuilder_ = null; + } + onChanged(); + return this; + } + /** + * optional .UgqBoardItem thisWeek = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder getThisWeekBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getThisWeekFieldBuilder().getBuilder(); + } + /** + * optional .UgqBoardItem thisWeek = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder getThisWeekOrBuilder() { + if (thisWeekBuilder_ != null) { + return thisWeekBuilder_.getMessageOrBuilder(); + } else { + return thisWeek_ == null ? + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance() : thisWeek_; + } + } + /** + * optional .UgqBoardItem thisWeek = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder> + getThisWeekFieldBuilder() { + if (thisWeekBuilder_ == null) { + thisWeekBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder>( + getThisWeek(), + getParentForChildren(), + isClean()); + thisWeek_ = null; + } + return thisWeekBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem thisMonth_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder> thisMonthBuilder_; + /** + * optional .UgqBoardItem thisMonth = 3; + * @return Whether the thisMonth field is set. + */ + public boolean hasThisMonth() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional .UgqBoardItem thisMonth = 3; + * @return The thisMonth. + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getThisMonth() { + if (thisMonthBuilder_ == null) { + return thisMonth_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance() : thisMonth_; + } else { + return thisMonthBuilder_.getMessage(); + } + } + /** + * optional .UgqBoardItem thisMonth = 3; + */ + public Builder setThisMonth(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem value) { + if (thisMonthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + thisMonth_ = value; + } else { + thisMonthBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * optional .UgqBoardItem thisMonth = 3; + */ + public Builder setThisMonth( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder builderForValue) { + if (thisMonthBuilder_ == null) { + thisMonth_ = builderForValue.build(); + } else { + thisMonthBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * optional .UgqBoardItem thisMonth = 3; + */ + public Builder mergeThisMonth(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem value) { + if (thisMonthBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + thisMonth_ != null && + thisMonth_ != com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance()) { + getThisMonthBuilder().mergeFrom(value); + } else { + thisMonth_ = value; + } + } else { + thisMonthBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * optional .UgqBoardItem thisMonth = 3; + */ + public Builder clearThisMonth() { + bitField0_ = (bitField0_ & ~0x00000004); + thisMonth_ = null; + if (thisMonthBuilder_ != null) { + thisMonthBuilder_.dispose(); + thisMonthBuilder_ = null; + } + onChanged(); + return this; + } + /** + * optional .UgqBoardItem thisMonth = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder getThisMonthBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getThisMonthFieldBuilder().getBuilder(); + } + /** + * optional .UgqBoardItem thisMonth = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder getThisMonthOrBuilder() { + if (thisMonthBuilder_ != null) { + return thisMonthBuilder_.getMessageOrBuilder(); + } else { + return thisMonth_ == null ? + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance() : thisMonth_; + } + } + /** + * optional .UgqBoardItem thisMonth = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder> + getThisMonthFieldBuilder() { + if (thisMonthBuilder_ == null) { + thisMonthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder>( + getThisMonth(), + getParentForChildren(), + isClean()); + thisMonth_ = null; + } + return thisMonthBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:DateRangeUgqBoardItem) + } + + // @@protoc_insertion_point(class_scope:DateRangeUgqBoardItem) + private static final com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DateRangeUgqBoardItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DateRangeUgqBoardItemOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DateRangeUgqBoardItemOrBuilder.java new file mode 100644 index 0000000..44798d3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DateRangeUgqBoardItemOrBuilder.java @@ -0,0 +1,54 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface DateRangeUgqBoardItemOrBuilder extends + // @@protoc_insertion_point(interface_extends:DateRangeUgqBoardItem) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .UgqBoardItem today = 1; + * @return Whether the today field is set. + */ + boolean hasToday(); + /** + * optional .UgqBoardItem today = 1; + * @return The today. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getToday(); + /** + * optional .UgqBoardItem today = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder getTodayOrBuilder(); + + /** + * optional .UgqBoardItem thisWeek = 2; + * @return Whether the thisWeek field is set. + */ + boolean hasThisWeek(); + /** + * optional .UgqBoardItem thisWeek = 2; + * @return The thisWeek. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getThisWeek(); + /** + * optional .UgqBoardItem thisWeek = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder getThisWeekOrBuilder(); + + /** + * optional .UgqBoardItem thisMonth = 3; + * @return Whether the thisMonth field is set. + */ + boolean hasThisMonth(); + /** + * optional .UgqBoardItem thisMonth = 3; + * @return The thisMonth. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getThisMonth(); + /** + * optional .UgqBoardItem thisMonth = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder getThisMonthOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DefineCommon.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DefineCommon.java new file mode 100644 index 0000000..7dce3f5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DefineCommon.java @@ -0,0 +1,424 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public final class DefineCommon { + private DefineCommon() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerUrl_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerUrl_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ChannelInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ChannelInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerConnectInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerConnectInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_MyHomeInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MyHomeInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_MyhomeUgcInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MyhomeUgcInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgcFrameworkInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgcFrameworkInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgcFrameworkMaterialInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgcFrameworkMaterialInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_Color_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Color_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgcAnchorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgcAnchorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_CrafterBeaconPos_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_CrafterBeaconPos_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_Coordinate_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Coordinate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_Rotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Rotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_StringProfile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_StringProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_StringProfile_StringProfileEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_StringProfile_StringProfileEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UserLocationInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UserLocationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_Pos_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Pos_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_Money_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Money_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_MoneyDeltaAmount_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MoneyDeltaAmount_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\023Define_Common.proto\032\037google/protobuf/t" + + "imestamp.proto\"E\n\tServerUrl\022%\n\rserverUrl" + + "Type\030\001 \001(\0162\016.ServerUrlType\022\021\n\ttargetUrl\030" + + "\013 \001(\t\"4\n\013ChannelInfo\022\017\n\007channel\030\001 \001(\005\022\024\n" + + "\014trafficlevel\030\002 \001(\005\"\264\001\n\021ServerConnectInf" + + "o\022\022\n\nserverAddr\030\001 \001(\t\022\022\n\nserverPort\030\002 \001(" + + "\005\022\013\n\003otp\030\003 \001(\t\022\016\n\006roomId\030\004 \001(\t\022\021\n\003pos\030\005 " + + "\001(\0132\004.Pos\022\024\n\ninstanceId\030\006 \001(\005H\000\022!\n\nmyhom" + + "eInfo\030\007 \001(\0132\013.MyHomeInfoH\000B\016\n\014instanceTy" + + "pe\"[\n\nMyHomeInfo\022\022\n\nmyhomeGuid\030\001 \001(\t\022\022\n\n" + + "myhomeName\030\002 \001(\t\022%\n\rmyhomeUgcInfo\030\003 \001(\0132" + + "\016.MyhomeUgcInfo\"\257\001\n\rMyhomeUgcInfo\022\020\n\010roo" + + "mType\030\001 \001(\005\022\017\n\007version\030\002 \001(\005\022)\n\016framewor" + + "kInfos\030\003 \003(\0132\021.UgcFrameworkInfo\022#\n\013ancho" + + "rInfos\030\004 \003(\0132\016.UgcAnchorInfo\022+\n\020crafterB" + + "eaconPos\030\005 \003(\0132\021.CrafterBeaconPos\"\311\001\n\020Ug" + + "cFrameworkInfo\022\026\n\016interiorItemId\030\001 \001(\005\022\r" + + "\n\005floor\030\002 \001(\005\022\037\n\ncoordinate\030\003 \001(\0132\013.Coor" + + "dinate\022\033\n\010rotation\030\004 \001(\0132\t.Rotation\022\022\n\nm" + + "aterialId\030\005 \001(\005\022<\n\031UgcFrameworkMaterialI" + + "nfos\030\006 \003(\0132\031.UgcFrameworkMaterialInfo\"\226\001" + + "\n\030UgcFrameworkMaterialInfo\022\014\n\004type\030\001 \001(\t" + + "\022\022\n\nmaterialId\030\002 \001(\005\022\034\n\014color_mask_r\030\003 \001" + + "(\0132\006.Color\022\034\n\014color_mask_g\030\004 \001(\0132\006.Color" + + "\022\034\n\014color_mask_b\030\005 \001(\0132\006.Color\"3\n\005Color\022" + + "\t\n\001r\030\001 \001(\002\022\t\n\001g\030\002 \001(\002\022\t\n\001b\030\003 \001(\002\022\t\n\001a\030\004 " + + "\001(\002\"\232\001\n\rUgcAnchorInfo\022\022\n\nanchorGuid\030\001 \001(" + + "\t\022\022\n\nanchorType\030\002 \001(\t\022\017\n\007tableId\030\003 \001(\005\022\022" + + "\n\nentityGuid\030\004 \001(\t\022\037\n\ncoordinate\030\005 \001(\0132\013" + + ".Coordinate\022\033\n\010rotation\030\006 \001(\0132\t.Rotation" + + "\"F\n\020CrafterBeaconPos\022\022\n\nanchorGuid\030\001 \001(\t" + + "\022\036\n\020crafterBeaconPos\030\002 \001(\0132\004.Pos\"-\n\nCoor" + + "dinate\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\"" + + "4\n\010Rotation\022\r\n\005Pitch\030\001 \001(\002\022\013\n\003Yaw\030\002 \001(\002\022" + + "\014\n\004Roll\030\003 \001(\002\"\177\n\rStringProfile\0228\n\rstring" + + "Profile\030\001 \003(\0132!.StringProfile.StringProf" + + "ileEntry\0324\n\022StringProfileEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"H\n\020UserLocationIn" + + "fo\022\021\n\tisChannel\030\001 \001(\005\022\n\n\002id\030\002 \001(\005\022\025\n\rcha" + + "nnelNumber\030\003 \001(\005\"5\n\003Pos\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030" + + "\002 \001(\002\022\t\n\001z\030\003 \001(\002\022\r\n\005angle\030\004 \001(\005\"\027\n\005Money" + + "\022\016\n\006amount\030\001 \001(\001\"G\n\020MoneyDeltaAmount\022#\n\t" + + "deltaType\030\001 \001(\0162\020.AmountDeltaType\022\016\n\006amo" + + "unt\030\002 \001(\001*D\n\010BoolType\022\021\n\rBoolType_None\020\000" + + "\022\021\n\rBoolType_True\020\001\022\022\n\016BoolType_False\020\002*" + + "R\n\013AccountType\022\024\n\020AccountType_None\020\000\022\026\n\022" + + "AccountType_Google\020\001\022\025\n\021AccountType_Appl" + + "e\020\002*y\n\013ServiceType\022\024\n\020ServiceType_None\020\000" + + "\022\023\n\017ServiceType_Dev\020\001\022\022\n\016ServiceType_Qa\020" + + "\002\022\025\n\021ServiceType_Stage\020\003\022\024\n\020ServiceType_" + + "Live\020\004*\223\002\n\rServerUrlType\022\026\n\022ServerUrlTyp" + + "e_None\020\000\022%\n!ServerUrlType_BillingApiServ" + + "erUrl\020\001\022$\n ServerUrlType_ChatAiApiServer" + + "Url\020\002\022$\n ServerUrlType_MyhomeEditGuideUr" + + "l\020\003\022&\n\"ServerUrlType_WebLinkUrlSeasonPas" + + "s\020\004\022)\n%ServerUrlType_CaliumConverterWebG" + + "uide\020\005\022$\n ServerUrlType_S3ResourceImageU" + + "rl\020\006*\210\002\n\nServerType\022\023\n\017ServerType_None\020\000" + + "\022\024\n\020ServerType_Login\020\001\022\026\n\022ServerType_Cha" + + "nnel\020\002\022\024\n\020ServerType_Indun\020\003\022\023\n\017ServerTy" + + "pe_Chat\020\004\022\025\n\021ServerType_GmTool\020\005\022\023\n\017Serv" + + "erType_Auth\020\006\022\026\n\022ServerType_Manager\020\007\022\025\n" + + "\021ServerType_UgqApi\020\010\022\027\n\023ServerType_UgqAd" + + "min\020\t\022\030\n\024ServerType_UgqIngame\020\n*\255\001\n\023Auto" + + "ScaleServerType\022\034\n\030AutoScaleServerType_N" + + "one\020\000\022\035\n\031AutoScaleServerType_Login\020\001\022\034\n\030" + + "AutoScaleServerType_Game\020\002\022\035\n\031AutoScaleS" + + "erverType_Indun\020\003\022\034\n\030AutoScaleServerType" + + "_Chat\020\004*_\n\016GameServerType\022\027\n\023GameServerT" + + "ype_None\020\000\022\032\n\026GameServerType_Channel\020\001\022\030" + + "\n\024GameServerType_Indun\020\002*\224\001\n\nDeviceType\022" + + "\023\n\017DeviceType_None\020\000\022\030\n\024DeviceType_Windo" + + "wsPC\020\001\022\025\n\021DeviceType_IPhone\020\005\022\022\n\016DeviceT" + + "ype_Mac\020\006\022\025\n\021DeviceType_Galaxy\020\013\022\025\n\021Devi" + + "ceType_Oculus\020\017*S\n\006OsType\022\017\n\013OsType_None" + + "\020\000\022\024\n\020OsType_MsWindows\020\001\022\022\n\016OsType_Andro" + + "id\020\002\022\016\n\nOsType_Ios\020\003*\215\001\n\014PlatformType\022\025\n" + + "\021PlatformType_None\020\000\022\032\n\026PlatformType_Win" + + "dowsPc\020\001\022\027\n\023PlatformType_Google\020\002\022\031\n\025Pla" + + "tformType_Facebook\020\003\022\026\n\022PlatformType_App" + + "le\020\004*\216\001\n\023AccountCreationType\022\034\n\030AccountC" + + "reationType_None\020\000\022\036\n\032AccountCreationTyp" + + "e_Normal\020\001\022\034\n\030AccountCreationType_Test\020\002" + + "\022\033\n\027AccountCreationType_Bot\020\003*\205\003\n\014Conten" + + "tsType\022\025\n\021ContentsType_None\020\000\022\027\n\023Content" + + "sType_MyHome\020\001\022\032\n\026ContentsType_DressRoom" + + "\020\002\022\030\n\024ContentsType_Concert\020\003\022\026\n\022Contents" + + "Type_Movie\020\004\022\031\n\025ContentsType_Instance\020\005\022" + + "\030\n\024ContentsType_Meeting\020\006\022!\n\035ContentsTyp" + + "e_BeaconCreateRoom\020\007\022\037\n\033ContentsType_Bea" + + "conEditRoom\020\010\022 \n\034ContentsType_BeaconDraf" + + "tRoom\020\t\022\031\n\025ContentsType_EditRoom\020\n\022$\n Co" + + "ntentsType_BeaconCustomizeRoom\020\013\022\033\n\027Cont" + + "entsType_BattleRoom\020\014*\264\001\n\010CharRace\022\021\n\rCh" + + "arRace_None\020\000\022\023\n\017CharRace_Latino\020\001\022\026\n\022Ch" + + "arRace_Caucasian\020\002\022\024\n\020CharRace_African\020\003" + + "\022\033\n\027CharRace_Northeastasian\020\004\022\027\n\023CharRac" + + "e_Southasian\020\005\022\034\n\030CharRace_Pacificisland" + + "er\020\006*\224\001\n\022AuthAdminLevelType\022\033\n\027AuthAdmin" + + "LevelType_None\020\000\022\037\n\033AuthAdminLevelType_G" + + "mNormal\020\001\022\036\n\032AuthAdminLevelType_GmSuper\020" + + "\002\022 \n\034AuthAdminLevelType_Developer\020\003*d\n\014L" + + "anguageType\022\025\n\021LanguageType_None\020\000\022\023\n\017La" + + "nguageType_ko\020\001\022\023\n\017LanguageType_en\020\002\022\023\n\017" + + "LanguageType_ja\020\004*S\n\013ProductType\022\024\n\020Prod" + + "uctType_None\020\000\022\030\n\024ProductType_Currency\020\001" + + "\022\024\n\020ProductType_Item\020\002*\201\001\n\017LoginMethodTy" + + "pe\022\030\n\024LoginMethodType_None\020\000\022$\n LoginMet" + + "hodType_ClientStandalone\020\001\022.\n*LoginMetho" + + "dType_SsoAccountAuthWithLauncher\020\002*\313\001\n\026L" + + "oginFailureReasonType\022\037\n\033LoginFailureRea" + + "sonType_None\020\000\022.\n*LoginFailureReasonType" + + "_ProcessingException\020\001\022/\n+LoginFailureRe" + + "asonType_AuthenticationFailed\020\002\022/\n+Login" + + "FailureReasonType_UserValidCheckFailed\020\003" + + "*\270\001\n\020LogoutReasonType\022\031\n\025LogoutReasonTyp" + + "e_None\020\000\022\"\n\036LogoutReasonType_ExitToServi" + + "ce\020\001\022 \n\034LogoutReasonType_EnterToGame\020\002\022\035" + + "\n\031LogoutReasonType_GoToGame\020\003\022$\n LogoutR" + + "easonType_DuplicatedLogin\020\004*\307\003\n\022AccountS" + + "actionType\022\033\n\027AccountSactionType_None\020\000\022" + + "!\n\035AccountSactionType_BadBhavior\020\001\022*\n&Ac" + + "countSactionType_InvapproprivateName\020\002\022&" + + "\n\"AccountSactionType_CashTransaction\020\003\022\'" + + "\n#AccountSactionType_GameInterference\020\004\022" + + "*\n&AccountSactionType_ServiceInterferenc" + + "e\020\005\022+\n\'AccountSactionType_AccountImperso" + + "nation\020\006\022\037\n\033AccountSactionType_BugAbuse\020" + + "\007\022%\n!AccountSactionType_IllegalProgram\020\010" + + "\022(\n$AccountSactionType_PersonalInfo_Leak" + + "\020\t\022)\n%AccountSactionType_AdminImpersonat" + + "ion\020\n*w\n\016ServerMoveType\022\027\n\023ServerMoveTyp" + + "e_None\020\000\022\030\n\024ServerMoveType_Force\020\001\022\027\n\023Se" + + "rverMoveType_Auto\020\002\022\031\n\025ServerMoveType_Re" + + "turn\020\003*\336\001\n\017PlayerStateType\022\030\n\024PlayerStat" + + "eType_None\020\000\022\032\n\026PlayerStateType_Online\020\001" + + "\022\031\n\025PlayerStateType_Sleep\020\002\022\037\n\033PlayerSta" + + "teType_DontDistrub\020\003\022\033\n\027PlayerStateType_" + + "Offline\020\004\022\033\n\027PlayerStateType_Dormant\020\005\022\037" + + "\n\033PlayerStateType_LeaveMember\020\006*\200\001\n\017Amou" + + "ntDeltaType\022\030\n\024AmountDeltaType_None\020\000\022\033\n" + + "\027AmountDeltaType_Acquire\020\001\022\033\n\027AmountDelt" + + "aType_Consume\020\002\022\031\n\025AmountDeltaType_Merge" + + "\020\003*\257\001\n\016CountDeltaType\022\027\n\023CountDeltaType_" + + "None\020\000\022\026\n\022CountDeltaType_New\020\001\022\031\n\025CountD" + + "eltaType_Update\020\002\022\032\n\026CountDeltaType_Acqu" + + "ire\020\003\022\032\n\026CountDeltaType_Consume\020\004\022\031\n\025Cou" + + "ntDeltaType_Delete\020\005*\236\001\n\014CurrencyType\022\025\n" + + "\021CurrencyType_None\020\000\022\025\n\021CurrencyType_Gol" + + "d\020\001\022\031\n\025CurrencyType_Sapphire\020\002\022\027\n\023Curren" + + "cyType_Calium\020\003\022\025\n\021CurrencyType_Beam\020\004\022\025" + + "\n\021CurrencyType_Ruby\020\005*\304\002\n\022ProgramVersion" + + "Type\022\033\n\027ProgramVersionType_None\020\000\022(\n$Pro" + + "gramVersionType_MetaSchemaVersion\020\001\022&\n\"P" + + "rogramVersionType_MetaDataVersion\020\002\022&\n\"P" + + "rogramVersionType_DbSchemaVersion\020\003\022$\n P" + + "rogramVersionType_PacketVersion\020\004\022&\n\"Pro" + + "gramVersionType_ResourceVersion\020\005\022$\n Pro" + + "gramVersionType_ConfigVersion\020\006\022#\n\037Progr" + + "amVersionType_LogicVersion\020\007*\216\004\n\025PartyMe" + + "mberActionType\022\036\n\032PartyMemberActionType_" + + "None\020\000\022 \n\034PartyMemberActionType_Invite\020\001" + + "\022&\n\"PartyMemberActionType_InviteAccept\020\002" + + "\022&\n\"PartyMemberActionType_InviteReject\020\003" + + "\022 \n\034PartyMemberActionType_Summon\020\004\022&\n\"Pa" + + "rtyMemberActionType_SummonAccept\020\005\022&\n\"Pa" + + "rtyMemberActionType_SummonReject\020\006\022,\n(Pa" + + "rtyMemberActionType_PartyInstance_Join\020\007" + + "\022-\n)PartyMemberActionType_PartyInstance_" + + "Leave\020\010\022%\n!PartyMemberActionType_PartyLe" + + "ader\020\t\022#\n\037PartyMemberActionType_JoinPart" + + "y\020\n\022$\n PartyMemberActionType_LeaveParty\020" + + "\013\022\"\n\036PartyMemberActionType_BanParty\020\014*\217\001" + + "\n\023UserBlockPolicyType\022\034\n\030UserBlockPolicy" + + "Type_None\020\000\022+\n\'UserBlockPolicyType_Acces" + + "s_Restrictions\020\001\022-\n)UserBlockPolicyType_" + + "Chatting_Restrictions\020\002*\334\003\n\023UserBlockRea" + + "sonType\022\034\n\030UserBlockReasonType_None\020\000\022$\n" + + " UserBlockReasonType_Bad_Behavior\020\001\022*\n&U" + + "serBlockReasonType_Inappropriate_Name\020\002\022" + + "(\n$UserBlockReasonType_Cash_Transaction\020" + + "\003\022)\n%UserBlockReasonType_Game_Interferen" + + "ce\020\004\022,\n(UserBlockReasonType_Service_Inte" + + "rference\020\005\022-\n)UserBlockReasonType_Accoun" + + "t_Impersonation\020\006\022!\n\035UserBlockReasonType" + + "_Bug_Abuse\020\007\022\'\n#UserBlockReasonType_Ille" + + "gal_Program\020\010\022*\n&UserBlockReasonType_Per" + + "sonal_Info_Leak\020\t\022+\n\'UserBlockReasonType" + + "_Asmin_Impersonation\020\nB/\n+com.caliverse." + + "admin.domain.RabbitMq.messageP\001b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_ServerUrl_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_ServerUrl_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerUrl_descriptor, + new java.lang.String[] { "ServerUrlType", "TargetUrl", }); + internal_static_ChannelInfo_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_ChannelInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ChannelInfo_descriptor, + new java.lang.String[] { "Channel", "Trafficlevel", }); + internal_static_ServerConnectInfo_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_ServerConnectInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerConnectInfo_descriptor, + new java.lang.String[] { "ServerAddr", "ServerPort", "Otp", "RoomId", "Pos", "InstanceId", "MyhomeInfo", "InstanceType", }); + internal_static_MyHomeInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_MyHomeInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MyHomeInfo_descriptor, + new java.lang.String[] { "MyhomeGuid", "MyhomeName", "MyhomeUgcInfo", }); + internal_static_MyhomeUgcInfo_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_MyhomeUgcInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MyhomeUgcInfo_descriptor, + new java.lang.String[] { "RoomType", "Version", "FrameworkInfos", "AnchorInfos", "CrafterBeaconPos", }); + internal_static_UgcFrameworkInfo_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_UgcFrameworkInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgcFrameworkInfo_descriptor, + new java.lang.String[] { "InteriorItemId", "Floor", "Coordinate", "Rotation", "MaterialId", "UgcFrameworkMaterialInfos", }); + internal_static_UgcFrameworkMaterialInfo_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_UgcFrameworkMaterialInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgcFrameworkMaterialInfo_descriptor, + new java.lang.String[] { "Type", "MaterialId", "ColorMaskR", "ColorMaskG", "ColorMaskB", }); + internal_static_Color_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_Color_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Color_descriptor, + new java.lang.String[] { "R", "G", "B", "A", }); + internal_static_UgcAnchorInfo_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_UgcAnchorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgcAnchorInfo_descriptor, + new java.lang.String[] { "AnchorGuid", "AnchorType", "TableId", "EntityGuid", "Coordinate", "Rotation", }); + internal_static_CrafterBeaconPos_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_CrafterBeaconPos_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_CrafterBeaconPos_descriptor, + new java.lang.String[] { "AnchorGuid", "CrafterBeaconPos", }); + internal_static_Coordinate_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_Coordinate_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Coordinate_descriptor, + new java.lang.String[] { "X", "Y", "Z", }); + internal_static_Rotation_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_Rotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Rotation_descriptor, + new java.lang.String[] { "Pitch", "Yaw", "Roll", }); + internal_static_StringProfile_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_StringProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_StringProfile_descriptor, + new java.lang.String[] { "StringProfile", }); + internal_static_StringProfile_StringProfileEntry_descriptor = + internal_static_StringProfile_descriptor.getNestedTypes().get(0); + internal_static_StringProfile_StringProfileEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_StringProfile_StringProfileEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_UserLocationInfo_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_UserLocationInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UserLocationInfo_descriptor, + new java.lang.String[] { "IsChannel", "Id", "ChannelNumber", }); + internal_static_Pos_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_Pos_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Pos_descriptor, + new java.lang.String[] { "X", "Y", "Z", "Angle", }); + internal_static_Money_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_Money_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Money_descriptor, + new java.lang.String[] { "Amount", }); + internal_static_MoneyDeltaAmount_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_MoneyDeltaAmount_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MoneyDeltaAmount_descriptor, + new java.lang.String[] { "DeltaType", "Amount", }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DefineProgramVersion.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DefineProgramVersion.java new file mode 100644 index 0000000..6628131 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DefineProgramVersion.java @@ -0,0 +1,83 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_ProgramVersion.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public final class DefineProgramVersion { + private DefineProgramVersion() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ClientProgramVersion_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ClientProgramVersion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LogicVersion_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LogicVersion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerProgramVersion_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerProgramVersion_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\033Define_ProgramVersion.proto\032\023Define_Co" + + "mmon.proto\"\220\001\n\024ClientProgramVersion\022\031\n\021m" + + "etaSchemaVersion\030\001 \001(\004\022\027\n\017metaDataVersio" + + "n\030\002 \001(\004\022\025\n\rpacketVersion\030\003 \001(\004\022\024\n\014logicV" + + "ersion\030\004 \001(\004\022\027\n\017resourceVersion\030\005 \001(\004\"M\n" + + "\014LogicVersion\022\r\n\005major\030\001 \001(\005\022\r\n\005minor\030\002 " + + "\001(\005\022\r\n\005build\030\003 \001(\005\022\020\n\010revision\030\004 \001(\005\"\317\001\n" + + "\024ServerProgramVersion\022\031\n\021metaSchemaVersi" + + "on\030\001 \001(\004\022\027\n\017metaDataVersion\030\002 \001(\004\022\027\n\017dbS" + + "chemaVersion\030\003 \001(\004\022\025\n\rpacketVersion\030\004 \001(" + + "\004\022#\n\014logicVersion\030\005 \001(\0132\r.LogicVersion\022\027" + + "\n\017resourceVersion\030\006 \001(\004\022\025\n\rconfigVersion" + + "\030\007 \001(\004B/\n+com.caliverse.admin.domain.Rab" + + "bitMq.messageP\001b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor(), + }); + internal_static_ClientProgramVersion_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_ClientProgramVersion_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ClientProgramVersion_descriptor, + new java.lang.String[] { "MetaSchemaVersion", "MetaDataVersion", "PacketVersion", "LogicVersion", "ResourceVersion", }); + internal_static_LogicVersion_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_LogicVersion_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LogicVersion_descriptor, + new java.lang.String[] { "Major", "Minor", "Build", "Revision", }); + internal_static_ServerProgramVersion_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_ServerProgramVersion_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerProgramVersion_descriptor, + new java.lang.String[] { "MetaSchemaVersion", "MetaDataVersion", "DbSchemaVersion", "PacketVersion", "LogicVersion", "ResourceVersion", "ConfigVersion", }); + com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DefineResult.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DefineResult.java new file mode 100644 index 0000000..83eabbb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DefineResult.java @@ -0,0 +1,725 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Result.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public final class DefineResult { + private DefineResult() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_Result_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Result_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\023Define_Result.proto\"C\n\006Result\022#\n\terror" + + "Code\030\001 \001(\0162\020.ServerErrorCode\022\024\n\014resultSt" + + "ring\030\002 \001(\t*\205\323\001\n\017ServerErrorCode\022\013\n\007Succe" + + "ss\020\000\022\035\n\020ResultCodeNotSet\020\377\377\377\377\377\377\377\377\377\001\022\026\n\021T" + + "ryCatchException\020\221N\022\024\n\017DotNetException\020\222" + + "N\022\026\n\021ProudNetException\020\223N\022\026\n\021RabbitMqExc" + + "eption\020\224N\022\026\n\021DynamoDbException\020\225N\022\036\n\031Dyn" + + "amoDbTransactException\020\226N\022\023\n\016RedisExcept" + + "ion\020\227N\022\026\n\021MetaInfoException\020\230N\022\025\n\020MySqlD" + + "bException\020\231N\022%\n NLogWithAwsCloudWatchSe" + + "tupFailed\020\257N\022\024\n\017LogActionIsNull\020\303N\022\026\n\021Lo" + + "gAppenderIsNull\020\304N\022\027\n\022LogFormatterIsNull" + + "\020\305N\022\031\n\024LogActionTypeInvalid\020\306N\022\022\n\rRmiHos" + + "tIsNull\020\365N\022\035\n\030RmiHostHandlerBindFailed\020\366" + + "N\022\031\n\024SubHandlerBindFailed\020\367N\022\035\n\030SutbAndP" + + "roxyAttachFailed\020\370N\022\036\n\031SetMessageMaxLeng" + + "thFailed\020\371N\022$\n\037PacketRecvHandlerRegister" + + "Failed\020\247O\022$\n\037PacketSendHandlerRegisterFa" + + "iled\020\250O\022\026\n\021PacketRecvInvalid\020\251O\022\036\n\031Racke" + + "tRecvHandlerNotFound\020\252O\022\036\n\031LargePacketNo" + + "tAllReceived\020\253O\022\034\n\027LargePacketRecvTimeOv" + + "er\020\254O\022)\n$DynamoDbTransactionCanceledExce" + + "ption\020\331O\022$\n\037DynamoDbAmazonDynamoDbExcept" + + "ion\020\332O\022#\n\036DynamoDbAmazonServiceException" + + "\020\333O\022\035\n\030DynamoDbConfigLoadFailed\020\334O\022\032\n\025Dy" + + "namoDbConnectFailed\020\335O\022\036\n\031DynamoDbTableC" + + "reateFailed\020\336O\022\036\n\031DynamoDbTableNotConnec" + + "ted\020\337O\022\030\n\023DynamoDbQueryFailed\020\340O\022\035\n\030Dyna" + + "moDbItemSizeExceeded\020\341O\022!\n\034DynamoDbQuery" + + "NothingMatchDoc\020\342O\022)\n$DynamoDbTransactio" + + "nConflictException\020\343O\022\034\n\027DynamoDbExpress" + + "ionError\020\344O\022\037\n\032DynamoDbPrimaryKeyNotFoun" + + "d\020\345O\022\033\n\026DynamoDbQueryException\020\355O\022\035\n\030Dyn" + + "amoDbQueryNoRequested\020\356O\022\'\n\"DynamoDbQuer" + + "yNotFoundDocumentQuery\020\357O\022+\n&DynamoDbQue" + + "ryExceptionNotifierNotFound\020\360O\022)\n$Dynamo" + + "DbDocumentIsNullInQueryContext\020\201P\022\036\n\031Dyn" + + "amoDbDocumentIsInvalid\020\202P\022,\n\'DynamoDbDoc" + + "umentQueryContextTypeInvalid\020\203P\022$\n\037Dynam" + + "oDbDocumentCopyFailedToDoc\020\204P\022!\n\034DynamoD" + + "bDocumentUpsertFailed\020\205P\022!\n\034DynamoDbItem" + + "RequestIsInvalid\020\213P\022/\n*DynamoDbItemReque" + + "stQueryContextTypeInvalid\020\214P\022\031\n\024DynamoDb" + + "DocPkInvalid\020\225P\022\031\n\024DynamoDbDocSkInvalid\020" + + "\226P\022$\n\037DynamoDbDocAttribTypeDuplicated\020\227P" + + "\022$\n\037DynamoDbDocCopyFailedToDocument\020\230P\022&" + + "\n!DynamoDbDocCopyFailedFromDocument\020\231P\022\034" + + "\n\027DynamoDbDocTypeNotMatch\020\232P\022\033\n\026DynamoDb" + + "RequestInvalid\020\233P\022$\n\037DynamoDbDocAttribut" + + "eStateNotSet\020\234P\022\'\n\"DynamoDbDocAttribWrap" + + "perCopyFailed\020\235P\022&\n!DynamoDbDocAttribute" + + "GettingFailed\020\236P\022\037\n\032DynamoDbDocLinkPkSkI" + + "nvalid\020\237P\022 \n\033MySqlConnectionCreateFailed" + + "\020\251P\022\036\n\031MySqlConnectionOpenFailed\020\252P\022\032\n\025M" + + "ySqlDbQueryException\020\253P\022\035\n\030RedisServerCo" + + "nnectFailed\020\275P\022\034\n\027RedisStringsWriteFaile" + + "d\020\276P\022\033\n\026RedisStringsReadFailed\020\277P\022\031\n\024Red" + + "isSetsWriteFailed\020\300P\022\030\n\023RedisSetsReadFai" + + "led\020\301P\022\037\n\032RedisSortedSetsWriteFailed\020\302P\022" + + "\036\n\031RedisSortedSetsReadFailed\020\303P\022\033\n\026Redis" + + "HashesWriteFailed\020\304P\022\032\n\025RedisHashesReadF" + + "ailed\020\305P\022\032\n\025RedisListsWriteFailed\020\306P\022\031\n\024" + + "RedisListsReadFailed\020\307P\022\033\n\026RedisRequestK" + + "eyIsEmpty\020\310P\022\035\n\030RedisLoginCacheGetFailed" + + "\020\311P\022\035\n\030RedisLoginCacheSetFailed\020\312P\022 \n\033Re" + + "disPrivateCacheDuplicated\020\313P\022%\n RedisGlo" + + "balSharedCacheDuplicated\020\314P\022)\n$RedisLogi" + + "nCacheOwnerUserGuidNotMatch\020\315P\022#\n\036RedisG" + + "lobalPartyCacheGetFailed\020\316P\022%\n RedisGlob" + + "alPartyCacheWriteFailed\020\317P\022+\n&RedisGloba" + + "lPartyMemberCacheWriteFailed\020\320P\022+\n&Redis" + + "GlobalPartyServerCacheWriteFailed\020\321P\0224\n/" + + "RedisGlobalPartyInvitePartySendCacheWrit" + + "eFailed\020\322P\022(\n#RedisInstanceRoomInfoCache" + + "GetFailed\020\323P\022)\n$RedisUgcNpcTotalRankCach" + + "eWriteFailed\020\324P\022 \n\033RabbitMqConsumerStart" + + "Failed\020\241Q\022\032\n\025RabbitMqConnectFailed\020\242Q\022\031\n" + + "\024RabbitMessageTimeOld\020\243Q\022\031\n\024S3ClientCrea" + + "teFailed\020\205R\022\031\n\024S3BucketCreateFailed\020\206R\022\027" + + "\n\022S3FileUploadFailed\020\207R\022\027\n\022S3FileDeleteF" + + "ailed\020\210R\022\024\n\017S3FileGetFailed\020\211R\022\027\n\022MetaDa" + + "taLoadFailed\020\267R\022\024\n\017InvalidMetaData\020\270R\022\022\n" + + "\rMetaIdInvalid\020\271R\022\024\n\017JsonTypeInvalid\020\363R\022" + + "!\n\034JsonConvertDeserializeFailed\020\364R\022\035\n\030Se" + + "rverConfigFileNotFound\020\315S\022\026\n\021ServerTypeI" + + "nvalid\020\316S\022\'\n\"AlreadyRunningServerWithLis" + + "tenPort\020\317S\022\031\n\024NotFoundCacheStorage\020\320S\022\026\n" + + "\021FunctionParamNull\020\321S\022\031\n\024FunctionInvalid" + + "Param\020\322S\022\034\n\027ClientListenPortInvalid\020\323S\022\031" + + "\n\024NotOverrideInterface\020\324S\022\032\n\025ServerOnRun" + + "ningFailed\020\325S\022\027\n\022ServiceTypeInvalid\020\326S\022\033" + + "\n\026FunctionNotImplemented\020\327S\022.\n)ClassDoes" + + "NotImplementInterfaceInheritance\020\330S\022\027\n\022R" + + "uleTypeDuplicated\020\331S\022\030\n\023ClassTypeCastIsN" + + "ull\020\332S\022\"\n\035PeriodicTaskAlreadyRegistered\020" + + "\333S\022\"\n\035EntityTickerAlreadyRegistered\020\334S\022\031" + + "\n\024EntityTickerNotFound\020\335S\022\027\n\022EntityBaseN" + + "otFound\020\336S\022\030\n\023ValidServerNotFound\020\337S\022 \n\033" + + "TargetServerUserCountExceed\020\340S\022\027\n\022Target" + + "UserNotFound\020\341S\022\027\n\022TargetUserNotLogIn\020\342S" + + "\022\020\n\013NotExistMap\020\343S\022\"\n\035FailedToReserveEnt" + + "erCondition\020\344S\022\035\n\030FailedToReservationEnt" + + "er\020\345S\022\033\n\026OwnerEntityTypeInvalid\020\346S\022\034\n\027Ow" + + "nerEntityCannotFillup\020\347S\022\025\n\020OwnerGuidInv" + + "alid\020\350S\022!\n\034DailyTimeEventAdditionFailed\020" + + "\351S\022$\n\037ProgramVersionPathTokenNotFound\020\352S" + + "\022\035\n\030CurrentlyProcessingState\020\353S\022\031\n\024Serve" + + "rUrlTypeInvalid\020\354S\022#\n\036ServerUrlTypeAlrea" + + "dyRegistered\020\355S\022\034\n\027ServerOfflineModeEnab" + + "le\020\356S\022$\n\037MetaDataCopyToDynamoDbDocFailed" + + "\020\342T\022(\n#MetaDataCopyToEntityAttributeFail" + + "ed\020\343T\022!\n\034DynamoDbDocCopyToCacheFailed\020\344T" + + "\022+\n&DynamoDbDocCopyToEntityAttributeFail" + + "ed\020\345T\022%\n CacheCopyToEntityAttributeFaile" + + "d\020\346T\022!\n\034CacheCopyToDynamoDbDocFailed\020\273R\022" + + "%\n EntityAttributeCopyToCacheFailed\020\274R\022+" + + "\n&EntityAttributeCopyToDynamoDbDocFailed" + + "\020\275R\0229\n4EntityAttributeCopyToEntityAttrib" + + "uteTransactorFailed\020\276R\0229\n4EntityAttribut" + + "eTransactorCopyToEntityAttributeFailed\020\277" + + "R\0225\n0EntityAttributeTransactorCopyToDyna" + + "moDbDocFailed\020\300R\022\023\n\016AttribNotFound\020\301R\022\031\n" + + "\024AttribPathMakeFailed\020\302R\022\036\n\031EntityAttrib" + + "uteCastFailed\020\303R\022\036\n\031StringConvertToEnumF" + + "ailed\020\304R\022\036\n\031MetaSchemaVersionNotMatch\020\225U" + + "\022\034\n\027MetaDataVersionNotMatch\020\226U\022\032\n\025Packet" + + "VersionNotMatch\020\227U\022\037\n\032ClientLogicVersion" + + "NotMatch\020\230U\022\034\n\027ResourceVersionNotMatch\020\231" + + "U\022\037\n\032ClientProgramVersionIsNull\020\232U\022\023\n\016Te" + + "stIdNotAllow\020\371U\022\021\n\014BotdNotAllow\020\372U\022\031\n\024Ac" + + "countIdLengthShort\020\373U\022$\n\037AccountIdNotFou" + + "ndInSsoAccountDb\020\374U\022!\n\034MetaDataNotFoundB" + + "yTestUserId\020\375U\022\034\n\027AccountPasswordNotMatc" + + "h\020\376U\022\'\n\"UserDataConvertToAccountAttrFail" + + "ed\020\377U\022$\n\037AccountBaseAttribInsertDbFailed" + + "\020\200V\022\030\n\023NoServerConnectable\020\201V\022\023\n\016Blocked" + + "Account\020\202V\022,\n\'SsoAccountAuthWithLauncher" + + "LoginNotAllow\020\203V\022\"\n\035ClientStandaloneLogi" + + "nNotAllow\020\204V\022\031\n\024PlatformTypeNotAllow\020\205V\022" + + "&\n!AccountCanNotReadFromSsoAccountDb\020\206V\022" + + "!\n\034SsoAccountAuthJwtCheckFailed\020\207V\022)\n$Us" + + "erIdKeyNotFoundInSsoAccountAuthJwt\020\210V\022(\n" + + "#UserIdValueEmptyInSsoAccountAuthJwt\020\211V\022" + + ".\n)AccountTypeKeyNotFoundInSsoAccountAut" + + "hJwt\020\212V\0220\n+AccountTypeValueNotAllowInSso" + + "AccountAuthJwt\020\213V\022(\n#AccountBaseDocNotFo" + + "undInMetaverseDb\020\214V\022.\n)AccessTokenKeyNot" + + "AllowInSsoAccountAuthJwt\020\215V\022&\n!AccessTok" + + "enNotMatchInSsoAccountDb\020\216V\022\030\n\023AccountTy" + + "peNotAllow\020\217V\022\032\n\025AccountBaseDocNotLoad\020\220" + + "V\022\027\n\022NotEnoughAuthority\020\256V\022\031\n\024AccountBas" + + "eDocIsNull\020\257V\022\025\n\020AccountIdInvalid\020\260V\022\033\n\026" + + "AccountWithoutUserGuid\020\261V\022\"\n\035SsoAccountA" + + "uthJwtTokenExpired\020\262V\022\037\n\032SsoAccountAuthJ" + + "wtException\020\263V\022$\n\037TransactionRunnerAlrea" + + "dyRunning\020\301W\022\036\n\031TransactionRunnerNotFoun" + + "d\020\302W\022\026\n\021EntityGuidInvalid\020\245X\022\033\n\026EntityAt" + + "tribDuplicated\020\246X\022\032\n\025EntityAttributeIsNu" + + "ll\020\247X\022\034\n\027EntityAttributeNotFound\020\250X\022 \n\033E" + + "ntityAttributeStateInvalid\020\251X\022\026\n\021EntityT" + + "ypeInvalid\020\252X\022\026\n\021EntityLinkedToMap\020\253X\022\031\n" + + "\024EntityNotLinkedToMap\020\254X\022\032\n\025EntityStateN" + + "otDancing\020\255X\022\033\n\026EntityActionDuplicated\020\211" + + "Y\022\031\n\024EntityActionNotFound\020\212Y\022\035\n\030EntityBa" + + "seHfsmInitFailed\020\355Y\022 \n\033RedisGlobalEntity" + + "Duplicated\020\321Z\022\032\n\025UserIsSwitchingServer\020\265" + + "[\022\035\n\030UserIsNotSwitchingServer\020\266[\022\037\n\032Serv" + + "erSwitchingOtpNotMatch\020\267[\022#\n\036ConnectedSe" + + "rverIsNotDestServer\020\270[\022\033\n\026InvalidReserva" + + "tionUser\020\271[\022\026\n\021InvalidReturnUser\020\272[\022)\n$U" + + "serNicknameNotAllowWithSpecialChars\020\341]\022," + + "\n\'UserNicknameAllowedMin2ToMax8WithKorea" + + "n\020\342]\022.\n)UserNicknameAllowedMin4ToMax16Wi" + + "thEnglish\020\343]\022-\n(UserNicknameNotAllowedNu" + + "mberAtFirstChars\020\344]\022\036\n\031UserNicknameNotAl" + + "lowChars\020\345]\022-\n(UserNicknameNotAllowWithI" + + "nitialismKorean\020\346]\022\024\n\017UserNicknameBan\020\347]" + + "\022\030\n\023UserDuplicatedLogin\020\350]\022\021\n\014UserNotLog" + + "in\020\351]\022)\n$UserCreationForDynamoDbDocDupli" + + "cated\020\352]\022)\n$UserGuidApplyToRefAttributeA" + + "llFailed\020\353]\022&\n!TestUserPrepareCreateNotC" + + "ompleted\020\354]\022)\n$DefaultUserPrepareCreateN" + + "otCompleted\020\355]\022 \n\033UserPrepareLoadNotComp" + + "leted\020\356]\022\033\n\026UserNicknameNotCreated\020\357]\022\037\n" + + "\032UserNicknameAlreadyCreated\020\360]\022\037\n\032UserCr" + + "eateStepNotCompleted\020\361]\022\030\n\023UserCreateCom" + + "pleted\020\362]\022\033\n\026UserSubKeyBindToFailed\020\363]\022\034" + + "\n\027UserSubKeyReplaceFailed\020\364]\022\024\n\017UserGuid" + + "Invalid\020\365]\022\032\n\025UserNicknameDocIsNull\020\366]\022\022" + + "\n\rUserDocIsNull\020\367]\022\031\n\024UserGuidAlreadyAdd" + + "ed\020\370]\022\033\n\026UserNicknameDuplicated\020\371]\022#\n\036Us" + + "erNicknameAllowedMin2ToMax12\020\372]\022 \n\033UserN" + + "icknameSearchPageWrong\020\373]\022\026\n\021UserNicknam" + + "eEmpty\020\374]\022!\n\034UserContentsSettingDocIsNul" + + "l\020\375]\022\026\n\021UserMoneyDocEmpty\020\376]\022!\n\034UserRepo" + + "rtInvalidTitleLength\020\305^\022#\n\036UserReportInv" + + "alidContentLength\020\306^\022+\n&TestCharacterPre" + + "pareCreateNotCompleted\020\311e\022.\n)DefaultChar" + + "acterPrepareCreateNotCompleted\020\324e\022%\n Cha" + + "racterPrepareLoadNotCompleted\020\325e\022,\n\'Char" + + "acterBaseDocLoadDuplicatedCharacter\020\326e\022\031" + + "\n\024CharacterNotSelected\020\327e\022\026\n\021CharacterNo" + + "tFound\020\330e\022\033\n\026CharacterBaseDocNoRead\020\331e\022%" + + "\n CharacterCustomizingNotCompleted\020\332e\022$\n" + + "\037CharacterCreateStepNotCompleted\020\333e\022)\n$C" + + "haracterCustomizingAlreadyCompleted\020\334e\022\037" + + "\n\032CharacterPrepareNotCreated\020\335e\022\035\n\030Chara" + + "cterCreateCompleted\020\336e\022\033\n\026CharacterBaseD" + + "ocIsNull\020\337e\022\025\n\020AbilityNotEnough\020\365g\022\031\n\024It" + + "emMetaDataNotFound\020\261m\022\024\n\017ItemGuidInvalid" + + "\020\262m\022\022\n\rItemDocIsNull\020\263m\022\'\n\"ItemDefaultAt" + + "tributeNotFoundInMeta\020\264m\022#\n\036ItemLevelEnc" + + "hantNotFoundInMeta\020\265m\022\036\n\031ItemEnchantNotF" + + "oundInMeta\020\266m\022+\n&ItemAttributeRandomGrou" + + "pNotFoundInMeta\020\267m\022/\n*ItemAttributeRando" + + "mGroupTotalWeightInvalid\020\270m\022\021\n\014ItemNotFo" + + "und\020\271m\022\036\n\031ItemClothInvalidLargeType\020\272m\022\036" + + "\n\031ItemClothInvalidSmallType\020\273m\022\032\n\025ItemSt" + + "ackCountInvalid\020\274m\022\027\n\022ItemMaxCountExceed" + + "\020\275m\022\036\n\031ItemDocLoadDuplicatedItem\020\276m\022\031\n\024C" + + "lothSlotTypeInvalid\020\277m\022\034\n\027ItemStackCount" + + "NotEnough\020\300m\022\027\n\022ItemCountNotEnough\020\301m\022\030\n" + + "\023ItemInvalidItemType\020\302m\022\035\n\030ItemToolMetaD" + + "ataNotFound\020\303m\022\025\n\020ItemToolNotFound\020\304m\022\035\n" + + "\030ItemToolNotActivateState\020\305m\022\030\n\023ToolActi" + + "onDocIsNull\020\306m\022%\n ToolActionAlreadyUnact" + + "ivateState\020\307m\022#\n\036ToolActionAlreadyActiva" + + "teState\020\310m\022\027\n\022ItemTattooNotFound\020\311m\022%\n I" + + "temAttributeEnchantMetaNotFound\020\312m\022#\n\036It" + + "emAttributeChangeNotSelected\020\313m\022$\n\037ItemP" + + "arsingFromStringToIntErorr\020\314m\022)\n$ItemVal" + + "ueParsingFromStringToIntErorr\020\315m\022&\n!Item" + + "FirstPurchaseHistoryDocIsNull\020\316m\0222\n-Item" + + "FirstPurchaseHistoryDocLoadDuplicatedIte" + + "m\020\317m\022)\n$ItemFirstPurchaseHistoryAlreadyE" + + "xist\020\320m\022,\n\'ItemFirstPurchaseDiscountItem" + + "CountWrong\020\321m\022\037\n\032ItemAttributeIdTypeInva" + + "lid\020\322m\022\024\n\017ItemAllocFailed\020\323m\022\027\n\022ItemGuid" + + "Duplicated\020\324m\022\030\n\023ItemLevelCurrentMax\020\325m\022" + + "\034\n\027ItemUseFunctionNotFound\020\225n\022\035\n\030ItemUse" + + "QuestMailCountMax\020\226n\022#\n\036ItemUseNotExistA" + + "ssignableQuest\020\227n\022\033\n\026ItemUseAlreadyHasQu" + + "est\020\230n\022\037\n\032ItemUseAlreadyHasQuestMail\020\231n\022" + + "#\n\036BagRuleItemLargeTypeDuplicated\020\231u\022)\n$" + + "ToolEquipRuleItemLargeTypeDuplicated\020\232u\022" + + "*\n%ClothEquipRuleItemLargeTypeDuplicated" + + "\020\233u\022+\n&TattooEquipRuleItemLargeTypeDupli" + + "cated\020\234u\022\032\n\025InventoryRuleNotFound\020\235u\022\027\n\022" + + "EquipInvenNotFound\020\236u\022\030\n\023SlotsAlreadyEqu" + + "iped\020\237u\022\032\n\025SlotsAlreadyUnequiped\020\240u\022\022\n\rB" + + "agIsItemFull\020\241u\022\023\n\016BagIsItemEmpty\020\242u\022\032\n\025" + + "BagDeltaItemDupliated\020\243u\022\024\n\017BagItemNotFo" + + "und\020\244u\022(\n#ClothEquipRuleClothSlotTypeNot" + + "Found\020\245u\022&\n!ToolEquipRuleToolSlotTypeNot" + + "Found\020\246u\022*\n%TattooEquipRuleTattooSlotTyp" + + "eNotFound\020\247u\022\030\n\023BagTabTypeAddFailed\020\250u\022\026" + + "\n\021BagTabTypeInvalid\020\251u\022\027\n\022BagTabTypeNotF" + + "ound\020\252u\022\033\n\026BagTabCountMergeFailed\020\253u\022\037\n\032" + + "InventoryEntityTypeInvalid\020\254u\022\032\n\025InvenEq" + + "uipTypeInvalid\020\255u\022\032\n\025BagIsReservedItemFu" + + "ll\020\256u\022\033\n\026BagIsReservedItemEmpty\020\257u\022\026\n\021Eq" + + "uipSlotNotMatch\020\260u\022\030\n\023EquipSlotOutOfRang" + + "e\020\261u\022\036\n\031SlotsAlreadyReservedEquip\020\262u\022 \n\033" + + "SlotsAlreadyReservedUnequip\020\263u\022\025\n\020SlotTy" + + "peNotFound\020\264u\022\037\n\032UgcNpcMetaGuidAlreadyAd" + + "ded\020\375u\022\024\n\017UgcNpcDocIsNull\020\376u\022\031\n\024UgcNpcMa" + + "xCountExceed\020\377u\022\035\n\030UgcNpcClothItemNotEno" + + "ugh\020\200v\022\"\n\035UgcNpcDocLoadDuplicatedUgcNpc\020" + + "\201v\022\"\n\035UgcNpcDescriptionLengthExceed\020\202v\022#" + + "\n\036UgcNpcWordScenarioLengthExceed\020\203v\022\037\n\032U" + + "gcNpcGreetingLengthExceed\020\204v\022\036\n\031UgcNpcTa" + + "ttooItemNotEnough\020\205v\022\'\n\"UgcNpcHabitSocia" + + "lActionCountExceed\020\206v\022*\n%UgcNpcDialogueS" + + "ocialActionCountExceed\020\207v\022\035\n\030UgcNpcNickn" + + "ameDuplicated\020\210v\022\023\n\016UgcNpcNotFound\020\211v\022#\n" + + "\036UgcNpcIntroductionLengthExceed\020\212v\022\027\n\022Ug" + + "cNpcMaxTagExceed\020\213v\022\030\n\023UgcNpcNicknameEmp" + + "ty\020\214v\022&\n!UgcNpcAlreadyRegisteredInGameZo" + + "ne\020\215v\022\"\n\035UgcNpcNotRegisteredInGameZone\020\216" + + "v\022$\n\037UgcNpcLikeSelecteeCountNotFound\020\217v\022" + + "#\n\036UgcNpcLikeSelectedFlagNotFound\020\220v\022\037\n\032" + + "UgcNpcDuplicateInMyhomeUgc\020\221v\022\027\n\022UgcNpcL" + + "ocatedState\020\222v\022\033\n\026UgcNpcMetaDataNotFound" + + "\020\223v\022\037\n\032UgcNpcRankEntityIsNotFound\020\341v\022\031\n\024" + + "UgcNpcRankOutOfRange\020\342v\022#\n\036FarmingEffect" + + "DocLinkPkSkNotSet\020\305w\022-\n(FarmingEffectAlr" + + "eadyRegisteredInGameZone\020\306w\022\023\n\016FarmingAl" + + "ready\020\307w\022\020\n\013FarmingByMe\020\310w\022 \n\033FarmingPro" + + "pMetaDataNotFound\020\311w\022\033\n\026FarmingTryCountI" + + "nvalid\020\312w\022\024\n\017FarmingNotState\020\313w\022\031\n\024Farmi" + + "ngOwnerNotMatch\020\314w\022%\n FarmingSummonedEnt" + + "ityTypeInvalid\020\315w\022$\n\037FarmingEffectNotExi" + + "stInGameZone\020\316w\022\020\n\013FarimgState\020\317w\022\033\n\026Far" + + "mingStandByNotState\020\320w\022\032\n\025FarmingAnchorN" + + "otFound\020\321w\022\032\n\025GachaMetaDataNotFound\020\251x\022\025" + + "\n\020GachaRewardEmpty\020\252x\022\023\n\016MasterNotFound\020" + + "\271{\022\025\n\020MasterNotRelated\020\272{\022\024\n\017GameZoneNot" + + "Join\020\235|\022\016\n\tMapIsNull\020\236|\022\034\n\027LocationUniqu" + + "eIdInvalid\020\237|\022\024\n\017FriendDocIsNull\020\201}\022\032\n\025F" + + "riendFolderDocIsNull\020\202}\022\"\n\034SocialActionM" + + "etaDataNotFound\020\351\204\001\022\032\n\024SocialActionNotFo" + + "und\020\352\204\001\022/\n)SocialActionDocLoadDuplicated" + + "SocialAction\020\353\204\001\022\036\n\030SocialActionAlreadyE" + + "xist\020\354\204\001\022 \n\032SocialActionSlotOutOfRange\020\355" + + "\204\001\022\033\n\025SocialActionNotOnSlot\020\356\204\001\022\033\n\025Socia" + + "lActionDocIsNull\020\357\204\001\022\034\n\026ChannelMoveSameC" + + "hannel\020\321\214\001\022 \n\032ChannelInvalidMoveCoolTime" + + "\020\322\214\001\022\026\n\020NotChannelServer\020\323\214\001\022\030\n\022OwnedRoo" + + "mDocIsNull\020\271\224\001\022\023\n\rRoomDocIsNull\020\272\224\001\022\025\n\017R" + + "oomIsNotMyHome\020\273\224\001\022\022\n\014MailNotFound\020\241\234\001\022\026" + + "\n\020MailAlreadyTaken\020\242\234\001\022\031\n\023MailInvalidMai" + + "lType\020\243\234\001\022\034\n\026MailMaxSendCountExceed\020\244\234\001\022" + + "\023\n\rMailDocIsNull\020\245\234\001\022\035\n\027MailBlockUserCan" + + "notSend\020\246\234\001\022&\n MailMaxTargetReceivedCoun" + + "tExceed\020\247\234\001\022\026\n\020MailCantSendSelf\020\250\234\001\022 \n\032M" + + "ailCantDeleteIfItemExists\020\251\234\001\022\032\n\024MailPro" + + "fileDocIsNull\020\315\236\001\022\031\n\023SystemMailDocIsNull" + + "\020\225\240\001\022\030\n\022PartyCannotSetGuid\020\211\244\001\022 \n\032PartyF" + + "ailedMakePartyMember\020\212\244\001\022\021\n\013PartyIsFull\020" + + "\213\244\001\022\030\n\022AlreadyInviteParty\020\214\244\001\022\031\n\023NotFoun" + + "dPartyInvite\020\215\244\001\022\023\n\rNotFoundParty\020\216\244\001\022\016\n" + + "\010NotParty\020\217\244\001\022\024\n\016NotPartyLeader\020\220\244\001\022\022\n\014J" + + "oiningParty\020\221\244\001\022\024\n\016NotPartyMember\020\222\244\001\022\023\n" + + "\rAlreadySummon\020\223\244\001\022\035\n\027PartyLeaderServerI" + + "sFull\020\224\244\001\022\033\n\025InviteMemberIsConcert\020\225\244\001\022\034" + + "\n\026FailToSendInviteMember\020\226\244\001\022\030\n\022AlreadyP" + + "artyMember\020\227\244\001\022\035\n\027InvalidSummonServerTyp" + + "e\020\230\244\001\022\035\n\027SummonUserLimitDistance\020\231\244\001\022\031\n\023" + + "InvalidSummonMember\020\232\244\001\022\032\n\024PartyLeaderLo" + + "ggedOut\020\233\244\001\022\033\n\025AlreadyStartPartyVote\020\234\244\001" + + "\022\026\n\020NoStartPartyVote\020\235\244\001\022\036\n\030AlreadyPassP" + + "artyVoteTime\020\236\244\001\022\032\n\024InvalidPartyVoteTime" + + "\020\237\244\001\022\033\n\025AlreadyReplyPartyVote\020\240\244\001\022\032\n\024Emp" + + "tyPartyInstanceId\020\241\244\001\022\030\n\022InvalidInvitePl" + + "ace\020\242\244\001\022\035\n\027InvitePartyInvalidUsers\020\243\244\001\022\033" + + "\n\025SummonPartyMemberFail\020\244\244\001\022\036\n\030InvalidPa" + + "rtyStringLength\020\245\244\001\022!\n\033IncludeBanWordFro" + + "mPartyName\020\246\244\001\022\"\n\034JoiningPartyMemberInfo" + + "IsNull\020\247\244\001\022\036\n\030InvalidSummonWorldServer\020\250" + + "\244\001\022\033\n\025NotExistPartyInstance\020\357\253\001\022\032\n\024BuffM" + + "etaDataNotFound\020\361\253\001\022\035\n\027BuffNotRegistryCa" + + "tegory\020\362\253\001\022\022\n\014BuffNotFound\020\363\253\001\022!\n\033BuffIn" + + "validBuffCategoryType\020\364\253\001\022!\n\033BuffCacheLo" + + "adDuplicatedBuff\020\365\253\001\022\036\n\030BuffInvalidAttri" + + "buteType\020\366\253\001\022\035\n\027QuestAssingDataNotExist\020" + + "\330\263\001\022\027\n\021QuestMailNotExist\020\331\263\001\022\027\n\021QuestAlr" + + "eadyEnded\020\332\263\001\022\023\n\rQuestCountMax\020\333\263\001\022\035\n\027Qu" + + "estTypeAssignCountMax\020\334\263\001\022\026\n\020QuestInvali" + + "dType\020\335\263\001\022\027\n\021QuestInvalidValue\020\336\263\001\022\025\n\017Qu" + + "estIdNotFound\020\337\263\001\022\031\n\023QuestInvalidTaskNum" + + "\020\340\263\001\022\033\n\025QuestRefuseOnlyNormal\020\341\263\001\022\036\n\030Que" + + "stAbadonNotExistQuest\020\342\263\001\022\032\n\024QuestAlread" + + "yComplete\020\343\263\001\022\026\n\020QuestNotComplete\020\344\263\001\022\034\n" + + "\026QuestAbandonOnlyNormal\020\345\263\001\022\030\n\022QuestMail" + + "DocIsNull\020\346\263\001\022\024\n\016QuestDocIsNull\020\347\263\001\022\027\n\021E" + + "ndQuestDocIsNull\020\350\263\001\022\037\n\031QuestMetaBaseNot" + + "Implement\020\351\263\001\022 \n\032QuestNotifyRedisRegistF" + + "ail\020\352\263\001\022\033\n\025WorldMetaDataNotFound\020\301\273\001\022\032\n\024" + + "LackOfWorldEnterItem\020\302\273\001\022\036\n\030WorldMapTree" + + "DataNotFound\020\303\273\001\022#\n\035WorldMapTreeChildLan" + + "dNotFound\020\304\273\001\022\031\n\023RoomMapDataNotFound\020\305\273\001" + + "\022\032\n\024LandMetaDataNotFound\020\265\277\001\022\022\n\014LandNotF" + + "ound\020\266\277\001\022\037\n\031LandDocLoadDuplicatedLand\020\267\277" + + "\001\022\023\n\rLandDocIsNull\020\270\277\001\022\027\n\021OwnedLandNotFo" + + "und\020\271\277\001\022)\n#OwnedLandDocLoadDuplicatedOwn" + + "edLand\020\272\277\001\022\030\n\022OwnedLandDocIsNull\020\273\277\001\022\035\n\027" + + "LandMapTreeDataNotFound\020\274\277\001\022&\n LandMapTr" + + "eeChildBuildingNotFound\020\275\277\001\022\034\n\026LandBuild" + + "ingIsNotEmpty\020\276\277\001\022\031\n\023LandMapDataNotFound" + + "\020\277\277\001\022\036\n\030BuildingMetaDataNotFound\020\251\303\001\022\026\n\020" + + "BuildingNotFound\020\252\303\001\022\'\n!BuildingDocLoadD" + + "uplicatedBuilding\020\253\303\001\022\027\n\021BuildingDocIsNu" + + "ll\020\254\303\001\022\033\n\025OwnedBuildingNotFound\020\255\303\001\0221\n+O" + + "wnedBuildingDocLoadDuplicatedOwnedBuildi" + + "ng\020\256\303\001\022\034\n\026OwnedBuildingDocIsNull\020\257\303\001\022!\n\033" + + "BuildingMapTreeDataNotFound\020\260\303\001\022&\n Build" + + "ingMapTreeChildRoomNotFound\020\261\303\001\022\035\n\027Build" + + "ingFloorIsNotEmpty\020\262\303\001\022\035\n\027BuildingMapDat" + + "aNotFound\020\263\303\001\022\034\n\026MyHomeMetaDataNotFound\020" + + "\235\307\001\022\024\n\016MyHomeNotFound\020\236\307\001\022#\n\035MyHomeDocLo" + + "adDuplicatedMyHome\020\237\307\001\022\030\n\022MyHomeAlreadyE" + + "xist\020\240\307\001\022\025\n\017MyHomeDocIsNull\020\241\307\001\022\025\n\017MyHom" + + "eIsNotMine\020\242\307\001\022$\n\036MyHomeCantExchangeWhen" + + "Crafting\020\243\307\001\022\"\n\034EditableRoomMetaDataNotF" + + "ound\020\244\307\001\022\'\n!EditableFrameworkMetaDataNot" + + "Found\020\245\307\001\022\031\n\023InteriorPointExceed\020\246\307\001\022\031\n\023" + + "MyhomeNotEnoughSlot\020\247\307\001\022\026\n\020MyhomeIsSelec" + + "ted\020\250\307\001\022\033\n\025MyhomeNameLengthShort\020\251\307\001\022\032\n\024" + + "MyhomeNameLengthLong\020\252\307\001\022\032\n\024MyhomeNameDu" + + "plicated\020\253\307\001\022\036\n\030MyhomeInterphoneNotExist" + + "\020\254\307\001\022\036\n\030MyhomeStartPointNotExist\020\255\307\001\022\034\n\026" + + "MyhomeInterphoneExceed\020\256\307\001\022\034\n\026MyhomeStar" + + "tPointExceed\020\257\307\001\022\033\n\025CraftingClothesExcee" + + "d\020\260\307\001\022\033\n\025CraftingCookingExceed\020\261\307\001\022\035\n\027Cr" + + "aftingFurnitureExceed\020\262\307\001\022\031\n\023AnchorIsNot" + + "InMyhome\020\263\307\001\022&\n DoNotRemoveProcessCrafti" + + "ngAnchor\020\264\307\001\022\031\n\023AnchorGuidDuplicate\020\265\307\001\022" + + "\026\n\020MyhomeIsEditting\020\266\307\001\022\026\n\020MyhomeIsOnRen" + + "tal\020\267\307\001\022\033\n\025MinimapMarkerNotFound\020\221\313\001\0221\n+" + + "MinimapMarkerDocLoadDuplicatedMinimapMar", + "ker\020\222\313\001\022\034\n\026MinimapMarkerDocIsNull\020\223\313\001\022\032\n" + + "\024CartMetaDataNotFound\020\205\317\001\022\030\n\022CartMaxCoun" + + "tExceed\020\206\317\001\022\033\n\025CartStackCountInvalid\020\207\317\001" + + "\022\035\n\027CartStackCountNotEnough\020\210\317\001\022\026\n\020CartI" + + "temNotFound\020\211\317\001\022!\n\033CartNotRegistryCurren" + + "cyType\020\212\317\001\022\035\n\027CartInvalidCurrencyType\020\213\317" + + "\001\022\023\n\rCartDocIsNull\020\214\317\001\022\030\n\022ChatSendSelfFa" + + "iled\020\371\322\001\022\031\n\023ChatInvalidChatType\020\372\322\001\022 \n\032C" + + "hatBlockUserCannotWhisper\020\373\322\001\022\036\n\030ChatInv" + + "alidMessageLength\020\374\322\001\022\030\n\022ChatIncludeBanW" + + "ord\020\375\322\001\022\031\n\023NoticeChatDocIsNull\020\355\326\001\022$\n\036Es" + + "capePositionNotAvailableTime\020\341\332\001\022\035\n\027Esca" + + "pePositionDocIsNull\020\342\332\001\022\030\n\022BlockUserDocI" + + "sNull\020\325\336\001\022\037\n\031CharacterProfileDocIsNull\020\311" + + "\342\001\022 \n\032CustomDefinedDataDocIsNull\020\365\344\001\022\036\n\030" + + "CustomDefinedUiDocIsNull\020\275\346\001\022\031\n\023GameOpti" + + "onDocIsNull\020\261\352\001\022\024\n\016LevelDocIsNull\020\245\356\001\022\027\n" + + "\021LocationDocIsNull\020\231\362\001\022\024\n\016NotUsablePlace" + + "\020\232\362\001\022!\n\033RedisLocationCacheSetFailed\020\233\362\001\022" + + "\024\n\016MoneyDocIsNull\020\201\372\001\022\037\n\031MoneyControlNot" + + "Initialize\020\202\372\001\022\024\n\016MoneyNotEnough\020\203\372\001\022\033\n\025" + + "MoneyMaxCountExceeded\020\204\372\001\022\036\n\030CurrencyMet" + + "aDataNotFound\020\205\372\001\022&\n ShopProductTradingM" + + "eterDocIsNull\020\351\201\002\022\026\n\020ShopIsMyHomeItem\020\352\201" + + "\002\022\030\n\022InvalidShopBuyType\020\353\201\002\022\035\n\027ShopProdu" + + "ctCannotRenwal\020\354\201\002\022\036\n\030ShopProductNotRenw" + + "alTime\020\355\201\002\022\'\n!ShopProductRenewalCountAlr" + + "eadyMax\020\356\201\002\022\030\n\022RewardInfoNotExist\020\320\211\002\022\027\n" + + "\021RewardInvalidType\020\321\211\002\022\034\n\026RewardInvalidT" + + "ypeValue\020\322\211\002\022\036\n\030NotRequireAttributeValue" + + "\020\323\211\002\022.\n(RewardGroupIdParsingFromStringTo" + + "IntErorr\020\324\211\002\022\026\n\020ClaimInvalidType\020\270\221\002\022\035\n\027" + + "ClaimMembershipNotExist\020\271\221\002\022\027\n\021ClaimInfo" + + "NotExist\020\272\221\002\022\036\n\030ClaimRewardNotEnoughTime" + + "\020\273\221\002\022\031\n\023ClaimRewardEventEnd\020\274\221\002\022\024\n\016Claim" + + "DocIsNull\020\275\221\002\022\032\n\024CraftRecipeDocIsNull\020\241\231" + + "\002\022\030\n\022CraftHelpDocIsNull\020\242\231\002\022\024\n\016CraftDocI" + + "sNull\020\243\231\002\022\036\n\030CraftingMetaDataNotFound\020\244\231" + + "\002\022\027\n\021CraftingNotFinish\020\245\231\002\022\037\n\031CraftingNo" + + "tCraftingAnchor\020\246\231\002\022\035\n\027CraftingAlreadyCr" + + "afting\020\247\231\002\022\037\n\031CraftingAnchorIsNotPlaced\020" + + "\250\231\002\022!\n\033CraftingRecipeIsNotRegister\020\251\231\002\022(" + + "\n\"CraftingAnchorIsNotMatchWithRecipe\020\252\231\002" + + "\022\033\n\025CraftingHelpCountOver\020\253\231\002\022#\n\035Craftin" + + "gHelpSameUserCountOver\020\254\231\002\022#\n\035CraftingHe" + + "lpReceivedCountOver\020\255\231\002\022\031\n\023CraftHelpDocI" + + "sEmpty\020\256\231\002\022\025\n\017CraftDocIsEmpty\020\257\231\002\022\033\n\025Cra" + + "ftingAlreadyFinish\020\260\231\002\022%\n\037CraftingRecipe" + + "IsAlreadyRegister\020\261\231\002\022\037\n\031UgqApiServerReq" + + "uestFailed\020\211\241\002\022\'\n!UgqApiServerConvertToO" + + "bjectFailed\020\212\241\002\022+\n%UgqApiServerInvaildSe" + + "archCategoryType\020\213\241\002\022 \n\032UgqReportInvalid" + + "TextLength\020\214\241\002\022\032\n\024UgqQuestMetaNotExist\020\215" + + "\241\002\022\036\n\030UgqBeginCreatorPointFail\020\216\241\002\022\030\n\022Ug" + + "qQuestShutdowned\020\217\241\002\022\"\n\034UgqTestQuestAlre" + + "adyCompleted\020\220\241\002\0224\n.UgqReassignUsingItem" + + "ErrorCauseQuestNotComplete\020\221\241\002\0225\n/UgqRea" + + "ssignUsingItemErrorCauseQuestAlreadyExis" + + "t\020\222\241\002\0226\n0UgqReassignUsingItemErrorCauseN" + + "ewRevisionUpdated\020\223\241\002\022!\n\033UgqQuestDataInv" + + "alidRevision\020\224\241\002\022%\n\037UgqAbortCannotCauseI" + + "nvalidState\020\225\241\002\022\036\n\030UgqMetaGeneratorNotEx" + + "ist\020\226\241\002\022!\n\033UgqQuestDataRevisionUpdated\020\227" + + "\241\002\0223\n-UgqRevisionCannotSmallerThanReques" + + "tedRevision\020\230\241\002\022\035\n\027UgqRevisionStateNotLi" + + "ve\020\231\241\002\022&\n UgqRevisionStateOnlyLivenAndTe" + + "st\020\232\241\002\022&\n UgqApiServerHttpRequestExcepti" + + "on\020\233\241\002\022\035\n\027UgqQuestRevisionChanged\020\234\241\002\022\037\n" + + "\031UgqAssignCannotOwnedQuest\020\235\241\002\022%\n\037UgqAlr" + + "eadyOwnedOldRevisionQuest\020\236\241\002\022\031\n\023SeasonP" + + "assDocIsNull\020\361\250\002\022 \n\032SeasonPassMetaDataNo" + + "tFound\020\362\250\002\022&\n SeasonPassRewardMetaDataNo" + + "tFound\020\363\250\002\022\030\n\022SeasonPassMaxGrade\020\364\250\002\022\035\n\027" + + "SeasonPassNotAblePeriod\020\365\250\002\022!\n\033SeasonPas" + + "sAlreadyBuyCharged\020\366\250\002\022\"\n\034SeasonPassAlre" + + "adyTakenReward\020\367\250\002\022\036\n\030SeasonPassNotEnoug" + + "hGrade\020\370\250\002\022\037\n\031SeasonPassNeedChargedPass\020" + + "\371\250\002\022\032\n\024SeasonPassInvalidExp\020\372\250\002\022 \n\032GameC" + + "onfigMetaDataNotFound\020\301\270\002\022*\n$AttributeDe" + + "fineitionMetaDataNotFound\020\302\270\002\022!\n\033Require" + + "mentMetaDataNotFound\020\303\270\002\022 \n\032SystemMailMe" + + "taDataNotFound\020\304\270\002\022\036\n\030InteriorMetaDataNo" + + "tFound\020\305\270\002\022\037\n\031PropGroupMetaDataNotFound\020" + + "\306\270\002\022\027\n\021AiChatServerStart\020\251\300\002\022\033\n\025AiChatSe" + + "rverReqFailed\020\252\300\002\022\034\n\026AiChatServerBadrequ" + + "est\020\253\300\002\022\033\n\025AiChatServerForbidden\020\254\300\002\022\036\n\030" + + "AiChatServerUnauthorized\020\255\300\002\022\036\n\030AiChatSe" + + "rverUserNotFound\020\256\300\002\022#\n\035AiChatServerChar" + + "acterNotFound\020\257\300\002\022\"\n\034AiChatServerReactio" + + "nNotFound\020\260\300\002\022(\n\"AiChatServerExampleDial" + + "ongNotFound\020\261\300\002\022!\n\033AiChatServerSessionNo" + + "tFound\020\262\300\002\022\037\n\031AiChatServerModelNotFound\020" + + "\263\300\002\022 \n\032AiChatServerNotEnoughPoint\020\264\300\002\022#\n" + + "\035AiChatServerInvalidParameters\020\265\300\002\022&\n Ai" + + "ChatServerSessionLimitExceeded\020\266\300\002\022\"\n\034Ai" + + "ChatServerInvalidSignature\020\267\300\002\022#\n\035AiChat" + + "ServerUserAlreadyExists\020\270\300\002\022\036\n\030AiChatSer" + + "verRemoveFailed\020\271\300\002\022\037\n\031AiChatServerDupli" + + "cateGuid\020\272\300\002\022\035\n\027AiChatServerDuplicateId\020" + + "\273\300\002\022\036\n\030AiChatServerChatNotFound\020\274\300\002\022\036\n\030A" + + "iChatServerTokenExpired\020\275\300\002\022 \n\032AiChatSer" + + "verInternalServer\020\276\300\002\022 \n\032AiChatServerInv" + + "alidMessage\020\277\300\002\022!\n\033AiChatServerUserOnlyF" + + "eature\020\300\300\002\022 \n\032AiChatServerOwnershipError" + + "\020\301\300\002\022*\n$AiChatServerChargeOrderNotFoundE" + + "rror\020\302\300\002\022\025\n\017AiChatServerEnd\020\214\301\002\022\"\n\034AiCha" + + "tServerRetryChargePoint\020\215\301\002\022\032\n\024AiChatSer" + + "verInactive\020\216\301\002\022\017\n\tNpcIsBusy\020\221\310\002\022\027\n\021Lack" + + "OfDailyCalium\020\371\317\002\022\027\n\021LackOfTotalCalium\020\372" + + "\317\002\022\036\n\030LackOfCommissionCurrency\020\373\317\002\022\037\n\031La" + + "ckOfCommissionMaterials\020\374\317\002\022\033\n\025InvalidMa" + + "terialSlotId\020\375\317\002\022\026\n\020FailToLoadCalium\020\376\317\002" + + "\022\034\n\026FailToSaveCaliumDynamo\020\377\317\002\022\035\n\027Accoun" + + "tLoginBlockEnable\020\321\206\003\022\033\n\025InstanceRoomExc" + + "eption\020\271\216\003\022&\n InstanceRoomCannotWriteExt" + + "raInfo\020\272\216\003\022&\n InstanceRoomNotChargedSeas" + + "onPass\020\273\216\003\022\036\n\030InstanceMetaDataNotFound\020\274" + + "\216\003\022$\n\036InstanceMetaDataOverLimitWrong\020\275\216\003" + + "\022\037\n\031InstanceAccessTypeInvalid\020\276\216\003\022!\n\033Ins" + + "tanceAccessItemNotEnough\020\277\216\003\022(\n\"Instance" + + "AccessSeasonPassNotCharged\020\300\216\003\022\030\n\022Instan" + + "ceRoomIsFull\020\301\216\003\022\036\n\030InstanceRoomIdDuplic" + + "ated\020\302\216\003\022!\n\033InstanceRoomNotExistAtRedis\020" + + "\303\216\003\022\036\n\030TaskReservationDocIsNull\020\241\226\003\022\"\n\034B" + + "illingGetPurchaseInfoFailed\020\211\236\003\022\036\n\030Billi" + + "ngUpdateStateFailed\020\212\236\003\022\035\n\027BillingInvali" + + "dStateType\020\213\236\003\022)\n#BillingFailedParseProd" + + "uctMetaIdType\020\214\236\003\022\035\n\027BillingStateTypeInv" + + "alid\020\215\236\003\022#\n\035BillingStateTypeCantBeChange" + + "d\020\216\236\003\022\034\n\026BillingStateTypeRefund\020\217\236\003\022$\n\036B" + + "illingStateTypeRefundComplete\020\220\236\003\022\032\n\024Tax" + + "iMetaDataNotFound\020\361\245\003\022\025\n\017TaxiTypeInvalid" + + "\020\362\245\003\022\032\n\024WarpMetaDataNotFound\020\363\245\003\022\025\n\017Warp" + + "TypeInvalid\020\364\245\003\022\024\n\016RentalNotFound\020\331\255\003\022#\n" + + "\035RentalDocLoadDuplicatedRental\020\332\255\003\022\025\n\017Re" + + "ntalDocIsNull\020\333\255\003\022\034\n\026RentalNotAvailableL" + + "and\020\334\255\003\022\032\n\024RentalAddressInvalid\020\335\255\003\022\035\n\027R" + + "entalAddressIsNotEmpty\020\336\255\003\022\037\n\031RentalfeeM" + + "etaDataNotFound\020\337\255\003\022\032\n\024UgqInvalidTaskAct" + + "ion\020\341\324\003\022\033\n\025UgqTaskActionDisabled\020\342\324\003\022\032\n\024" + + "UgqInvalidDialogType\020\343\324\003\022\037\n\031UgqInvalidDi" + + "alogCondition\020\344\324\003\022\030\n\022UgqValidationError\020" + + "\345\324\003\022\023\n\rUgqNullEntity\020\346\324\003\022\031\n\023UgqStateChan" + + "geError\020\347\324\003\022\033\n\025UgqNotEnoughQuestSlot\020\350\324\003" + + "\022\025\n\017UgqNotAllowEdit\020\351\324\003\022\032\n\024UgqDialogIsNo" + + "tInTask\020\352\324\003\022\025\n\017UgqRequireImage\020\353\324\003\022\026\n\020Ug" + + "qRequireBeacon\020\354\324\003\022\031\n\023UgqBeaconInputErro" + + "r\020\355\324\003\022\032\n\024UgqGameDBAccessError\020\356\324\003\022\025\n\017Ugq" + + "NotOwnUgcNpc\020\357\324\003\022\035\n\027UgqAlreadyExistsAcco" + + "unt\020\360\324\003\022\030\n\022UgqServerException\020\361\324\003\022\036\n\030Ugq" + + "InvalidWebPortalToken\020\362\324\003\022\025\n\017UgqInvalidT" + + "oken\020\363\324\003\022\027\n\021UgqRequireAccount\020\364\324\003\022\036\n\030Ugq" + + "NotEnoughCreatorPoint\020\365\324\003\022\022\n\014UgqSlotLimi" + + "t\020\366\324\003\022\037\n\031UgqExceedTransactionRetry\020\367\324\003\022\030" + + "\n\022UgqMetaverseOnline\020\370\324\003\022\024\n\016UgqAuthRemov" + + "ed\020\371\324\003\022\033\n\025UgqInvalidPresetImage\020\372\324\003\022\032\n\024U" + + "gqNotEnoughCurrency\020\373\324\003\022\026\n\020UgqCurrencyEr" + + "ror\020\374\324\003\022\"\n\034UgqAlreadyExistsReserveGrade\020" + + "\375\324\003\022\033\n\025UgqInvalidReserveTime\020\376\324\003\022\031\n\023UgqS" + + "ameGradeReserve\020\377\324\003\022\032\n\024UgqAlreadyBookmar" + + "ked\020\311\334\003\022\026\n\020UgqNotBookmarked\020\312\334\003\022\025\n\017UgqAl" + + "readyLiked\020\313\334\003\022\021\n\013UgqNotLiked\020\314\334\003\022\030\n\022Ugq" + + "AlreadyReported\020\315\334\003\022\024\n\016UgqNotOwnQuest\020\316\334" + + "\003\022\025\n\017UgqInvalidState\020\317\334\003\022\035\n\027NftForOwnerA" + + "llGetFailed\020\261\344\003\022\025\n\017BotPlayerIsNull\020\321\333:\022\034" + + "\n\026ClientToLoginResIsNull\020\322\333:\022 \n\032ClientTo" + + "LoginMessageIsNull\020\323\333:\022\033\n\025ClientToGameRe" + + "sIsNull\020\324\333:\022\037\n\031ClientToGameMessageIsNull" + + "\020\325\333:\022\033\n\025ConnectedToServerFail\020\326\333:\022\032\n\024Sce" + + "narionParamIsNull\020\327\333:\022\014\n\010DupLogin\020\001\022\n\n\006M" + + "oving\020\002\022\013\n\007DbError\020\003\022\014\n\010KickFail\020\004\022\026\n\022No" + + "tCorrectPassword\020\005\022\020\n\014NotFoundUser\020\006\022\020\n\014" + + "NoGameServer\020\007\022\020\n\014LoginPending\020\010\022\022\n\016NotI" + + "mplemented\020\t\022\035\n\031NotExistSelectedCharacte" + + "r\020\n\022\025\n\021NotExistCharacter\020\013\022\024\n\020ServerLogi" + + "cError\020\014\022\021\n\rNoPermissions\020\016\022\r\n\tRedisFail" + + "\020\017\022\016\n\tLoginFail\020\350\007\022\023\n\016DuplicatedUser\020\351\007\022" + + "\021\n\014InvalidToken\020\352\007\022\025\n\020NotCorrectServer\020\353" + + "\007\022\017\n\nInspection\020\354\007\022\016\n\tBlackList\020\355\007\022\017\n\nSe" + + "rverFull\020\356\007\022\023\n\016NotFoundServer\020\357\007\022\022\n\rNotF" + + "oundTable\020\360\007\022\017\n\nTableError\020\361\007\022\025\n\020Invalid" + + "Condition\020\314\010\022\023\n\016CharCreateFail\020\320\017\022\023\n\016Cha" + + "rSelectFail\020\264\020\022\023\n\016CreateRoomFail\020\270\027\022\021\n\014J" + + "oinRoomFail\020\234\030\022\025\n\020JoinInstanceFail\020\200\031\022\033\n" + + "\026NotExistInstanceTicket\020\201\031\022\026\n\021LeaveInsta" + + "nceFail\020\344\031\022\031\n\024NotExistInstanceRoom\020\310\032\022\033\n" + + "\026NotCorrectInstanceRoom\020\311\032\022\017\n\nPosIsEmpty" + + "\020\312\032\022\024\n\017EnterMyHomeFail\020\330\035\022\024\n\017LeaveMyHome" + + "Fail\020\274\036\022\027\n\022ExchangeMyHomeFail\020\240\037\022\027\n\022NotF" + + "oundMyHomeData\020\241\037\022\023\n\016NotMyHomeOwner\020\242\037\022\026" + + "\n\021AlreadyHaveMyHome\020\243\037\022\033\n\026ExchangeMyHome" + + "PropFail\020\204 \022\031\n\024ExchangeLandPropFail\020\350 \022\031" + + "\n\024ExchangeBuildingFail\020\314!\022\037\n\032ExchangeBui" + + "ldingLFPropFail\020\260\"\022\031\n\024ExchangeInstanceFa" + + "il\020\224#\022!\n\034ExchangeSocialActionSlotFail\020\370#" + + "\022\035\n\030NotFoundSocialActionData\020\372#\022\032\n\025NotIn" + + "SocialActionSlot\020\373#\022\034\n\027AlreadyHaveSocial" + + "Action\020\374#\022\025\n\020NotFoundLandData\020\253$\022\031\n\024NotF" + + "oundBuildingData\020\254$\022\026\n\021NotFoundFloorInfo" + + "\020\255$\022\026\n\021NotFoundIndunData\020\257$\022\031\n\024EnterFitt" + + "ingRoomFail\020\334$\022\032\n\025NotEntetedFittingRoom\020" + + "\335$\022\020\n\013MakeFailOtp\020\336$\022\035\n\030NotExistRoomInfo" + + "ForEnter\020\337$\022\037\n\032NotExistGameServerForEnte" + + "r\020\340$\022\025\n\020PositionSaveFail\020\341$\022\034\n\027ExchangeE" + + "motionSlotFail\020\300%\022\032\n\025EmotionSlotOutOfRan" + + "ge\020\301%\022\034\n\027NotFoundAnchorGuidInMap\020\243&\022\027\n\022N" + + "otFoundAnchorGuid\020\244&\022\023\n\016PropIsOccupied\020\245" + + "&\022\017\n\nPropIsUsed\020\246&\022\024\n\017PropTypeisWrong\020\247&" + + "\022\030\n\023NotFoundEmotionData\020\270&\022\025\n\020NotInEmoti" + + "onSlot\020\271&\022\023\n\016CreateItemFail\020\204\'\022\020\n\013AddIte" + + "mFail\020\205\'\022\023\n\016DeleteItemFail\020\206\'\022\022\n\rNoMoreA" + + "ddItem\020\207\'\022\021\n\014NotFoundItem\020\210\'\022\022\n\rNotEnoug" + + "hItem\020\211\'\022\025\n\020InvalidSlotIndex\020\212\'\022\027\n\022Dupli" + + "catedItemGuid\020\213\'\022\030\n\023NotFoundItemTableId\020" + + "\214\'\022\024\n\017NotSelectedChar\020\215\'\022\020\n\013NotFoundMap\020" + + "\216\'\022\021\n\014NotEmptySlot\020\217\'\022\016\n\tEmptySlot\020\220\'\022\030\n" + + "\023NotFoundBuffTableId\020\221\'\022\021\n\014NotFoundBuff\020" + + "\222\'\022\034\n\027NotExistForecedMoveInfo\020\223\'\022\027\n\022Dupl" + + "icatedNickName\020\225\'\022\027\n\022AlreadySetNickName\020" + + "\226\'\022\031\n\024DisallowedCharacters\020\227\'\022\023\n\016DbUpdat" + + "eFailed\020\230\'\022\024\n\017InvalidArgument\020\231\'\022\024\n\017Mail" + + "SystemError\020\246\'\022\022\n\rInvalidTarget\020\247\'\022\021\n\014No" + + "tFoundMail\020\250\'\022\024\n\017EmptyItemInMail\020\251\'\022\026\n\021M" + + "ailSendCountOver\020\252\'\022\024\n\017ChangedNickName\020\253" + + "\'\022\026\n\021StateChangeFailed\020\260\'\022\023\n\016NotFoundTar" + + "get\020\272\'\022\026\n\021BlockedFromTarget\020\273\'\022\021\n\014LogOff" + + "Target\020\274\'\022\023\n\016CantSendToSelf\020\275\'\022\024\n\017BuffTy" + + "peIsWrong\020\316\'\022\031\n\024RegisterToolSlotFail\020\330\'\022" + + "\033\n\026DeregisterToolSlotFail\020\331\'\022\027\n\022ToolSlot" + + "OutOfRange\020\332\'\022\025\n\020NotFoundToolSlot\020\333\'\022\022\n\r" + + "EmptyToolSlot\020\334\'\022\035\n\030FolderNameExceededLe" + + "ngth\020\342\'\022\033\n\026FolderNameAlreadyExist\020\343\'\022\027\n\022" + + "FolderNameNotExist\020\344\'\022\"\n\035FolderNameAlrea" + + "dyMaxHoldCount\020\345\'\022\026\n\021FolderCountExceed\020\346" + + "\'\022\025\n\020FolderCreateFail\020\347\'\022\036\n\031FolderReName" + + "CannotDefault\020\350\'\022\032\n\025FolderOdertypeInvali" + + "d\020\351\'\022\036\n\031FriendRequestNotExistInfo\020\354\'\022\035\n\030" + + "FriendRequestAlreadySend\020\355\'\022 \n\033FriendReq" + + "uestAlreadyReceive\020\356\'\022 \n\033FriendRequestCa" + + "ntSendToSelf\020\357\'\022&\n!FriendRequestNotExist" + + "ReceivedInfo\020\360\'\022\037\n\032FriendRequestAlreadyF" + + "riend\020\361\'\022\020\n\013InvalidType\020\362\'\022\031\n\024InvalidAtt" + + "ributeSlot\020\363\'\022%\n FriendRequestCannotSend" + + "BlockUser\020\377\'\022\036\n\031AddFriendAlreadyBlockUse" + + "r\020\200(\022\037\n\032AddFriendNotExistCharacter\020\201(\022\033\n" + + "\026AddFriendAlreadyFriend\020\202(\022\"\n\035AddFriendA" + + "lreadyCancelRequest\020\203(\022\034\n\027AddFriendAlrea" + + "dyExpired\020\204(\022\027\n\022FriendInfoNotExist\020\212(\022%\n" + + " FriendInfoMyCountAlreadyMaxCount\020\213(\022)\n$" + + "FriendInfoOthersCountAlreadyMaxCount\020\214(\022" + + "\026\n\021FriendInfoOffline\020\215(\022\033\n\026FriendInfoAlr" + + "eadyExist\020\216(\022!\n\034FriendInviteMyPosIsNotMy" + + "Home\020\224(\022!\n\034FriendInviteDontDisturbState\020" + + "\225(\022!\n\034FriendInviteExpireTimeRemain\020\226(\022#\n" + + "\036FriendInviteWaitingOtherInvite\020\227(\022\036\n\031Fr" + + "iendInviteAlreadyExpire\020\230(\022\037\n\032FriendKick" + + "MyPosIsNotMyHome\020\231(\022\035\n\030FriendKickMemberN" + + "otExist\020\232(\022\034\n\027FriendIsInAnotherMyhome\020\233(" + + "\022\026\n\021BlockUserMaxCount\020\236(\022\032\n\025BlockUserAlr" + + "eadyBlock\020\237(\022\036\n\031BlockUserCannotSendMailT" + + "o\020\240(\022\023\n\016BlockedByOther\020\241(\022\035\n\030BlockUserCa" + + "nnotWhisperTo\020\242(\022\023\n\016BlockInfoEmpty\020\243(\022\037\n" + + "\032BlockUserCannotInviteParty\020\244(\022#\n\036CartSe" + + "llTypeMissMatchWithTable\020\320(\022\030\n\023CartFullS" + + "tackofItem\020\321(\022\017\n\nCartisFull\020\322(\022\020\n\013BanNic" + + "kName\020\323(\022\031\n\024CurrencyNotFoundData\020\230*\022\026\n\021C" + + "urrencyNotEnough\020\231*\022\031\n\024CurrencyInvalidVa" + + "lue\020\232*\022\024\n\017StartBuffFailed\020\374*\022\023\n\016StopBuff" + + "Failed\020\375*\022\025\n\020NotFoundNickName\020\340+\022 \n\033NotF" + + "oundTattooAttributeData\020\250-\022\023\n\016NotFoundSh" + + "opId\020\214.\022\030\n\023TimeOverForPurchase\020\215.\022\027\n\022Not" + + "EnoughAttribute\020\216.\022\022\n\rInvalidGender\020\217.\022\020" + + "\n\013IsEquipItem\020\220.\022\020\n\013InvalidItem\020\221.\022\026\n\021Al" + + "readyRegistered\020\222.\022\025\n\020NotFoundShopItem\020\223" + + ".\022\026\n\021NotEnoughShopItem\020\224.\022\025\n\020InvalidItem" + + "Count\020\225.\022\022\n\rInventoryFull\020\226.\022\026\n\021NotFound" + + "ProductId\020\227.\022\035\n\030RandomBoxItemDataInvalid" + + "\020\324/\022\026\n\021NotExistGachaData\020\325/B/\n+com.caliv" + + "erse.admin.domain.RabbitMq.messageP\001b\006pr" + + "oto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_Result_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Result_descriptor, + new java.lang.String[] { "ErrorCode", "ResultString", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DeviceType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DeviceType.java new file mode 100644 index 0000000..561a447 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/DeviceType.java @@ -0,0 +1,185 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ̽ 
+ * 
+ * + * Protobuf enum {@code DeviceType} + */ +public enum DeviceType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * DeviceType_None = 0; + */ + DeviceType_None(0), + /** + *
+   * Desktop : IBM PC compatible
+   * 
+ * + * DeviceType_WindowsPC = 1; + */ + DeviceType_WindowsPC(1), + /** + *
+   * Mobile : Apple
+   * 
+ * + * DeviceType_IPhone = 5; + */ + DeviceType_IPhone(5), + /** + * DeviceType_Mac = 6; + */ + DeviceType_Mac(6), + /** + *
+   * Mobile : Samsung
+   * 
+ * + * DeviceType_Galaxy = 11; + */ + DeviceType_Galaxy(11), + /** + *
+   * VR : Oculus
+   * 
+ * + * DeviceType_Oculus = 15; + */ + DeviceType_Oculus(15), + UNRECOGNIZED(-1), + ; + + /** + * DeviceType_None = 0; + */ + public static final int DeviceType_None_VALUE = 0; + /** + *
+   * Desktop : IBM PC compatible
+   * 
+ * + * DeviceType_WindowsPC = 1; + */ + public static final int DeviceType_WindowsPC_VALUE = 1; + /** + *
+   * Mobile : Apple
+   * 
+ * + * DeviceType_IPhone = 5; + */ + public static final int DeviceType_IPhone_VALUE = 5; + /** + * DeviceType_Mac = 6; + */ + public static final int DeviceType_Mac_VALUE = 6; + /** + *
+   * Mobile : Samsung
+   * 
+ * + * DeviceType_Galaxy = 11; + */ + public static final int DeviceType_Galaxy_VALUE = 11; + /** + *
+   * VR : Oculus
+   * 
+ * + * DeviceType_Oculus = 15; + */ + public static final int DeviceType_Oculus_VALUE = 15; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DeviceType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static DeviceType forNumber(int value) { + switch (value) { + case 0: return DeviceType_None; + case 1: return DeviceType_WindowsPC; + case 5: return DeviceType_IPhone; + case 6: return DeviceType_Mac; + case 11: return DeviceType_Galaxy; + case 15: return DeviceType_Oculus; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + DeviceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DeviceType findValueByNumber(int number) { + return DeviceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(7); + } + + private static final DeviceType[] VALUES = values(); + + public static DeviceType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private DeviceType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:DeviceType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ElevatorFloorInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ElevatorFloorInfo.java new file mode 100644 index 0000000..4e27b0e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ElevatorFloorInfo.java @@ -0,0 +1,1076 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ElevatorFloorInfo} + */ +public final class ElevatorFloorInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ElevatorFloorInfo) + ElevatorFloorInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use ElevatorFloorInfo.newBuilder() to construct. + private ElevatorFloorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ElevatorFloorInfo() { + ownerName_ = ""; + instanceName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ElevatorFloorInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ElevatorFloorInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ElevatorFloorInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.class, com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.Builder.class); + } + + public static final int FLOOR_FIELD_NUMBER = 1; + private int floor_ = 0; + /** + * int32 floor = 1; + * @return The floor. + */ + @java.lang.Override + public int getFloor() { + return floor_; + } + + public static final int INSTANCEID_FIELD_NUMBER = 2; + private int instanceId_ = 0; + /** + * int32 instanceId = 2; + * @return The instanceId. + */ + @java.lang.Override + public int getInstanceId() { + return instanceId_; + } + + public static final int CURRENTUSER_FIELD_NUMBER = 3; + private int currentUser_ = 0; + /** + * int32 currentUser = 3; + * @return The currentUser. + */ + @java.lang.Override + public int getCurrentUser() { + return currentUser_; + } + + public static final int OWNERNAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object ownerName_ = ""; + /** + * string ownerName = 4; + * @return The ownerName. + */ + @java.lang.Override + public java.lang.String getOwnerName() { + java.lang.Object ref = ownerName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerName_ = s; + return s; + } + } + /** + * string ownerName = 4; + * @return The bytes for ownerName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerNameBytes() { + java.lang.Object ref = ownerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INSTANCENAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object instanceName_ = ""; + /** + * string instanceName = 5; + * @return The instanceName. + */ + @java.lang.Override + public java.lang.String getInstanceName() { + java.lang.Object ref = instanceName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceName_ = s; + return s; + } + } + /** + * string instanceName = 5; + * @return The bytes for instanceName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInstanceNameBytes() { + java.lang.Object ref = instanceName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + instanceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int THUMBNAILIMAGEID_FIELD_NUMBER = 6; + private int thumbnailImageId_ = 0; + /** + * int32 thumbnailImageId = 6; + * @return The thumbnailImageId. + */ + @java.lang.Override + public int getThumbnailImageId() { + return thumbnailImageId_; + } + + public static final int LISTIMAGEID_FIELD_NUMBER = 7; + private int listImageId_ = 0; + /** + * int32 listImageId = 7; + * @return The listImageId. + */ + @java.lang.Override + public int getListImageId() { + return listImageId_; + } + + public static final int ENTERPLAYERCOUNT_FIELD_NUMBER = 8; + private int enterPlayerCount_ = 0; + /** + * int32 enterPlayerCount = 8; + * @return The enterPlayerCount. + */ + @java.lang.Override + public int getEnterPlayerCount() { + return enterPlayerCount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (floor_ != 0) { + output.writeInt32(1, floor_); + } + if (instanceId_ != 0) { + output.writeInt32(2, instanceId_); + } + if (currentUser_ != 0) { + output.writeInt32(3, currentUser_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ownerName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, instanceName_); + } + if (thumbnailImageId_ != 0) { + output.writeInt32(6, thumbnailImageId_); + } + if (listImageId_ != 0) { + output.writeInt32(7, listImageId_); + } + if (enterPlayerCount_ != 0) { + output.writeInt32(8, enterPlayerCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (floor_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, floor_); + } + if (instanceId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, instanceId_); + } + if (currentUser_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, currentUser_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ownerName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, instanceName_); + } + if (thumbnailImageId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, thumbnailImageId_); + } + if (listImageId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, listImageId_); + } + if (enterPlayerCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, enterPlayerCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo other = (com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo) obj; + + if (getFloor() + != other.getFloor()) return false; + if (getInstanceId() + != other.getInstanceId()) return false; + if (getCurrentUser() + != other.getCurrentUser()) return false; + if (!getOwnerName() + .equals(other.getOwnerName())) return false; + if (!getInstanceName() + .equals(other.getInstanceName())) return false; + if (getThumbnailImageId() + != other.getThumbnailImageId()) return false; + if (getListImageId() + != other.getListImageId()) return false; + if (getEnterPlayerCount() + != other.getEnterPlayerCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FLOOR_FIELD_NUMBER; + hash = (53 * hash) + getFloor(); + hash = (37 * hash) + INSTANCEID_FIELD_NUMBER; + hash = (53 * hash) + getInstanceId(); + hash = (37 * hash) + CURRENTUSER_FIELD_NUMBER; + hash = (53 * hash) + getCurrentUser(); + hash = (37 * hash) + OWNERNAME_FIELD_NUMBER; + hash = (53 * hash) + getOwnerName().hashCode(); + hash = (37 * hash) + INSTANCENAME_FIELD_NUMBER; + hash = (53 * hash) + getInstanceName().hashCode(); + hash = (37 * hash) + THUMBNAILIMAGEID_FIELD_NUMBER; + hash = (53 * hash) + getThumbnailImageId(); + hash = (37 * hash) + LISTIMAGEID_FIELD_NUMBER; + hash = (53 * hash) + getListImageId(); + hash = (37 * hash) + ENTERPLAYERCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getEnterPlayerCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ElevatorFloorInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ElevatorFloorInfo) + com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ElevatorFloorInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ElevatorFloorInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.class, com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + floor_ = 0; + instanceId_ = 0; + currentUser_ = 0; + ownerName_ = ""; + instanceName_ = ""; + thumbnailImageId_ = 0; + listImageId_ = 0; + enterPlayerCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ElevatorFloorInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo build() { + com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo result = new com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.floor_ = floor_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.instanceId_ = instanceId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.currentUser_ = currentUser_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.ownerName_ = ownerName_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.instanceName_ = instanceName_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.thumbnailImageId_ = thumbnailImageId_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.listImageId_ = listImageId_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.enterPlayerCount_ = enterPlayerCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.getDefaultInstance()) return this; + if (other.getFloor() != 0) { + setFloor(other.getFloor()); + } + if (other.getInstanceId() != 0) { + setInstanceId(other.getInstanceId()); + } + if (other.getCurrentUser() != 0) { + setCurrentUser(other.getCurrentUser()); + } + if (!other.getOwnerName().isEmpty()) { + ownerName_ = other.ownerName_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getInstanceName().isEmpty()) { + instanceName_ = other.instanceName_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.getThumbnailImageId() != 0) { + setThumbnailImageId(other.getThumbnailImageId()); + } + if (other.getListImageId() != 0) { + setListImageId(other.getListImageId()); + } + if (other.getEnterPlayerCount() != 0) { + setEnterPlayerCount(other.getEnterPlayerCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + floor_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + instanceId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + currentUser_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + ownerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + instanceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + thumbnailImageId_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + listImageId_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + enterPlayerCount_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int floor_ ; + /** + * int32 floor = 1; + * @return The floor. + */ + @java.lang.Override + public int getFloor() { + return floor_; + } + /** + * int32 floor = 1; + * @param value The floor to set. + * @return This builder for chaining. + */ + public Builder setFloor(int value) { + + floor_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 floor = 1; + * @return This builder for chaining. + */ + public Builder clearFloor() { + bitField0_ = (bitField0_ & ~0x00000001); + floor_ = 0; + onChanged(); + return this; + } + + private int instanceId_ ; + /** + * int32 instanceId = 2; + * @return The instanceId. + */ + @java.lang.Override + public int getInstanceId() { + return instanceId_; + } + /** + * int32 instanceId = 2; + * @param value The instanceId to set. + * @return This builder for chaining. + */ + public Builder setInstanceId(int value) { + + instanceId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 instanceId = 2; + * @return This builder for chaining. + */ + public Builder clearInstanceId() { + bitField0_ = (bitField0_ & ~0x00000002); + instanceId_ = 0; + onChanged(); + return this; + } + + private int currentUser_ ; + /** + * int32 currentUser = 3; + * @return The currentUser. + */ + @java.lang.Override + public int getCurrentUser() { + return currentUser_; + } + /** + * int32 currentUser = 3; + * @param value The currentUser to set. + * @return This builder for chaining. + */ + public Builder setCurrentUser(int value) { + + currentUser_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 currentUser = 3; + * @return This builder for chaining. + */ + public Builder clearCurrentUser() { + bitField0_ = (bitField0_ & ~0x00000004); + currentUser_ = 0; + onChanged(); + return this; + } + + private java.lang.Object ownerName_ = ""; + /** + * string ownerName = 4; + * @return The ownerName. + */ + public java.lang.String getOwnerName() { + java.lang.Object ref = ownerName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ownerName = 4; + * @return The bytes for ownerName. + */ + public com.google.protobuf.ByteString + getOwnerNameBytes() { + java.lang.Object ref = ownerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ownerName = 4; + * @param value The ownerName to set. + * @return This builder for chaining. + */ + public Builder setOwnerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ownerName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string ownerName = 4; + * @return This builder for chaining. + */ + public Builder clearOwnerName() { + ownerName_ = getDefaultInstance().getOwnerName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string ownerName = 4; + * @param value The bytes for ownerName to set. + * @return This builder for chaining. + */ + public Builder setOwnerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ownerName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object instanceName_ = ""; + /** + * string instanceName = 5; + * @return The instanceName. + */ + public java.lang.String getInstanceName() { + java.lang.Object ref = instanceName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string instanceName = 5; + * @return The bytes for instanceName. + */ + public com.google.protobuf.ByteString + getInstanceNameBytes() { + java.lang.Object ref = instanceName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + instanceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string instanceName = 5; + * @param value The instanceName to set. + * @return This builder for chaining. + */ + public Builder setInstanceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + instanceName_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string instanceName = 5; + * @return This builder for chaining. + */ + public Builder clearInstanceName() { + instanceName_ = getDefaultInstance().getInstanceName(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string instanceName = 5; + * @param value The bytes for instanceName to set. + * @return This builder for chaining. + */ + public Builder setInstanceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + instanceName_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private int thumbnailImageId_ ; + /** + * int32 thumbnailImageId = 6; + * @return The thumbnailImageId. + */ + @java.lang.Override + public int getThumbnailImageId() { + return thumbnailImageId_; + } + /** + * int32 thumbnailImageId = 6; + * @param value The thumbnailImageId to set. + * @return This builder for chaining. + */ + public Builder setThumbnailImageId(int value) { + + thumbnailImageId_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * int32 thumbnailImageId = 6; + * @return This builder for chaining. + */ + public Builder clearThumbnailImageId() { + bitField0_ = (bitField0_ & ~0x00000020); + thumbnailImageId_ = 0; + onChanged(); + return this; + } + + private int listImageId_ ; + /** + * int32 listImageId = 7; + * @return The listImageId. + */ + @java.lang.Override + public int getListImageId() { + return listImageId_; + } + /** + * int32 listImageId = 7; + * @param value The listImageId to set. + * @return This builder for chaining. + */ + public Builder setListImageId(int value) { + + listImageId_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * int32 listImageId = 7; + * @return This builder for chaining. + */ + public Builder clearListImageId() { + bitField0_ = (bitField0_ & ~0x00000040); + listImageId_ = 0; + onChanged(); + return this; + } + + private int enterPlayerCount_ ; + /** + * int32 enterPlayerCount = 8; + * @return The enterPlayerCount. + */ + @java.lang.Override + public int getEnterPlayerCount() { + return enterPlayerCount_; + } + /** + * int32 enterPlayerCount = 8; + * @param value The enterPlayerCount to set. + * @return This builder for chaining. + */ + public Builder setEnterPlayerCount(int value) { + + enterPlayerCount_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * int32 enterPlayerCount = 8; + * @return This builder for chaining. + */ + public Builder clearEnterPlayerCount() { + bitField0_ = (bitField0_ & ~0x00000080); + enterPlayerCount_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ElevatorFloorInfo) + } + + // @@protoc_insertion_point(class_scope:ElevatorFloorInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ElevatorFloorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ElevatorFloorInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ElevatorFloorInfoOrBuilder.java new file mode 100644 index 0000000..cb49340 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ElevatorFloorInfoOrBuilder.java @@ -0,0 +1,69 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ElevatorFloorInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ElevatorFloorInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 floor = 1; + * @return The floor. + */ + int getFloor(); + + /** + * int32 instanceId = 2; + * @return The instanceId. + */ + int getInstanceId(); + + /** + * int32 currentUser = 3; + * @return The currentUser. + */ + int getCurrentUser(); + + /** + * string ownerName = 4; + * @return The ownerName. + */ + java.lang.String getOwnerName(); + /** + * string ownerName = 4; + * @return The bytes for ownerName. + */ + com.google.protobuf.ByteString + getOwnerNameBytes(); + + /** + * string instanceName = 5; + * @return The instanceName. + */ + java.lang.String getInstanceName(); + /** + * string instanceName = 5; + * @return The bytes for instanceName. + */ + com.google.protobuf.ByteString + getInstanceNameBytes(); + + /** + * int32 thumbnailImageId = 6; + * @return The thumbnailImageId. + */ + int getThumbnailImageId(); + + /** + * int32 listImageId = 7; + * @return The listImageId. + */ + int getListImageId(); + + /** + * int32 enterPlayerCount = 8; + * @return The enterPlayerCount. + */ + int getEnterPlayerCount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityCommonResult.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityCommonResult.java new file mode 100644 index 0000000..b68ed0d --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityCommonResult.java @@ -0,0 +1,1389 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ֿ   
+ * 
+ * + * Protobuf type {@code EntityCommonResult} + */ +public final class EntityCommonResult extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:EntityCommonResult) + EntityCommonResultOrBuilder { +private static final long serialVersionUID = 0L; + // Use EntityCommonResult.newBuilder() to construct. + private EntityCommonResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private EntityCommonResult() { + entityType_ = 0; + entityGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new EntityCommonResult(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EntityCommonResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EntityCommonResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.class, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder.class); + } + + public static final int ENTITYTYPE_FIELD_NUMBER = 1; + private int entityType_ = 0; + /** + *
+   *  ƼƼ  : EntityType  (: EntityType.Player, EntityType.UgcNpc)
+   * 
+ * + * .EntityType entityType = 1; + * @return The enum numeric value on the wire for entityType. + */ + @java.lang.Override public int getEntityTypeValue() { + return entityType_; + } + /** + *
+   *  ƼƼ  : EntityType  (: EntityType.Player, EntityType.UgcNpc)
+   * 
+ * + * .EntityType entityType = 1; + * @return The entityType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.EntityType getEntityType() { + com.caliverse.admin.domain.RabbitMq.message.EntityType result = com.caliverse.admin.domain.RabbitMq.message.EntityType.forNumber(entityType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.EntityType.UNRECOGNIZED : result; + } + + public static final int ENTITYGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object entityGuid_ = ""; + /** + *
+   *  ƼƼ Guid : EntityGuid
+   * 
+ * + * string entityGuid = 2; + * @return The entityGuid. + */ + @java.lang.Override + public java.lang.String getEntityGuid() { + java.lang.Object ref = entityGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entityGuid_ = s; + return s; + } + } + /** + *
+   *  ƼƼ Guid : EntityGuid
+   * 
+ * + * string entityGuid = 2; + * @return The bytes for entityGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getEntityGuidBytes() { + java.lang.Object ref = entityGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + entityGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MONEY_FIELD_NUMBER = 5; + private com.caliverse.admin.domain.RabbitMq.message.MoneyResult money_; + /** + *
+   * 	
+   * 
+ * + * .MoneyResult money = 5; + * @return Whether the money field is set. + */ + @java.lang.Override + public boolean hasMoney() { + return money_ != null; + } + /** + *
+   * 	
+   * 
+ * + * .MoneyResult money = 5; + * @return The money. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MoneyResult getMoney() { + return money_ == null ? com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance() : money_; + } + /** + *
+   * 	
+   * 
+ * + * .MoneyResult money = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MoneyResultOrBuilder getMoneyOrBuilder() { + return money_ == null ? com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance() : money_; + } + + public static final int EXP_FIELD_NUMBER = 6; + private com.caliverse.admin.domain.RabbitMq.message.ExpResult exp_; + /** + *
+   * Ʈ /ġ
+   * 
+ * + * .ExpResult exp = 6; + * @return Whether the exp field is set. + */ + @java.lang.Override + public boolean hasExp() { + return exp_ != null; + } + /** + *
+   * Ʈ /ġ
+   * 
+ * + * .ExpResult exp = 6; + * @return The exp. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ExpResult getExp() { + return exp_ == null ? com.caliverse.admin.domain.RabbitMq.message.ExpResult.getDefaultInstance() : exp_; + } + /** + *
+   * Ʈ /ġ
+   * 
+ * + * .ExpResult exp = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ExpResultOrBuilder getExpOrBuilder() { + return exp_ == null ? com.caliverse.admin.domain.RabbitMq.message.ExpResult.getDefaultInstance() : exp_; + } + + public static final int ITEM_FIELD_NUMBER = 11; + private com.caliverse.admin.domain.RabbitMq.message.ItemResult item_; + /** + *
+   * 
+   * 
+ * + * .ItemResult item = 11; + * @return Whether the item field is set. + */ + @java.lang.Override + public boolean hasItem() { + return item_ != null; + } + /** + *
+   * 
+   * 
+ * + * .ItemResult item = 11; + * @return The item. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemResult getItem() { + return item_ == null ? com.caliverse.admin.domain.RabbitMq.message.ItemResult.getDefaultInstance() : item_; + } + /** + *
+   * 
+   * 
+ * + * .ItemResult item = 11; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemResultOrBuilder getItemOrBuilder() { + return item_ == null ? com.caliverse.admin.domain.RabbitMq.message.ItemResult.getDefaultInstance() : item_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (entityType_ != com.caliverse.admin.domain.RabbitMq.message.EntityType.EntityType_None.getNumber()) { + output.writeEnum(1, entityType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, entityGuid_); + } + if (money_ != null) { + output.writeMessage(5, getMoney()); + } + if (exp_ != null) { + output.writeMessage(6, getExp()); + } + if (item_ != null) { + output.writeMessage(11, getItem()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (entityType_ != com.caliverse.admin.domain.RabbitMq.message.EntityType.EntityType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, entityType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entityGuid_); + } + if (money_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getMoney()); + } + if (exp_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getExp()); + } + if (item_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getItem()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult other = (com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult) obj; + + if (entityType_ != other.entityType_) return false; + if (!getEntityGuid() + .equals(other.getEntityGuid())) return false; + if (hasMoney() != other.hasMoney()) return false; + if (hasMoney()) { + if (!getMoney() + .equals(other.getMoney())) return false; + } + if (hasExp() != other.hasExp()) return false; + if (hasExp()) { + if (!getExp() + .equals(other.getExp())) return false; + } + if (hasItem() != other.hasItem()) return false; + if (hasItem()) { + if (!getItem() + .equals(other.getItem())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ENTITYTYPE_FIELD_NUMBER; + hash = (53 * hash) + entityType_; + hash = (37 * hash) + ENTITYGUID_FIELD_NUMBER; + hash = (53 * hash) + getEntityGuid().hashCode(); + if (hasMoney()) { + hash = (37 * hash) + MONEY_FIELD_NUMBER; + hash = (53 * hash) + getMoney().hashCode(); + } + if (hasExp()) { + hash = (37 * hash) + EXP_FIELD_NUMBER; + hash = (53 * hash) + getExp().hashCode(); + } + if (hasItem()) { + hash = (37 * hash) + ITEM_FIELD_NUMBER; + hash = (53 * hash) + getItem().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * ֿ   
+   * 
+ * + * Protobuf type {@code EntityCommonResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:EntityCommonResult) + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EntityCommonResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EntityCommonResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.class, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + entityType_ = 0; + entityGuid_ = ""; + money_ = null; + if (moneyBuilder_ != null) { + moneyBuilder_.dispose(); + moneyBuilder_ = null; + } + exp_ = null; + if (expBuilder_ != null) { + expBuilder_.dispose(); + expBuilder_ = null; + } + item_ = null; + if (itemBuilder_ != null) { + itemBuilder_.dispose(); + itemBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EntityCommonResult_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult build() { + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult result = new com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.entityType_ = entityType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.entityGuid_ = entityGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.money_ = moneyBuilder_ == null + ? money_ + : moneyBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.exp_ = expBuilder_ == null + ? exp_ + : expBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.item_ = itemBuilder_ == null + ? item_ + : itemBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.getDefaultInstance()) return this; + if (other.entityType_ != 0) { + setEntityTypeValue(other.getEntityTypeValue()); + } + if (!other.getEntityGuid().isEmpty()) { + entityGuid_ = other.entityGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasMoney()) { + mergeMoney(other.getMoney()); + } + if (other.hasExp()) { + mergeExp(other.getExp()); + } + if (other.hasItem()) { + mergeItem(other.getItem()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + entityType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + entityGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 42: { + input.readMessage( + getMoneyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 42 + case 50: { + input.readMessage( + getExpFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 90: { + input.readMessage( + getItemFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 90 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int entityType_ = 0; + /** + *
+     *  ƼƼ  : EntityType  (: EntityType.Player, EntityType.UgcNpc)
+     * 
+ * + * .EntityType entityType = 1; + * @return The enum numeric value on the wire for entityType. + */ + @java.lang.Override public int getEntityTypeValue() { + return entityType_; + } + /** + *
+     *  ƼƼ  : EntityType  (: EntityType.Player, EntityType.UgcNpc)
+     * 
+ * + * .EntityType entityType = 1; + * @param value The enum numeric value on the wire for entityType to set. + * @return This builder for chaining. + */ + public Builder setEntityTypeValue(int value) { + entityType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     *  ƼƼ  : EntityType  (: EntityType.Player, EntityType.UgcNpc)
+     * 
+ * + * .EntityType entityType = 1; + * @return The entityType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityType getEntityType() { + com.caliverse.admin.domain.RabbitMq.message.EntityType result = com.caliverse.admin.domain.RabbitMq.message.EntityType.forNumber(entityType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.EntityType.UNRECOGNIZED : result; + } + /** + *
+     *  ƼƼ  : EntityType  (: EntityType.Player, EntityType.UgcNpc)
+     * 
+ * + * .EntityType entityType = 1; + * @param value The entityType to set. + * @return This builder for chaining. + */ + public Builder setEntityType(com.caliverse.admin.domain.RabbitMq.message.EntityType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + entityType_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     *  ƼƼ  : EntityType  (: EntityType.Player, EntityType.UgcNpc)
+     * 
+ * + * .EntityType entityType = 1; + * @return This builder for chaining. + */ + public Builder clearEntityType() { + bitField0_ = (bitField0_ & ~0x00000001); + entityType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object entityGuid_ = ""; + /** + *
+     *  ƼƼ Guid : EntityGuid
+     * 
+ * + * string entityGuid = 2; + * @return The entityGuid. + */ + public java.lang.String getEntityGuid() { + java.lang.Object ref = entityGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entityGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     *  ƼƼ Guid : EntityGuid
+     * 
+ * + * string entityGuid = 2; + * @return The bytes for entityGuid. + */ + public com.google.protobuf.ByteString + getEntityGuidBytes() { + java.lang.Object ref = entityGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + entityGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     *  ƼƼ Guid : EntityGuid
+     * 
+ * + * string entityGuid = 2; + * @param value The entityGuid to set. + * @return This builder for chaining. + */ + public Builder setEntityGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + entityGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     *  ƼƼ Guid : EntityGuid
+     * 
+ * + * string entityGuid = 2; + * @return This builder for chaining. + */ + public Builder clearEntityGuid() { + entityGuid_ = getDefaultInstance().getEntityGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     *  ƼƼ Guid : EntityGuid
+     * 
+ * + * string entityGuid = 2; + * @param value The bytes for entityGuid to set. + * @return This builder for chaining. + */ + public Builder setEntityGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + entityGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.MoneyResult money_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MoneyResult, com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder, com.caliverse.admin.domain.RabbitMq.message.MoneyResultOrBuilder> moneyBuilder_; + /** + *
+     * 	
+     * 
+ * + * .MoneyResult money = 5; + * @return Whether the money field is set. + */ + public boolean hasMoney() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     * 	
+     * 
+ * + * .MoneyResult money = 5; + * @return The money. + */ + public com.caliverse.admin.domain.RabbitMq.message.MoneyResult getMoney() { + if (moneyBuilder_ == null) { + return money_ == null ? com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance() : money_; + } else { + return moneyBuilder_.getMessage(); + } + } + /** + *
+     * 	
+     * 
+ * + * .MoneyResult money = 5; + */ + public Builder setMoney(com.caliverse.admin.domain.RabbitMq.message.MoneyResult value) { + if (moneyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + money_ = value; + } else { + moneyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * 	
+     * 
+ * + * .MoneyResult money = 5; + */ + public Builder setMoney( + com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder builderForValue) { + if (moneyBuilder_ == null) { + money_ = builderForValue.build(); + } else { + moneyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * 	
+     * 
+ * + * .MoneyResult money = 5; + */ + public Builder mergeMoney(com.caliverse.admin.domain.RabbitMq.message.MoneyResult value) { + if (moneyBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + money_ != null && + money_ != com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance()) { + getMoneyBuilder().mergeFrom(value); + } else { + money_ = value; + } + } else { + moneyBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * 	
+     * 
+ * + * .MoneyResult money = 5; + */ + public Builder clearMoney() { + bitField0_ = (bitField0_ & ~0x00000004); + money_ = null; + if (moneyBuilder_ != null) { + moneyBuilder_.dispose(); + moneyBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * 	
+     * 
+ * + * .MoneyResult money = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder getMoneyBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getMoneyFieldBuilder().getBuilder(); + } + /** + *
+     * 	
+     * 
+ * + * .MoneyResult money = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.MoneyResultOrBuilder getMoneyOrBuilder() { + if (moneyBuilder_ != null) { + return moneyBuilder_.getMessageOrBuilder(); + } else { + return money_ == null ? + com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance() : money_; + } + } + /** + *
+     * 	
+     * 
+ * + * .MoneyResult money = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MoneyResult, com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder, com.caliverse.admin.domain.RabbitMq.message.MoneyResultOrBuilder> + getMoneyFieldBuilder() { + if (moneyBuilder_ == null) { + moneyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MoneyResult, com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder, com.caliverse.admin.domain.RabbitMq.message.MoneyResultOrBuilder>( + getMoney(), + getParentForChildren(), + isClean()); + money_ = null; + } + return moneyBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.ExpResult exp_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ExpResult, com.caliverse.admin.domain.RabbitMq.message.ExpResult.Builder, com.caliverse.admin.domain.RabbitMq.message.ExpResultOrBuilder> expBuilder_; + /** + *
+     * Ʈ /ġ
+     * 
+ * + * .ExpResult exp = 6; + * @return Whether the exp field is set. + */ + public boolean hasExp() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+     * Ʈ /ġ
+     * 
+ * + * .ExpResult exp = 6; + * @return The exp. + */ + public com.caliverse.admin.domain.RabbitMq.message.ExpResult getExp() { + if (expBuilder_ == null) { + return exp_ == null ? com.caliverse.admin.domain.RabbitMq.message.ExpResult.getDefaultInstance() : exp_; + } else { + return expBuilder_.getMessage(); + } + } + /** + *
+     * Ʈ /ġ
+     * 
+ * + * .ExpResult exp = 6; + */ + public Builder setExp(com.caliverse.admin.domain.RabbitMq.message.ExpResult value) { + if (expBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + exp_ = value; + } else { + expBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Ʈ /ġ
+     * 
+ * + * .ExpResult exp = 6; + */ + public Builder setExp( + com.caliverse.admin.domain.RabbitMq.message.ExpResult.Builder builderForValue) { + if (expBuilder_ == null) { + exp_ = builderForValue.build(); + } else { + expBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Ʈ /ġ
+     * 
+ * + * .ExpResult exp = 6; + */ + public Builder mergeExp(com.caliverse.admin.domain.RabbitMq.message.ExpResult value) { + if (expBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + exp_ != null && + exp_ != com.caliverse.admin.domain.RabbitMq.message.ExpResult.getDefaultInstance()) { + getExpBuilder().mergeFrom(value); + } else { + exp_ = value; + } + } else { + expBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Ʈ /ġ
+     * 
+ * + * .ExpResult exp = 6; + */ + public Builder clearExp() { + bitField0_ = (bitField0_ & ~0x00000008); + exp_ = null; + if (expBuilder_ != null) { + expBuilder_.dispose(); + expBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Ʈ /ġ
+     * 
+ * + * .ExpResult exp = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.ExpResult.Builder getExpBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getExpFieldBuilder().getBuilder(); + } + /** + *
+     * Ʈ /ġ
+     * 
+ * + * .ExpResult exp = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.ExpResultOrBuilder getExpOrBuilder() { + if (expBuilder_ != null) { + return expBuilder_.getMessageOrBuilder(); + } else { + return exp_ == null ? + com.caliverse.admin.domain.RabbitMq.message.ExpResult.getDefaultInstance() : exp_; + } + } + /** + *
+     * Ʈ /ġ
+     * 
+ * + * .ExpResult exp = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ExpResult, com.caliverse.admin.domain.RabbitMq.message.ExpResult.Builder, com.caliverse.admin.domain.RabbitMq.message.ExpResultOrBuilder> + getExpFieldBuilder() { + if (expBuilder_ == null) { + expBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ExpResult, com.caliverse.admin.domain.RabbitMq.message.ExpResult.Builder, com.caliverse.admin.domain.RabbitMq.message.ExpResultOrBuilder>( + getExp(), + getParentForChildren(), + isClean()); + exp_ = null; + } + return expBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.ItemResult item_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ItemResult, com.caliverse.admin.domain.RabbitMq.message.ItemResult.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemResultOrBuilder> itemBuilder_; + /** + *
+     * 
+     * 
+ * + * .ItemResult item = 11; + * @return Whether the item field is set. + */ + public boolean hasItem() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + *
+     * 
+     * 
+ * + * .ItemResult item = 11; + * @return The item. + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemResult getItem() { + if (itemBuilder_ == null) { + return item_ == null ? com.caliverse.admin.domain.RabbitMq.message.ItemResult.getDefaultInstance() : item_; + } else { + return itemBuilder_.getMessage(); + } + } + /** + *
+     * 
+     * 
+ * + * .ItemResult item = 11; + */ + public Builder setItem(com.caliverse.admin.domain.RabbitMq.message.ItemResult value) { + if (itemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + item_ = value; + } else { + itemBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * 
+     * 
+ * + * .ItemResult item = 11; + */ + public Builder setItem( + com.caliverse.admin.domain.RabbitMq.message.ItemResult.Builder builderForValue) { + if (itemBuilder_ == null) { + item_ = builderForValue.build(); + } else { + itemBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * 
+     * 
+ * + * .ItemResult item = 11; + */ + public Builder mergeItem(com.caliverse.admin.domain.RabbitMq.message.ItemResult value) { + if (itemBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + item_ != null && + item_ != com.caliverse.admin.domain.RabbitMq.message.ItemResult.getDefaultInstance()) { + getItemBuilder().mergeFrom(value); + } else { + item_ = value; + } + } else { + itemBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * 
+     * 
+ * + * .ItemResult item = 11; + */ + public Builder clearItem() { + bitField0_ = (bitField0_ & ~0x00000010); + item_ = null; + if (itemBuilder_ != null) { + itemBuilder_.dispose(); + itemBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * 
+     * 
+ * + * .ItemResult item = 11; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemResult.Builder getItemBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getItemFieldBuilder().getBuilder(); + } + /** + *
+     * 
+     * 
+ * + * .ItemResult item = 11; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemResultOrBuilder getItemOrBuilder() { + if (itemBuilder_ != null) { + return itemBuilder_.getMessageOrBuilder(); + } else { + return item_ == null ? + com.caliverse.admin.domain.RabbitMq.message.ItemResult.getDefaultInstance() : item_; + } + } + /** + *
+     * 
+     * 
+ * + * .ItemResult item = 11; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ItemResult, com.caliverse.admin.domain.RabbitMq.message.ItemResult.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemResultOrBuilder> + getItemFieldBuilder() { + if (itemBuilder_ == null) { + itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ItemResult, com.caliverse.admin.domain.RabbitMq.message.ItemResult.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemResultOrBuilder>( + getItem(), + getParentForChildren(), + isClean()); + item_ = null; + } + return itemBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:EntityCommonResult) + } + + // @@protoc_insertion_point(class_scope:EntityCommonResult) + private static final com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityCommonResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityCommonResultOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityCommonResultOrBuilder.java new file mode 100644 index 0000000..1631ff3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityCommonResultOrBuilder.java @@ -0,0 +1,129 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface EntityCommonResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:EntityCommonResult) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *  ƼƼ  : EntityType  (: EntityType.Player, EntityType.UgcNpc)
+   * 
+ * + * .EntityType entityType = 1; + * @return The enum numeric value on the wire for entityType. + */ + int getEntityTypeValue(); + /** + *
+   *  ƼƼ  : EntityType  (: EntityType.Player, EntityType.UgcNpc)
+   * 
+ * + * .EntityType entityType = 1; + * @return The entityType. + */ + com.caliverse.admin.domain.RabbitMq.message.EntityType getEntityType(); + + /** + *
+   *  ƼƼ Guid : EntityGuid
+   * 
+ * + * string entityGuid = 2; + * @return The entityGuid. + */ + java.lang.String getEntityGuid(); + /** + *
+   *  ƼƼ Guid : EntityGuid
+   * 
+ * + * string entityGuid = 2; + * @return The bytes for entityGuid. + */ + com.google.protobuf.ByteString + getEntityGuidBytes(); + + /** + *
+   * 	
+   * 
+ * + * .MoneyResult money = 5; + * @return Whether the money field is set. + */ + boolean hasMoney(); + /** + *
+   * 	
+   * 
+ * + * .MoneyResult money = 5; + * @return The money. + */ + com.caliverse.admin.domain.RabbitMq.message.MoneyResult getMoney(); + /** + *
+   * 	
+   * 
+ * + * .MoneyResult money = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.MoneyResultOrBuilder getMoneyOrBuilder(); + + /** + *
+   * Ʈ /ġ
+   * 
+ * + * .ExpResult exp = 6; + * @return Whether the exp field is set. + */ + boolean hasExp(); + /** + *
+   * Ʈ /ġ
+   * 
+ * + * .ExpResult exp = 6; + * @return The exp. + */ + com.caliverse.admin.domain.RabbitMq.message.ExpResult getExp(); + /** + *
+   * Ʈ /ġ
+   * 
+ * + * .ExpResult exp = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.ExpResultOrBuilder getExpOrBuilder(); + + /** + *
+   * 
+   * 
+ * + * .ItemResult item = 11; + * @return Whether the item field is set. + */ + boolean hasItem(); + /** + *
+   * 
+   * 
+ * + * .ItemResult item = 11; + * @return The item. + */ + com.caliverse.admin.domain.RabbitMq.message.ItemResult getItem(); + /** + *
+   * 
+   * 
+ * + * .ItemResult item = 11; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemResultOrBuilder getItemOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityStateInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityStateInfo.java new file mode 100644 index 0000000..d6d0819 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityStateInfo.java @@ -0,0 +1,784 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ƼƼ  , GameActor   ӽ÷ Ѵ - kangms
+ * 
+ * + * Protobuf type {@code EntityStateInfo} + */ +public final class EntityStateInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:EntityStateInfo) + EntityStateInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use EntityStateInfo.newBuilder() to construct. + private EntityStateInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private EntityStateInfo() { + stateType_ = 0; + anchorMetaGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new EntityStateInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EntityStateInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EntityStateInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.class, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder.class); + } + + public static final int STATETYPE_FIELD_NUMBER = 21; + private int stateType_ = 0; + /** + *
+   *EntityStateType  (UsingByCrafting, UsingByFarming, UsingByMyHome)
+   * 
+ * + * .EntityStateType stateType = 21; + * @return The enum numeric value on the wire for stateType. + */ + @java.lang.Override public int getStateTypeValue() { + return stateType_; + } + /** + *
+   *EntityStateType  (UsingByCrafting, UsingByFarming, UsingByMyHome)
+   * 
+ * + * .EntityStateType stateType = 21; + * @return The stateType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.EntityStateType getStateType() { + com.caliverse.admin.domain.RabbitMq.message.EntityStateType result = com.caliverse.admin.domain.RabbitMq.message.EntityStateType.forNumber(stateType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateType.UNRECOGNIZED : result; + } + + public static final int ANCHORMETAGUID_FIELD_NUMBER = 22; + @SuppressWarnings("serial") + private volatile java.lang.Object anchorMetaGuid_ = ""; + /** + *
+   *Map ִ Anchor Meta Guid
+   * 
+ * + * string anchorMetaGuid = 22; + * @return The anchorMetaGuid. + */ + @java.lang.Override + public java.lang.String getAnchorMetaGuid() { + java.lang.Object ref = anchorMetaGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorMetaGuid_ = s; + return s; + } + } + /** + *
+   *Map ִ Anchor Meta Guid
+   * 
+ * + * string anchorMetaGuid = 22; + * @return The bytes for anchorMetaGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAnchorMetaGuidBytes() { + java.lang.Object ref = anchorMetaGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int METAIDOFSTATETYPE_FIELD_NUMBER = 23; + private int metaIdOfStateType_ = 0; + /** + *
+   *stateType شϴ Meta ̺ Meta Id (UsingByFarming:FarmingPropMetaId, UsingByCrafting:?)
+   * 
+ * + * int32 metaIdOfStateType = 23; + * @return The metaIdOfStateType. + */ + @java.lang.Override + public int getMetaIdOfStateType() { + return metaIdOfStateType_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (stateType_ != com.caliverse.admin.domain.RabbitMq.message.EntityStateType.EntityStateType_None.getNumber()) { + output.writeEnum(21, stateType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorMetaGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 22, anchorMetaGuid_); + } + if (metaIdOfStateType_ != 0) { + output.writeInt32(23, metaIdOfStateType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (stateType_ != com.caliverse.admin.domain.RabbitMq.message.EntityStateType.EntityStateType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(21, stateType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorMetaGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, anchorMetaGuid_); + } + if (metaIdOfStateType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(23, metaIdOfStateType_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo other = (com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo) obj; + + if (stateType_ != other.stateType_) return false; + if (!getAnchorMetaGuid() + .equals(other.getAnchorMetaGuid())) return false; + if (getMetaIdOfStateType() + != other.getMetaIdOfStateType()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + STATETYPE_FIELD_NUMBER; + hash = (53 * hash) + stateType_; + hash = (37 * hash) + ANCHORMETAGUID_FIELD_NUMBER; + hash = (53 * hash) + getAnchorMetaGuid().hashCode(); + hash = (37 * hash) + METAIDOFSTATETYPE_FIELD_NUMBER; + hash = (53 * hash) + getMetaIdOfStateType(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * ƼƼ  , GameActor   ӽ÷ Ѵ - kangms
+   * 
+ * + * Protobuf type {@code EntityStateInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:EntityStateInfo) + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EntityStateInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EntityStateInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.class, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + stateType_ = 0; + anchorMetaGuid_ = ""; + metaIdOfStateType_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EntityStateInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo build() { + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo result = new com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.stateType_ = stateType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.anchorMetaGuid_ = anchorMetaGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.metaIdOfStateType_ = metaIdOfStateType_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance()) return this; + if (other.stateType_ != 0) { + setStateTypeValue(other.getStateTypeValue()); + } + if (!other.getAnchorMetaGuid().isEmpty()) { + anchorMetaGuid_ = other.anchorMetaGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getMetaIdOfStateType() != 0) { + setMetaIdOfStateType(other.getMetaIdOfStateType()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 168: { + stateType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 168 + case 178: { + anchorMetaGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 178 + case 184: { + metaIdOfStateType_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 184 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int stateType_ = 0; + /** + *
+     *EntityStateType  (UsingByCrafting, UsingByFarming, UsingByMyHome)
+     * 
+ * + * .EntityStateType stateType = 21; + * @return The enum numeric value on the wire for stateType. + */ + @java.lang.Override public int getStateTypeValue() { + return stateType_; + } + /** + *
+     *EntityStateType  (UsingByCrafting, UsingByFarming, UsingByMyHome)
+     * 
+ * + * .EntityStateType stateType = 21; + * @param value The enum numeric value on the wire for stateType to set. + * @return This builder for chaining. + */ + public Builder setStateTypeValue(int value) { + stateType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     *EntityStateType  (UsingByCrafting, UsingByFarming, UsingByMyHome)
+     * 
+ * + * .EntityStateType stateType = 21; + * @return The stateType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateType getStateType() { + com.caliverse.admin.domain.RabbitMq.message.EntityStateType result = com.caliverse.admin.domain.RabbitMq.message.EntityStateType.forNumber(stateType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateType.UNRECOGNIZED : result; + } + /** + *
+     *EntityStateType  (UsingByCrafting, UsingByFarming, UsingByMyHome)
+     * 
+ * + * .EntityStateType stateType = 21; + * @param value The stateType to set. + * @return This builder for chaining. + */ + public Builder setStateType(com.caliverse.admin.domain.RabbitMq.message.EntityStateType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + stateType_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     *EntityStateType  (UsingByCrafting, UsingByFarming, UsingByMyHome)
+     * 
+ * + * .EntityStateType stateType = 21; + * @return This builder for chaining. + */ + public Builder clearStateType() { + bitField0_ = (bitField0_ & ~0x00000001); + stateType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object anchorMetaGuid_ = ""; + /** + *
+     *Map ִ Anchor Meta Guid
+     * 
+ * + * string anchorMetaGuid = 22; + * @return The anchorMetaGuid. + */ + public java.lang.String getAnchorMetaGuid() { + java.lang.Object ref = anchorMetaGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorMetaGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     *Map ִ Anchor Meta Guid
+     * 
+ * + * string anchorMetaGuid = 22; + * @return The bytes for anchorMetaGuid. + */ + public com.google.protobuf.ByteString + getAnchorMetaGuidBytes() { + java.lang.Object ref = anchorMetaGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     *Map ִ Anchor Meta Guid
+     * 
+ * + * string anchorMetaGuid = 22; + * @param value The anchorMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorMetaGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + anchorMetaGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     *Map ִ Anchor Meta Guid
+     * 
+ * + * string anchorMetaGuid = 22; + * @return This builder for chaining. + */ + public Builder clearAnchorMetaGuid() { + anchorMetaGuid_ = getDefaultInstance().getAnchorMetaGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     *Map ִ Anchor Meta Guid
+     * 
+ * + * string anchorMetaGuid = 22; + * @param value The bytes for anchorMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorMetaGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + anchorMetaGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int metaIdOfStateType_ ; + /** + *
+     *stateType شϴ Meta ̺ Meta Id (UsingByFarming:FarmingPropMetaId, UsingByCrafting:?)
+     * 
+ * + * int32 metaIdOfStateType = 23; + * @return The metaIdOfStateType. + */ + @java.lang.Override + public int getMetaIdOfStateType() { + return metaIdOfStateType_; + } + /** + *
+     *stateType شϴ Meta ̺ Meta Id (UsingByFarming:FarmingPropMetaId, UsingByCrafting:?)
+     * 
+ * + * int32 metaIdOfStateType = 23; + * @param value The metaIdOfStateType to set. + * @return This builder for chaining. + */ + public Builder setMetaIdOfStateType(int value) { + + metaIdOfStateType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     *stateType شϴ Meta ̺ Meta Id (UsingByFarming:FarmingPropMetaId, UsingByCrafting:?)
+     * 
+ * + * int32 metaIdOfStateType = 23; + * @return This builder for chaining. + */ + public Builder clearMetaIdOfStateType() { + bitField0_ = (bitField0_ & ~0x00000004); + metaIdOfStateType_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:EntityStateInfo) + } + + // @@protoc_insertion_point(class_scope:EntityStateInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityStateInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityStateInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityStateInfoOrBuilder.java new file mode 100644 index 0000000..3d67896 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityStateInfoOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface EntityStateInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:EntityStateInfo) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *EntityStateType  (UsingByCrafting, UsingByFarming, UsingByMyHome)
+   * 
+ * + * .EntityStateType stateType = 21; + * @return The enum numeric value on the wire for stateType. + */ + int getStateTypeValue(); + /** + *
+   *EntityStateType  (UsingByCrafting, UsingByFarming, UsingByMyHome)
+   * 
+ * + * .EntityStateType stateType = 21; + * @return The stateType. + */ + com.caliverse.admin.domain.RabbitMq.message.EntityStateType getStateType(); + + /** + *
+   *Map ִ Anchor Meta Guid
+   * 
+ * + * string anchorMetaGuid = 22; + * @return The anchorMetaGuid. + */ + java.lang.String getAnchorMetaGuid(); + /** + *
+   *Map ִ Anchor Meta Guid
+   * 
+ * + * string anchorMetaGuid = 22; + * @return The bytes for anchorMetaGuid. + */ + com.google.protobuf.ByteString + getAnchorMetaGuidBytes(); + + /** + *
+   *stateType شϴ Meta ̺ Meta Id (UsingByFarming:FarmingPropMetaId, UsingByCrafting:?)
+   * 
+ * + * int32 metaIdOfStateType = 23; + * @return The metaIdOfStateType. + */ + int getMetaIdOfStateType(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityStateTriggerType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityStateTriggerType.java new file mode 100644 index 0000000..baeccf9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityStateTriggerType.java @@ -0,0 +1,407 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *=============================================================================================
+ * ƼƼ  Ʈ 
+ *=============================================================================================
+ * 
+ * + * Protobuf enum {@code EntityStateTriggerType} + */ +public enum EntityStateTriggerType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * EntityStateTriggerType_None = 0; + */ + EntityStateTriggerType_None(0), + /** + *
+   * ð 
+   * 
+ * + * EntityStateTriggerType_Timeout = 1; + */ + EntityStateTriggerType_Timeout(1), + /** + *
+   * ƼƼ  /
+   * 
+ * + * EntityStateTriggerType_GameZoneEnter = 11; + */ + EntityStateTriggerType_GameZoneEnter(11), + /** + * EntityStateTriggerType_GameZoneExit = 12; + */ + EntityStateTriggerType_GameZoneExit(12), + /** + *
+   * ƼƼ ⺻ 
+   * 
+ * + * EntityStateTriggerType_Spawn = 51; + */ + EntityStateTriggerType_Spawn(51), + /** + * EntityStateTriggerType_Alive = 52; + */ + EntityStateTriggerType_Alive(52), + /** + *
+   * ƼƼ AI 
+   * 
+ * + * EntityStateTriggerType_Think = 61; + */ + EntityStateTriggerType_Think(61), + /** + * EntityStateTriggerType_Roam = 62; + */ + EntityStateTriggerType_Roam(62), + /** + * EntityStateTriggerType_Chase = 63; + */ + EntityStateTriggerType_Chase(63), + /** + *
+   * (ų, ) 
+   * 
+ * + * EntityStateTriggerType_BuffActive = 101; + */ + EntityStateTriggerType_BuffActive(101), + /** + * EntityStateTriggerType_Attack = 102; + */ + EntityStateTriggerType_Attack(102), + /** + * EntityStateTriggerType_SkillFire = 111; + */ + EntityStateTriggerType_SkillFire(111), + /** + * EntityStateTriggerType_SkillCancel = 112; + */ + EntityStateTriggerType_SkillCancel(112), + /** + * EntityStateTriggerType_SkillClose = 113; + */ + EntityStateTriggerType_SkillClose(113), + /** + *
+   * Ǿƽĺ 
+   * 
+ * + * EntityStateTriggerType_NoEnemy = 131; + */ + EntityStateTriggerType_NoEnemy(131), + /** + * EntityStateTriggerType_TargetFound = 132; + */ + EntityStateTriggerType_TargetFound(132), + /** + * EntityStateTriggerType_TargetDead = 133; + */ + EntityStateTriggerType_TargetDead(133), + /** + *
+   * Ư  
+   * 
+ * + * EntityStateTriggerType_NoHp = 301; + */ + EntityStateTriggerType_NoHp(301), + /** + * EntityStateTriggerType_Revive = 302; + */ + EntityStateTriggerType_Revive(302), + /** + * EntityStateTriggerType_HomeGo = 303; + */ + EntityStateTriggerType_HomeGo(303), + /** + * EntityStateTriggerType_ArrivedHome = 304; + */ + EntityStateTriggerType_ArrivedHome(304), + /** + * EntityStateTriggerType_Activate = 305; + */ + EntityStateTriggerType_Activate(305), + /** + * EntityStateTriggerType_Deactivate = 306; + */ + EntityStateTriggerType_Deactivate(306), + /** + *
+   * Ư ȿ 
+   * 
+ * + * EntityStateTriggerType_UncontrolStart = 601; + */ + EntityStateTriggerType_UncontrolStart(601), + /** + * EntityStateTriggerType_UncontrolEnd = 602; + */ + EntityStateTriggerType_UncontrolEnd(602), + /** + *
+   * ÷ 
+   * 
+ * + * EntityStateTriggerType_PlayReady = 1001; + */ + EntityStateTriggerType_PlayReady(1001), + UNRECOGNIZED(-1), + ; + + /** + * EntityStateTriggerType_None = 0; + */ + public static final int EntityStateTriggerType_None_VALUE = 0; + /** + *
+   * ð 
+   * 
+ * + * EntityStateTriggerType_Timeout = 1; + */ + public static final int EntityStateTriggerType_Timeout_VALUE = 1; + /** + *
+   * ƼƼ  /
+   * 
+ * + * EntityStateTriggerType_GameZoneEnter = 11; + */ + public static final int EntityStateTriggerType_GameZoneEnter_VALUE = 11; + /** + * EntityStateTriggerType_GameZoneExit = 12; + */ + public static final int EntityStateTriggerType_GameZoneExit_VALUE = 12; + /** + *
+   * ƼƼ ⺻ 
+   * 
+ * + * EntityStateTriggerType_Spawn = 51; + */ + public static final int EntityStateTriggerType_Spawn_VALUE = 51; + /** + * EntityStateTriggerType_Alive = 52; + */ + public static final int EntityStateTriggerType_Alive_VALUE = 52; + /** + *
+   * ƼƼ AI 
+   * 
+ * + * EntityStateTriggerType_Think = 61; + */ + public static final int EntityStateTriggerType_Think_VALUE = 61; + /** + * EntityStateTriggerType_Roam = 62; + */ + public static final int EntityStateTriggerType_Roam_VALUE = 62; + /** + * EntityStateTriggerType_Chase = 63; + */ + public static final int EntityStateTriggerType_Chase_VALUE = 63; + /** + *
+   * (ų, ) 
+   * 
+ * + * EntityStateTriggerType_BuffActive = 101; + */ + public static final int EntityStateTriggerType_BuffActive_VALUE = 101; + /** + * EntityStateTriggerType_Attack = 102; + */ + public static final int EntityStateTriggerType_Attack_VALUE = 102; + /** + * EntityStateTriggerType_SkillFire = 111; + */ + public static final int EntityStateTriggerType_SkillFire_VALUE = 111; + /** + * EntityStateTriggerType_SkillCancel = 112; + */ + public static final int EntityStateTriggerType_SkillCancel_VALUE = 112; + /** + * EntityStateTriggerType_SkillClose = 113; + */ + public static final int EntityStateTriggerType_SkillClose_VALUE = 113; + /** + *
+   * Ǿƽĺ 
+   * 
+ * + * EntityStateTriggerType_NoEnemy = 131; + */ + public static final int EntityStateTriggerType_NoEnemy_VALUE = 131; + /** + * EntityStateTriggerType_TargetFound = 132; + */ + public static final int EntityStateTriggerType_TargetFound_VALUE = 132; + /** + * EntityStateTriggerType_TargetDead = 133; + */ + public static final int EntityStateTriggerType_TargetDead_VALUE = 133; + /** + *
+   * Ư  
+   * 
+ * + * EntityStateTriggerType_NoHp = 301; + */ + public static final int EntityStateTriggerType_NoHp_VALUE = 301; + /** + * EntityStateTriggerType_Revive = 302; + */ + public static final int EntityStateTriggerType_Revive_VALUE = 302; + /** + * EntityStateTriggerType_HomeGo = 303; + */ + public static final int EntityStateTriggerType_HomeGo_VALUE = 303; + /** + * EntityStateTriggerType_ArrivedHome = 304; + */ + public static final int EntityStateTriggerType_ArrivedHome_VALUE = 304; + /** + * EntityStateTriggerType_Activate = 305; + */ + public static final int EntityStateTriggerType_Activate_VALUE = 305; + /** + * EntityStateTriggerType_Deactivate = 306; + */ + public static final int EntityStateTriggerType_Deactivate_VALUE = 306; + /** + *
+   * Ư ȿ 
+   * 
+ * + * EntityStateTriggerType_UncontrolStart = 601; + */ + public static final int EntityStateTriggerType_UncontrolStart_VALUE = 601; + /** + * EntityStateTriggerType_UncontrolEnd = 602; + */ + public static final int EntityStateTriggerType_UncontrolEnd_VALUE = 602; + /** + *
+   * ÷ 
+   * 
+ * + * EntityStateTriggerType_PlayReady = 1001; + */ + public static final int EntityStateTriggerType_PlayReady_VALUE = 1001; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EntityStateTriggerType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static EntityStateTriggerType forNumber(int value) { + switch (value) { + case 0: return EntityStateTriggerType_None; + case 1: return EntityStateTriggerType_Timeout; + case 11: return EntityStateTriggerType_GameZoneEnter; + case 12: return EntityStateTriggerType_GameZoneExit; + case 51: return EntityStateTriggerType_Spawn; + case 52: return EntityStateTriggerType_Alive; + case 61: return EntityStateTriggerType_Think; + case 62: return EntityStateTriggerType_Roam; + case 63: return EntityStateTriggerType_Chase; + case 101: return EntityStateTriggerType_BuffActive; + case 102: return EntityStateTriggerType_Attack; + case 111: return EntityStateTriggerType_SkillFire; + case 112: return EntityStateTriggerType_SkillCancel; + case 113: return EntityStateTriggerType_SkillClose; + case 131: return EntityStateTriggerType_NoEnemy; + case 132: return EntityStateTriggerType_TargetFound; + case 133: return EntityStateTriggerType_TargetDead; + case 301: return EntityStateTriggerType_NoHp; + case 302: return EntityStateTriggerType_Revive; + case 303: return EntityStateTriggerType_HomeGo; + case 304: return EntityStateTriggerType_ArrivedHome; + case 305: return EntityStateTriggerType_Activate; + case 306: return EntityStateTriggerType_Deactivate; + case 601: return EntityStateTriggerType_UncontrolStart; + case 602: return EntityStateTriggerType_UncontrolEnd; + case 1001: return EntityStateTriggerType_PlayReady; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + EntityStateTriggerType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EntityStateTriggerType findValueByNumber(int number) { + return EntityStateTriggerType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(2); + } + + private static final EntityStateTriggerType[] VALUES = values(); + + public static EntityStateTriggerType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private EntityStateTriggerType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:EntityStateTriggerType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityStateType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityStateType.java new file mode 100644 index 0000000..e5de0bd --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityStateType.java @@ -0,0 +1,705 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *=============================================================================================
+ * ƼƼ  
+ *=============================================================================================
+ * 
+ * + * Protobuf enum {@code EntityStateType} + */ +public enum EntityStateType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * EntityStateType_None = 0; + */ + EntityStateType_None(0), + /** + *
+   *  (Root) : UserAuthServer, ChannelServer, IndunServer, ChatServer
+   * 
+ * + * EntityStateType_Created = 1; + */ + EntityStateType_Created(1), + /** + *
+   * ʱȭ
+   * 
+ * + * EntityStateType_Initializing = 2; + */ + EntityStateType_Initializing(2), + /** + *
+   * εϰִ
+   * 
+ * + * EntityStateType_Loading = 3; + */ + EntityStateType_Loading(3), + /** + *
+   * α
+   * 
+ * + * EntityStateType_Login = 11; + */ + EntityStateType_Login(11), + /** + *
+   * α׾ƿ
+   * 
+ * + * EntityStateType_Logout = 111; + */ + EntityStateType_Logout(111), + /** + *
+   *  
+   * 
+ * + * EntityStateType_GameZoneEnter = 15; + */ + EntityStateType_GameZoneEnter(15), + /** + *
+   * ÷̰ غ
+   * 
+ * + * EntityStateType_PlayReady = 16; + */ + EntityStateType_PlayReady(16), + /** + *
+   *  ȯ
+   * 
+ * + * EntityStateType_Spawning = 17; + */ + EntityStateType_Spawning(17), + /** + *
+   * ȯ 
+   * 
+ * + * EntityStateType_SpawnedCutScene = 18; + */ + EntityStateType_SpawnedCutScene(18), + /** + *
+   * ִ
+   * 
+ * + * EntityStateType_Alive = 51; + */ + EntityStateType_Alive(51), + /** + *
+   * 
+   * 
+ * + * EntityStateType_Idle = 511; + */ + EntityStateType_Idle(511), + /** + *
+   *  ¸ 
+   * 
+ * + * EntityStateType_Think = 512; + */ + EntityStateType_Think(512), + /** + *
+   * ̵
+   * 
+ * + * EntityStateType_Move = 513; + */ + EntityStateType_Move(513), + /** + *
+   * ֺ  ȸ
+   * 
+ * + * EntityStateType_Roam = 5131; + */ + EntityStateType_Roam(5131), + /** + *
+   * ȱ
+   * 
+ * + * EntityStateType_Walk = 5132; + */ + EntityStateType_Walk(5132), + /** + *
+   * ٱ
+   * 
+ * + * EntityStateType_Run = 5133; + */ + EntityStateType_Run(5133), + /** + *
+   * 
+   * 
+ * + * EntityStateType_Patrol = 5134; + */ + EntityStateType_Patrol(5134), + /** + *
+   * 
+   * 
+ * + * EntityStateType_Chase = 5135; + */ + EntityStateType_Chase(5135), + /** + *
+   * 
+   * 
+ * + * EntityStateType_Dash = 5136; + */ + EntityStateType_Dash(5136), + /** + *
+   * Ȩ  ġ
+   * 
+ * + * EntityStateType_GoHome = 5137; + */ + EntityStateType_GoHome(5137), + /** + *
+   *  
+   * 
+ * + * EntityStateType_Dancing = 5138; + */ + EntityStateType_Dancing(5138), + /** + *
+   * 
+   * 
+ * + * EntityStateType_Battle = 514; + */ + EntityStateType_Battle(514), + /** + *
+   * ų 
+   * 
+ * + * EntityStateType_SkillFire = 5141; + */ + EntityStateType_SkillFire(5141), + /** + *
+   *  Ҵ
+   * 
+ * + * EntityStateType_Uncontrol = 515; + */ + EntityStateType_Uncontrol(515), + /** + *
+   * 
+   * 
+ * + * EntityStateType_Hide = 516; + */ + EntityStateType_Hide(516), + /** + *
+   *         
+   * 
+ * + * EntityStateType_Pause = 519; + */ + EntityStateType_Pause(519), + /** + *
+   * 
+   * 
+ * + * EntityStateType_Dead = 61; + */ + EntityStateType_Dead(61), + /** + *
+   * Ȱ
+   * 
+ * + * EntityStateType_Revive = 611; + */ + EntityStateType_Revive(611), + /** + *
+   *  
+   * 
+ * + * EntityStateType_GameZoneExit = 99; + */ + EntityStateType_GameZoneExit(99), + /** + *
+   * Ȱȭ
+   * 
+ * + * EntityStateType_Activate = 101; + */ + EntityStateType_Activate(101), + /** + *
+   * Ȱȭ
+   * 
+ * + * EntityStateType_Deactivate = 102; + */ + EntityStateType_Deactivate(102), + /** + *
+   *  ׶忡 
+   * 
+ * + * EntityStateType_Drop = 201; + */ + EntityStateType_Drop(201), + /** + *
+   *  ۿ 
+   * 
+ * + * EntityStateType_UsingByCrafting = 301; + */ + EntityStateType_UsingByCrafting(301), + /** + *
+   * Ĺֿ 
+   * 
+ * + * EntityStateType_UsingByFarming = 302; + */ + EntityStateType_UsingByFarming(302), + /** + *
+   * Ȩ 
+   * 
+ * + * EntityStateType_UsingByMyHome = 303; + */ + EntityStateType_UsingByMyHome(303), + UNRECOGNIZED(-1), + ; + + /** + * EntityStateType_None = 0; + */ + public static final int EntityStateType_None_VALUE = 0; + /** + *
+   *  (Root) : UserAuthServer, ChannelServer, IndunServer, ChatServer
+   * 
+ * + * EntityStateType_Created = 1; + */ + public static final int EntityStateType_Created_VALUE = 1; + /** + *
+   * ʱȭ
+   * 
+ * + * EntityStateType_Initializing = 2; + */ + public static final int EntityStateType_Initializing_VALUE = 2; + /** + *
+   * εϰִ
+   * 
+ * + * EntityStateType_Loading = 3; + */ + public static final int EntityStateType_Loading_VALUE = 3; + /** + *
+   * α
+   * 
+ * + * EntityStateType_Login = 11; + */ + public static final int EntityStateType_Login_VALUE = 11; + /** + *
+   * α׾ƿ
+   * 
+ * + * EntityStateType_Logout = 111; + */ + public static final int EntityStateType_Logout_VALUE = 111; + /** + *
+   *  
+   * 
+ * + * EntityStateType_GameZoneEnter = 15; + */ + public static final int EntityStateType_GameZoneEnter_VALUE = 15; + /** + *
+   * ÷̰ غ
+   * 
+ * + * EntityStateType_PlayReady = 16; + */ + public static final int EntityStateType_PlayReady_VALUE = 16; + /** + *
+   *  ȯ
+   * 
+ * + * EntityStateType_Spawning = 17; + */ + public static final int EntityStateType_Spawning_VALUE = 17; + /** + *
+   * ȯ 
+   * 
+ * + * EntityStateType_SpawnedCutScene = 18; + */ + public static final int EntityStateType_SpawnedCutScene_VALUE = 18; + /** + *
+   * ִ
+   * 
+ * + * EntityStateType_Alive = 51; + */ + public static final int EntityStateType_Alive_VALUE = 51; + /** + *
+   * 
+   * 
+ * + * EntityStateType_Idle = 511; + */ + public static final int EntityStateType_Idle_VALUE = 511; + /** + *
+   *  ¸ 
+   * 
+ * + * EntityStateType_Think = 512; + */ + public static final int EntityStateType_Think_VALUE = 512; + /** + *
+   * ̵
+   * 
+ * + * EntityStateType_Move = 513; + */ + public static final int EntityStateType_Move_VALUE = 513; + /** + *
+   * ֺ  ȸ
+   * 
+ * + * EntityStateType_Roam = 5131; + */ + public static final int EntityStateType_Roam_VALUE = 5131; + /** + *
+   * ȱ
+   * 
+ * + * EntityStateType_Walk = 5132; + */ + public static final int EntityStateType_Walk_VALUE = 5132; + /** + *
+   * ٱ
+   * 
+ * + * EntityStateType_Run = 5133; + */ + public static final int EntityStateType_Run_VALUE = 5133; + /** + *
+   * 
+   * 
+ * + * EntityStateType_Patrol = 5134; + */ + public static final int EntityStateType_Patrol_VALUE = 5134; + /** + *
+   * 
+   * 
+ * + * EntityStateType_Chase = 5135; + */ + public static final int EntityStateType_Chase_VALUE = 5135; + /** + *
+   * 
+   * 
+ * + * EntityStateType_Dash = 5136; + */ + public static final int EntityStateType_Dash_VALUE = 5136; + /** + *
+   * Ȩ  ġ
+   * 
+ * + * EntityStateType_GoHome = 5137; + */ + public static final int EntityStateType_GoHome_VALUE = 5137; + /** + *
+   *  
+   * 
+ * + * EntityStateType_Dancing = 5138; + */ + public static final int EntityStateType_Dancing_VALUE = 5138; + /** + *
+   * 
+   * 
+ * + * EntityStateType_Battle = 514; + */ + public static final int EntityStateType_Battle_VALUE = 514; + /** + *
+   * ų 
+   * 
+ * + * EntityStateType_SkillFire = 5141; + */ + public static final int EntityStateType_SkillFire_VALUE = 5141; + /** + *
+   *  Ҵ
+   * 
+ * + * EntityStateType_Uncontrol = 515; + */ + public static final int EntityStateType_Uncontrol_VALUE = 515; + /** + *
+   * 
+   * 
+ * + * EntityStateType_Hide = 516; + */ + public static final int EntityStateType_Hide_VALUE = 516; + /** + *
+   *         
+   * 
+ * + * EntityStateType_Pause = 519; + */ + public static final int EntityStateType_Pause_VALUE = 519; + /** + *
+   * 
+   * 
+ * + * EntityStateType_Dead = 61; + */ + public static final int EntityStateType_Dead_VALUE = 61; + /** + *
+   * Ȱ
+   * 
+ * + * EntityStateType_Revive = 611; + */ + public static final int EntityStateType_Revive_VALUE = 611; + /** + *
+   *  
+   * 
+ * + * EntityStateType_GameZoneExit = 99; + */ + public static final int EntityStateType_GameZoneExit_VALUE = 99; + /** + *
+   * Ȱȭ
+   * 
+ * + * EntityStateType_Activate = 101; + */ + public static final int EntityStateType_Activate_VALUE = 101; + /** + *
+   * Ȱȭ
+   * 
+ * + * EntityStateType_Deactivate = 102; + */ + public static final int EntityStateType_Deactivate_VALUE = 102; + /** + *
+   *  ׶忡 
+   * 
+ * + * EntityStateType_Drop = 201; + */ + public static final int EntityStateType_Drop_VALUE = 201; + /** + *
+   *  ۿ 
+   * 
+ * + * EntityStateType_UsingByCrafting = 301; + */ + public static final int EntityStateType_UsingByCrafting_VALUE = 301; + /** + *
+   * Ĺֿ 
+   * 
+ * + * EntityStateType_UsingByFarming = 302; + */ + public static final int EntityStateType_UsingByFarming_VALUE = 302; + /** + *
+   * Ȩ 
+   * 
+ * + * EntityStateType_UsingByMyHome = 303; + */ + public static final int EntityStateType_UsingByMyHome_VALUE = 303; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EntityStateType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static EntityStateType forNumber(int value) { + switch (value) { + case 0: return EntityStateType_None; + case 1: return EntityStateType_Created; + case 2: return EntityStateType_Initializing; + case 3: return EntityStateType_Loading; + case 11: return EntityStateType_Login; + case 111: return EntityStateType_Logout; + case 15: return EntityStateType_GameZoneEnter; + case 16: return EntityStateType_PlayReady; + case 17: return EntityStateType_Spawning; + case 18: return EntityStateType_SpawnedCutScene; + case 51: return EntityStateType_Alive; + case 511: return EntityStateType_Idle; + case 512: return EntityStateType_Think; + case 513: return EntityStateType_Move; + case 5131: return EntityStateType_Roam; + case 5132: return EntityStateType_Walk; + case 5133: return EntityStateType_Run; + case 5134: return EntityStateType_Patrol; + case 5135: return EntityStateType_Chase; + case 5136: return EntityStateType_Dash; + case 5137: return EntityStateType_GoHome; + case 5138: return EntityStateType_Dancing; + case 514: return EntityStateType_Battle; + case 5141: return EntityStateType_SkillFire; + case 515: return EntityStateType_Uncontrol; + case 516: return EntityStateType_Hide; + case 519: return EntityStateType_Pause; + case 61: return EntityStateType_Dead; + case 611: return EntityStateType_Revive; + case 99: return EntityStateType_GameZoneExit; + case 101: return EntityStateType_Activate; + case 102: return EntityStateType_Deactivate; + case 201: return EntityStateType_Drop; + case 301: return EntityStateType_UsingByCrafting; + case 302: return EntityStateType_UsingByFarming; + case 303: return EntityStateType_UsingByMyHome; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + EntityStateType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EntityStateType findValueByNumber(int number) { + return EntityStateType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(1); + } + + private static final EntityStateType[] VALUES = values(); + + public static EntityStateType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private EntityStateType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:EntityStateType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityType.java new file mode 100644 index 0000000..6a5ecf4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EntityType.java @@ -0,0 +1,1303 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *=================================================================================================
+ * ƼƼ 
+ * Enum Description Ģ :  ڸ - 00
+ *=================================================================================================
+ * 
+ * + * Protobuf enum {@code EntityType} + */ +public enum EntityType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * EntityType_None = 0; + */ + EntityType_None(0), + /** + *
+   * User 迭 : HFSM, Control by Manual
+   * 
+ * + * EntityType_Player = 1; + */ + EntityType_Player(1), + /** + *
+   * Character 迭
+   * 
+ * + * EntityType_Character = 2; + */ + EntityType_Character(2), + /** + *
+   * Npc 迭 : HFSM, Control by AI
+   * 
+ * + * EntityType_Npc = 3; + */ + EntityType_Npc(3), + /** + *
+   * Monster 迭 :   ü
+   * 
+ * + * EntityType_Monster = 301; + */ + EntityType_Monster(301), + /** + *
+   * Ϲ Npc
+   * 
+ * + * EntityType_GeneralNpc = 30; + */ + EntityType_GeneralNpc(30), + /** + *
+   * ֹ
+   * 
+ * + * EntityType_Barrier = 303; + */ + EntityType_Barrier(303), + /** + *
+   * Volume 迭
+   * 
+ * + * EntityType_Volume = 305; + */ + EntityType_Volume(305), + /** + *
+   * ̺Ʈ
+   * 
+ * + * EntityType_EventVolume = 30501; + */ + EntityType_EventVolume(30501), + /** + *
+   * ȿ
+   * 
+ * + * EntityType_EffectVolume = 30502; + */ + EntityType_EffectVolume(30502), + /** + *
+   * Ʈ 
+   * 
+ * + * EntityType_QuestVolume = 30503; + */ + EntityType_QuestVolume(30503), + /** + *
+   * UGC Npc
+   * 
+ * + * EntityType_UgcNpc = 306; + */ + EntityType_UgcNpc(306), + /** + * EntityType_Beacon = 30601; + */ + EntityType_Beacon(30601), + /** + * EntityType_UgcNpcRank = 30602; + */ + EntityType_UgcNpcRank(30602), + /** + *
+   * Ʈ : ȿ
+   * 
+ * + * EntityType_Effect = 307; + */ + EntityType_Effect(307), + /** + *
+   * Ĺ
+   * 
+ * + * EntityType_Farming = 30701; + */ + EntityType_Farming(30701), + /** + *
+   * κ丮 迭
+   * 
+ * + * EntityType_Inventory = 4; + */ + EntityType_Inventory(4), + /** + *
+   *  κ丮 : Ư ġ  ʿ
+   * 
+ * + * EntityType_BagInven = 401; + */ + EntityType_BagInven(401), + /** + *
+   * ǻ  κ丮 : Ư ġ  ʿ
+   * 
+ * + * EntityType_ClothEquipInven = 402; + */ + EntityType_ClothEquipInven(402), + /** + *
+   *   κ丮 : Ư ġ  ʿ
+   * 
+ * + * EntityType_ToolEquipInven = 403; + */ + EntityType_ToolEquipInven(403), + /** + *
+   * Ÿ  κ丮 : Ư ġ  ʿ
+   * 
+ * + * EntityType_TattooEquipInven = 404; + */ + EntityType_TattooEquipInven(404), + /** + *
+   *  迭
+   * 
+ * + * EntityType_Item = 5; + */ + EntityType_Item(5), + /** + *
+   * Ground 迭 : HFSM, Control by AI
+   * 
+ * + * EntityType_GroundEntity = 6; + */ + EntityType_GroundEntity(6), + /** + *
+   *   ִ  Ʈ
+   * 
+ * + * EntityType_DropObject = 601; + */ + EntityType_DropObject(601), + /** + *
+   * 
+   * 
+ * + * EntityType_Land = 602; + */ + EntityType_Land(602), + /** + *
+   * 
+ * + * EntityType_OwnedLand = 60201; + */ + EntityType_OwnedLand(60201), + /** + *
+   *		
+   * 
+ * + * EntityType_Building = 603; + */ + EntityType_Building(603), + /** + *
+   * 
+ * + * EntityType_OwnedBuilding = 60301; + */ + EntityType_OwnedBuilding(60301), + /** + *
+   * 
+ * + * EntityType_BuildingFloor = 60302; + */ + EntityType_BuildingFloor(60302), + /** + *
+   * 
+ * + * EntityType_MyHome = 604; + */ + EntityType_MyHome(604), + /** + *
+   * ȭ 迭
+   * 
+ * + * EntityType_Money = 7; + */ + EntityType_Money(7), + /** + *
+   *  迭
+   * 
+ * + * EntityType_Shop = 8; + */ + EntityType_Shop(8), + /** + *
+   *  Product Meter
+   * 
+ * + * EntityType_MyShopProductMeter = 801; + */ + EntityType_MyShopProductMeter(801), + /** + *
+   * Ǹŵ Product List
+   * 
+ * + * EntityType_ShopSoldProduct = 802; + */ + EntityType_ShopSoldProduct(802), + /** + *
+   * νϽ 
+   * 
+ * + * EntityType_Room = 9; + */ + EntityType_Room(9), + /** + *
+   * ۷ι Ƽ
+   * 
+ * + * EntityType_Party = 10; + */ + EntityType_Party(10), + /** + *
+   *   Ƽ ƼƼ
+   * 
+ * + * EntityType_GlobalParty = 1001; + */ + EntityType_GlobalParty(1001), + /** + *
+   * Ƽ
+   * 
+ * + * EntityType_GlobalPartyDetail = 100101; + */ + EntityType_GlobalPartyDetail(100101), + /** + *
+   * Player ͼ  Ƽ ƼƼ
+   * 
+ * + * EntityType_PersonalParty = 1002; + */ + EntityType_PersonalParty(1002), + /** + *
+   * Ƽ
+   * 
+ * + * EntityType_PersonalPartyDetail = 100201; + */ + EntityType_PersonalPartyDetail(100201), + /** + *
+   * Ҽ ׼
+   * 
+ * + * EntityType_SocialAction = 11; + */ + EntityType_SocialAction(11), + /** + *
+   * ģ
+   * 
+ * + * EntityType_Friend = 12; + */ + EntityType_Friend(12), + /** + *
+   * ̴ϸ Ŀ
+   * 
+ * + * EntityType_MinimapMarker = 13; + */ + EntityType_MinimapMarker(13), + /** + *
+   * Ticker
+   * 
+ * + * EntityType_Ticker = 14; + */ + EntityType_Ticker(14), + /** + * EntityType_UserLoginCacheRefreshTicker = 1401; + */ + EntityType_UserLoginCacheRefreshTicker(1401), + /** + * EntityType_EnityUpdateTicker = 1402; + */ + EntityType_EnityUpdateTicker(1402), + /** + * EntityType_EventUpdateTicker = 1403; + */ + EntityType_EventUpdateTicker(1403), + /** + * EntityType_TimeEventTicker = 1404; + */ + EntityType_TimeEventTicker(1404), + /** + * EntityType_ChannelUpdateTicker = 1405; + */ + EntityType_ChannelUpdateTicker(1405), + /** + * EntityType_NoticeChatTicker = 1406; + */ + EntityType_NoticeChatTicker(1406), + /** + * EntityType_PartyCacheRefreshTicker = 1408; + */ + EntityType_PartyCacheRefreshTicker(1408), + /** + * EntityType_ReservationCheckTicker = 1409; + */ + EntityType_ReservationCheckTicker(1409), + /** + * EntityType_NormalQuestCheckTicker = 1411; + */ + EntityType_NormalQuestCheckTicker(1411), + /** + * EntityType_ShopProductCheckTicker = 1412; + */ + EntityType_ShopProductCheckTicker(1412), + /** + * EntityType_UgcNpcRankTicker = 1413; + */ + EntityType_UgcNpcRankTicker(1413), + /** + * EntityType_SystemMailCheckTicker = 1414; + */ + EntityType_SystemMailCheckTicker(1414), + /** + * EntityType_LargePacketCheckTicker = 1415; + */ + EntityType_LargePacketCheckTicker(1415), + /** + * EntityType_BuildingUpdateTicker = 1416; + */ + EntityType_BuildingUpdateTicker(1416), + /** + *
+   *  
+   * 
+ * + * EntityType_BlockUser = 15; + */ + EntityType_BlockUser(15), + /** + *
+   * Ʈ
+   * 
+ * + * EntityType_Quest = 16; + */ + EntityType_Quest(16), + /** + * EntityType_EndQuest = 1601; + */ + EntityType_EndQuest(1601), + /** + *
+   *  迭
+   * 
+ * + * EntityType_Mail = 20; + */ + EntityType_Mail(20), + /** + * EntityType_QuestMail = 2001; + */ + EntityType_QuestMail(2001), + /** + *
+   * Galbal
+   * 
+ * + * EntityType_Golbal = 21; + */ + EntityType_Golbal(21), + /** + *
+   * ý  owner
+   * 
+ * + * EntityType_SystemMailManager = 2101; + */ + EntityType_SystemMailManager(2101), + /** + *
+   * ý  ( αν  ý  )
+   * 
+ * + * EntityType_SystemMail = 210101; + */ + EntityType_SystemMail(210101), + /** + *
+   *  ä owner
+   * 
+ * + * EntityType_NoticeChatManager = 2102; + */ + EntityType_NoticeChatManager(2102), + /** + *
+   *  ä (   ä )
+   * 
+ * + * EntityType_NoticeChat = 210201; + */ + EntityType_NoticeChat(210201), + /** + *
+   *  н owner
+   * 
+ * + * EntityType_SeasonPassManager = 2103; + */ + EntityType_SeasonPassManager(2103), + /** + *
+   * īƮ
+   * 
+ * + * EntityType_Cart = 22; + */ + EntityType_Cart(22), + /** + *
+   * Ŭ
+   * 
+ * + * EntityType_Claim = 23; + */ + EntityType_Claim(23), + /** + *
+   * 
+   * 
+ * + * EntityType_Craft = 24; + */ + EntityType_Craft(24), + /** + *
+   * 
+   * 
+ * + * EntityType_Recipe = 2401; + */ + EntityType_Recipe(2401), + /** + *
+   *  ׼
+   * 
+ * + * EntityType_ToolAction = 25; + */ + EntityType_ToolAction(25), + /** + *
+   * Task  ׼
+   * 
+ * + * EntityType_Task_Reservation_Action = 26; + */ + EntityType_Task_Reservation_Action(26), + /** + *
+   * ǰ Ű ׼
+   * 
+ * + * EntityType_Package_Action = 27; + */ + EntityType_Package_Action(27), + /** + *
+   * Calium
+   * 
+ * + * EntityType_Calium = 28; + */ + EntityType_Calium(28), + /** + * EntityType_CaliumConverter = 2801; + */ + EntityType_CaliumConverter(2801), + /** + * EntityType_Rental = 29; + */ + EntityType_Rental(29), + /** + *
+   *   UI
+   * 
+ * + * EntityType_CustomDefinedUi = 99; + */ + EntityType_CustomDefinedUi(99), + /** + *
+   * ˻ :   ƼƼ ˻ !!!
+   * 
+ * + * EntityType_All = 1000000000; + */ + EntityType_All(1000000000), + UNRECOGNIZED(-1), + ; + + /** + * EntityType_None = 0; + */ + public static final int EntityType_None_VALUE = 0; + /** + *
+   * User 迭 : HFSM, Control by Manual
+   * 
+ * + * EntityType_Player = 1; + */ + public static final int EntityType_Player_VALUE = 1; + /** + *
+   * Character 迭
+   * 
+ * + * EntityType_Character = 2; + */ + public static final int EntityType_Character_VALUE = 2; + /** + *
+   * Npc 迭 : HFSM, Control by AI
+   * 
+ * + * EntityType_Npc = 3; + */ + public static final int EntityType_Npc_VALUE = 3; + /** + *
+   * Monster 迭 :   ü
+   * 
+ * + * EntityType_Monster = 301; + */ + public static final int EntityType_Monster_VALUE = 301; + /** + *
+   * Ϲ Npc
+   * 
+ * + * EntityType_GeneralNpc = 30; + */ + public static final int EntityType_GeneralNpc_VALUE = 30; + /** + *
+   * ֹ
+   * 
+ * + * EntityType_Barrier = 303; + */ + public static final int EntityType_Barrier_VALUE = 303; + /** + *
+   * Volume 迭
+   * 
+ * + * EntityType_Volume = 305; + */ + public static final int EntityType_Volume_VALUE = 305; + /** + *
+   * ̺Ʈ
+   * 
+ * + * EntityType_EventVolume = 30501; + */ + public static final int EntityType_EventVolume_VALUE = 30501; + /** + *
+   * ȿ
+   * 
+ * + * EntityType_EffectVolume = 30502; + */ + public static final int EntityType_EffectVolume_VALUE = 30502; + /** + *
+   * Ʈ 
+   * 
+ * + * EntityType_QuestVolume = 30503; + */ + public static final int EntityType_QuestVolume_VALUE = 30503; + /** + *
+   * UGC Npc
+   * 
+ * + * EntityType_UgcNpc = 306; + */ + public static final int EntityType_UgcNpc_VALUE = 306; + /** + * EntityType_Beacon = 30601; + */ + public static final int EntityType_Beacon_VALUE = 30601; + /** + * EntityType_UgcNpcRank = 30602; + */ + public static final int EntityType_UgcNpcRank_VALUE = 30602; + /** + *
+   * Ʈ : ȿ
+   * 
+ * + * EntityType_Effect = 307; + */ + public static final int EntityType_Effect_VALUE = 307; + /** + *
+   * Ĺ
+   * 
+ * + * EntityType_Farming = 30701; + */ + public static final int EntityType_Farming_VALUE = 30701; + /** + *
+   * κ丮 迭
+   * 
+ * + * EntityType_Inventory = 4; + */ + public static final int EntityType_Inventory_VALUE = 4; + /** + *
+   *  κ丮 : Ư ġ  ʿ
+   * 
+ * + * EntityType_BagInven = 401; + */ + public static final int EntityType_BagInven_VALUE = 401; + /** + *
+   * ǻ  κ丮 : Ư ġ  ʿ
+   * 
+ * + * EntityType_ClothEquipInven = 402; + */ + public static final int EntityType_ClothEquipInven_VALUE = 402; + /** + *
+   *   κ丮 : Ư ġ  ʿ
+   * 
+ * + * EntityType_ToolEquipInven = 403; + */ + public static final int EntityType_ToolEquipInven_VALUE = 403; + /** + *
+   * Ÿ  κ丮 : Ư ġ  ʿ
+   * 
+ * + * EntityType_TattooEquipInven = 404; + */ + public static final int EntityType_TattooEquipInven_VALUE = 404; + /** + *
+   *  迭
+   * 
+ * + * EntityType_Item = 5; + */ + public static final int EntityType_Item_VALUE = 5; + /** + *
+   * Ground 迭 : HFSM, Control by AI
+   * 
+ * + * EntityType_GroundEntity = 6; + */ + public static final int EntityType_GroundEntity_VALUE = 6; + /** + *
+   *   ִ  Ʈ
+   * 
+ * + * EntityType_DropObject = 601; + */ + public static final int EntityType_DropObject_VALUE = 601; + /** + *
+   * 
+   * 
+ * + * EntityType_Land = 602; + */ + public static final int EntityType_Land_VALUE = 602; + /** + *
+   * 
+ * + * EntityType_OwnedLand = 60201; + */ + public static final int EntityType_OwnedLand_VALUE = 60201; + /** + *
+   *		
+   * 
+ * + * EntityType_Building = 603; + */ + public static final int EntityType_Building_VALUE = 603; + /** + *
+   * 
+ * + * EntityType_OwnedBuilding = 60301; + */ + public static final int EntityType_OwnedBuilding_VALUE = 60301; + /** + *
+   * 
+ * + * EntityType_BuildingFloor = 60302; + */ + public static final int EntityType_BuildingFloor_VALUE = 60302; + /** + *
+   * 
+ * + * EntityType_MyHome = 604; + */ + public static final int EntityType_MyHome_VALUE = 604; + /** + *
+   * ȭ 迭
+   * 
+ * + * EntityType_Money = 7; + */ + public static final int EntityType_Money_VALUE = 7; + /** + *
+   *  迭
+   * 
+ * + * EntityType_Shop = 8; + */ + public static final int EntityType_Shop_VALUE = 8; + /** + *
+   *  Product Meter
+   * 
+ * + * EntityType_MyShopProductMeter = 801; + */ + public static final int EntityType_MyShopProductMeter_VALUE = 801; + /** + *
+   * Ǹŵ Product List
+   * 
+ * + * EntityType_ShopSoldProduct = 802; + */ + public static final int EntityType_ShopSoldProduct_VALUE = 802; + /** + *
+   * νϽ 
+   * 
+ * + * EntityType_Room = 9; + */ + public static final int EntityType_Room_VALUE = 9; + /** + *
+   * ۷ι Ƽ
+   * 
+ * + * EntityType_Party = 10; + */ + public static final int EntityType_Party_VALUE = 10; + /** + *
+   *   Ƽ ƼƼ
+   * 
+ * + * EntityType_GlobalParty = 1001; + */ + public static final int EntityType_GlobalParty_VALUE = 1001; + /** + *
+   * Ƽ
+   * 
+ * + * EntityType_GlobalPartyDetail = 100101; + */ + public static final int EntityType_GlobalPartyDetail_VALUE = 100101; + /** + *
+   * Player ͼ  Ƽ ƼƼ
+   * 
+ * + * EntityType_PersonalParty = 1002; + */ + public static final int EntityType_PersonalParty_VALUE = 1002; + /** + *
+   * Ƽ
+   * 
+ * + * EntityType_PersonalPartyDetail = 100201; + */ + public static final int EntityType_PersonalPartyDetail_VALUE = 100201; + /** + *
+   * Ҽ ׼
+   * 
+ * + * EntityType_SocialAction = 11; + */ + public static final int EntityType_SocialAction_VALUE = 11; + /** + *
+   * ģ
+   * 
+ * + * EntityType_Friend = 12; + */ + public static final int EntityType_Friend_VALUE = 12; + /** + *
+   * ̴ϸ Ŀ
+   * 
+ * + * EntityType_MinimapMarker = 13; + */ + public static final int EntityType_MinimapMarker_VALUE = 13; + /** + *
+   * Ticker
+   * 
+ * + * EntityType_Ticker = 14; + */ + public static final int EntityType_Ticker_VALUE = 14; + /** + * EntityType_UserLoginCacheRefreshTicker = 1401; + */ + public static final int EntityType_UserLoginCacheRefreshTicker_VALUE = 1401; + /** + * EntityType_EnityUpdateTicker = 1402; + */ + public static final int EntityType_EnityUpdateTicker_VALUE = 1402; + /** + * EntityType_EventUpdateTicker = 1403; + */ + public static final int EntityType_EventUpdateTicker_VALUE = 1403; + /** + * EntityType_TimeEventTicker = 1404; + */ + public static final int EntityType_TimeEventTicker_VALUE = 1404; + /** + * EntityType_ChannelUpdateTicker = 1405; + */ + public static final int EntityType_ChannelUpdateTicker_VALUE = 1405; + /** + * EntityType_NoticeChatTicker = 1406; + */ + public static final int EntityType_NoticeChatTicker_VALUE = 1406; + /** + * EntityType_PartyCacheRefreshTicker = 1408; + */ + public static final int EntityType_PartyCacheRefreshTicker_VALUE = 1408; + /** + * EntityType_ReservationCheckTicker = 1409; + */ + public static final int EntityType_ReservationCheckTicker_VALUE = 1409; + /** + * EntityType_NormalQuestCheckTicker = 1411; + */ + public static final int EntityType_NormalQuestCheckTicker_VALUE = 1411; + /** + * EntityType_ShopProductCheckTicker = 1412; + */ + public static final int EntityType_ShopProductCheckTicker_VALUE = 1412; + /** + * EntityType_UgcNpcRankTicker = 1413; + */ + public static final int EntityType_UgcNpcRankTicker_VALUE = 1413; + /** + * EntityType_SystemMailCheckTicker = 1414; + */ + public static final int EntityType_SystemMailCheckTicker_VALUE = 1414; + /** + * EntityType_LargePacketCheckTicker = 1415; + */ + public static final int EntityType_LargePacketCheckTicker_VALUE = 1415; + /** + * EntityType_BuildingUpdateTicker = 1416; + */ + public static final int EntityType_BuildingUpdateTicker_VALUE = 1416; + /** + *
+   *  
+   * 
+ * + * EntityType_BlockUser = 15; + */ + public static final int EntityType_BlockUser_VALUE = 15; + /** + *
+   * Ʈ
+   * 
+ * + * EntityType_Quest = 16; + */ + public static final int EntityType_Quest_VALUE = 16; + /** + * EntityType_EndQuest = 1601; + */ + public static final int EntityType_EndQuest_VALUE = 1601; + /** + *
+   *  迭
+   * 
+ * + * EntityType_Mail = 20; + */ + public static final int EntityType_Mail_VALUE = 20; + /** + * EntityType_QuestMail = 2001; + */ + public static final int EntityType_QuestMail_VALUE = 2001; + /** + *
+   * Galbal
+   * 
+ * + * EntityType_Golbal = 21; + */ + public static final int EntityType_Golbal_VALUE = 21; + /** + *
+   * ý  owner
+   * 
+ * + * EntityType_SystemMailManager = 2101; + */ + public static final int EntityType_SystemMailManager_VALUE = 2101; + /** + *
+   * ý  ( αν  ý  )
+   * 
+ * + * EntityType_SystemMail = 210101; + */ + public static final int EntityType_SystemMail_VALUE = 210101; + /** + *
+   *  ä owner
+   * 
+ * + * EntityType_NoticeChatManager = 2102; + */ + public static final int EntityType_NoticeChatManager_VALUE = 2102; + /** + *
+   *  ä (   ä )
+   * 
+ * + * EntityType_NoticeChat = 210201; + */ + public static final int EntityType_NoticeChat_VALUE = 210201; + /** + *
+   *  н owner
+   * 
+ * + * EntityType_SeasonPassManager = 2103; + */ + public static final int EntityType_SeasonPassManager_VALUE = 2103; + /** + *
+   * īƮ
+   * 
+ * + * EntityType_Cart = 22; + */ + public static final int EntityType_Cart_VALUE = 22; + /** + *
+   * Ŭ
+   * 
+ * + * EntityType_Claim = 23; + */ + public static final int EntityType_Claim_VALUE = 23; + /** + *
+   * 
+   * 
+ * + * EntityType_Craft = 24; + */ + public static final int EntityType_Craft_VALUE = 24; + /** + *
+   * 
+   * 
+ * + * EntityType_Recipe = 2401; + */ + public static final int EntityType_Recipe_VALUE = 2401; + /** + *
+   *  ׼
+   * 
+ * + * EntityType_ToolAction = 25; + */ + public static final int EntityType_ToolAction_VALUE = 25; + /** + *
+   * Task  ׼
+   * 
+ * + * EntityType_Task_Reservation_Action = 26; + */ + public static final int EntityType_Task_Reservation_Action_VALUE = 26; + /** + *
+   * ǰ Ű ׼
+   * 
+ * + * EntityType_Package_Action = 27; + */ + public static final int EntityType_Package_Action_VALUE = 27; + /** + *
+   * Calium
+   * 
+ * + * EntityType_Calium = 28; + */ + public static final int EntityType_Calium_VALUE = 28; + /** + * EntityType_CaliumConverter = 2801; + */ + public static final int EntityType_CaliumConverter_VALUE = 2801; + /** + * EntityType_Rental = 29; + */ + public static final int EntityType_Rental_VALUE = 29; + /** + *
+   *   UI
+   * 
+ * + * EntityType_CustomDefinedUi = 99; + */ + public static final int EntityType_CustomDefinedUi_VALUE = 99; + /** + *
+   * ˻ :   ƼƼ ˻ !!!
+   * 
+ * + * EntityType_All = 1000000000; + */ + public static final int EntityType_All_VALUE = 1000000000; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EntityType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static EntityType forNumber(int value) { + switch (value) { + case 0: return EntityType_None; + case 1: return EntityType_Player; + case 2: return EntityType_Character; + case 3: return EntityType_Npc; + case 301: return EntityType_Monster; + case 30: return EntityType_GeneralNpc; + case 303: return EntityType_Barrier; + case 305: return EntityType_Volume; + case 30501: return EntityType_EventVolume; + case 30502: return EntityType_EffectVolume; + case 30503: return EntityType_QuestVolume; + case 306: return EntityType_UgcNpc; + case 30601: return EntityType_Beacon; + case 30602: return EntityType_UgcNpcRank; + case 307: return EntityType_Effect; + case 30701: return EntityType_Farming; + case 4: return EntityType_Inventory; + case 401: return EntityType_BagInven; + case 402: return EntityType_ClothEquipInven; + case 403: return EntityType_ToolEquipInven; + case 404: return EntityType_TattooEquipInven; + case 5: return EntityType_Item; + case 6: return EntityType_GroundEntity; + case 601: return EntityType_DropObject; + case 602: return EntityType_Land; + case 60201: return EntityType_OwnedLand; + case 603: return EntityType_Building; + case 60301: return EntityType_OwnedBuilding; + case 60302: return EntityType_BuildingFloor; + case 604: return EntityType_MyHome; + case 7: return EntityType_Money; + case 8: return EntityType_Shop; + case 801: return EntityType_MyShopProductMeter; + case 802: return EntityType_ShopSoldProduct; + case 9: return EntityType_Room; + case 10: return EntityType_Party; + case 1001: return EntityType_GlobalParty; + case 100101: return EntityType_GlobalPartyDetail; + case 1002: return EntityType_PersonalParty; + case 100201: return EntityType_PersonalPartyDetail; + case 11: return EntityType_SocialAction; + case 12: return EntityType_Friend; + case 13: return EntityType_MinimapMarker; + case 14: return EntityType_Ticker; + case 1401: return EntityType_UserLoginCacheRefreshTicker; + case 1402: return EntityType_EnityUpdateTicker; + case 1403: return EntityType_EventUpdateTicker; + case 1404: return EntityType_TimeEventTicker; + case 1405: return EntityType_ChannelUpdateTicker; + case 1406: return EntityType_NoticeChatTicker; + case 1408: return EntityType_PartyCacheRefreshTicker; + case 1409: return EntityType_ReservationCheckTicker; + case 1411: return EntityType_NormalQuestCheckTicker; + case 1412: return EntityType_ShopProductCheckTicker; + case 1413: return EntityType_UgcNpcRankTicker; + case 1414: return EntityType_SystemMailCheckTicker; + case 1415: return EntityType_LargePacketCheckTicker; + case 1416: return EntityType_BuildingUpdateTicker; + case 15: return EntityType_BlockUser; + case 16: return EntityType_Quest; + case 1601: return EntityType_EndQuest; + case 20: return EntityType_Mail; + case 2001: return EntityType_QuestMail; + case 21: return EntityType_Golbal; + case 2101: return EntityType_SystemMailManager; + case 210101: return EntityType_SystemMail; + case 2102: return EntityType_NoticeChatManager; + case 210201: return EntityType_NoticeChat; + case 2103: return EntityType_SeasonPassManager; + case 22: return EntityType_Cart; + case 23: return EntityType_Claim; + case 24: return EntityType_Craft; + case 2401: return EntityType_Recipe; + case 25: return EntityType_ToolAction; + case 26: return EntityType_Task_Reservation_Action; + case 27: return EntityType_Package_Action; + case 28: return EntityType_Calium; + case 2801: return EntityType_CaliumConverter; + case 29: return EntityType_Rental; + case 99: return EntityType_CustomDefinedUi; + case 1000000000: return EntityType_All; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + EntityType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EntityType findValueByNumber(int number) { + return EntityType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(0); + } + + private static final EntityType[] VALUES = values(); + + public static EntityType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private EntityType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:EntityType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EquipInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EquipInfo.java new file mode 100644 index 0000000..e8a4e53 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EquipInfo.java @@ -0,0 +1,809 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code EquipInfo} + */ +public final class EquipInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:EquipInfo) + EquipInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use EquipInfo.newBuilder() to construct. + private EquipInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private EquipInfo() { + toolItemGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new EquipInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EquipInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EquipInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.EquipInfo.class, com.caliverse.admin.domain.RabbitMq.message.EquipInfo.Builder.class); + } + + public static final int TOOLITEMGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object toolItemGuid_ = ""; + /** + * string toolItemGuid = 1; + * @return The toolItemGuid. + */ + @java.lang.Override + public java.lang.String getToolItemGuid() { + java.lang.Object ref = toolItemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + toolItemGuid_ = s; + return s; + } + } + /** + * string toolItemGuid = 1; + * @return The bytes for toolItemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getToolItemGuidBytes() { + java.lang.Object ref = toolItemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + toolItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TOOLITEMID_FIELD_NUMBER = 2; + private int toolItemId_ = 0; + /** + * int32 toolItemId = 2; + * @return The toolItemId. + */ + @java.lang.Override + public int getToolItemId() { + return toolItemId_; + } + + public static final int TOOLITEMSTEP_FIELD_NUMBER = 3; + private int toolItemStep_ = 0; + /** + * int32 toolItemStep = 3; + * @return The toolItemStep. + */ + @java.lang.Override + public int getToolItemStep() { + return toolItemStep_; + } + + public static final int TOOLITEMRANDOMSTATE_FIELD_NUMBER = 4; + private int toolItemRandomState_ = 0; + /** + * int32 toolItemRandomState = 4; + * @return The toolItemRandomState. + */ + @java.lang.Override + public int getToolItemRandomState() { + return toolItemRandomState_; + } + + public static final int ACTIONSTARTTIME_FIELD_NUMBER = 5; + private long actionStartTime_ = 0L; + /** + * int64 actionStartTime = 5; + * @return The actionStartTime. + */ + @java.lang.Override + public long getActionStartTime() { + return actionStartTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toolItemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, toolItemGuid_); + } + if (toolItemId_ != 0) { + output.writeInt32(2, toolItemId_); + } + if (toolItemStep_ != 0) { + output.writeInt32(3, toolItemStep_); + } + if (toolItemRandomState_ != 0) { + output.writeInt32(4, toolItemRandomState_); + } + if (actionStartTime_ != 0L) { + output.writeInt64(5, actionStartTime_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toolItemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, toolItemGuid_); + } + if (toolItemId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, toolItemId_); + } + if (toolItemStep_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, toolItemStep_); + } + if (toolItemRandomState_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, toolItemRandomState_); + } + if (actionStartTime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, actionStartTime_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.EquipInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.EquipInfo other = (com.caliverse.admin.domain.RabbitMq.message.EquipInfo) obj; + + if (!getToolItemGuid() + .equals(other.getToolItemGuid())) return false; + if (getToolItemId() + != other.getToolItemId()) return false; + if (getToolItemStep() + != other.getToolItemStep()) return false; + if (getToolItemRandomState() + != other.getToolItemRandomState()) return false; + if (getActionStartTime() + != other.getActionStartTime()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TOOLITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getToolItemGuid().hashCode(); + hash = (37 * hash) + TOOLITEMID_FIELD_NUMBER; + hash = (53 * hash) + getToolItemId(); + hash = (37 * hash) + TOOLITEMSTEP_FIELD_NUMBER; + hash = (53 * hash) + getToolItemStep(); + hash = (37 * hash) + TOOLITEMRANDOMSTATE_FIELD_NUMBER; + hash = (53 * hash) + getToolItemRandomState(); + hash = (37 * hash) + ACTIONSTARTTIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getActionStartTime()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.EquipInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code EquipInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:EquipInfo) + com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EquipInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EquipInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.EquipInfo.class, com.caliverse.admin.domain.RabbitMq.message.EquipInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.EquipInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + toolItemGuid_ = ""; + toolItemId_ = 0; + toolItemStep_ = 0; + toolItemRandomState_ = 0; + actionStartTime_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EquipInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EquipInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.EquipInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EquipInfo build() { + com.caliverse.admin.domain.RabbitMq.message.EquipInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EquipInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.EquipInfo result = new com.caliverse.admin.domain.RabbitMq.message.EquipInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.EquipInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.toolItemGuid_ = toolItemGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.toolItemId_ = toolItemId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.toolItemStep_ = toolItemStep_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.toolItemRandomState_ = toolItemRandomState_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.actionStartTime_ = actionStartTime_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.EquipInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.EquipInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.EquipInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.EquipInfo.getDefaultInstance()) return this; + if (!other.getToolItemGuid().isEmpty()) { + toolItemGuid_ = other.toolItemGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getToolItemId() != 0) { + setToolItemId(other.getToolItemId()); + } + if (other.getToolItemStep() != 0) { + setToolItemStep(other.getToolItemStep()); + } + if (other.getToolItemRandomState() != 0) { + setToolItemRandomState(other.getToolItemRandomState()); + } + if (other.getActionStartTime() != 0L) { + setActionStartTime(other.getActionStartTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + toolItemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + toolItemId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + toolItemStep_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + toolItemRandomState_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + actionStartTime_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object toolItemGuid_ = ""; + /** + * string toolItemGuid = 1; + * @return The toolItemGuid. + */ + public java.lang.String getToolItemGuid() { + java.lang.Object ref = toolItemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + toolItemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string toolItemGuid = 1; + * @return The bytes for toolItemGuid. + */ + public com.google.protobuf.ByteString + getToolItemGuidBytes() { + java.lang.Object ref = toolItemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + toolItemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string toolItemGuid = 1; + * @param value The toolItemGuid to set. + * @return This builder for chaining. + */ + public Builder setToolItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + toolItemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string toolItemGuid = 1; + * @return This builder for chaining. + */ + public Builder clearToolItemGuid() { + toolItemGuid_ = getDefaultInstance().getToolItemGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string toolItemGuid = 1; + * @param value The bytes for toolItemGuid to set. + * @return This builder for chaining. + */ + public Builder setToolItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + toolItemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int toolItemId_ ; + /** + * int32 toolItemId = 2; + * @return The toolItemId. + */ + @java.lang.Override + public int getToolItemId() { + return toolItemId_; + } + /** + * int32 toolItemId = 2; + * @param value The toolItemId to set. + * @return This builder for chaining. + */ + public Builder setToolItemId(int value) { + + toolItemId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 toolItemId = 2; + * @return This builder for chaining. + */ + public Builder clearToolItemId() { + bitField0_ = (bitField0_ & ~0x00000002); + toolItemId_ = 0; + onChanged(); + return this; + } + + private int toolItemStep_ ; + /** + * int32 toolItemStep = 3; + * @return The toolItemStep. + */ + @java.lang.Override + public int getToolItemStep() { + return toolItemStep_; + } + /** + * int32 toolItemStep = 3; + * @param value The toolItemStep to set. + * @return This builder for chaining. + */ + public Builder setToolItemStep(int value) { + + toolItemStep_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 toolItemStep = 3; + * @return This builder for chaining. + */ + public Builder clearToolItemStep() { + bitField0_ = (bitField0_ & ~0x00000004); + toolItemStep_ = 0; + onChanged(); + return this; + } + + private int toolItemRandomState_ ; + /** + * int32 toolItemRandomState = 4; + * @return The toolItemRandomState. + */ + @java.lang.Override + public int getToolItemRandomState() { + return toolItemRandomState_; + } + /** + * int32 toolItemRandomState = 4; + * @param value The toolItemRandomState to set. + * @return This builder for chaining. + */ + public Builder setToolItemRandomState(int value) { + + toolItemRandomState_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 toolItemRandomState = 4; + * @return This builder for chaining. + */ + public Builder clearToolItemRandomState() { + bitField0_ = (bitField0_ & ~0x00000008); + toolItemRandomState_ = 0; + onChanged(); + return this; + } + + private long actionStartTime_ ; + /** + * int64 actionStartTime = 5; + * @return The actionStartTime. + */ + @java.lang.Override + public long getActionStartTime() { + return actionStartTime_; + } + /** + * int64 actionStartTime = 5; + * @param value The actionStartTime to set. + * @return This builder for chaining. + */ + public Builder setActionStartTime(long value) { + + actionStartTime_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * int64 actionStartTime = 5; + * @return This builder for chaining. + */ + public Builder clearActionStartTime() { + bitField0_ = (bitField0_ & ~0x00000010); + actionStartTime_ = 0L; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:EquipInfo) + } + + // @@protoc_insertion_point(class_scope:EquipInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.EquipInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.EquipInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.EquipInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EquipInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EquipInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EquipInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EquipInfoOrBuilder.java new file mode 100644 index 0000000..53b8bcc --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/EquipInfoOrBuilder.java @@ -0,0 +1,45 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface EquipInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:EquipInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string toolItemGuid = 1; + * @return The toolItemGuid. + */ + java.lang.String getToolItemGuid(); + /** + * string toolItemGuid = 1; + * @return The bytes for toolItemGuid. + */ + com.google.protobuf.ByteString + getToolItemGuidBytes(); + + /** + * int32 toolItemId = 2; + * @return The toolItemId. + */ + int getToolItemId(); + + /** + * int32 toolItemStep = 3; + * @return The toolItemStep. + */ + int getToolItemStep(); + + /** + * int32 toolItemRandomState = 4; + * @return The toolItemRandomState. + */ + int getToolItemRandomState(); + + /** + * int64 actionStartTime = 5; + * @return The actionStartTime. + */ + long getActionStartTime(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ExpResult.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ExpResult.java new file mode 100644 index 0000000..7484937 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ExpResult.java @@ -0,0 +1,1034 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ġ     : Ŷ
+ * 
+ * + * Protobuf type {@code ExpResult} + */ +public final class ExpResult extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ExpResult) + ExpResultOrBuilder { +private static final long serialVersionUID = 0L; + // Use ExpResult.newBuilder() to construct. + private ExpResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ExpResult() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ExpResult(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ExpResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetLevelExps(); + case 2: + return internalGetLevelExpDeltas(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ExpResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ExpResult.class, com.caliverse.admin.domain.RabbitMq.message.ExpResult.Builder.class); + } + + public static final int LEVELEXPS_FIELD_NUMBER = 1; + private static final class LevelExpsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.LevelExpById> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ExpResult_LevelExpsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.INT32, + 0, + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.LevelExpById.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.LevelExpById> levelExps_; + private com.google.protobuf.MapField + internalGetLevelExps() { + if (levelExps_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LevelExpsDefaultEntryHolder.defaultEntry); + } + return levelExps_; + } + public int getLevelExpsCount() { + return internalGetLevelExps().getMap().size(); + } + /** + *
+   * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+   * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + @java.lang.Override + public boolean containsLevelExps( + int key) { + + return internalGetLevelExps().getMap().containsKey(key); + } + /** + * Use {@link #getLevelExpsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLevelExps() { + return getLevelExpsMap(); + } + /** + *
+   * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+   * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + @java.lang.Override + public java.util.Map getLevelExpsMap() { + return internalGetLevelExps().getMap(); + } + /** + *
+   * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+   * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpById getLevelExpsOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpById defaultValue) { + + java.util.Map map = + internalGetLevelExps().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+   * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpById getLevelExpsOrThrow( + int key) { + + java.util.Map map = + internalGetLevelExps().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int LEVELEXPDELTAS_FIELD_NUMBER = 2; + private static final class LevelExpDeltasDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ExpResult_LevelExpDeltasEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.INT32, + 0, + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById> levelExpDeltas_; + private com.google.protobuf.MapField + internalGetLevelExpDeltas() { + if (levelExpDeltas_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LevelExpDeltasDefaultEntryHolder.defaultEntry); + } + return levelExpDeltas_; + } + public int getLevelExpDeltasCount() { + return internalGetLevelExpDeltas().getMap().size(); + } + /** + *
+   * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+   * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + @java.lang.Override + public boolean containsLevelExpDeltas( + int key) { + + return internalGetLevelExpDeltas().getMap().containsKey(key); + } + /** + * Use {@link #getLevelExpDeltasMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLevelExpDeltas() { + return getLevelExpDeltasMap(); + } + /** + *
+   * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+   * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + @java.lang.Override + public java.util.Map getLevelExpDeltasMap() { + return internalGetLevelExpDeltas().getMap(); + } + /** + *
+   * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+   * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById getLevelExpDeltasOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById defaultValue) { + + java.util.Map map = + internalGetLevelExpDeltas().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+   * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById getLevelExpDeltasOrThrow( + int key) { + + java.util.Map map = + internalGetLevelExpDeltas().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeIntegerMapTo( + output, + internalGetLevelExps(), + LevelExpsDefaultEntryHolder.defaultEntry, + 1); + com.google.protobuf.GeneratedMessageV3 + .serializeIntegerMapTo( + output, + internalGetLevelExpDeltas(), + LevelExpDeltasDefaultEntryHolder.defaultEntry, + 2); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetLevelExps().getMap().entrySet()) { + com.google.protobuf.MapEntry + levelExps__ = LevelExpsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, levelExps__); + } + for (java.util.Map.Entry entry + : internalGetLevelExpDeltas().getMap().entrySet()) { + com.google.protobuf.MapEntry + levelExpDeltas__ = LevelExpDeltasDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, levelExpDeltas__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ExpResult)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ExpResult other = (com.caliverse.admin.domain.RabbitMq.message.ExpResult) obj; + + if (!internalGetLevelExps().equals( + other.internalGetLevelExps())) return false; + if (!internalGetLevelExpDeltas().equals( + other.internalGetLevelExpDeltas())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetLevelExps().getMap().isEmpty()) { + hash = (37 * hash) + LEVELEXPS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLevelExps().hashCode(); + } + if (!internalGetLevelExpDeltas().getMap().isEmpty()) { + hash = (37 * hash) + LEVELEXPDELTAS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLevelExpDeltas().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ExpResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * ġ     : Ŷ
+   * 
+ * + * Protobuf type {@code ExpResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ExpResult) + com.caliverse.admin.domain.RabbitMq.message.ExpResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ExpResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetLevelExps(); + case 2: + return internalGetLevelExpDeltas(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableLevelExps(); + case 2: + return internalGetMutableLevelExpDeltas(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ExpResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ExpResult.class, com.caliverse.admin.domain.RabbitMq.message.ExpResult.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ExpResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableLevelExps().clear(); + internalGetMutableLevelExpDeltas().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ExpResult_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ExpResult getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ExpResult.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ExpResult build() { + com.caliverse.admin.domain.RabbitMq.message.ExpResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ExpResult buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ExpResult result = new com.caliverse.admin.domain.RabbitMq.message.ExpResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ExpResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.levelExps_ = internalGetLevelExps(); + result.levelExps_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.levelExpDeltas_ = internalGetLevelExpDeltas(); + result.levelExpDeltas_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ExpResult) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ExpResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ExpResult other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ExpResult.getDefaultInstance()) return this; + internalGetMutableLevelExps().mergeFrom( + other.internalGetLevelExps()); + bitField0_ |= 0x00000001; + internalGetMutableLevelExpDeltas().mergeFrom( + other.internalGetLevelExpDeltas()); + bitField0_ |= 0x00000002; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + levelExps__ = input.readMessage( + LevelExpsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLevelExps().getMutableMap().put( + levelExps__.getKey(), levelExps__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + levelExpDeltas__ = input.readMessage( + LevelExpDeltasDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLevelExpDeltas().getMutableMap().put( + levelExpDeltas__.getKey(), levelExpDeltas__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.LevelExpById> levelExps_; + private com.google.protobuf.MapField + internalGetLevelExps() { + if (levelExps_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LevelExpsDefaultEntryHolder.defaultEntry); + } + return levelExps_; + } + private com.google.protobuf.MapField + internalGetMutableLevelExps() { + if (levelExps_ == null) { + levelExps_ = com.google.protobuf.MapField.newMapField( + LevelExpsDefaultEntryHolder.defaultEntry); + } + if (!levelExps_.isMutable()) { + levelExps_ = levelExps_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return levelExps_; + } + public int getLevelExpsCount() { + return internalGetLevelExps().getMap().size(); + } + /** + *
+     * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+     * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + @java.lang.Override + public boolean containsLevelExps( + int key) { + + return internalGetLevelExps().getMap().containsKey(key); + } + /** + * Use {@link #getLevelExpsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLevelExps() { + return getLevelExpsMap(); + } + /** + *
+     * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+     * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + @java.lang.Override + public java.util.Map getLevelExpsMap() { + return internalGetLevelExps().getMap(); + } + /** + *
+     * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+     * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpById getLevelExpsOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpById defaultValue) { + + java.util.Map map = + internalGetLevelExps().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+     * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpById getLevelExpsOrThrow( + int key) { + + java.util.Map map = + internalGetLevelExps().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearLevelExps() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableLevelExps().getMutableMap() + .clear(); + return this; + } + /** + *
+     * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+     * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + public Builder removeLevelExps( + int key) { + + internalGetMutableLevelExps().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableLevelExps() { + bitField0_ |= 0x00000001; + return internalGetMutableLevelExps().getMutableMap(); + } + /** + *
+     * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+     * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + public Builder putLevelExps( + int key, + com.caliverse.admin.domain.RabbitMq.message.LevelExpById value) { + + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLevelExps().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+     * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + public Builder putAllLevelExps( + java.util.Map values) { + internalGetMutableLevelExps().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById> levelExpDeltas_; + private com.google.protobuf.MapField + internalGetLevelExpDeltas() { + if (levelExpDeltas_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LevelExpDeltasDefaultEntryHolder.defaultEntry); + } + return levelExpDeltas_; + } + private com.google.protobuf.MapField + internalGetMutableLevelExpDeltas() { + if (levelExpDeltas_ == null) { + levelExpDeltas_ = com.google.protobuf.MapField.newMapField( + LevelExpDeltasDefaultEntryHolder.defaultEntry); + } + if (!levelExpDeltas_.isMutable()) { + levelExpDeltas_ = levelExpDeltas_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return levelExpDeltas_; + } + public int getLevelExpDeltasCount() { + return internalGetLevelExpDeltas().getMap().size(); + } + /** + *
+     * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+     * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + @java.lang.Override + public boolean containsLevelExpDeltas( + int key) { + + return internalGetLevelExpDeltas().getMap().containsKey(key); + } + /** + * Use {@link #getLevelExpDeltasMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLevelExpDeltas() { + return getLevelExpDeltasMap(); + } + /** + *
+     * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+     * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + @java.lang.Override + public java.util.Map getLevelExpDeltasMap() { + return internalGetLevelExpDeltas().getMap(); + } + /** + *
+     * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+     * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById getLevelExpDeltasOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById defaultValue) { + + java.util.Map map = + internalGetLevelExpDeltas().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+     * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById getLevelExpDeltasOrThrow( + int key) { + + java.util.Map map = + internalGetLevelExpDeltas().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearLevelExpDeltas() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableLevelExpDeltas().getMutableMap() + .clear(); + return this; + } + /** + *
+     * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+     * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + public Builder removeLevelExpDeltas( + int key) { + + internalGetMutableLevelExpDeltas().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableLevelExpDeltas() { + bitField0_ |= 0x00000002; + return internalGetMutableLevelExpDeltas().getMutableMap(); + } + /** + *
+     * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+     * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + public Builder putLevelExpDeltas( + int key, + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById value) { + + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLevelExpDeltas().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000002; + return this; + } + /** + *
+     * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+     * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + public Builder putAllLevelExpDeltas( + java.util.Map values) { + internalGetMutableLevelExpDeltas().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000002; + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ExpResult) + } + + // @@protoc_insertion_point(class_scope:ExpResult) + private static final com.caliverse.admin.domain.RabbitMq.message.ExpResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ExpResult(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ExpResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExpResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ExpResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ExpResultOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ExpResultOrBuilder.java new file mode 100644 index 0000000..9974063 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ExpResultOrBuilder.java @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ExpResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:ExpResult) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+   * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + int getLevelExpsCount(); + /** + *
+   * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+   * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + boolean containsLevelExps( + int key); + /** + * Use {@link #getLevelExpsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getLevelExps(); + /** + *
+   * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+   * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + java.util.Map + getLevelExpsMap(); + /** + *
+   * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+   * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpById getLevelExpsOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpById defaultValue); + /** + *
+   * <LevelExpType, LevelExpById> : Id , Ʈ /ġ
+   * 
+ * + * map<int32, .LevelExpById> levelExps = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.LevelExpById getLevelExpsOrThrow( + int key); + + /** + *
+   * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+   * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + int getLevelExpDeltasCount(); + /** + *
+   * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+   * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + boolean containsLevelExpDeltas( + int key); + /** + * Use {@link #getLevelExpDeltasMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getLevelExpDeltas(); + /** + *
+   * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+   * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + java.util.Map + getLevelExpDeltasMap(); + /** + *
+   * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+   * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById getLevelExpDeltasOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById defaultValue); + /** + *
+   * <LevelExpType, ExpDeltaAmountById> : Id /ġ ȭ
+   * 
+ * + * map<int32, .LevelExpDeltaAmountById> levelExpDeltas = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById getLevelExpDeltasOrThrow( + int key); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FarmingStateType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FarmingStateType.java new file mode 100644 index 0000000..0a89706 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FarmingStateType.java @@ -0,0 +1,135 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * Ĺ 
+ * 
+ * + * Protobuf enum {@code FarmingStateType} + */ +public enum FarmingStateType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * FarmingStateType_None = 0; + */ + FarmingStateType_None(0), + /** + * FarmingStateType_StandBy = 1; + */ + FarmingStateType_StandBy(1), + /** + * FarmingStateType_Progress = 2; + */ + FarmingStateType_Progress(2), + /** + * FarmingStateType_CoolingTime = 3; + */ + FarmingStateType_CoolingTime(3), + UNRECOGNIZED(-1), + ; + + /** + * FarmingStateType_None = 0; + */ + public static final int FarmingStateType_None_VALUE = 0; + /** + * FarmingStateType_StandBy = 1; + */ + public static final int FarmingStateType_StandBy_VALUE = 1; + /** + * FarmingStateType_Progress = 2; + */ + public static final int FarmingStateType_Progress_VALUE = 2; + /** + * FarmingStateType_CoolingTime = 3; + */ + public static final int FarmingStateType_CoolingTime_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static FarmingStateType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static FarmingStateType forNumber(int value) { + switch (value) { + case 0: return FarmingStateType_None; + case 1: return FarmingStateType_StandBy; + case 2: return FarmingStateType_Progress; + case 3: return FarmingStateType_CoolingTime; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + FarmingStateType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public FarmingStateType findValueByNumber(int number) { + return FarmingStateType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(25); + } + + private static final FarmingStateType[] VALUES = values(); + + public static FarmingStateType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private FarmingStateType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:FarmingStateType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FarmingSummary.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FarmingSummary.java new file mode 100644 index 0000000..bbc9379 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FarmingSummary.java @@ -0,0 +1,1692 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * Ĺ  
+ * 
+ * + * Protobuf type {@code FarmingSummary} + */ +public final class FarmingSummary extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:FarmingSummary) + FarmingSummaryOrBuilder { +private static final long serialVersionUID = 0L; + // Use FarmingSummary.newBuilder() to construct. + private FarmingSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FarmingSummary() { + farmingAnchorMetaId_ = ""; + farmingUserGuid_ = ""; + farmingSummonType_ = 0; + farmingEntityGuid_ = ""; + farmingState_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FarmingSummary(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FarmingSummary_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FarmingSummary_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.class, com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.Builder.class); + } + + public static final int FARMINGANCHORMETAID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object farmingAnchorMetaId_ = ""; + /** + *
+   *MapMetaData ִ Ĺ Anchor Id
+   * 
+ * + * string farmingAnchorMetaId = 1; + * @return The farmingAnchorMetaId. + */ + @java.lang.Override + public java.lang.String getFarmingAnchorMetaId() { + java.lang.Object ref = farmingAnchorMetaId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + farmingAnchorMetaId_ = s; + return s; + } + } + /** + *
+   *MapMetaData ִ Ĺ Anchor Id
+   * 
+ * + * string farmingAnchorMetaId = 1; + * @return The bytes for farmingAnchorMetaId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFarmingAnchorMetaIdBytes() { + java.lang.Object ref = farmingAnchorMetaId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + farmingAnchorMetaId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FARMINGPROPMETAID_FIELD_NUMBER = 2; + private int farmingPropMetaId_ = 0; + /** + *
+   *FarmingPropMeta Id
+   * 
+ * + * int32 farmingPropMetaId = 2; + * @return The farmingPropMetaId. + */ + @java.lang.Override + public int getFarmingPropMetaId() { + return farmingPropMetaId_; + } + + public static final int FARMINGUSERGUID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object farmingUserGuid_ = ""; + /** + *
+   *Ĺ  UserGuid
+   * 
+ * + * string farmingUserGuid = 5; + * @return The farmingUserGuid. + */ + @java.lang.Override + public java.lang.String getFarmingUserGuid() { + java.lang.Object ref = farmingUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + farmingUserGuid_ = s; + return s; + } + } + /** + *
+   *Ĺ  UserGuid
+   * 
+ * + * string farmingUserGuid = 5; + * @return The bytes for farmingUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFarmingUserGuidBytes() { + java.lang.Object ref = farmingUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + farmingUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FARMINGSUMMONTYPE_FIELD_NUMBER = 6; + private int farmingSummonType_ = 0; + /** + *
+   *Ĺ  ȯ ƼƼ 
+   * 
+ * + * .FarmingSummonedEntityType farmingSummonType = 6; + * @return The enum numeric value on the wire for farmingSummonType. + */ + @java.lang.Override public int getFarmingSummonTypeValue() { + return farmingSummonType_; + } + /** + *
+   *Ĺ  ȯ ƼƼ 
+   * 
+ * + * .FarmingSummonedEntityType farmingSummonType = 6; + * @return The farmingSummonType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.FarmingSummonedEntityType getFarmingSummonType() { + com.caliverse.admin.domain.RabbitMq.message.FarmingSummonedEntityType result = com.caliverse.admin.domain.RabbitMq.message.FarmingSummonedEntityType.forNumber(farmingSummonType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.FarmingSummonedEntityType.UNRECOGNIZED : result; + } + + public static final int FARMINGENTITYGUID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object farmingEntityGuid_ = ""; + /** + *
+   *Ĺ  ȯ ƼƼ ĺŰ (FarmingSummonedEntityType.User: UserGuid, FarmingSummonedEntityType.Beacon: UgcNpcMetaGuid)
+   * 
+ * + * string farmingEntityGuid = 7; + * @return The farmingEntityGuid. + */ + @java.lang.Override + public java.lang.String getFarmingEntityGuid() { + java.lang.Object ref = farmingEntityGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + farmingEntityGuid_ = s; + return s; + } + } + /** + *
+   *Ĺ  ȯ ƼƼ ĺŰ (FarmingSummonedEntityType.User: UserGuid, FarmingSummonedEntityType.Beacon: UgcNpcMetaGuid)
+   * 
+ * + * string farmingEntityGuid = 7; + * @return The bytes for farmingEntityGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFarmingEntityGuidBytes() { + java.lang.Object ref = farmingEntityGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + farmingEntityGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FARMINGSTATE_FIELD_NUMBER = 11; + private int farmingState_ = 0; + /** + *
+   *Ĺ 
+   * 
+ * + * .FarmingStateType farmingState = 11; + * @return The enum numeric value on the wire for farmingState. + */ + @java.lang.Override public int getFarmingStateValue() { + return farmingState_; + } + /** + *
+   *Ĺ 
+   * 
+ * + * .FarmingStateType farmingState = 11; + * @return The farmingState. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.FarmingStateType getFarmingState() { + com.caliverse.admin.domain.RabbitMq.message.FarmingStateType result = com.caliverse.admin.domain.RabbitMq.message.FarmingStateType.forNumber(farmingState_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.FarmingStateType.UNRECOGNIZED : result; + } + + public static final int STARTTIME_FIELD_NUMBER = 21; + private com.google.protobuf.Timestamp startTime_; + /** + *
+   *۵ ð : ۵ ð or ּ ð
+   * 
+ * + * .google.protobuf.Timestamp startTime = 21; + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return startTime_ != null; + } + /** + *
+   *۵ ð : ۵ ð or ּ ð
+   * 
+ * + * .google.protobuf.Timestamp startTime = 21; + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + *
+   *۵ ð : ۵ ð or ּ ð
+   * 
+ * + * .google.protobuf.Timestamp startTime = 21; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + + public static final int ENDTIME_FIELD_NUMBER = 22; + private com.google.protobuf.Timestamp endTime_; + /** + *
+   * ð : ۵ ð ִ 쿡  ð  or ּҽð
+   * 
+ * + * .google.protobuf.Timestamp endTime = 22; + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } + /** + *
+   * ð : ۵ ð ִ 쿡  ð  or ּҽð
+   * 
+ * + * .google.protobuf.Timestamp endTime = 22; + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + *
+   * ð : ۵ ð ִ 쿡  ð  or ּҽð
+   * 
+ * + * .google.protobuf.Timestamp endTime = 22; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(farmingAnchorMetaId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, farmingAnchorMetaId_); + } + if (farmingPropMetaId_ != 0) { + output.writeInt32(2, farmingPropMetaId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(farmingUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, farmingUserGuid_); + } + if (farmingSummonType_ != com.caliverse.admin.domain.RabbitMq.message.FarmingSummonedEntityType.FarmingSummonedEntityType_None.getNumber()) { + output.writeEnum(6, farmingSummonType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(farmingEntityGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, farmingEntityGuid_); + } + if (farmingState_ != com.caliverse.admin.domain.RabbitMq.message.FarmingStateType.FarmingStateType_None.getNumber()) { + output.writeEnum(11, farmingState_); + } + if (startTime_ != null) { + output.writeMessage(21, getStartTime()); + } + if (endTime_ != null) { + output.writeMessage(22, getEndTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(farmingAnchorMetaId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, farmingAnchorMetaId_); + } + if (farmingPropMetaId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, farmingPropMetaId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(farmingUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, farmingUserGuid_); + } + if (farmingSummonType_ != com.caliverse.admin.domain.RabbitMq.message.FarmingSummonedEntityType.FarmingSummonedEntityType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, farmingSummonType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(farmingEntityGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, farmingEntityGuid_); + } + if (farmingState_ != com.caliverse.admin.domain.RabbitMq.message.FarmingStateType.FarmingStateType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, farmingState_); + } + if (startTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getStartTime()); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getEndTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.FarmingSummary)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.FarmingSummary other = (com.caliverse.admin.domain.RabbitMq.message.FarmingSummary) obj; + + if (!getFarmingAnchorMetaId() + .equals(other.getFarmingAnchorMetaId())) return false; + if (getFarmingPropMetaId() + != other.getFarmingPropMetaId()) return false; + if (!getFarmingUserGuid() + .equals(other.getFarmingUserGuid())) return false; + if (farmingSummonType_ != other.farmingSummonType_) return false; + if (!getFarmingEntityGuid() + .equals(other.getFarmingEntityGuid())) return false; + if (farmingState_ != other.farmingState_) return false; + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime() + .equals(other.getStartTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FARMINGANCHORMETAID_FIELD_NUMBER; + hash = (53 * hash) + getFarmingAnchorMetaId().hashCode(); + hash = (37 * hash) + FARMINGPROPMETAID_FIELD_NUMBER; + hash = (53 * hash) + getFarmingPropMetaId(); + hash = (37 * hash) + FARMINGUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getFarmingUserGuid().hashCode(); + hash = (37 * hash) + FARMINGSUMMONTYPE_FIELD_NUMBER; + hash = (53 * hash) + farmingSummonType_; + hash = (37 * hash) + FARMINGENTITYGUID_FIELD_NUMBER; + hash = (53 * hash) + getFarmingEntityGuid().hashCode(); + hash = (37 * hash) + FARMINGSTATE_FIELD_NUMBER; + hash = (53 * hash) + farmingState_; + if (hasStartTime()) { + hash = (37 * hash) + STARTTIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + if (hasEndTime()) { + hash = (37 * hash) + ENDTIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.FarmingSummary prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Ĺ  
+   * 
+ * + * Protobuf type {@code FarmingSummary} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:FarmingSummary) + com.caliverse.admin.domain.RabbitMq.message.FarmingSummaryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FarmingSummary_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FarmingSummary_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.class, com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + farmingAnchorMetaId_ = ""; + farmingPropMetaId_ = 0; + farmingUserGuid_ = ""; + farmingSummonType_ = 0; + farmingEntityGuid_ = ""; + farmingState_ = 0; + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FarmingSummary_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FarmingSummary getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FarmingSummary build() { + com.caliverse.admin.domain.RabbitMq.message.FarmingSummary result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FarmingSummary buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.FarmingSummary result = new com.caliverse.admin.domain.RabbitMq.message.FarmingSummary(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.FarmingSummary result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.farmingAnchorMetaId_ = farmingAnchorMetaId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.farmingPropMetaId_ = farmingPropMetaId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.farmingUserGuid_ = farmingUserGuid_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.farmingSummonType_ = farmingSummonType_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.farmingEntityGuid_ = farmingEntityGuid_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.farmingState_ = farmingState_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.FarmingSummary) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.FarmingSummary)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.FarmingSummary other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.getDefaultInstance()) return this; + if (!other.getFarmingAnchorMetaId().isEmpty()) { + farmingAnchorMetaId_ = other.farmingAnchorMetaId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getFarmingPropMetaId() != 0) { + setFarmingPropMetaId(other.getFarmingPropMetaId()); + } + if (!other.getFarmingUserGuid().isEmpty()) { + farmingUserGuid_ = other.farmingUserGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.farmingSummonType_ != 0) { + setFarmingSummonTypeValue(other.getFarmingSummonTypeValue()); + } + if (!other.getFarmingEntityGuid().isEmpty()) { + farmingEntityGuid_ = other.farmingEntityGuid_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.farmingState_ != 0) { + setFarmingStateValue(other.getFarmingStateValue()); + } + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + farmingAnchorMetaId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + farmingPropMetaId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 42: { + farmingUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 42 + case 48: { + farmingSummonType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 48 + case 58: { + farmingEntityGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 58 + case 88: { + farmingState_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 88 + case 170: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 170 + case 178: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 178 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object farmingAnchorMetaId_ = ""; + /** + *
+     *MapMetaData ִ Ĺ Anchor Id
+     * 
+ * + * string farmingAnchorMetaId = 1; + * @return The farmingAnchorMetaId. + */ + public java.lang.String getFarmingAnchorMetaId() { + java.lang.Object ref = farmingAnchorMetaId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + farmingAnchorMetaId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     *MapMetaData ִ Ĺ Anchor Id
+     * 
+ * + * string farmingAnchorMetaId = 1; + * @return The bytes for farmingAnchorMetaId. + */ + public com.google.protobuf.ByteString + getFarmingAnchorMetaIdBytes() { + java.lang.Object ref = farmingAnchorMetaId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + farmingAnchorMetaId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     *MapMetaData ִ Ĺ Anchor Id
+     * 
+ * + * string farmingAnchorMetaId = 1; + * @param value The farmingAnchorMetaId to set. + * @return This builder for chaining. + */ + public Builder setFarmingAnchorMetaId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + farmingAnchorMetaId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     *MapMetaData ִ Ĺ Anchor Id
+     * 
+ * + * string farmingAnchorMetaId = 1; + * @return This builder for chaining. + */ + public Builder clearFarmingAnchorMetaId() { + farmingAnchorMetaId_ = getDefaultInstance().getFarmingAnchorMetaId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     *MapMetaData ִ Ĺ Anchor Id
+     * 
+ * + * string farmingAnchorMetaId = 1; + * @param value The bytes for farmingAnchorMetaId to set. + * @return This builder for chaining. + */ + public Builder setFarmingAnchorMetaIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + farmingAnchorMetaId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int farmingPropMetaId_ ; + /** + *
+     *FarmingPropMeta Id
+     * 
+ * + * int32 farmingPropMetaId = 2; + * @return The farmingPropMetaId. + */ + @java.lang.Override + public int getFarmingPropMetaId() { + return farmingPropMetaId_; + } + /** + *
+     *FarmingPropMeta Id
+     * 
+ * + * int32 farmingPropMetaId = 2; + * @param value The farmingPropMetaId to set. + * @return This builder for chaining. + */ + public Builder setFarmingPropMetaId(int value) { + + farmingPropMetaId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     *FarmingPropMeta Id
+     * 
+ * + * int32 farmingPropMetaId = 2; + * @return This builder for chaining. + */ + public Builder clearFarmingPropMetaId() { + bitField0_ = (bitField0_ & ~0x00000002); + farmingPropMetaId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object farmingUserGuid_ = ""; + /** + *
+     *Ĺ  UserGuid
+     * 
+ * + * string farmingUserGuid = 5; + * @return The farmingUserGuid. + */ + public java.lang.String getFarmingUserGuid() { + java.lang.Object ref = farmingUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + farmingUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     *Ĺ  UserGuid
+     * 
+ * + * string farmingUserGuid = 5; + * @return The bytes for farmingUserGuid. + */ + public com.google.protobuf.ByteString + getFarmingUserGuidBytes() { + java.lang.Object ref = farmingUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + farmingUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     *Ĺ  UserGuid
+     * 
+ * + * string farmingUserGuid = 5; + * @param value The farmingUserGuid to set. + * @return This builder for chaining. + */ + public Builder setFarmingUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + farmingUserGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     *Ĺ  UserGuid
+     * 
+ * + * string farmingUserGuid = 5; + * @return This builder for chaining. + */ + public Builder clearFarmingUserGuid() { + farmingUserGuid_ = getDefaultInstance().getFarmingUserGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+     *Ĺ  UserGuid
+     * 
+ * + * string farmingUserGuid = 5; + * @param value The bytes for farmingUserGuid to set. + * @return This builder for chaining. + */ + public Builder setFarmingUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + farmingUserGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int farmingSummonType_ = 0; + /** + *
+     *Ĺ  ȯ ƼƼ 
+     * 
+ * + * .FarmingSummonedEntityType farmingSummonType = 6; + * @return The enum numeric value on the wire for farmingSummonType. + */ + @java.lang.Override public int getFarmingSummonTypeValue() { + return farmingSummonType_; + } + /** + *
+     *Ĺ  ȯ ƼƼ 
+     * 
+ * + * .FarmingSummonedEntityType farmingSummonType = 6; + * @param value The enum numeric value on the wire for farmingSummonType to set. + * @return This builder for chaining. + */ + public Builder setFarmingSummonTypeValue(int value) { + farmingSummonType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     *Ĺ  ȯ ƼƼ 
+     * 
+ * + * .FarmingSummonedEntityType farmingSummonType = 6; + * @return The farmingSummonType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FarmingSummonedEntityType getFarmingSummonType() { + com.caliverse.admin.domain.RabbitMq.message.FarmingSummonedEntityType result = com.caliverse.admin.domain.RabbitMq.message.FarmingSummonedEntityType.forNumber(farmingSummonType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.FarmingSummonedEntityType.UNRECOGNIZED : result; + } + /** + *
+     *Ĺ  ȯ ƼƼ 
+     * 
+ * + * .FarmingSummonedEntityType farmingSummonType = 6; + * @param value The farmingSummonType to set. + * @return This builder for chaining. + */ + public Builder setFarmingSummonType(com.caliverse.admin.domain.RabbitMq.message.FarmingSummonedEntityType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + farmingSummonType_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     *Ĺ  ȯ ƼƼ 
+     * 
+ * + * .FarmingSummonedEntityType farmingSummonType = 6; + * @return This builder for chaining. + */ + public Builder clearFarmingSummonType() { + bitField0_ = (bitField0_ & ~0x00000008); + farmingSummonType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object farmingEntityGuid_ = ""; + /** + *
+     *Ĺ  ȯ ƼƼ ĺŰ (FarmingSummonedEntityType.User: UserGuid, FarmingSummonedEntityType.Beacon: UgcNpcMetaGuid)
+     * 
+ * + * string farmingEntityGuid = 7; + * @return The farmingEntityGuid. + */ + public java.lang.String getFarmingEntityGuid() { + java.lang.Object ref = farmingEntityGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + farmingEntityGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     *Ĺ  ȯ ƼƼ ĺŰ (FarmingSummonedEntityType.User: UserGuid, FarmingSummonedEntityType.Beacon: UgcNpcMetaGuid)
+     * 
+ * + * string farmingEntityGuid = 7; + * @return The bytes for farmingEntityGuid. + */ + public com.google.protobuf.ByteString + getFarmingEntityGuidBytes() { + java.lang.Object ref = farmingEntityGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + farmingEntityGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     *Ĺ  ȯ ƼƼ ĺŰ (FarmingSummonedEntityType.User: UserGuid, FarmingSummonedEntityType.Beacon: UgcNpcMetaGuid)
+     * 
+ * + * string farmingEntityGuid = 7; + * @param value The farmingEntityGuid to set. + * @return This builder for chaining. + */ + public Builder setFarmingEntityGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + farmingEntityGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     *Ĺ  ȯ ƼƼ ĺŰ (FarmingSummonedEntityType.User: UserGuid, FarmingSummonedEntityType.Beacon: UgcNpcMetaGuid)
+     * 
+ * + * string farmingEntityGuid = 7; + * @return This builder for chaining. + */ + public Builder clearFarmingEntityGuid() { + farmingEntityGuid_ = getDefaultInstance().getFarmingEntityGuid(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+     *Ĺ  ȯ ƼƼ ĺŰ (FarmingSummonedEntityType.User: UserGuid, FarmingSummonedEntityType.Beacon: UgcNpcMetaGuid)
+     * 
+ * + * string farmingEntityGuid = 7; + * @param value The bytes for farmingEntityGuid to set. + * @return This builder for chaining. + */ + public Builder setFarmingEntityGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + farmingEntityGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private int farmingState_ = 0; + /** + *
+     *Ĺ 
+     * 
+ * + * .FarmingStateType farmingState = 11; + * @return The enum numeric value on the wire for farmingState. + */ + @java.lang.Override public int getFarmingStateValue() { + return farmingState_; + } + /** + *
+     *Ĺ 
+     * 
+ * + * .FarmingStateType farmingState = 11; + * @param value The enum numeric value on the wire for farmingState to set. + * @return This builder for chaining. + */ + public Builder setFarmingStateValue(int value) { + farmingState_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     *Ĺ 
+     * 
+ * + * .FarmingStateType farmingState = 11; + * @return The farmingState. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FarmingStateType getFarmingState() { + com.caliverse.admin.domain.RabbitMq.message.FarmingStateType result = com.caliverse.admin.domain.RabbitMq.message.FarmingStateType.forNumber(farmingState_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.FarmingStateType.UNRECOGNIZED : result; + } + /** + *
+     *Ĺ 
+     * 
+ * + * .FarmingStateType farmingState = 11; + * @param value The farmingState to set. + * @return This builder for chaining. + */ + public Builder setFarmingState(com.caliverse.admin.domain.RabbitMq.message.FarmingStateType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + farmingState_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     *Ĺ 
+     * 
+ * + * .FarmingStateType farmingState = 11; + * @return This builder for chaining. + */ + public Builder clearFarmingState() { + bitField0_ = (bitField0_ & ~0x00000020); + farmingState_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + /** + *
+     *۵ ð : ۵ ð or ּ ð
+     * 
+ * + * .google.protobuf.Timestamp startTime = 21; + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + *
+     *۵ ð : ۵ ð or ּ ð
+     * 
+ * + * .google.protobuf.Timestamp startTime = 21; + * @return The startTime. + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + *
+     *۵ ð : ۵ ð or ּ ð
+     * 
+ * + * .google.protobuf.Timestamp startTime = 21; + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + } else { + startTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     *۵ ð : ۵ ð or ּ ð
+     * 
+ * + * .google.protobuf.Timestamp startTime = 21; + */ + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     *۵ ð : ۵ ð or ּ ð
+     * 
+ * + * .google.protobuf.Timestamp startTime = 21; + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getStartTimeBuilder().mergeFrom(value); + } else { + startTime_ = value; + } + } else { + startTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     *۵ ð : ۵ ð or ּ ð
+     * 
+ * + * .google.protobuf.Timestamp startTime = 21; + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000040); + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     *۵ ð : ۵ ð or ּ ð
+     * 
+ * + * .google.protobuf.Timestamp startTime = 21; + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + *
+     *۵ ð : ۵ ð or ּ ð
+     * 
+ * + * .google.protobuf.Timestamp startTime = 21; + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + /** + *
+     *۵ ð : ۵ ð or ּ ð
+     * 
+ * + * .google.protobuf.Timestamp startTime = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + /** + *
+     * ð : ۵ ð ִ 쿡  ð  or ּҽð
+     * 
+ * + * .google.protobuf.Timestamp endTime = 22; + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + *
+     * ð : ۵ ð ִ 쿡  ð  or ּҽð
+     * 
+ * + * .google.protobuf.Timestamp endTime = 22; + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + *
+     * ð : ۵ ð ִ 쿡  ð  or ּҽð
+     * 
+ * + * .google.protobuf.Timestamp endTime = 22; + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + } else { + endTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     * ð : ۵ ð ִ 쿡  ð  or ּҽð
+     * 
+ * + * .google.protobuf.Timestamp endTime = 22; + */ + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     * ð : ۵ ð ִ 쿡  ð  or ּҽð
+     * 
+ * + * .google.protobuf.Timestamp endTime = 22; + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEndTimeBuilder().mergeFrom(value); + } else { + endTime_ = value; + } + } else { + endTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     * ð : ۵ ð ִ 쿡  ð  or ּҽð
+     * 
+ * + * .google.protobuf.Timestamp endTime = 22; + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000080); + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * ð : ۵ ð ִ 쿡  ð  or ּҽð
+     * 
+ * + * .google.protobuf.Timestamp endTime = 22; + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + *
+     * ð : ۵ ð ִ 쿡  ð  or ּҽð
+     * 
+ * + * .google.protobuf.Timestamp endTime = 22; + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + *
+     * ð : ۵ ð ִ 쿡  ð  or ּҽð
+     * 
+ * + * .google.protobuf.Timestamp endTime = 22; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:FarmingSummary) + } + + // @@protoc_insertion_point(class_scope:FarmingSummary) + private static final com.caliverse.admin.domain.RabbitMq.message.FarmingSummary DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.FarmingSummary(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.FarmingSummary getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FarmingSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FarmingSummary getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FarmingSummaryOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FarmingSummaryOrBuilder.java new file mode 100644 index 0000000..9f92778 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FarmingSummaryOrBuilder.java @@ -0,0 +1,171 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface FarmingSummaryOrBuilder extends + // @@protoc_insertion_point(interface_extends:FarmingSummary) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *MapMetaData ִ Ĺ Anchor Id
+   * 
+ * + * string farmingAnchorMetaId = 1; + * @return The farmingAnchorMetaId. + */ + java.lang.String getFarmingAnchorMetaId(); + /** + *
+   *MapMetaData ִ Ĺ Anchor Id
+   * 
+ * + * string farmingAnchorMetaId = 1; + * @return The bytes for farmingAnchorMetaId. + */ + com.google.protobuf.ByteString + getFarmingAnchorMetaIdBytes(); + + /** + *
+   *FarmingPropMeta Id
+   * 
+ * + * int32 farmingPropMetaId = 2; + * @return The farmingPropMetaId. + */ + int getFarmingPropMetaId(); + + /** + *
+   *Ĺ  UserGuid
+   * 
+ * + * string farmingUserGuid = 5; + * @return The farmingUserGuid. + */ + java.lang.String getFarmingUserGuid(); + /** + *
+   *Ĺ  UserGuid
+   * 
+ * + * string farmingUserGuid = 5; + * @return The bytes for farmingUserGuid. + */ + com.google.protobuf.ByteString + getFarmingUserGuidBytes(); + + /** + *
+   *Ĺ  ȯ ƼƼ 
+   * 
+ * + * .FarmingSummonedEntityType farmingSummonType = 6; + * @return The enum numeric value on the wire for farmingSummonType. + */ + int getFarmingSummonTypeValue(); + /** + *
+   *Ĺ  ȯ ƼƼ 
+   * 
+ * + * .FarmingSummonedEntityType farmingSummonType = 6; + * @return The farmingSummonType. + */ + com.caliverse.admin.domain.RabbitMq.message.FarmingSummonedEntityType getFarmingSummonType(); + + /** + *
+   *Ĺ  ȯ ƼƼ ĺŰ (FarmingSummonedEntityType.User: UserGuid, FarmingSummonedEntityType.Beacon: UgcNpcMetaGuid)
+   * 
+ * + * string farmingEntityGuid = 7; + * @return The farmingEntityGuid. + */ + java.lang.String getFarmingEntityGuid(); + /** + *
+   *Ĺ  ȯ ƼƼ ĺŰ (FarmingSummonedEntityType.User: UserGuid, FarmingSummonedEntityType.Beacon: UgcNpcMetaGuid)
+   * 
+ * + * string farmingEntityGuid = 7; + * @return The bytes for farmingEntityGuid. + */ + com.google.protobuf.ByteString + getFarmingEntityGuidBytes(); + + /** + *
+   *Ĺ 
+   * 
+ * + * .FarmingStateType farmingState = 11; + * @return The enum numeric value on the wire for farmingState. + */ + int getFarmingStateValue(); + /** + *
+   *Ĺ 
+   * 
+ * + * .FarmingStateType farmingState = 11; + * @return The farmingState. + */ + com.caliverse.admin.domain.RabbitMq.message.FarmingStateType getFarmingState(); + + /** + *
+   *۵ ð : ۵ ð or ּ ð
+   * 
+ * + * .google.protobuf.Timestamp startTime = 21; + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + *
+   *۵ ð : ۵ ð or ּ ð
+   * 
+ * + * .google.protobuf.Timestamp startTime = 21; + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + /** + *
+   *۵ ð : ۵ ð or ּ ð
+   * 
+ * + * .google.protobuf.Timestamp startTime = 21; + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); + + /** + *
+   * ð : ۵ ð ִ 쿡  ð  or ּҽð
+   * 
+ * + * .google.protobuf.Timestamp endTime = 22; + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + *
+   * ð : ۵ ð ִ 쿡  ð  or ּҽð
+   * 
+ * + * .google.protobuf.Timestamp endTime = 22; + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + *
+   * ð : ۵ ð ִ 쿡  ð  or ּҽð
+   * 
+ * + * .google.protobuf.Timestamp endTime = 22; + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FarmingSummonedEntityType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FarmingSummonedEntityType.java new file mode 100644 index 0000000..995adc7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FarmingSummonedEntityType.java @@ -0,0 +1,142 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * Ĺ ȯ ƼƼ 
+ * 
+ * + * Protobuf enum {@code FarmingSummonedEntityType} + */ +public enum FarmingSummonedEntityType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * FarmingSummonedEntityType_None = 0; + */ + FarmingSummonedEntityType_None(0), + /** + *
+   *Ĺ   ȯ
+   * 
+ * + * FarmingSummonedEntityType_User = 1; + */ + FarmingSummonedEntityType_User(1), + /** + *
+   *Ĺ   ȯ
+   * 
+ * + * FarmingSummonedEntityType_Beacon = 2; + */ + FarmingSummonedEntityType_Beacon(2), + UNRECOGNIZED(-1), + ; + + /** + * FarmingSummonedEntityType_None = 0; + */ + public static final int FarmingSummonedEntityType_None_VALUE = 0; + /** + *
+   *Ĺ   ȯ
+   * 
+ * + * FarmingSummonedEntityType_User = 1; + */ + public static final int FarmingSummonedEntityType_User_VALUE = 1; + /** + *
+   *Ĺ   ȯ
+   * 
+ * + * FarmingSummonedEntityType_Beacon = 2; + */ + public static final int FarmingSummonedEntityType_Beacon_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static FarmingSummonedEntityType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static FarmingSummonedEntityType forNumber(int value) { + switch (value) { + case 0: return FarmingSummonedEntityType_None; + case 1: return FarmingSummonedEntityType_User; + case 2: return FarmingSummonedEntityType_Beacon; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + FarmingSummonedEntityType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public FarmingSummonedEntityType findValueByNumber(int number) { + return FarmingSummonedEntityType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(24); + } + + private static final FarmingSummonedEntityType[] VALUES = values(); + + public static FarmingSummonedEntityType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private FarmingSummonedEntityType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:FarmingSummonedEntityType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FloorLinkedInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FloorLinkedInfo.java new file mode 100644 index 0000000..80a1653 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FloorLinkedInfo.java @@ -0,0 +1,593 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code FloorLinkedInfo} + */ +public final class FloorLinkedInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:FloorLinkedInfo) + FloorLinkedInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use FloorLinkedInfo.newBuilder() to construct. + private FloorLinkedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FloorLinkedInfo() { + ugcNpcGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FloorLinkedInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FloorLinkedInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FloorLinkedInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.class, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.Builder.class); + } + + public static final int UGCNPCGUIDS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList ugcNpcGuids_; + /** + * repeated string ugcNpcGuids = 1; + * @return A list containing the ugcNpcGuids. + */ + public com.google.protobuf.ProtocolStringList + getUgcNpcGuidsList() { + return ugcNpcGuids_; + } + /** + * repeated string ugcNpcGuids = 1; + * @return The count of ugcNpcGuids. + */ + public int getUgcNpcGuidsCount() { + return ugcNpcGuids_.size(); + } + /** + * repeated string ugcNpcGuids = 1; + * @param index The index of the element to return. + * @return The ugcNpcGuids at the given index. + */ + public java.lang.String getUgcNpcGuids(int index) { + return ugcNpcGuids_.get(index); + } + /** + * repeated string ugcNpcGuids = 1; + * @param index The index of the value to return. + * @return The bytes of the ugcNpcGuids at the given index. + */ + public com.google.protobuf.ByteString + getUgcNpcGuidsBytes(int index) { + return ugcNpcGuids_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < ugcNpcGuids_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ugcNpcGuids_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < ugcNpcGuids_.size(); i++) { + dataSize += computeStringSizeNoTag(ugcNpcGuids_.getRaw(i)); + } + size += dataSize; + size += 1 * getUgcNpcGuidsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo other = (com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo) obj; + + if (!getUgcNpcGuidsList() + .equals(other.getUgcNpcGuidsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getUgcNpcGuidsCount() > 0) { + hash = (37 * hash) + UGCNPCGUIDS_FIELD_NUMBER; + hash = (53 * hash) + getUgcNpcGuidsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code FloorLinkedInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:FloorLinkedInfo) + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FloorLinkedInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FloorLinkedInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.class, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + ugcNpcGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FloorLinkedInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo build() { + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo result = new com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo result) { + if (((bitField0_ & 0x00000001) != 0)) { + ugcNpcGuids_ = ugcNpcGuids_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.ugcNpcGuids_ = ugcNpcGuids_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.getDefaultInstance()) return this; + if (!other.ugcNpcGuids_.isEmpty()) { + if (ugcNpcGuids_.isEmpty()) { + ugcNpcGuids_ = other.ugcNpcGuids_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureUgcNpcGuidsIsMutable(); + ugcNpcGuids_.addAll(other.ugcNpcGuids_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUgcNpcGuidsIsMutable(); + ugcNpcGuids_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringList ugcNpcGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUgcNpcGuidsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + ugcNpcGuids_ = new com.google.protobuf.LazyStringArrayList(ugcNpcGuids_); + bitField0_ |= 0x00000001; + } + } + /** + * repeated string ugcNpcGuids = 1; + * @return A list containing the ugcNpcGuids. + */ + public com.google.protobuf.ProtocolStringList + getUgcNpcGuidsList() { + return ugcNpcGuids_.getUnmodifiableView(); + } + /** + * repeated string ugcNpcGuids = 1; + * @return The count of ugcNpcGuids. + */ + public int getUgcNpcGuidsCount() { + return ugcNpcGuids_.size(); + } + /** + * repeated string ugcNpcGuids = 1; + * @param index The index of the element to return. + * @return The ugcNpcGuids at the given index. + */ + public java.lang.String getUgcNpcGuids(int index) { + return ugcNpcGuids_.get(index); + } + /** + * repeated string ugcNpcGuids = 1; + * @param index The index of the value to return. + * @return The bytes of the ugcNpcGuids at the given index. + */ + public com.google.protobuf.ByteString + getUgcNpcGuidsBytes(int index) { + return ugcNpcGuids_.getByteString(index); + } + /** + * repeated string ugcNpcGuids = 1; + * @param index The index to set the value at. + * @param value The ugcNpcGuids to set. + * @return This builder for chaining. + */ + public Builder setUgcNpcGuids( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureUgcNpcGuidsIsMutable(); + ugcNpcGuids_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string ugcNpcGuids = 1; + * @param value The ugcNpcGuids to add. + * @return This builder for chaining. + */ + public Builder addUgcNpcGuids( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureUgcNpcGuidsIsMutable(); + ugcNpcGuids_.add(value); + onChanged(); + return this; + } + /** + * repeated string ugcNpcGuids = 1; + * @param values The ugcNpcGuids to add. + * @return This builder for chaining. + */ + public Builder addAllUgcNpcGuids( + java.lang.Iterable values) { + ensureUgcNpcGuidsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ugcNpcGuids_); + onChanged(); + return this; + } + /** + * repeated string ugcNpcGuids = 1; + * @return This builder for chaining. + */ + public Builder clearUgcNpcGuids() { + ugcNpcGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * repeated string ugcNpcGuids = 1; + * @param value The bytes of the ugcNpcGuids to add. + * @return This builder for chaining. + */ + public Builder addUgcNpcGuidsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureUgcNpcGuidsIsMutable(); + ugcNpcGuids_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:FloorLinkedInfo) + } + + // @@protoc_insertion_point(class_scope:FloorLinkedInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FloorLinkedInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FloorLinkedInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FloorLinkedInfoOrBuilder.java new file mode 100644 index 0000000..8dc1b05 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FloorLinkedInfoOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface FloorLinkedInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:FloorLinkedInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string ugcNpcGuids = 1; + * @return A list containing the ugcNpcGuids. + */ + java.util.List + getUgcNpcGuidsList(); + /** + * repeated string ugcNpcGuids = 1; + * @return The count of ugcNpcGuids. + */ + int getUgcNpcGuidsCount(); + /** + * repeated string ugcNpcGuids = 1; + * @param index The index of the element to return. + * @return The ugcNpcGuids at the given index. + */ + java.lang.String getUgcNpcGuids(int index); + /** + * repeated string ugcNpcGuids = 1; + * @param index The index of the value to return. + * @return The bytes of the ugcNpcGuids at the given index. + */ + com.google.protobuf.ByteString + getUgcNpcGuidsBytes(int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendErrorMember.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendErrorMember.java new file mode 100644 index 0000000..868b702 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendErrorMember.java @@ -0,0 +1,638 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code FriendErrorMember} + */ +public final class FriendErrorMember extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:FriendErrorMember) + FriendErrorMemberOrBuilder { +private static final long serialVersionUID = 0L; + // Use FriendErrorMember.newBuilder() to construct. + private FriendErrorMember(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FriendErrorMember() { + errorCode_ = 0; + guid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FriendErrorMember(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendErrorMember_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendErrorMember_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember.class, com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember.Builder.class); + } + + public static final int ERRORCODE_FIELD_NUMBER = 1; + private int errorCode_ = 0; + /** + * .ServerErrorCode errorCode = 1; + * @return The enum numeric value on the wire for errorCode. + */ + @java.lang.Override public int getErrorCodeValue() { + return errorCode_; + } + /** + * .ServerErrorCode errorCode = 1; + * @return The errorCode. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrorCode() { + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode result = com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.forNumber(errorCode_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.UNRECOGNIZED : result; + } + + public static final int GUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object guid_ = ""; + /** + * string guid = 2; + * @return The guid. + */ + @java.lang.Override + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } + } + /** + * string guid = 2; + * @return The bytes for guid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (errorCode_ != com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.Success.getNumber()) { + output.writeEnum(1, errorCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, guid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (errorCode_ != com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.Success.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, errorCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, guid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember other = (com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember) obj; + + if (errorCode_ != other.errorCode_) return false; + if (!getGuid() + .equals(other.getGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ERRORCODE_FIELD_NUMBER; + hash = (53 * hash) + errorCode_; + hash = (37 * hash) + GUID_FIELD_NUMBER; + hash = (53 * hash) + getGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code FriendErrorMember} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:FriendErrorMember) + com.caliverse.admin.domain.RabbitMq.message.FriendErrorMemberOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendErrorMember_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendErrorMember_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember.class, com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + errorCode_ = 0; + guid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendErrorMember_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember build() { + com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember result = new com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.errorCode_ = errorCode_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.guid_ = guid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember.getDefaultInstance()) return this; + if (other.errorCode_ != 0) { + setErrorCodeValue(other.getErrorCodeValue()); + } + if (!other.getGuid().isEmpty()) { + guid_ = other.guid_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + errorCode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + guid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int errorCode_ = 0; + /** + * .ServerErrorCode errorCode = 1; + * @return The enum numeric value on the wire for errorCode. + */ + @java.lang.Override public int getErrorCodeValue() { + return errorCode_; + } + /** + * .ServerErrorCode errorCode = 1; + * @param value The enum numeric value on the wire for errorCode to set. + * @return This builder for chaining. + */ + public Builder setErrorCodeValue(int value) { + errorCode_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerErrorCode errorCode = 1; + * @return The errorCode. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrorCode() { + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode result = com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.forNumber(errorCode_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.UNRECOGNIZED : result; + } + /** + * .ServerErrorCode errorCode = 1; + * @param value The errorCode to set. + * @return This builder for chaining. + */ + public Builder setErrorCode(com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + errorCode_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .ServerErrorCode errorCode = 1; + * @return This builder for chaining. + */ + public Builder clearErrorCode() { + bitField0_ = (bitField0_ & ~0x00000001); + errorCode_ = 0; + onChanged(); + return this; + } + + private java.lang.Object guid_ = ""; + /** + * string guid = 2; + * @return The guid. + */ + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string guid = 2; + * @return The bytes for guid. + */ + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string guid = 2; + * @param value The guid to set. + * @return This builder for chaining. + */ + public Builder setGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + guid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string guid = 2; + * @return This builder for chaining. + */ + public Builder clearGuid() { + guid_ = getDefaultInstance().getGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string guid = 2; + * @param value The bytes for guid to set. + * @return This builder for chaining. + */ + public Builder setGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + guid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:FriendErrorMember) + } + + // @@protoc_insertion_point(class_scope:FriendErrorMember) + private static final com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FriendErrorMember parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendErrorMember getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendErrorMemberOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendErrorMemberOrBuilder.java new file mode 100644 index 0000000..81c9e46 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendErrorMemberOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface FriendErrorMemberOrBuilder extends + // @@protoc_insertion_point(interface_extends:FriendErrorMember) + com.google.protobuf.MessageOrBuilder { + + /** + * .ServerErrorCode errorCode = 1; + * @return The enum numeric value on the wire for errorCode. + */ + int getErrorCodeValue(); + /** + * .ServerErrorCode errorCode = 1; + * @return The errorCode. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrorCode(); + + /** + * string guid = 2; + * @return The guid. + */ + java.lang.String getGuid(); + /** + * string guid = 2; + * @return The bytes for guid. + */ + com.google.protobuf.ByteString + getGuidBytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendFolder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendFolder.java new file mode 100644 index 0000000..f7a6550 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendFolder.java @@ -0,0 +1,972 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code FriendFolder} + */ +public final class FriendFolder extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:FriendFolder) + FriendFolderOrBuilder { +private static final long serialVersionUID = 0L; + // Use FriendFolder.newBuilder() to construct. + private FriendFolder(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FriendFolder() { + folderName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FriendFolder(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendFolder_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendFolder_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FriendFolder.class, com.caliverse.admin.domain.RabbitMq.message.FriendFolder.Builder.class); + } + + public static final int FOLDERNAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object folderName_ = ""; + /** + * string folderName = 1; + * @return The folderName. + */ + @java.lang.Override + public java.lang.String getFolderName() { + java.lang.Object ref = folderName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + folderName_ = s; + return s; + } + } + /** + * string folderName = 1; + * @return The bytes for folderName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFolderNameBytes() { + java.lang.Object ref = folderName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + folderName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ISHOLD_FIELD_NUMBER = 2; + private int isHold_ = 0; + /** + * int32 isHold = 2; + * @return The isHold. + */ + @java.lang.Override + public int getIsHold() { + return isHold_; + } + + public static final int HOLDTIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp holdTime_; + /** + * .google.protobuf.Timestamp holdTime = 3; + * @return Whether the holdTime field is set. + */ + @java.lang.Override + public boolean hasHoldTime() { + return holdTime_ != null; + } + /** + * .google.protobuf.Timestamp holdTime = 3; + * @return The holdTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getHoldTime() { + return holdTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : holdTime_; + } + /** + * .google.protobuf.Timestamp holdTime = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getHoldTimeOrBuilder() { + return holdTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : holdTime_; + } + + public static final int CREATETIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp createTime_; + /** + * .google.protobuf.Timestamp createTime = 4; + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * .google.protobuf.Timestamp createTime = 4; + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(folderName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, folderName_); + } + if (isHold_ != 0) { + output.writeInt32(2, isHold_); + } + if (holdTime_ != null) { + output.writeMessage(3, getHoldTime()); + } + if (createTime_ != null) { + output.writeMessage(4, getCreateTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(folderName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, folderName_); + } + if (isHold_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, isHold_); + } + if (holdTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getHoldTime()); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.FriendFolder)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.FriendFolder other = (com.caliverse.admin.domain.RabbitMq.message.FriendFolder) obj; + + if (!getFolderName() + .equals(other.getFolderName())) return false; + if (getIsHold() + != other.getIsHold()) return false; + if (hasHoldTime() != other.hasHoldTime()) return false; + if (hasHoldTime()) { + if (!getHoldTime() + .equals(other.getHoldTime())) return false; + } + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime() + .equals(other.getCreateTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FOLDERNAME_FIELD_NUMBER; + hash = (53 * hash) + getFolderName().hashCode(); + hash = (37 * hash) + ISHOLD_FIELD_NUMBER; + hash = (53 * hash) + getIsHold(); + if (hasHoldTime()) { + hash = (37 * hash) + HOLDTIME_FIELD_NUMBER; + hash = (53 * hash) + getHoldTime().hashCode(); + } + if (hasCreateTime()) { + hash = (37 * hash) + CREATETIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.FriendFolder prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code FriendFolder} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:FriendFolder) + com.caliverse.admin.domain.RabbitMq.message.FriendFolderOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendFolder_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendFolder_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FriendFolder.class, com.caliverse.admin.domain.RabbitMq.message.FriendFolder.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.FriendFolder.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + folderName_ = ""; + isHold_ = 0; + holdTime_ = null; + if (holdTimeBuilder_ != null) { + holdTimeBuilder_.dispose(); + holdTimeBuilder_ = null; + } + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendFolder_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendFolder getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.FriendFolder.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendFolder build() { + com.caliverse.admin.domain.RabbitMq.message.FriendFolder result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendFolder buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.FriendFolder result = new com.caliverse.admin.domain.RabbitMq.message.FriendFolder(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.FriendFolder result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.folderName_ = folderName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.isHold_ = isHold_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.holdTime_ = holdTimeBuilder_ == null + ? holdTime_ + : holdTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.FriendFolder) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.FriendFolder)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.FriendFolder other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.FriendFolder.getDefaultInstance()) return this; + if (!other.getFolderName().isEmpty()) { + folderName_ = other.folderName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getIsHold() != 0) { + setIsHold(other.getIsHold()); + } + if (other.hasHoldTime()) { + mergeHoldTime(other.getHoldTime()); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + folderName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + isHold_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getHoldTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object folderName_ = ""; + /** + * string folderName = 1; + * @return The folderName. + */ + public java.lang.String getFolderName() { + java.lang.Object ref = folderName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + folderName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string folderName = 1; + * @return The bytes for folderName. + */ + public com.google.protobuf.ByteString + getFolderNameBytes() { + java.lang.Object ref = folderName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + folderName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string folderName = 1; + * @param value The folderName to set. + * @return This builder for chaining. + */ + public Builder setFolderName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + folderName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string folderName = 1; + * @return This builder for chaining. + */ + public Builder clearFolderName() { + folderName_ = getDefaultInstance().getFolderName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string folderName = 1; + * @param value The bytes for folderName to set. + * @return This builder for chaining. + */ + public Builder setFolderNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + folderName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int isHold_ ; + /** + * int32 isHold = 2; + * @return The isHold. + */ + @java.lang.Override + public int getIsHold() { + return isHold_; + } + /** + * int32 isHold = 2; + * @param value The isHold to set. + * @return This builder for chaining. + */ + public Builder setIsHold(int value) { + + isHold_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 isHold = 2; + * @return This builder for chaining. + */ + public Builder clearIsHold() { + bitField0_ = (bitField0_ & ~0x00000002); + isHold_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp holdTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> holdTimeBuilder_; + /** + * .google.protobuf.Timestamp holdTime = 3; + * @return Whether the holdTime field is set. + */ + public boolean hasHoldTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .google.protobuf.Timestamp holdTime = 3; + * @return The holdTime. + */ + public com.google.protobuf.Timestamp getHoldTime() { + if (holdTimeBuilder_ == null) { + return holdTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : holdTime_; + } else { + return holdTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp holdTime = 3; + */ + public Builder setHoldTime(com.google.protobuf.Timestamp value) { + if (holdTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + holdTime_ = value; + } else { + holdTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp holdTime = 3; + */ + public Builder setHoldTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (holdTimeBuilder_ == null) { + holdTime_ = builderForValue.build(); + } else { + holdTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp holdTime = 3; + */ + public Builder mergeHoldTime(com.google.protobuf.Timestamp value) { + if (holdTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + holdTime_ != null && + holdTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getHoldTimeBuilder().mergeFrom(value); + } else { + holdTime_ = value; + } + } else { + holdTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp holdTime = 3; + */ + public Builder clearHoldTime() { + bitField0_ = (bitField0_ & ~0x00000004); + holdTime_ = null; + if (holdTimeBuilder_ != null) { + holdTimeBuilder_.dispose(); + holdTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp holdTime = 3; + */ + public com.google.protobuf.Timestamp.Builder getHoldTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getHoldTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp holdTime = 3; + */ + public com.google.protobuf.TimestampOrBuilder getHoldTimeOrBuilder() { + if (holdTimeBuilder_ != null) { + return holdTimeBuilder_.getMessageOrBuilder(); + } else { + return holdTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : holdTime_; + } + } + /** + * .google.protobuf.Timestamp holdTime = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getHoldTimeFieldBuilder() { + if (holdTimeBuilder_ == null) { + holdTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getHoldTime(), + getParentForChildren(), + isClean()); + holdTime_ = null; + } + return holdTimeBuilder_; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + /** + * .google.protobuf.Timestamp createTime = 4; + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .google.protobuf.Timestamp createTime = 4; + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000008); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + } + /** + * .google.protobuf.Timestamp createTime = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:FriendFolder) + } + + // @@protoc_insertion_point(class_scope:FriendFolder) + private static final com.caliverse.admin.domain.RabbitMq.message.FriendFolder DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.FriendFolder(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.FriendFolder getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FriendFolder parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendFolder getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendFolderOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendFolderOrBuilder.java new file mode 100644 index 0000000..cba3fcf --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendFolderOrBuilder.java @@ -0,0 +1,57 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface FriendFolderOrBuilder extends + // @@protoc_insertion_point(interface_extends:FriendFolder) + com.google.protobuf.MessageOrBuilder { + + /** + * string folderName = 1; + * @return The folderName. + */ + java.lang.String getFolderName(); + /** + * string folderName = 1; + * @return The bytes for folderName. + */ + com.google.protobuf.ByteString + getFolderNameBytes(); + + /** + * int32 isHold = 2; + * @return The isHold. + */ + int getIsHold(); + + /** + * .google.protobuf.Timestamp holdTime = 3; + * @return Whether the holdTime field is set. + */ + boolean hasHoldTime(); + /** + * .google.protobuf.Timestamp holdTime = 3; + * @return The holdTime. + */ + com.google.protobuf.Timestamp getHoldTime(); + /** + * .google.protobuf.Timestamp holdTime = 3; + */ + com.google.protobuf.TimestampOrBuilder getHoldTimeOrBuilder(); + + /** + * .google.protobuf.Timestamp createTime = 4; + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * .google.protobuf.Timestamp createTime = 4; + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * .google.protobuf.Timestamp createTime = 4; + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendInfo.java new file mode 100644 index 0000000..a6b9438 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendInfo.java @@ -0,0 +1,882 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code FriendInfo} + */ +public final class FriendInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:FriendInfo) + FriendInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use FriendInfo.newBuilder() to construct. + private FriendInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FriendInfo() { + guid_ = ""; + nickName_ = ""; + folderName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FriendInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FriendInfo.class, com.caliverse.admin.domain.RabbitMq.message.FriendInfo.Builder.class); + } + + public static final int GUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object guid_ = ""; + /** + * string guid = 1; + * @return The guid. + */ + @java.lang.Override + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } + } + /** + * string guid = 1; + * @return The bytes for guid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NICKNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object nickName_ = ""; + /** + * string nickName = 2; + * @return The nickName. + */ + @java.lang.Override + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickName_ = s; + return s; + } + } + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FOLDERNAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object folderName_ = ""; + /** + * string folderName = 3; + * @return The folderName. + */ + @java.lang.Override + public java.lang.String getFolderName() { + java.lang.Object ref = folderName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + folderName_ = s; + return s; + } + } + /** + * string folderName = 3; + * @return The bytes for folderName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFolderNameBytes() { + java.lang.Object ref = folderName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + folderName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ISNEW_FIELD_NUMBER = 4; + private int isNew_ = 0; + /** + * int32 isNew = 4; + * @return The isNew. + */ + @java.lang.Override + public int getIsNew() { + return isNew_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, guid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(folderName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, folderName_); + } + if (isNew_ != 0) { + output.writeInt32(4, isNew_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, guid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(folderName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, folderName_); + } + if (isNew_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, isNew_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.FriendInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.FriendInfo other = (com.caliverse.admin.domain.RabbitMq.message.FriendInfo) obj; + + if (!getGuid() + .equals(other.getGuid())) return false; + if (!getNickName() + .equals(other.getNickName())) return false; + if (!getFolderName() + .equals(other.getFolderName())) return false; + if (getIsNew() + != other.getIsNew()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + GUID_FIELD_NUMBER; + hash = (53 * hash) + getGuid().hashCode(); + hash = (37 * hash) + NICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getNickName().hashCode(); + hash = (37 * hash) + FOLDERNAME_FIELD_NUMBER; + hash = (53 * hash) + getFolderName().hashCode(); + hash = (37 * hash) + ISNEW_FIELD_NUMBER; + hash = (53 * hash) + getIsNew(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.FriendInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code FriendInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:FriendInfo) + com.caliverse.admin.domain.RabbitMq.message.FriendInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FriendInfo.class, com.caliverse.admin.domain.RabbitMq.message.FriendInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.FriendInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + guid_ = ""; + nickName_ = ""; + folderName_ = ""; + isNew_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.FriendInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendInfo build() { + com.caliverse.admin.domain.RabbitMq.message.FriendInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.FriendInfo result = new com.caliverse.admin.domain.RabbitMq.message.FriendInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.FriendInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.guid_ = guid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nickName_ = nickName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.folderName_ = folderName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.isNew_ = isNew_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.FriendInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.FriendInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.FriendInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.FriendInfo.getDefaultInstance()) return this; + if (!other.getGuid().isEmpty()) { + guid_ = other.guid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getNickName().isEmpty()) { + nickName_ = other.nickName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getFolderName().isEmpty()) { + folderName_ = other.folderName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getIsNew() != 0) { + setIsNew(other.getIsNew()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + guid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + nickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + folderName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + isNew_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object guid_ = ""; + /** + * string guid = 1; + * @return The guid. + */ + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string guid = 1; + * @return The bytes for guid. + */ + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string guid = 1; + * @param value The guid to set. + * @return This builder for chaining. + */ + public Builder setGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + guid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string guid = 1; + * @return This builder for chaining. + */ + public Builder clearGuid() { + guid_ = getDefaultInstance().getGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string guid = 1; + * @param value The bytes for guid to set. + * @return This builder for chaining. + */ + public Builder setGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + guid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object nickName_ = ""; + /** + * string nickName = 2; + * @return The nickName. + */ + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string nickName = 2; + * @param value The nickName to set. + * @return This builder for chaining. + */ + public Builder setNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string nickName = 2; + * @return This builder for chaining. + */ + public Builder clearNickName() { + nickName_ = getDefaultInstance().getNickName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string nickName = 2; + * @param value The bytes for nickName to set. + * @return This builder for chaining. + */ + public Builder setNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object folderName_ = ""; + /** + * string folderName = 3; + * @return The folderName. + */ + public java.lang.String getFolderName() { + java.lang.Object ref = folderName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + folderName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string folderName = 3; + * @return The bytes for folderName. + */ + public com.google.protobuf.ByteString + getFolderNameBytes() { + java.lang.Object ref = folderName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + folderName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string folderName = 3; + * @param value The folderName to set. + * @return This builder for chaining. + */ + public Builder setFolderName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + folderName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string folderName = 3; + * @return This builder for chaining. + */ + public Builder clearFolderName() { + folderName_ = getDefaultInstance().getFolderName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string folderName = 3; + * @param value The bytes for folderName to set. + * @return This builder for chaining. + */ + public Builder setFolderNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + folderName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int isNew_ ; + /** + * int32 isNew = 4; + * @return The isNew. + */ + @java.lang.Override + public int getIsNew() { + return isNew_; + } + /** + * int32 isNew = 4; + * @param value The isNew to set. + * @return This builder for chaining. + */ + public Builder setIsNew(int value) { + + isNew_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 isNew = 4; + * @return This builder for chaining. + */ + public Builder clearIsNew() { + bitField0_ = (bitField0_ & ~0x00000008); + isNew_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:FriendInfo) + } + + // @@protoc_insertion_point(class_scope:FriendInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.FriendInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.FriendInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.FriendInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FriendInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendInfoOrBuilder.java new file mode 100644 index 0000000..2debef4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendInfoOrBuilder.java @@ -0,0 +1,51 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface FriendInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:FriendInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string guid = 1; + * @return The guid. + */ + java.lang.String getGuid(); + /** + * string guid = 1; + * @return The bytes for guid. + */ + com.google.protobuf.ByteString + getGuidBytes(); + + /** + * string nickName = 2; + * @return The nickName. + */ + java.lang.String getNickName(); + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + com.google.protobuf.ByteString + getNickNameBytes(); + + /** + * string folderName = 3; + * @return The folderName. + */ + java.lang.String getFolderName(); + /** + * string folderName = 3; + * @return The bytes for folderName. + */ + com.google.protobuf.ByteString + getFolderNameBytes(); + + /** + * int32 isNew = 4; + * @return The isNew. + */ + int getIsNew(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendNickNameInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendNickNameInfo.java new file mode 100644 index 0000000..fc18a43 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendNickNameInfo.java @@ -0,0 +1,680 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code FriendNickNameInfo} + */ +public final class FriendNickNameInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:FriendNickNameInfo) + FriendNickNameInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use FriendNickNameInfo.newBuilder() to construct. + private FriendNickNameInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FriendNickNameInfo() { + targetGuid_ = ""; + targetNickName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FriendNickNameInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendNickNameInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendNickNameInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo.class, com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo.Builder.class); + } + + public static final int TARGETGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object targetGuid_ = ""; + /** + * string targetGuid = 1; + * @return The targetGuid. + */ + @java.lang.Override + public java.lang.String getTargetGuid() { + java.lang.Object ref = targetGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetGuid_ = s; + return s; + } + } + /** + * string targetGuid = 1; + * @return The bytes for targetGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTargetGuidBytes() { + java.lang.Object ref = targetGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + targetGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TARGETNICKNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object targetNickName_ = ""; + /** + * string targetNickName = 2; + * @return The targetNickName. + */ + @java.lang.Override + public java.lang.String getTargetNickName() { + java.lang.Object ref = targetNickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetNickName_ = s; + return s; + } + } + /** + * string targetNickName = 2; + * @return The bytes for targetNickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTargetNickNameBytes() { + java.lang.Object ref = targetNickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + targetNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetNickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetNickName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, targetGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetNickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetNickName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo other = (com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo) obj; + + if (!getTargetGuid() + .equals(other.getTargetGuid())) return false; + if (!getTargetNickName() + .equals(other.getTargetNickName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TARGETGUID_FIELD_NUMBER; + hash = (53 * hash) + getTargetGuid().hashCode(); + hash = (37 * hash) + TARGETNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getTargetNickName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code FriendNickNameInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:FriendNickNameInfo) + com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendNickNameInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendNickNameInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo.class, com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + targetGuid_ = ""; + targetNickName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendNickNameInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo build() { + com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo result = new com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.targetGuid_ = targetGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.targetNickName_ = targetNickName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo.getDefaultInstance()) return this; + if (!other.getTargetGuid().isEmpty()) { + targetGuid_ = other.targetGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getTargetNickName().isEmpty()) { + targetNickName_ = other.targetNickName_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + targetGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + targetNickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object targetGuid_ = ""; + /** + * string targetGuid = 1; + * @return The targetGuid. + */ + public java.lang.String getTargetGuid() { + java.lang.Object ref = targetGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string targetGuid = 1; + * @return The bytes for targetGuid. + */ + public com.google.protobuf.ByteString + getTargetGuidBytes() { + java.lang.Object ref = targetGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + targetGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string targetGuid = 1; + * @param value The targetGuid to set. + * @return This builder for chaining. + */ + public Builder setTargetGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + targetGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string targetGuid = 1; + * @return This builder for chaining. + */ + public Builder clearTargetGuid() { + targetGuid_ = getDefaultInstance().getTargetGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string targetGuid = 1; + * @param value The bytes for targetGuid to set. + * @return This builder for chaining. + */ + public Builder setTargetGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + targetGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object targetNickName_ = ""; + /** + * string targetNickName = 2; + * @return The targetNickName. + */ + public java.lang.String getTargetNickName() { + java.lang.Object ref = targetNickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetNickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string targetNickName = 2; + * @return The bytes for targetNickName. + */ + public com.google.protobuf.ByteString + getTargetNickNameBytes() { + java.lang.Object ref = targetNickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + targetNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string targetNickName = 2; + * @param value The targetNickName to set. + * @return This builder for chaining. + */ + public Builder setTargetNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + targetNickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string targetNickName = 2; + * @return This builder for chaining. + */ + public Builder clearTargetNickName() { + targetNickName_ = getDefaultInstance().getTargetNickName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string targetNickName = 2; + * @param value The bytes for targetNickName to set. + * @return This builder for chaining. + */ + public Builder setTargetNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + targetNickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:FriendNickNameInfo) + } + + // @@protoc_insertion_point(class_scope:FriendNickNameInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FriendNickNameInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendNickNameInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendNickNameInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendNickNameInfoOrBuilder.java new file mode 100644 index 0000000..21f4fea --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendNickNameInfoOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface FriendNickNameInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:FriendNickNameInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string targetGuid = 1; + * @return The targetGuid. + */ + java.lang.String getTargetGuid(); + /** + * string targetGuid = 1; + * @return The bytes for targetGuid. + */ + com.google.protobuf.ByteString + getTargetGuidBytes(); + + /** + * string targetNickName = 2; + * @return The targetNickName. + */ + java.lang.String getTargetNickName(); + /** + * string targetNickName = 2; + * @return The bytes for targetNickName. + */ + com.google.protobuf.ByteString + getTargetNickNameBytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendRequestInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendRequestInfo.java new file mode 100644 index 0000000..0566a4d --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendRequestInfo.java @@ -0,0 +1,927 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code FriendRequestInfo} + */ +public final class FriendRequestInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:FriendRequestInfo) + FriendRequestInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use FriendRequestInfo.newBuilder() to construct. + private FriendRequestInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FriendRequestInfo() { + guid_ = ""; + nickName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FriendRequestInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendRequestInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendRequestInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo.class, com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo.Builder.class); + } + + public static final int GUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object guid_ = ""; + /** + * string guid = 1; + * @return The guid. + */ + @java.lang.Override + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } + } + /** + * string guid = 1; + * @return The bytes for guid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NICKNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object nickName_ = ""; + /** + * string nickName = 2; + * @return The nickName. + */ + @java.lang.Override + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickName_ = s; + return s; + } + } + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ISNEW_FIELD_NUMBER = 3; + private int isNew_ = 0; + /** + * int32 isNew = 3; + * @return The isNew. + */ + @java.lang.Override + public int getIsNew() { + return isNew_; + } + + public static final int REQUESTTIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp requestTime_; + /** + * .google.protobuf.Timestamp requestTime = 4; + * @return Whether the requestTime field is set. + */ + @java.lang.Override + public boolean hasRequestTime() { + return requestTime_ != null; + } + /** + * .google.protobuf.Timestamp requestTime = 4; + * @return The requestTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getRequestTime() { + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, guid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nickName_); + } + if (isNew_ != 0) { + output.writeInt32(3, isNew_); + } + if (requestTime_ != null) { + output.writeMessage(4, getRequestTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, guid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nickName_); + } + if (isNew_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, isNew_); + } + if (requestTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRequestTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo other = (com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo) obj; + + if (!getGuid() + .equals(other.getGuid())) return false; + if (!getNickName() + .equals(other.getNickName())) return false; + if (getIsNew() + != other.getIsNew()) return false; + if (hasRequestTime() != other.hasRequestTime()) return false; + if (hasRequestTime()) { + if (!getRequestTime() + .equals(other.getRequestTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + GUID_FIELD_NUMBER; + hash = (53 * hash) + getGuid().hashCode(); + hash = (37 * hash) + NICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getNickName().hashCode(); + hash = (37 * hash) + ISNEW_FIELD_NUMBER; + hash = (53 * hash) + getIsNew(); + if (hasRequestTime()) { + hash = (37 * hash) + REQUESTTIME_FIELD_NUMBER; + hash = (53 * hash) + getRequestTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code FriendRequestInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:FriendRequestInfo) + com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendRequestInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendRequestInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo.class, com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + guid_ = ""; + nickName_ = ""; + isNew_ = 0; + requestTime_ = null; + if (requestTimeBuilder_ != null) { + requestTimeBuilder_.dispose(); + requestTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FriendRequestInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo build() { + com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo result = new com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.guid_ = guid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nickName_ = nickName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.isNew_ = isNew_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo.getDefaultInstance()) return this; + if (!other.getGuid().isEmpty()) { + guid_ = other.guid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getNickName().isEmpty()) { + nickName_ = other.nickName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getIsNew() != 0) { + setIsNew(other.getIsNew()); + } + if (other.hasRequestTime()) { + mergeRequestTime(other.getRequestTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + guid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + nickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + isNew_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object guid_ = ""; + /** + * string guid = 1; + * @return The guid. + */ + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string guid = 1; + * @return The bytes for guid. + */ + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string guid = 1; + * @param value The guid to set. + * @return This builder for chaining. + */ + public Builder setGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + guid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string guid = 1; + * @return This builder for chaining. + */ + public Builder clearGuid() { + guid_ = getDefaultInstance().getGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string guid = 1; + * @param value The bytes for guid to set. + * @return This builder for chaining. + */ + public Builder setGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + guid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object nickName_ = ""; + /** + * string nickName = 2; + * @return The nickName. + */ + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string nickName = 2; + * @param value The nickName to set. + * @return This builder for chaining. + */ + public Builder setNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string nickName = 2; + * @return This builder for chaining. + */ + public Builder clearNickName() { + nickName_ = getDefaultInstance().getNickName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string nickName = 2; + * @param value The bytes for nickName to set. + * @return This builder for chaining. + */ + public Builder setNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int isNew_ ; + /** + * int32 isNew = 3; + * @return The isNew. + */ + @java.lang.Override + public int getIsNew() { + return isNew_; + } + /** + * int32 isNew = 3; + * @param value The isNew to set. + * @return This builder for chaining. + */ + public Builder setIsNew(int value) { + + isNew_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 isNew = 3; + * @return This builder for chaining. + */ + public Builder clearIsNew() { + bitField0_ = (bitField0_ & ~0x00000004); + isNew_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp requestTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; + /** + * .google.protobuf.Timestamp requestTime = 4; + * @return Whether the requestTime field is set. + */ + public boolean hasRequestTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .google.protobuf.Timestamp requestTime = 4; + * @return The requestTime. + */ + public com.google.protobuf.Timestamp getRequestTime() { + if (requestTimeBuilder_ == null) { + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + } else { + return requestTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + public Builder setRequestTime(com.google.protobuf.Timestamp value) { + if (requestTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + requestTime_ = value; + } else { + requestTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (requestTimeBuilder_ == null) { + requestTime_ = builderForValue.build(); + } else { + requestTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { + if (requestTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getRequestTimeBuilder().mergeFrom(value); + } else { + requestTime_ = value; + } + } else { + requestTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + public Builder clearRequestTime() { + bitField0_ = (bitField0_ & ~0x00000008); + requestTime_ = null; + if (requestTimeBuilder_ != null) { + requestTimeBuilder_.dispose(); + requestTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getRequestTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { + if (requestTimeBuilder_ != null) { + return requestTimeBuilder_.getMessageOrBuilder(); + } else { + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + } + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getRequestTimeFieldBuilder() { + if (requestTimeBuilder_ == null) { + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); + requestTime_ = null; + } + return requestTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:FriendRequestInfo) + } + + // @@protoc_insertion_point(class_scope:FriendRequestInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FriendRequestInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FriendRequestInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendRequestInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendRequestInfoOrBuilder.java new file mode 100644 index 0000000..6a1a512 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/FriendRequestInfoOrBuilder.java @@ -0,0 +1,54 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface FriendRequestInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:FriendRequestInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string guid = 1; + * @return The guid. + */ + java.lang.String getGuid(); + /** + * string guid = 1; + * @return The bytes for guid. + */ + com.google.protobuf.ByteString + getGuidBytes(); + + /** + * string nickName = 2; + * @return The nickName. + */ + java.lang.String getNickName(); + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + com.google.protobuf.ByteString + getNickNameBytes(); + + /** + * int32 isNew = 3; + * @return The isNew. + */ + int getIsNew(); + + /** + * .google.protobuf.Timestamp requestTime = 4; + * @return Whether the requestTime field is set. + */ + boolean hasRequestTime(); + /** + * .google.protobuf.Timestamp requestTime = 4; + * @return The requestTime. + */ + com.google.protobuf.Timestamp getRequestTime(); + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameActor.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameActor.java new file mode 100644 index 0000000..4b79ece --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameActor.java @@ -0,0 +1,2668 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ÷̾  : MS5 Ŀ ü   - kangms
+ * 
+ * + * Protobuf type {@code GameActor} + */ +public final class GameActor extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameActor) + GameActorOrBuilder { +private static final long serialVersionUID = 0L; + // Use GameActor.newBuilder() to construct. + private GameActor(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GameActor() { + actorGuid_ = ""; + name_ = ""; + tattooInfoList_ = java.util.Collections.emptyList(); + usergroup_ = ""; + displayName_ = ""; + occupiedAnchorGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameActor(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameActor_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameActor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.GameActor.class, com.caliverse.admin.domain.RabbitMq.message.GameActor.Builder.class); + } + + public static final int ACTORGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object actorGuid_ = ""; + /** + * string actorGuid = 1; + * @return The actorGuid. + */ + @java.lang.Override + public java.lang.String getActorGuid() { + java.lang.Object ref = actorGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + actorGuid_ = s; + return s; + } + } + /** + * string actorGuid = 1; + * @return The bytes for actorGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getActorGuidBytes() { + java.lang.Object ref = actorGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + actorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * string name = 2; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 2; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AVATARINFO_FIELD_NUMBER = 3; + private com.caliverse.admin.domain.RabbitMq.message.AvatarInfo avatarInfo_; + /** + * .AvatarInfo avatarInfo = 3; + * @return Whether the avatarInfo field is set. + */ + @java.lang.Override + public boolean hasAvatarInfo() { + return avatarInfo_ != null; + } + /** + * .AvatarInfo avatarInfo = 3; + * @return The avatarInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo getAvatarInfo() { + return avatarInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance() : avatarInfo_; + } + /** + * .AvatarInfo avatarInfo = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder getAvatarInfoOrBuilder() { + return avatarInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance() : avatarInfo_; + } + + public static final int CLOTHINFO_FIELD_NUMBER = 4; + private com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser clothInfo_; + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + * @return Whether the clothInfo field is set. + */ + @java.lang.Override + public boolean hasClothInfo() { + return clothInfo_ != null; + } + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + * @return The clothInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser getClothInfo() { + return clothInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.getDefaultInstance() : clothInfo_; + } + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUserOrBuilder getClothInfoOrBuilder() { + return clothInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.getDefaultInstance() : clothInfo_; + } + + public static final int EQUIPINFO_FIELD_NUMBER = 5; + private com.caliverse.admin.domain.RabbitMq.message.EquipInfo equipInfo_; + /** + * .EquipInfo equipInfo = 5; + * @return Whether the equipInfo field is set. + */ + @java.lang.Override + public boolean hasEquipInfo() { + return equipInfo_ != null; + } + /** + * .EquipInfo equipInfo = 5; + * @return The equipInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EquipInfo getEquipInfo() { + return equipInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EquipInfo.getDefaultInstance() : equipInfo_; + } + /** + * .EquipInfo equipInfo = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder getEquipInfoOrBuilder() { + return equipInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EquipInfo.getDefaultInstance() : equipInfo_; + } + + public static final int POS_FIELD_NUMBER = 6; + private com.caliverse.admin.domain.RabbitMq.message.Pos pos_; + /** + * .Pos pos = 6; + * @return Whether the pos field is set. + */ + @java.lang.Override + public boolean hasPos() { + return pos_ != null; + } + /** + * .Pos pos = 6; + * @return The pos. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Pos getPos() { + return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } + /** + * .Pos pos = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder() { + return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } + + public static final int TATTOOINFOLIST_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private java.util.List tattooInfoList_; + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + @java.lang.Override + public java.util.List getTattooInfoListList() { + return tattooInfoList_; + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + @java.lang.Override + public java.util.List + getTattooInfoListOrBuilderList() { + return tattooInfoList_; + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + @java.lang.Override + public int getTattooInfoListCount() { + return tattooInfoList_.size(); + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getTattooInfoList(int index) { + return tattooInfoList_.get(index); + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfoOrBuilder getTattooInfoListOrBuilder( + int index) { + return tattooInfoList_.get(index); + } + + public static final int BUFFINFO_FIELD_NUMBER = 11; + private com.caliverse.admin.domain.RabbitMq.message.BuffInfo buffInfo_; + /** + * .BuffInfo BuffInfo = 11; + * @return Whether the buffInfo field is set. + */ + @java.lang.Override + public boolean hasBuffInfo() { + return buffInfo_ != null; + } + /** + * .BuffInfo BuffInfo = 11; + * @return The buffInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BuffInfo getBuffInfo() { + return buffInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.BuffInfo.getDefaultInstance() : buffInfo_; + } + /** + * .BuffInfo BuffInfo = 11; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BuffInfoOrBuilder getBuffInfoOrBuilder() { + return buffInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.BuffInfo.getDefaultInstance() : buffInfo_; + } + + public static final int USERGROUP_FIELD_NUMBER = 12; + @SuppressWarnings("serial") + private volatile java.lang.Object usergroup_ = ""; + /** + * string usergroup = 12; + * @return The usergroup. + */ + @java.lang.Override + public java.lang.String getUsergroup() { + java.lang.Object ref = usergroup_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + usergroup_ = s; + return s; + } + } + /** + * string usergroup = 12; + * @return The bytes for usergroup. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUsergroupBytes() { + java.lang.Object ref = usergroup_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + usergroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATOR_FIELD_NUMBER = 13; + private int operator_ = 0; + /** + * int32 operator = 13; + * @return The operator. + */ + @java.lang.Override + public int getOperator() { + return operator_; + } + + public static final int DISPLAYNAME_FIELD_NUMBER = 14; + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + /** + * string displayName = 14; + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } + } + /** + * string displayName = 14; + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OCCUPIEDANCHORGUID_FIELD_NUMBER = 15; + @SuppressWarnings("serial") + private volatile java.lang.Object occupiedAnchorGuid_ = ""; + /** + * string occupiedAnchorGuid = 15; + * @return The occupiedAnchorGuid. + */ + @java.lang.Override + public java.lang.String getOccupiedAnchorGuid() { + java.lang.Object ref = occupiedAnchorGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + occupiedAnchorGuid_ = s; + return s; + } + } + /** + * string occupiedAnchorGuid = 15; + * @return The bytes for occupiedAnchorGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOccupiedAnchorGuidBytes() { + java.lang.Object ref = occupiedAnchorGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + occupiedAnchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 16; + private int state_ = 0; + /** + * int32 state = 16; + * @return The state. + */ + @java.lang.Override + public int getState() { + return state_; + } + + public static final int ENTITYSTATEINFO_FIELD_NUMBER = 21; + private com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo entityStateInfo_; + /** + * .EntityStateInfo entityStateInfo = 21; + * @return Whether the entityStateInfo field is set. + */ + @java.lang.Override + public boolean hasEntityStateInfo() { + return entityStateInfo_ != null; + } + /** + * .EntityStateInfo entityStateInfo = 21; + * @return The entityStateInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getEntityStateInfo() { + return entityStateInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } + /** + * .EntityStateInfo entityStateInfo = 21; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder getEntityStateInfoOrBuilder() { + return entityStateInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actorGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); + } + if (avatarInfo_ != null) { + output.writeMessage(3, getAvatarInfo()); + } + if (clothInfo_ != null) { + output.writeMessage(4, getClothInfo()); + } + if (equipInfo_ != null) { + output.writeMessage(5, getEquipInfo()); + } + if (pos_ != null) { + output.writeMessage(6, getPos()); + } + for (int i = 0; i < tattooInfoList_.size(); i++) { + output.writeMessage(7, tattooInfoList_.get(i)); + } + if (buffInfo_ != null) { + output.writeMessage(11, getBuffInfo()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(usergroup_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, usergroup_); + } + if (operator_ != 0) { + output.writeInt32(13, operator_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, displayName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(occupiedAnchorGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, occupiedAnchorGuid_); + } + if (state_ != 0) { + output.writeInt32(16, state_); + } + if (entityStateInfo_ != null) { + output.writeMessage(21, getEntityStateInfo()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, actorGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); + } + if (avatarInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAvatarInfo()); + } + if (clothInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getClothInfo()); + } + if (equipInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEquipInfo()); + } + if (pos_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getPos()); + } + for (int i = 0; i < tattooInfoList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, tattooInfoList_.get(i)); + } + if (buffInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getBuffInfo()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(usergroup_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, usergroup_); + } + if (operator_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(13, operator_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, displayName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(occupiedAnchorGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, occupiedAnchorGuid_); + } + if (state_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(16, state_); + } + if (entityStateInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getEntityStateInfo()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.GameActor)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.GameActor other = (com.caliverse.admin.domain.RabbitMq.message.GameActor) obj; + + if (!getActorGuid() + .equals(other.getActorGuid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (hasAvatarInfo() != other.hasAvatarInfo()) return false; + if (hasAvatarInfo()) { + if (!getAvatarInfo() + .equals(other.getAvatarInfo())) return false; + } + if (hasClothInfo() != other.hasClothInfo()) return false; + if (hasClothInfo()) { + if (!getClothInfo() + .equals(other.getClothInfo())) return false; + } + if (hasEquipInfo() != other.hasEquipInfo()) return false; + if (hasEquipInfo()) { + if (!getEquipInfo() + .equals(other.getEquipInfo())) return false; + } + if (hasPos() != other.hasPos()) return false; + if (hasPos()) { + if (!getPos() + .equals(other.getPos())) return false; + } + if (!getTattooInfoListList() + .equals(other.getTattooInfoListList())) return false; + if (hasBuffInfo() != other.hasBuffInfo()) return false; + if (hasBuffInfo()) { + if (!getBuffInfo() + .equals(other.getBuffInfo())) return false; + } + if (!getUsergroup() + .equals(other.getUsergroup())) return false; + if (getOperator() + != other.getOperator()) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getOccupiedAnchorGuid() + .equals(other.getOccupiedAnchorGuid())) return false; + if (getState() + != other.getState()) return false; + if (hasEntityStateInfo() != other.hasEntityStateInfo()) return false; + if (hasEntityStateInfo()) { + if (!getEntityStateInfo() + .equals(other.getEntityStateInfo())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ACTORGUID_FIELD_NUMBER; + hash = (53 * hash) + getActorGuid().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (hasAvatarInfo()) { + hash = (37 * hash) + AVATARINFO_FIELD_NUMBER; + hash = (53 * hash) + getAvatarInfo().hashCode(); + } + if (hasClothInfo()) { + hash = (37 * hash) + CLOTHINFO_FIELD_NUMBER; + hash = (53 * hash) + getClothInfo().hashCode(); + } + if (hasEquipInfo()) { + hash = (37 * hash) + EQUIPINFO_FIELD_NUMBER; + hash = (53 * hash) + getEquipInfo().hashCode(); + } + if (hasPos()) { + hash = (37 * hash) + POS_FIELD_NUMBER; + hash = (53 * hash) + getPos().hashCode(); + } + if (getTattooInfoListCount() > 0) { + hash = (37 * hash) + TATTOOINFOLIST_FIELD_NUMBER; + hash = (53 * hash) + getTattooInfoListList().hashCode(); + } + if (hasBuffInfo()) { + hash = (37 * hash) + BUFFINFO_FIELD_NUMBER; + hash = (53 * hash) + getBuffInfo().hashCode(); + } + hash = (37 * hash) + USERGROUP_FIELD_NUMBER; + hash = (53 * hash) + getUsergroup().hashCode(); + hash = (37 * hash) + OPERATOR_FIELD_NUMBER; + hash = (53 * hash) + getOperator(); + hash = (37 * hash) + DISPLAYNAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + OCCUPIEDANCHORGUID_FIELD_NUMBER; + hash = (53 * hash) + getOccupiedAnchorGuid().hashCode(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + getState(); + if (hasEntityStateInfo()) { + hash = (37 * hash) + ENTITYSTATEINFO_FIELD_NUMBER; + hash = (53 * hash) + getEntityStateInfo().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.GameActor parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameActor parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameActor parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameActor parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameActor parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameActor parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameActor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameActor parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameActor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameActor parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameActor parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameActor parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.GameActor prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * ÷̾  : MS5 Ŀ ü   - kangms
+   * 
+ * + * Protobuf type {@code GameActor} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameActor) + com.caliverse.admin.domain.RabbitMq.message.GameActorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameActor_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameActor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.GameActor.class, com.caliverse.admin.domain.RabbitMq.message.GameActor.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.GameActor.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + actorGuid_ = ""; + name_ = ""; + avatarInfo_ = null; + if (avatarInfoBuilder_ != null) { + avatarInfoBuilder_.dispose(); + avatarInfoBuilder_ = null; + } + clothInfo_ = null; + if (clothInfoBuilder_ != null) { + clothInfoBuilder_.dispose(); + clothInfoBuilder_ = null; + } + equipInfo_ = null; + if (equipInfoBuilder_ != null) { + equipInfoBuilder_.dispose(); + equipInfoBuilder_ = null; + } + pos_ = null; + if (posBuilder_ != null) { + posBuilder_.dispose(); + posBuilder_ = null; + } + if (tattooInfoListBuilder_ == null) { + tattooInfoList_ = java.util.Collections.emptyList(); + } else { + tattooInfoList_ = null; + tattooInfoListBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); + buffInfo_ = null; + if (buffInfoBuilder_ != null) { + buffInfoBuilder_.dispose(); + buffInfoBuilder_ = null; + } + usergroup_ = ""; + operator_ = 0; + displayName_ = ""; + occupiedAnchorGuid_ = ""; + state_ = 0; + entityStateInfo_ = null; + if (entityStateInfoBuilder_ != null) { + entityStateInfoBuilder_.dispose(); + entityStateInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameActor_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.GameActor getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameActor.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.GameActor build() { + com.caliverse.admin.domain.RabbitMq.message.GameActor result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.GameActor buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.GameActor result = new com.caliverse.admin.domain.RabbitMq.message.GameActor(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.GameActor result) { + if (tattooInfoListBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0)) { + tattooInfoList_ = java.util.Collections.unmodifiableList(tattooInfoList_); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.tattooInfoList_ = tattooInfoList_; + } else { + result.tattooInfoList_ = tattooInfoListBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.GameActor result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.actorGuid_ = actorGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.avatarInfo_ = avatarInfoBuilder_ == null + ? avatarInfo_ + : avatarInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.clothInfo_ = clothInfoBuilder_ == null + ? clothInfo_ + : clothInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.equipInfo_ = equipInfoBuilder_ == null + ? equipInfo_ + : equipInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.pos_ = posBuilder_ == null + ? pos_ + : posBuilder_.build(); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.buffInfo_ = buffInfoBuilder_ == null + ? buffInfo_ + : buffInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.usergroup_ = usergroup_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.operator_ = operator_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.occupiedAnchorGuid_ = occupiedAnchorGuid_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.state_ = state_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.entityStateInfo_ = entityStateInfoBuilder_ == null + ? entityStateInfo_ + : entityStateInfoBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.GameActor) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.GameActor)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.GameActor other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.GameActor.getDefaultInstance()) return this; + if (!other.getActorGuid().isEmpty()) { + actorGuid_ = other.actorGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasAvatarInfo()) { + mergeAvatarInfo(other.getAvatarInfo()); + } + if (other.hasClothInfo()) { + mergeClothInfo(other.getClothInfo()); + } + if (other.hasEquipInfo()) { + mergeEquipInfo(other.getEquipInfo()); + } + if (other.hasPos()) { + mergePos(other.getPos()); + } + if (tattooInfoListBuilder_ == null) { + if (!other.tattooInfoList_.isEmpty()) { + if (tattooInfoList_.isEmpty()) { + tattooInfoList_ = other.tattooInfoList_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureTattooInfoListIsMutable(); + tattooInfoList_.addAll(other.tattooInfoList_); + } + onChanged(); + } + } else { + if (!other.tattooInfoList_.isEmpty()) { + if (tattooInfoListBuilder_.isEmpty()) { + tattooInfoListBuilder_.dispose(); + tattooInfoListBuilder_ = null; + tattooInfoList_ = other.tattooInfoList_; + bitField0_ = (bitField0_ & ~0x00000040); + tattooInfoListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTattooInfoListFieldBuilder() : null; + } else { + tattooInfoListBuilder_.addAllMessages(other.tattooInfoList_); + } + } + } + if (other.hasBuffInfo()) { + mergeBuffInfo(other.getBuffInfo()); + } + if (!other.getUsergroup().isEmpty()) { + usergroup_ = other.usergroup_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (other.getOperator() != 0) { + setOperator(other.getOperator()); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000400; + onChanged(); + } + if (!other.getOccupiedAnchorGuid().isEmpty()) { + occupiedAnchorGuid_ = other.occupiedAnchorGuid_; + bitField0_ |= 0x00000800; + onChanged(); + } + if (other.getState() != 0) { + setState(other.getState()); + } + if (other.hasEntityStateInfo()) { + mergeEntityStateInfo(other.getEntityStateInfo()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + actorGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getAvatarInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getClothInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getEquipInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getPosFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.parser(), + extensionRegistry); + if (tattooInfoListBuilder_ == null) { + ensureTattooInfoListIsMutable(); + tattooInfoList_.add(m); + } else { + tattooInfoListBuilder_.addMessage(m); + } + break; + } // case 58 + case 90: { + input.readMessage( + getBuffInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 90 + case 98: { + usergroup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 98 + case 104: { + operator_ = input.readInt32(); + bitField0_ |= 0x00000200; + break; + } // case 104 + case 114: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 114 + case 122: { + occupiedAnchorGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 122 + case 128: { + state_ = input.readInt32(); + bitField0_ |= 0x00001000; + break; + } // case 128 + case 170: { + input.readMessage( + getEntityStateInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 170 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object actorGuid_ = ""; + /** + * string actorGuid = 1; + * @return The actorGuid. + */ + public java.lang.String getActorGuid() { + java.lang.Object ref = actorGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + actorGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string actorGuid = 1; + * @return The bytes for actorGuid. + */ + public com.google.protobuf.ByteString + getActorGuidBytes() { + java.lang.Object ref = actorGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + actorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string actorGuid = 1; + * @param value The actorGuid to set. + * @return This builder for chaining. + */ + public Builder setActorGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + actorGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string actorGuid = 1; + * @return This builder for chaining. + */ + public Builder clearActorGuid() { + actorGuid_ = getDefaultInstance().getActorGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string actorGuid = 1; + * @param value The bytes for actorGuid to set. + * @return This builder for chaining. + */ + public Builder setActorGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + actorGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 2; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 2; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 2; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string name = 2; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string name = 2; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.AvatarInfo avatarInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo, com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder> avatarInfoBuilder_; + /** + * .AvatarInfo avatarInfo = 3; + * @return Whether the avatarInfo field is set. + */ + public boolean hasAvatarInfo() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .AvatarInfo avatarInfo = 3; + * @return The avatarInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo getAvatarInfo() { + if (avatarInfoBuilder_ == null) { + return avatarInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance() : avatarInfo_; + } else { + return avatarInfoBuilder_.getMessage(); + } + } + /** + * .AvatarInfo avatarInfo = 3; + */ + public Builder setAvatarInfo(com.caliverse.admin.domain.RabbitMq.message.AvatarInfo value) { + if (avatarInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + avatarInfo_ = value; + } else { + avatarInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .AvatarInfo avatarInfo = 3; + */ + public Builder setAvatarInfo( + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder builderForValue) { + if (avatarInfoBuilder_ == null) { + avatarInfo_ = builderForValue.build(); + } else { + avatarInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .AvatarInfo avatarInfo = 3; + */ + public Builder mergeAvatarInfo(com.caliverse.admin.domain.RabbitMq.message.AvatarInfo value) { + if (avatarInfoBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + avatarInfo_ != null && + avatarInfo_ != com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance()) { + getAvatarInfoBuilder().mergeFrom(value); + } else { + avatarInfo_ = value; + } + } else { + avatarInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .AvatarInfo avatarInfo = 3; + */ + public Builder clearAvatarInfo() { + bitField0_ = (bitField0_ & ~0x00000004); + avatarInfo_ = null; + if (avatarInfoBuilder_ != null) { + avatarInfoBuilder_.dispose(); + avatarInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .AvatarInfo avatarInfo = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder getAvatarInfoBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getAvatarInfoFieldBuilder().getBuilder(); + } + /** + * .AvatarInfo avatarInfo = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder getAvatarInfoOrBuilder() { + if (avatarInfoBuilder_ != null) { + return avatarInfoBuilder_.getMessageOrBuilder(); + } else { + return avatarInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance() : avatarInfo_; + } + } + /** + * .AvatarInfo avatarInfo = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo, com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder> + getAvatarInfoFieldBuilder() { + if (avatarInfoBuilder_ == null) { + avatarInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo, com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder>( + getAvatarInfo(), + getParentForChildren(), + isClean()); + avatarInfo_ = null; + } + return avatarInfoBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser clothInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser, com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.Builder, com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUserOrBuilder> clothInfoBuilder_; + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + * @return Whether the clothInfo field is set. + */ + public boolean hasClothInfo() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + * @return The clothInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser getClothInfo() { + if (clothInfoBuilder_ == null) { + return clothInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.getDefaultInstance() : clothInfo_; + } else { + return clothInfoBuilder_.getMessage(); + } + } + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + */ + public Builder setClothInfo(com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser value) { + if (clothInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + clothInfo_ = value; + } else { + clothInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + */ + public Builder setClothInfo( + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.Builder builderForValue) { + if (clothInfoBuilder_ == null) { + clothInfo_ = builderForValue.build(); + } else { + clothInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + */ + public Builder mergeClothInfo(com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser value) { + if (clothInfoBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + clothInfo_ != null && + clothInfo_ != com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.getDefaultInstance()) { + getClothInfoBuilder().mergeFrom(value); + } else { + clothInfo_ = value; + } + } else { + clothInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + */ + public Builder clearClothInfo() { + bitField0_ = (bitField0_ & ~0x00000008); + clothInfo_ = null; + if (clothInfoBuilder_ != null) { + clothInfoBuilder_.dispose(); + clothInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.Builder getClothInfoBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getClothInfoFieldBuilder().getBuilder(); + } + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUserOrBuilder getClothInfoOrBuilder() { + if (clothInfoBuilder_ != null) { + return clothInfoBuilder_.getMessageOrBuilder(); + } else { + return clothInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.getDefaultInstance() : clothInfo_; + } + } + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser, com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.Builder, com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUserOrBuilder> + getClothInfoFieldBuilder() { + if (clothInfoBuilder_ == null) { + clothInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser, com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser.Builder, com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUserOrBuilder>( + getClothInfo(), + getParentForChildren(), + isClean()); + clothInfo_ = null; + } + return clothInfoBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.EquipInfo equipInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EquipInfo, com.caliverse.admin.domain.RabbitMq.message.EquipInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder> equipInfoBuilder_; + /** + * .EquipInfo equipInfo = 5; + * @return Whether the equipInfo field is set. + */ + public boolean hasEquipInfo() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .EquipInfo equipInfo = 5; + * @return The equipInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.EquipInfo getEquipInfo() { + if (equipInfoBuilder_ == null) { + return equipInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EquipInfo.getDefaultInstance() : equipInfo_; + } else { + return equipInfoBuilder_.getMessage(); + } + } + /** + * .EquipInfo equipInfo = 5; + */ + public Builder setEquipInfo(com.caliverse.admin.domain.RabbitMq.message.EquipInfo value) { + if (equipInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + equipInfo_ = value; + } else { + equipInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .EquipInfo equipInfo = 5; + */ + public Builder setEquipInfo( + com.caliverse.admin.domain.RabbitMq.message.EquipInfo.Builder builderForValue) { + if (equipInfoBuilder_ == null) { + equipInfo_ = builderForValue.build(); + } else { + equipInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .EquipInfo equipInfo = 5; + */ + public Builder mergeEquipInfo(com.caliverse.admin.domain.RabbitMq.message.EquipInfo value) { + if (equipInfoBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + equipInfo_ != null && + equipInfo_ != com.caliverse.admin.domain.RabbitMq.message.EquipInfo.getDefaultInstance()) { + getEquipInfoBuilder().mergeFrom(value); + } else { + equipInfo_ = value; + } + } else { + equipInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .EquipInfo equipInfo = 5; + */ + public Builder clearEquipInfo() { + bitField0_ = (bitField0_ & ~0x00000010); + equipInfo_ = null; + if (equipInfoBuilder_ != null) { + equipInfoBuilder_.dispose(); + equipInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .EquipInfo equipInfo = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.EquipInfo.Builder getEquipInfoBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getEquipInfoFieldBuilder().getBuilder(); + } + /** + * .EquipInfo equipInfo = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder getEquipInfoOrBuilder() { + if (equipInfoBuilder_ != null) { + return equipInfoBuilder_.getMessageOrBuilder(); + } else { + return equipInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.EquipInfo.getDefaultInstance() : equipInfo_; + } + } + /** + * .EquipInfo equipInfo = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EquipInfo, com.caliverse.admin.domain.RabbitMq.message.EquipInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder> + getEquipInfoFieldBuilder() { + if (equipInfoBuilder_ == null) { + equipInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EquipInfo, com.caliverse.admin.domain.RabbitMq.message.EquipInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder>( + getEquipInfo(), + getParentForChildren(), + isClean()); + equipInfo_ = null; + } + return equipInfoBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.Pos pos_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> posBuilder_; + /** + * .Pos pos = 6; + * @return Whether the pos field is set. + */ + public boolean hasPos() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * .Pos pos = 6; + * @return The pos. + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos getPos() { + if (posBuilder_ == null) { + return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } else { + return posBuilder_.getMessage(); + } + } + /** + * .Pos pos = 6; + */ + public Builder setPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (posBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + pos_ = value; + } else { + posBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .Pos pos = 6; + */ + public Builder setPos( + com.caliverse.admin.domain.RabbitMq.message.Pos.Builder builderForValue) { + if (posBuilder_ == null) { + pos_ = builderForValue.build(); + } else { + posBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .Pos pos = 6; + */ + public Builder mergePos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (posBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + pos_ != null && + pos_ != com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance()) { + getPosBuilder().mergeFrom(value); + } else { + pos_ = value; + } + } else { + posBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .Pos pos = 6; + */ + public Builder clearPos() { + bitField0_ = (bitField0_ & ~0x00000020); + pos_ = null; + if (posBuilder_ != null) { + posBuilder_.dispose(); + posBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Pos pos = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos.Builder getPosBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getPosFieldBuilder().getBuilder(); + } + /** + * .Pos pos = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder() { + if (posBuilder_ != null) { + return posBuilder_.getMessageOrBuilder(); + } else { + return pos_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } + } + /** + * .Pos pos = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> + getPosFieldBuilder() { + if (posBuilder_ == null) { + posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder>( + getPos(), + getParentForChildren(), + isClean()); + pos_ = null; + } + return posBuilder_; + } + + private java.util.List tattooInfoList_ = + java.util.Collections.emptyList(); + private void ensureTattooInfoListIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + tattooInfoList_ = new java.util.ArrayList(tattooInfoList_); + bitField0_ |= 0x00000040; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfoOrBuilder> tattooInfoListBuilder_; + + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public java.util.List getTattooInfoListList() { + if (tattooInfoListBuilder_ == null) { + return java.util.Collections.unmodifiableList(tattooInfoList_); + } else { + return tattooInfoListBuilder_.getMessageList(); + } + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public int getTattooInfoListCount() { + if (tattooInfoListBuilder_ == null) { + return tattooInfoList_.size(); + } else { + return tattooInfoListBuilder_.getCount(); + } + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getTattooInfoList(int index) { + if (tattooInfoListBuilder_ == null) { + return tattooInfoList_.get(index); + } else { + return tattooInfoListBuilder_.getMessage(index); + } + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public Builder setTattooInfoList( + int index, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo value) { + if (tattooInfoListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTattooInfoListIsMutable(); + tattooInfoList_.set(index, value); + onChanged(); + } else { + tattooInfoListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public Builder setTattooInfoList( + int index, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.Builder builderForValue) { + if (tattooInfoListBuilder_ == null) { + ensureTattooInfoListIsMutable(); + tattooInfoList_.set(index, builderForValue.build()); + onChanged(); + } else { + tattooInfoListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public Builder addTattooInfoList(com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo value) { + if (tattooInfoListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTattooInfoListIsMutable(); + tattooInfoList_.add(value); + onChanged(); + } else { + tattooInfoListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public Builder addTattooInfoList( + int index, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo value) { + if (tattooInfoListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTattooInfoListIsMutable(); + tattooInfoList_.add(index, value); + onChanged(); + } else { + tattooInfoListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public Builder addTattooInfoList( + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.Builder builderForValue) { + if (tattooInfoListBuilder_ == null) { + ensureTattooInfoListIsMutable(); + tattooInfoList_.add(builderForValue.build()); + onChanged(); + } else { + tattooInfoListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public Builder addTattooInfoList( + int index, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.Builder builderForValue) { + if (tattooInfoListBuilder_ == null) { + ensureTattooInfoListIsMutable(); + tattooInfoList_.add(index, builderForValue.build()); + onChanged(); + } else { + tattooInfoListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public Builder addAllTattooInfoList( + java.lang.Iterable values) { + if (tattooInfoListBuilder_ == null) { + ensureTattooInfoListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tattooInfoList_); + onChanged(); + } else { + tattooInfoListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public Builder clearTattooInfoList() { + if (tattooInfoListBuilder_ == null) { + tattooInfoList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + } else { + tattooInfoListBuilder_.clear(); + } + return this; + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public Builder removeTattooInfoList(int index) { + if (tattooInfoListBuilder_ == null) { + ensureTattooInfoListIsMutable(); + tattooInfoList_.remove(index); + onChanged(); + } else { + tattooInfoListBuilder_.remove(index); + } + return this; + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.Builder getTattooInfoListBuilder( + int index) { + return getTattooInfoListFieldBuilder().getBuilder(index); + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfoOrBuilder getTattooInfoListOrBuilder( + int index) { + if (tattooInfoListBuilder_ == null) { + return tattooInfoList_.get(index); } else { + return tattooInfoListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public java.util.List + getTattooInfoListOrBuilderList() { + if (tattooInfoListBuilder_ != null) { + return tattooInfoListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(tattooInfoList_); + } + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.Builder addTattooInfoListBuilder() { + return getTattooInfoListFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.getDefaultInstance()); + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.Builder addTattooInfoListBuilder( + int index) { + return getTattooInfoListFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.getDefaultInstance()); + } + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + public java.util.List + getTattooInfoListBuilderList() { + return getTattooInfoListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfoOrBuilder> + getTattooInfoListFieldBuilder() { + if (tattooInfoListBuilder_ == null) { + tattooInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfoOrBuilder>( + tattooInfoList_, + ((bitField0_ & 0x00000040) != 0), + getParentForChildren(), + isClean()); + tattooInfoList_ = null; + } + return tattooInfoListBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.BuffInfo buffInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.BuffInfo, com.caliverse.admin.domain.RabbitMq.message.BuffInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.BuffInfoOrBuilder> buffInfoBuilder_; + /** + * .BuffInfo BuffInfo = 11; + * @return Whether the buffInfo field is set. + */ + public boolean hasBuffInfo() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * .BuffInfo BuffInfo = 11; + * @return The buffInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.BuffInfo getBuffInfo() { + if (buffInfoBuilder_ == null) { + return buffInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.BuffInfo.getDefaultInstance() : buffInfo_; + } else { + return buffInfoBuilder_.getMessage(); + } + } + /** + * .BuffInfo BuffInfo = 11; + */ + public Builder setBuffInfo(com.caliverse.admin.domain.RabbitMq.message.BuffInfo value) { + if (buffInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + buffInfo_ = value; + } else { + buffInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .BuffInfo BuffInfo = 11; + */ + public Builder setBuffInfo( + com.caliverse.admin.domain.RabbitMq.message.BuffInfo.Builder builderForValue) { + if (buffInfoBuilder_ == null) { + buffInfo_ = builderForValue.build(); + } else { + buffInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .BuffInfo BuffInfo = 11; + */ + public Builder mergeBuffInfo(com.caliverse.admin.domain.RabbitMq.message.BuffInfo value) { + if (buffInfoBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + buffInfo_ != null && + buffInfo_ != com.caliverse.admin.domain.RabbitMq.message.BuffInfo.getDefaultInstance()) { + getBuffInfoBuilder().mergeFrom(value); + } else { + buffInfo_ = value; + } + } else { + buffInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .BuffInfo BuffInfo = 11; + */ + public Builder clearBuffInfo() { + bitField0_ = (bitField0_ & ~0x00000080); + buffInfo_ = null; + if (buffInfoBuilder_ != null) { + buffInfoBuilder_.dispose(); + buffInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .BuffInfo BuffInfo = 11; + */ + public com.caliverse.admin.domain.RabbitMq.message.BuffInfo.Builder getBuffInfoBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getBuffInfoFieldBuilder().getBuilder(); + } + /** + * .BuffInfo BuffInfo = 11; + */ + public com.caliverse.admin.domain.RabbitMq.message.BuffInfoOrBuilder getBuffInfoOrBuilder() { + if (buffInfoBuilder_ != null) { + return buffInfoBuilder_.getMessageOrBuilder(); + } else { + return buffInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.BuffInfo.getDefaultInstance() : buffInfo_; + } + } + /** + * .BuffInfo BuffInfo = 11; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.BuffInfo, com.caliverse.admin.domain.RabbitMq.message.BuffInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.BuffInfoOrBuilder> + getBuffInfoFieldBuilder() { + if (buffInfoBuilder_ == null) { + buffInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.BuffInfo, com.caliverse.admin.domain.RabbitMq.message.BuffInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.BuffInfoOrBuilder>( + getBuffInfo(), + getParentForChildren(), + isClean()); + buffInfo_ = null; + } + return buffInfoBuilder_; + } + + private java.lang.Object usergroup_ = ""; + /** + * string usergroup = 12; + * @return The usergroup. + */ + public java.lang.String getUsergroup() { + java.lang.Object ref = usergroup_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + usergroup_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string usergroup = 12; + * @return The bytes for usergroup. + */ + public com.google.protobuf.ByteString + getUsergroupBytes() { + java.lang.Object ref = usergroup_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + usergroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string usergroup = 12; + * @param value The usergroup to set. + * @return This builder for chaining. + */ + public Builder setUsergroup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + usergroup_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * string usergroup = 12; + * @return This builder for chaining. + */ + public Builder clearUsergroup() { + usergroup_ = getDefaultInstance().getUsergroup(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + * string usergroup = 12; + * @param value The bytes for usergroup to set. + * @return This builder for chaining. + */ + public Builder setUsergroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + usergroup_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private int operator_ ; + /** + * int32 operator = 13; + * @return The operator. + */ + @java.lang.Override + public int getOperator() { + return operator_; + } + /** + * int32 operator = 13; + * @param value The operator to set. + * @return This builder for chaining. + */ + public Builder setOperator(int value) { + + operator_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * int32 operator = 13; + * @return This builder for chaining. + */ + public Builder clearOperator() { + bitField0_ = (bitField0_ & ~0x00000200); + operator_ = 0; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + /** + * string displayName = 14; + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string displayName = 14; + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString + getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string displayName = 14; + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + displayName_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * string displayName = 14; + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; + } + /** + * string displayName = 14; + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + private java.lang.Object occupiedAnchorGuid_ = ""; + /** + * string occupiedAnchorGuid = 15; + * @return The occupiedAnchorGuid. + */ + public java.lang.String getOccupiedAnchorGuid() { + java.lang.Object ref = occupiedAnchorGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + occupiedAnchorGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string occupiedAnchorGuid = 15; + * @return The bytes for occupiedAnchorGuid. + */ + public com.google.protobuf.ByteString + getOccupiedAnchorGuidBytes() { + java.lang.Object ref = occupiedAnchorGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + occupiedAnchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string occupiedAnchorGuid = 15; + * @param value The occupiedAnchorGuid to set. + * @return This builder for chaining. + */ + public Builder setOccupiedAnchorGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + occupiedAnchorGuid_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * string occupiedAnchorGuid = 15; + * @return This builder for chaining. + */ + public Builder clearOccupiedAnchorGuid() { + occupiedAnchorGuid_ = getDefaultInstance().getOccupiedAnchorGuid(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + /** + * string occupiedAnchorGuid = 15; + * @param value The bytes for occupiedAnchorGuid to set. + * @return This builder for chaining. + */ + public Builder setOccupiedAnchorGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + occupiedAnchorGuid_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + + private int state_ ; + /** + * int32 state = 16; + * @return The state. + */ + @java.lang.Override + public int getState() { + return state_; + } + /** + * int32 state = 16; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(int value) { + + state_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * int32 state = 16; + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00001000); + state_ = 0; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo entityStateInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder> entityStateInfoBuilder_; + /** + * .EntityStateInfo entityStateInfo = 21; + * @return Whether the entityStateInfo field is set. + */ + public boolean hasEntityStateInfo() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + * .EntityStateInfo entityStateInfo = 21; + * @return The entityStateInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getEntityStateInfo() { + if (entityStateInfoBuilder_ == null) { + return entityStateInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } else { + return entityStateInfoBuilder_.getMessage(); + } + } + /** + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder setEntityStateInfo(com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo value) { + if (entityStateInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + entityStateInfo_ = value; + } else { + entityStateInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder setEntityStateInfo( + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder builderForValue) { + if (entityStateInfoBuilder_ == null) { + entityStateInfo_ = builderForValue.build(); + } else { + entityStateInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder mergeEntityStateInfo(com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo value) { + if (entityStateInfoBuilder_ == null) { + if (((bitField0_ & 0x00002000) != 0) && + entityStateInfo_ != null && + entityStateInfo_ != com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance()) { + getEntityStateInfoBuilder().mergeFrom(value); + } else { + entityStateInfo_ = value; + } + } else { + entityStateInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder clearEntityStateInfo() { + bitField0_ = (bitField0_ & ~0x00002000); + entityStateInfo_ = null; + if (entityStateInfoBuilder_ != null) { + entityStateInfoBuilder_.dispose(); + entityStateInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .EntityStateInfo entityStateInfo = 21; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder getEntityStateInfoBuilder() { + bitField0_ |= 0x00002000; + onChanged(); + return getEntityStateInfoFieldBuilder().getBuilder(); + } + /** + * .EntityStateInfo entityStateInfo = 21; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder getEntityStateInfoOrBuilder() { + if (entityStateInfoBuilder_ != null) { + return entityStateInfoBuilder_.getMessageOrBuilder(); + } else { + return entityStateInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } + } + /** + * .EntityStateInfo entityStateInfo = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder> + getEntityStateInfoFieldBuilder() { + if (entityStateInfoBuilder_ == null) { + entityStateInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder>( + getEntityStateInfo(), + getParentForChildren(), + isClean()); + entityStateInfo_ = null; + } + return entityStateInfoBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:GameActor) + } + + // @@protoc_insertion_point(class_scope:GameActor) + private static final com.caliverse.admin.domain.RabbitMq.message.GameActor DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.GameActor(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.GameActor getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameActor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.GameActor getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameActorOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameActorOrBuilder.java new file mode 100644 index 0000000..0839d5c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameActorOrBuilder.java @@ -0,0 +1,195 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface GameActorOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameActor) + com.google.protobuf.MessageOrBuilder { + + /** + * string actorGuid = 1; + * @return The actorGuid. + */ + java.lang.String getActorGuid(); + /** + * string actorGuid = 1; + * @return The bytes for actorGuid. + */ + com.google.protobuf.ByteString + getActorGuidBytes(); + + /** + * string name = 2; + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 2; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + * .AvatarInfo avatarInfo = 3; + * @return Whether the avatarInfo field is set. + */ + boolean hasAvatarInfo(); + /** + * .AvatarInfo avatarInfo = 3; + * @return The avatarInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo getAvatarInfo(); + /** + * .AvatarInfo avatarInfo = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder getAvatarInfoOrBuilder(); + + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + * @return Whether the clothInfo field is set. + */ + boolean hasClothInfo(); + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + * @return The clothInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUser getClothInfo(); + /** + * .ClothInfoOfAnotherUser clothInfo = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOfAnotherUserOrBuilder getClothInfoOrBuilder(); + + /** + * .EquipInfo equipInfo = 5; + * @return Whether the equipInfo field is set. + */ + boolean hasEquipInfo(); + /** + * .EquipInfo equipInfo = 5; + * @return The equipInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.EquipInfo getEquipInfo(); + /** + * .EquipInfo equipInfo = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder getEquipInfoOrBuilder(); + + /** + * .Pos pos = 6; + * @return Whether the pos field is set. + */ + boolean hasPos(); + /** + * .Pos pos = 6; + * @return The pos. + */ + com.caliverse.admin.domain.RabbitMq.message.Pos getPos(); + /** + * .Pos pos = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder(); + + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + java.util.List + getTattooInfoListList(); + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getTattooInfoList(int index); + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + int getTattooInfoListCount(); + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + java.util.List + getTattooInfoListOrBuilderList(); + /** + * repeated .TattooSlotInfo tattooInfoList = 7; + */ + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfoOrBuilder getTattooInfoListOrBuilder( + int index); + + /** + * .BuffInfo BuffInfo = 11; + * @return Whether the buffInfo field is set. + */ + boolean hasBuffInfo(); + /** + * .BuffInfo BuffInfo = 11; + * @return The buffInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.BuffInfo getBuffInfo(); + /** + * .BuffInfo BuffInfo = 11; + */ + com.caliverse.admin.domain.RabbitMq.message.BuffInfoOrBuilder getBuffInfoOrBuilder(); + + /** + * string usergroup = 12; + * @return The usergroup. + */ + java.lang.String getUsergroup(); + /** + * string usergroup = 12; + * @return The bytes for usergroup. + */ + com.google.protobuf.ByteString + getUsergroupBytes(); + + /** + * int32 operator = 13; + * @return The operator. + */ + int getOperator(); + + /** + * string displayName = 14; + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + * string displayName = 14; + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString + getDisplayNameBytes(); + + /** + * string occupiedAnchorGuid = 15; + * @return The occupiedAnchorGuid. + */ + java.lang.String getOccupiedAnchorGuid(); + /** + * string occupiedAnchorGuid = 15; + * @return The bytes for occupiedAnchorGuid. + */ + com.google.protobuf.ByteString + getOccupiedAnchorGuidBytes(); + + /** + * int32 state = 16; + * @return The state. + */ + int getState(); + + /** + * .EntityStateInfo entityStateInfo = 21; + * @return Whether the entityStateInfo field is set. + */ + boolean hasEntityStateInfo(); + /** + * .EntityStateInfo entityStateInfo = 21; + * @return The entityStateInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getEntityStateInfo(); + /** + * .EntityStateInfo entityStateInfo = 21; + */ + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder getEntityStateInfoOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameCharacter.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameCharacter.java new file mode 100644 index 0000000..8340e95 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameCharacter.java @@ -0,0 +1,2681 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code GameCharacter} + */ +public final class GameCharacter extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameCharacter) + GameCharacterOrBuilder { +private static final long serialVersionUID = 0L; + // Use GameCharacter.newBuilder() to construct. + private GameCharacter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GameCharacter() { + name_ = ""; + guid_ = ""; + toolSlot_ = com.google.protobuf.LazyStringArrayList.EMPTY; + slotCount_ = emptyIntList(); + tattooInfoList_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameCharacter(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameCharacter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameCharacter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.GameCharacter.class, com.caliverse.admin.domain.RabbitMq.message.GameCharacter.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+   *  Id 濹
+   * 
+ * + * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   *  Id 濹
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object guid_ = ""; + /** + * string guid = 2; + * @return The guid. + */ + @java.lang.Override + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } + } + /** + * string guid = 2; + * @return The bytes for guid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CHARINFO_FIELD_NUMBER = 3; + private com.caliverse.admin.domain.RabbitMq.message.CharInfo charInfo_; + /** + * .CharInfo charInfo = 3; + * @return Whether the charInfo field is set. + */ + @java.lang.Override + public boolean hasCharInfo() { + return charInfo_ != null; + } + /** + * .CharInfo charInfo = 3; + * @return The charInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CharInfo getCharInfo() { + return charInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.CharInfo.getDefaultInstance() : charInfo_; + } + /** + * .CharInfo charInfo = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CharInfoOrBuilder getCharInfoOrBuilder() { + return charInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.CharInfo.getDefaultInstance() : charInfo_; + } + + public static final int EQUIPINFO_FIELD_NUMBER = 4; + private com.caliverse.admin.domain.RabbitMq.message.EquipInfo equipInfo_; + /** + * .EquipInfo equipInfo = 4; + * @return Whether the equipInfo field is set. + */ + @java.lang.Override + public boolean hasEquipInfo() { + return equipInfo_ != null; + } + /** + * .EquipInfo equipInfo = 4; + * @return The equipInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EquipInfo getEquipInfo() { + return equipInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EquipInfo.getDefaultInstance() : equipInfo_; + } + /** + * .EquipInfo equipInfo = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder getEquipInfoOrBuilder() { + return equipInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EquipInfo.getDefaultInstance() : equipInfo_; + } + + public static final int AVATARINFO_FIELD_NUMBER = 5; + private com.caliverse.admin.domain.RabbitMq.message.AvatarInfo avatarInfo_; + /** + * .AvatarInfo avatarInfo = 5; + * @return Whether the avatarInfo field is set. + */ + @java.lang.Override + public boolean hasAvatarInfo() { + return avatarInfo_ != null; + } + /** + * .AvatarInfo avatarInfo = 5; + * @return The avatarInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo getAvatarInfo() { + return avatarInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance() : avatarInfo_; + } + /** + * .AvatarInfo avatarInfo = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder getAvatarInfoOrBuilder() { + return avatarInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance() : avatarInfo_; + } + + public static final int CLOTHINFO_FIELD_NUMBER = 6; + private com.caliverse.admin.domain.RabbitMq.message.ClothInfo clothInfo_; + /** + * .ClothInfo clothInfo = 6; + * @return Whether the clothInfo field is set. + */ + @java.lang.Override + public boolean hasClothInfo() { + return clothInfo_ != null; + } + /** + * .ClothInfo clothInfo = 6; + * @return The clothInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClothInfo getClothInfo() { + return clothInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ClothInfo.getDefaultInstance() : clothInfo_; + } + /** + * .ClothInfo clothInfo = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ClothInfoOrBuilder getClothInfoOrBuilder() { + return clothInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ClothInfo.getDefaultInstance() : clothInfo_; + } + + public static final int CHARPOS_FIELD_NUMBER = 7; + private com.caliverse.admin.domain.RabbitMq.message.CharPos charPos_; + /** + * .CharPos charPos = 7; + * @return Whether the charPos field is set. + */ + @java.lang.Override + public boolean hasCharPos() { + return charPos_ != null; + } + /** + * .CharPos charPos = 7; + * @return The charPos. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CharPos getCharPos() { + return charPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.CharPos.getDefaultInstance() : charPos_; + } + /** + * .CharPos charPos = 7; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CharPosOrBuilder getCharPosOrBuilder() { + return charPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.CharPos.getDefaultInstance() : charPos_; + } + + public static final int INVENTORY_FIELD_NUMBER = 8; + private com.caliverse.admin.domain.RabbitMq.message.Inventory inventory_; + /** + * .Inventory inventory = 8; + * @return Whether the inventory field is set. + */ + @java.lang.Override + public boolean hasInventory() { + return inventory_ != null; + } + /** + * .Inventory inventory = 8; + * @return The inventory. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Inventory getInventory() { + return inventory_ == null ? com.caliverse.admin.domain.RabbitMq.message.Inventory.getDefaultInstance() : inventory_; + } + /** + * .Inventory inventory = 8; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InventoryOrBuilder getInventoryOrBuilder() { + return inventory_ == null ? com.caliverse.admin.domain.RabbitMq.message.Inventory.getDefaultInstance() : inventory_; + } + + public static final int TOOLSLOT_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList toolSlot_; + /** + * repeated string toolSlot = 9; + * @return A list containing the toolSlot. + */ + public com.google.protobuf.ProtocolStringList + getToolSlotList() { + return toolSlot_; + } + /** + * repeated string toolSlot = 9; + * @return The count of toolSlot. + */ + public int getToolSlotCount() { + return toolSlot_.size(); + } + /** + * repeated string toolSlot = 9; + * @param index The index of the element to return. + * @return The toolSlot at the given index. + */ + public java.lang.String getToolSlot(int index) { + return toolSlot_.get(index); + } + /** + * repeated string toolSlot = 9; + * @param index The index of the value to return. + * @return The bytes of the toolSlot at the given index. + */ + public com.google.protobuf.ByteString + getToolSlotBytes(int index) { + return toolSlot_.getByteString(index); + } + + public static final int SLOTCOUNT_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList slotCount_; + /** + * repeated int32 SlotCount = 10; + * @return A list containing the slotCount. + */ + @java.lang.Override + public java.util.List + getSlotCountList() { + return slotCount_; + } + /** + * repeated int32 SlotCount = 10; + * @return The count of slotCount. + */ + public int getSlotCountCount() { + return slotCount_.size(); + } + /** + * repeated int32 SlotCount = 10; + * @param index The index of the element to return. + * @return The slotCount at the given index. + */ + public int getSlotCount(int index) { + return slotCount_.getInt(index); + } + private int slotCountMemoizedSerializedSize = -1; + + public static final int CHANNELINFO_FIELD_NUMBER = 12; + private com.caliverse.admin.domain.RabbitMq.message.ChannelInfo channelInfo_; + /** + * .ChannelInfo channelInfo = 12; + * @return Whether the channelInfo field is set. + */ + @java.lang.Override + public boolean hasChannelInfo() { + return channelInfo_ != null; + } + /** + * .ChannelInfo channelInfo = 12; + * @return The channelInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ChannelInfo getChannelInfo() { + return channelInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.getDefaultInstance() : channelInfo_; + } + /** + * .ChannelInfo channelInfo = 12; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ChannelInfoOrBuilder getChannelInfoOrBuilder() { + return channelInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.getDefaultInstance() : channelInfo_; + } + + public static final int TATTOOINFOLIST_FIELD_NUMBER = 13; + @SuppressWarnings("serial") + private java.util.List tattooInfoList_; + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + @java.lang.Override + public java.util.List getTattooInfoListList() { + return tattooInfoList_; + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + @java.lang.Override + public java.util.List + getTattooInfoListOrBuilderList() { + return tattooInfoList_; + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + @java.lang.Override + public int getTattooInfoListCount() { + return tattooInfoList_.size(); + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo getTattooInfoList(int index) { + return tattooInfoList_.get(index); + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfoOrBuilder getTattooInfoListOrBuilder( + int index) { + return tattooInfoList_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, guid_); + } + if (charInfo_ != null) { + output.writeMessage(3, getCharInfo()); + } + if (equipInfo_ != null) { + output.writeMessage(4, getEquipInfo()); + } + if (avatarInfo_ != null) { + output.writeMessage(5, getAvatarInfo()); + } + if (clothInfo_ != null) { + output.writeMessage(6, getClothInfo()); + } + if (charPos_ != null) { + output.writeMessage(7, getCharPos()); + } + if (inventory_ != null) { + output.writeMessage(8, getInventory()); + } + for (int i = 0; i < toolSlot_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, toolSlot_.getRaw(i)); + } + if (getSlotCountList().size() > 0) { + output.writeUInt32NoTag(82); + output.writeUInt32NoTag(slotCountMemoizedSerializedSize); + } + for (int i = 0; i < slotCount_.size(); i++) { + output.writeInt32NoTag(slotCount_.getInt(i)); + } + if (channelInfo_ != null) { + output.writeMessage(12, getChannelInfo()); + } + for (int i = 0; i < tattooInfoList_.size(); i++) { + output.writeMessage(13, tattooInfoList_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, guid_); + } + if (charInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCharInfo()); + } + if (equipInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEquipInfo()); + } + if (avatarInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getAvatarInfo()); + } + if (clothInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getClothInfo()); + } + if (charPos_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCharPos()); + } + if (inventory_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getInventory()); + } + { + int dataSize = 0; + for (int i = 0; i < toolSlot_.size(); i++) { + dataSize += computeStringSizeNoTag(toolSlot_.getRaw(i)); + } + size += dataSize; + size += 1 * getToolSlotList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < slotCount_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(slotCount_.getInt(i)); + } + size += dataSize; + if (!getSlotCountList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + slotCountMemoizedSerializedSize = dataSize; + } + if (channelInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getChannelInfo()); + } + for (int i = 0; i < tattooInfoList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, tattooInfoList_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.GameCharacter)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.GameCharacter other = (com.caliverse.admin.domain.RabbitMq.message.GameCharacter) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getGuid() + .equals(other.getGuid())) return false; + if (hasCharInfo() != other.hasCharInfo()) return false; + if (hasCharInfo()) { + if (!getCharInfo() + .equals(other.getCharInfo())) return false; + } + if (hasEquipInfo() != other.hasEquipInfo()) return false; + if (hasEquipInfo()) { + if (!getEquipInfo() + .equals(other.getEquipInfo())) return false; + } + if (hasAvatarInfo() != other.hasAvatarInfo()) return false; + if (hasAvatarInfo()) { + if (!getAvatarInfo() + .equals(other.getAvatarInfo())) return false; + } + if (hasClothInfo() != other.hasClothInfo()) return false; + if (hasClothInfo()) { + if (!getClothInfo() + .equals(other.getClothInfo())) return false; + } + if (hasCharPos() != other.hasCharPos()) return false; + if (hasCharPos()) { + if (!getCharPos() + .equals(other.getCharPos())) return false; + } + if (hasInventory() != other.hasInventory()) return false; + if (hasInventory()) { + if (!getInventory() + .equals(other.getInventory())) return false; + } + if (!getToolSlotList() + .equals(other.getToolSlotList())) return false; + if (!getSlotCountList() + .equals(other.getSlotCountList())) return false; + if (hasChannelInfo() != other.hasChannelInfo()) return false; + if (hasChannelInfo()) { + if (!getChannelInfo() + .equals(other.getChannelInfo())) return false; + } + if (!getTattooInfoListList() + .equals(other.getTattooInfoListList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + GUID_FIELD_NUMBER; + hash = (53 * hash) + getGuid().hashCode(); + if (hasCharInfo()) { + hash = (37 * hash) + CHARINFO_FIELD_NUMBER; + hash = (53 * hash) + getCharInfo().hashCode(); + } + if (hasEquipInfo()) { + hash = (37 * hash) + EQUIPINFO_FIELD_NUMBER; + hash = (53 * hash) + getEquipInfo().hashCode(); + } + if (hasAvatarInfo()) { + hash = (37 * hash) + AVATARINFO_FIELD_NUMBER; + hash = (53 * hash) + getAvatarInfo().hashCode(); + } + if (hasClothInfo()) { + hash = (37 * hash) + CLOTHINFO_FIELD_NUMBER; + hash = (53 * hash) + getClothInfo().hashCode(); + } + if (hasCharPos()) { + hash = (37 * hash) + CHARPOS_FIELD_NUMBER; + hash = (53 * hash) + getCharPos().hashCode(); + } + if (hasInventory()) { + hash = (37 * hash) + INVENTORY_FIELD_NUMBER; + hash = (53 * hash) + getInventory().hashCode(); + } + if (getToolSlotCount() > 0) { + hash = (37 * hash) + TOOLSLOT_FIELD_NUMBER; + hash = (53 * hash) + getToolSlotList().hashCode(); + } + if (getSlotCountCount() > 0) { + hash = (37 * hash) + SLOTCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getSlotCountList().hashCode(); + } + if (hasChannelInfo()) { + hash = (37 * hash) + CHANNELINFO_FIELD_NUMBER; + hash = (53 * hash) + getChannelInfo().hashCode(); + } + if (getTattooInfoListCount() > 0) { + hash = (37 * hash) + TATTOOINFOLIST_FIELD_NUMBER; + hash = (53 * hash) + getTattooInfoListList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.GameCharacter prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code GameCharacter} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameCharacter) + com.caliverse.admin.domain.RabbitMq.message.GameCharacterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameCharacter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameCharacter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.GameCharacter.class, com.caliverse.admin.domain.RabbitMq.message.GameCharacter.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.GameCharacter.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + guid_ = ""; + charInfo_ = null; + if (charInfoBuilder_ != null) { + charInfoBuilder_.dispose(); + charInfoBuilder_ = null; + } + equipInfo_ = null; + if (equipInfoBuilder_ != null) { + equipInfoBuilder_.dispose(); + equipInfoBuilder_ = null; + } + avatarInfo_ = null; + if (avatarInfoBuilder_ != null) { + avatarInfoBuilder_.dispose(); + avatarInfoBuilder_ = null; + } + clothInfo_ = null; + if (clothInfoBuilder_ != null) { + clothInfoBuilder_.dispose(); + clothInfoBuilder_ = null; + } + charPos_ = null; + if (charPosBuilder_ != null) { + charPosBuilder_.dispose(); + charPosBuilder_ = null; + } + inventory_ = null; + if (inventoryBuilder_ != null) { + inventoryBuilder_.dispose(); + inventoryBuilder_ = null; + } + toolSlot_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000100); + slotCount_ = emptyIntList(); + channelInfo_ = null; + if (channelInfoBuilder_ != null) { + channelInfoBuilder_.dispose(); + channelInfoBuilder_ = null; + } + if (tattooInfoListBuilder_ == null) { + tattooInfoList_ = java.util.Collections.emptyList(); + } else { + tattooInfoList_ = null; + tattooInfoListBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000800); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameCharacter_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.GameCharacter getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameCharacter.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.GameCharacter build() { + com.caliverse.admin.domain.RabbitMq.message.GameCharacter result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.GameCharacter buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.GameCharacter result = new com.caliverse.admin.domain.RabbitMq.message.GameCharacter(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.GameCharacter result) { + if (((bitField0_ & 0x00000100) != 0)) { + toolSlot_ = toolSlot_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000100); + } + result.toolSlot_ = toolSlot_; + if (((bitField0_ & 0x00000200) != 0)) { + slotCount_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000200); + } + result.slotCount_ = slotCount_; + if (tattooInfoListBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0)) { + tattooInfoList_ = java.util.Collections.unmodifiableList(tattooInfoList_); + bitField0_ = (bitField0_ & ~0x00000800); + } + result.tattooInfoList_ = tattooInfoList_; + } else { + result.tattooInfoList_ = tattooInfoListBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.GameCharacter result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.guid_ = guid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.charInfo_ = charInfoBuilder_ == null + ? charInfo_ + : charInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.equipInfo_ = equipInfoBuilder_ == null + ? equipInfo_ + : equipInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.avatarInfo_ = avatarInfoBuilder_ == null + ? avatarInfo_ + : avatarInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.clothInfo_ = clothInfoBuilder_ == null + ? clothInfo_ + : clothInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.charPos_ = charPosBuilder_ == null + ? charPos_ + : charPosBuilder_.build(); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.inventory_ = inventoryBuilder_ == null + ? inventory_ + : inventoryBuilder_.build(); + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.channelInfo_ = channelInfoBuilder_ == null + ? channelInfo_ + : channelInfoBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.GameCharacter) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.GameCharacter)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.GameCharacter other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.GameCharacter.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getGuid().isEmpty()) { + guid_ = other.guid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasCharInfo()) { + mergeCharInfo(other.getCharInfo()); + } + if (other.hasEquipInfo()) { + mergeEquipInfo(other.getEquipInfo()); + } + if (other.hasAvatarInfo()) { + mergeAvatarInfo(other.getAvatarInfo()); + } + if (other.hasClothInfo()) { + mergeClothInfo(other.getClothInfo()); + } + if (other.hasCharPos()) { + mergeCharPos(other.getCharPos()); + } + if (other.hasInventory()) { + mergeInventory(other.getInventory()); + } + if (!other.toolSlot_.isEmpty()) { + if (toolSlot_.isEmpty()) { + toolSlot_ = other.toolSlot_; + bitField0_ = (bitField0_ & ~0x00000100); + } else { + ensureToolSlotIsMutable(); + toolSlot_.addAll(other.toolSlot_); + } + onChanged(); + } + if (!other.slotCount_.isEmpty()) { + if (slotCount_.isEmpty()) { + slotCount_ = other.slotCount_; + bitField0_ = (bitField0_ & ~0x00000200); + } else { + ensureSlotCountIsMutable(); + slotCount_.addAll(other.slotCount_); + } + onChanged(); + } + if (other.hasChannelInfo()) { + mergeChannelInfo(other.getChannelInfo()); + } + if (tattooInfoListBuilder_ == null) { + if (!other.tattooInfoList_.isEmpty()) { + if (tattooInfoList_.isEmpty()) { + tattooInfoList_ = other.tattooInfoList_; + bitField0_ = (bitField0_ & ~0x00000800); + } else { + ensureTattooInfoListIsMutable(); + tattooInfoList_.addAll(other.tattooInfoList_); + } + onChanged(); + } + } else { + if (!other.tattooInfoList_.isEmpty()) { + if (tattooInfoListBuilder_.isEmpty()) { + tattooInfoListBuilder_.dispose(); + tattooInfoListBuilder_ = null; + tattooInfoList_ = other.tattooInfoList_; + bitField0_ = (bitField0_ & ~0x00000800); + tattooInfoListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTattooInfoListFieldBuilder() : null; + } else { + tattooInfoListBuilder_.addAllMessages(other.tattooInfoList_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + guid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCharInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getEquipInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getAvatarInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getClothInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getCharPosFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + input.readMessage( + getInventoryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + ensureToolSlotIsMutable(); + toolSlot_.add(s); + break; + } // case 74 + case 80: { + int v = input.readInt32(); + ensureSlotCountIsMutable(); + slotCount_.addInt(v); + break; + } // case 80 + case 82: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureSlotCountIsMutable(); + while (input.getBytesUntilLimit() > 0) { + slotCount_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 82 + case 98: { + input.readMessage( + getChannelInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 98 + case 106: { + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.parser(), + extensionRegistry); + if (tattooInfoListBuilder_ == null) { + ensureTattooInfoListIsMutable(); + tattooInfoList_.add(m); + } else { + tattooInfoListBuilder_.addMessage(m); + } + break; + } // case 106 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+     *  Id 濹
+     * 
+ * + * string name = 1; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     *  Id 濹
+     * 
+ * + * string name = 1; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     *  Id 濹
+     * 
+ * + * string name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     *  Id 濹
+     * 
+ * + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     *  Id 濹
+     * 
+ * + * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object guid_ = ""; + /** + * string guid = 2; + * @return The guid. + */ + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string guid = 2; + * @return The bytes for guid. + */ + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string guid = 2; + * @param value The guid to set. + * @return This builder for chaining. + */ + public Builder setGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + guid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string guid = 2; + * @return This builder for chaining. + */ + public Builder clearGuid() { + guid_ = getDefaultInstance().getGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string guid = 2; + * @param value The bytes for guid to set. + * @return This builder for chaining. + */ + public Builder setGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + guid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.CharInfo charInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.CharInfo, com.caliverse.admin.domain.RabbitMq.message.CharInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.CharInfoOrBuilder> charInfoBuilder_; + /** + * .CharInfo charInfo = 3; + * @return Whether the charInfo field is set. + */ + public boolean hasCharInfo() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .CharInfo charInfo = 3; + * @return The charInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.CharInfo getCharInfo() { + if (charInfoBuilder_ == null) { + return charInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.CharInfo.getDefaultInstance() : charInfo_; + } else { + return charInfoBuilder_.getMessage(); + } + } + /** + * .CharInfo charInfo = 3; + */ + public Builder setCharInfo(com.caliverse.admin.domain.RabbitMq.message.CharInfo value) { + if (charInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + charInfo_ = value; + } else { + charInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .CharInfo charInfo = 3; + */ + public Builder setCharInfo( + com.caliverse.admin.domain.RabbitMq.message.CharInfo.Builder builderForValue) { + if (charInfoBuilder_ == null) { + charInfo_ = builderForValue.build(); + } else { + charInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .CharInfo charInfo = 3; + */ + public Builder mergeCharInfo(com.caliverse.admin.domain.RabbitMq.message.CharInfo value) { + if (charInfoBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + charInfo_ != null && + charInfo_ != com.caliverse.admin.domain.RabbitMq.message.CharInfo.getDefaultInstance()) { + getCharInfoBuilder().mergeFrom(value); + } else { + charInfo_ = value; + } + } else { + charInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .CharInfo charInfo = 3; + */ + public Builder clearCharInfo() { + bitField0_ = (bitField0_ & ~0x00000004); + charInfo_ = null; + if (charInfoBuilder_ != null) { + charInfoBuilder_.dispose(); + charInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .CharInfo charInfo = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.CharInfo.Builder getCharInfoBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getCharInfoFieldBuilder().getBuilder(); + } + /** + * .CharInfo charInfo = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.CharInfoOrBuilder getCharInfoOrBuilder() { + if (charInfoBuilder_ != null) { + return charInfoBuilder_.getMessageOrBuilder(); + } else { + return charInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.CharInfo.getDefaultInstance() : charInfo_; + } + } + /** + * .CharInfo charInfo = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.CharInfo, com.caliverse.admin.domain.RabbitMq.message.CharInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.CharInfoOrBuilder> + getCharInfoFieldBuilder() { + if (charInfoBuilder_ == null) { + charInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.CharInfo, com.caliverse.admin.domain.RabbitMq.message.CharInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.CharInfoOrBuilder>( + getCharInfo(), + getParentForChildren(), + isClean()); + charInfo_ = null; + } + return charInfoBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.EquipInfo equipInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EquipInfo, com.caliverse.admin.domain.RabbitMq.message.EquipInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder> equipInfoBuilder_; + /** + * .EquipInfo equipInfo = 4; + * @return Whether the equipInfo field is set. + */ + public boolean hasEquipInfo() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .EquipInfo equipInfo = 4; + * @return The equipInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.EquipInfo getEquipInfo() { + if (equipInfoBuilder_ == null) { + return equipInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EquipInfo.getDefaultInstance() : equipInfo_; + } else { + return equipInfoBuilder_.getMessage(); + } + } + /** + * .EquipInfo equipInfo = 4; + */ + public Builder setEquipInfo(com.caliverse.admin.domain.RabbitMq.message.EquipInfo value) { + if (equipInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + equipInfo_ = value; + } else { + equipInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .EquipInfo equipInfo = 4; + */ + public Builder setEquipInfo( + com.caliverse.admin.domain.RabbitMq.message.EquipInfo.Builder builderForValue) { + if (equipInfoBuilder_ == null) { + equipInfo_ = builderForValue.build(); + } else { + equipInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .EquipInfo equipInfo = 4; + */ + public Builder mergeEquipInfo(com.caliverse.admin.domain.RabbitMq.message.EquipInfo value) { + if (equipInfoBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + equipInfo_ != null && + equipInfo_ != com.caliverse.admin.domain.RabbitMq.message.EquipInfo.getDefaultInstance()) { + getEquipInfoBuilder().mergeFrom(value); + } else { + equipInfo_ = value; + } + } else { + equipInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .EquipInfo equipInfo = 4; + */ + public Builder clearEquipInfo() { + bitField0_ = (bitField0_ & ~0x00000008); + equipInfo_ = null; + if (equipInfoBuilder_ != null) { + equipInfoBuilder_.dispose(); + equipInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .EquipInfo equipInfo = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.EquipInfo.Builder getEquipInfoBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getEquipInfoFieldBuilder().getBuilder(); + } + /** + * .EquipInfo equipInfo = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder getEquipInfoOrBuilder() { + if (equipInfoBuilder_ != null) { + return equipInfoBuilder_.getMessageOrBuilder(); + } else { + return equipInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.EquipInfo.getDefaultInstance() : equipInfo_; + } + } + /** + * .EquipInfo equipInfo = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EquipInfo, com.caliverse.admin.domain.RabbitMq.message.EquipInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder> + getEquipInfoFieldBuilder() { + if (equipInfoBuilder_ == null) { + equipInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EquipInfo, com.caliverse.admin.domain.RabbitMq.message.EquipInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder>( + getEquipInfo(), + getParentForChildren(), + isClean()); + equipInfo_ = null; + } + return equipInfoBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.AvatarInfo avatarInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo, com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder> avatarInfoBuilder_; + /** + * .AvatarInfo avatarInfo = 5; + * @return Whether the avatarInfo field is set. + */ + public boolean hasAvatarInfo() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .AvatarInfo avatarInfo = 5; + * @return The avatarInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo getAvatarInfo() { + if (avatarInfoBuilder_ == null) { + return avatarInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance() : avatarInfo_; + } else { + return avatarInfoBuilder_.getMessage(); + } + } + /** + * .AvatarInfo avatarInfo = 5; + */ + public Builder setAvatarInfo(com.caliverse.admin.domain.RabbitMq.message.AvatarInfo value) { + if (avatarInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + avatarInfo_ = value; + } else { + avatarInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .AvatarInfo avatarInfo = 5; + */ + public Builder setAvatarInfo( + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder builderForValue) { + if (avatarInfoBuilder_ == null) { + avatarInfo_ = builderForValue.build(); + } else { + avatarInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .AvatarInfo avatarInfo = 5; + */ + public Builder mergeAvatarInfo(com.caliverse.admin.domain.RabbitMq.message.AvatarInfo value) { + if (avatarInfoBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + avatarInfo_ != null && + avatarInfo_ != com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance()) { + getAvatarInfoBuilder().mergeFrom(value); + } else { + avatarInfo_ = value; + } + } else { + avatarInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .AvatarInfo avatarInfo = 5; + */ + public Builder clearAvatarInfo() { + bitField0_ = (bitField0_ & ~0x00000010); + avatarInfo_ = null; + if (avatarInfoBuilder_ != null) { + avatarInfoBuilder_.dispose(); + avatarInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .AvatarInfo avatarInfo = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder getAvatarInfoBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getAvatarInfoFieldBuilder().getBuilder(); + } + /** + * .AvatarInfo avatarInfo = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder getAvatarInfoOrBuilder() { + if (avatarInfoBuilder_ != null) { + return avatarInfoBuilder_.getMessageOrBuilder(); + } else { + return avatarInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance() : avatarInfo_; + } + } + /** + * .AvatarInfo avatarInfo = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo, com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder> + getAvatarInfoFieldBuilder() { + if (avatarInfoBuilder_ == null) { + avatarInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo, com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder>( + getAvatarInfo(), + getParentForChildren(), + isClean()); + avatarInfo_ = null; + } + return avatarInfoBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.ClothInfo clothInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ClothInfo, com.caliverse.admin.domain.RabbitMq.message.ClothInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ClothInfoOrBuilder> clothInfoBuilder_; + /** + * .ClothInfo clothInfo = 6; + * @return Whether the clothInfo field is set. + */ + public boolean hasClothInfo() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * .ClothInfo clothInfo = 6; + * @return The clothInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.ClothInfo getClothInfo() { + if (clothInfoBuilder_ == null) { + return clothInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ClothInfo.getDefaultInstance() : clothInfo_; + } else { + return clothInfoBuilder_.getMessage(); + } + } + /** + * .ClothInfo clothInfo = 6; + */ + public Builder setClothInfo(com.caliverse.admin.domain.RabbitMq.message.ClothInfo value) { + if (clothInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + clothInfo_ = value; + } else { + clothInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .ClothInfo clothInfo = 6; + */ + public Builder setClothInfo( + com.caliverse.admin.domain.RabbitMq.message.ClothInfo.Builder builderForValue) { + if (clothInfoBuilder_ == null) { + clothInfo_ = builderForValue.build(); + } else { + clothInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .ClothInfo clothInfo = 6; + */ + public Builder mergeClothInfo(com.caliverse.admin.domain.RabbitMq.message.ClothInfo value) { + if (clothInfoBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + clothInfo_ != null && + clothInfo_ != com.caliverse.admin.domain.RabbitMq.message.ClothInfo.getDefaultInstance()) { + getClothInfoBuilder().mergeFrom(value); + } else { + clothInfo_ = value; + } + } else { + clothInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .ClothInfo clothInfo = 6; + */ + public Builder clearClothInfo() { + bitField0_ = (bitField0_ & ~0x00000020); + clothInfo_ = null; + if (clothInfoBuilder_ != null) { + clothInfoBuilder_.dispose(); + clothInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .ClothInfo clothInfo = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.ClothInfo.Builder getClothInfoBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getClothInfoFieldBuilder().getBuilder(); + } + /** + * .ClothInfo clothInfo = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.ClothInfoOrBuilder getClothInfoOrBuilder() { + if (clothInfoBuilder_ != null) { + return clothInfoBuilder_.getMessageOrBuilder(); + } else { + return clothInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.ClothInfo.getDefaultInstance() : clothInfo_; + } + } + /** + * .ClothInfo clothInfo = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ClothInfo, com.caliverse.admin.domain.RabbitMq.message.ClothInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ClothInfoOrBuilder> + getClothInfoFieldBuilder() { + if (clothInfoBuilder_ == null) { + clothInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ClothInfo, com.caliverse.admin.domain.RabbitMq.message.ClothInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ClothInfoOrBuilder>( + getClothInfo(), + getParentForChildren(), + isClean()); + clothInfo_ = null; + } + return clothInfoBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.CharPos charPos_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.CharPos, com.caliverse.admin.domain.RabbitMq.message.CharPos.Builder, com.caliverse.admin.domain.RabbitMq.message.CharPosOrBuilder> charPosBuilder_; + /** + * .CharPos charPos = 7; + * @return Whether the charPos field is set. + */ + public boolean hasCharPos() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * .CharPos charPos = 7; + * @return The charPos. + */ + public com.caliverse.admin.domain.RabbitMq.message.CharPos getCharPos() { + if (charPosBuilder_ == null) { + return charPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.CharPos.getDefaultInstance() : charPos_; + } else { + return charPosBuilder_.getMessage(); + } + } + /** + * .CharPos charPos = 7; + */ + public Builder setCharPos(com.caliverse.admin.domain.RabbitMq.message.CharPos value) { + if (charPosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + charPos_ = value; + } else { + charPosBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .CharPos charPos = 7; + */ + public Builder setCharPos( + com.caliverse.admin.domain.RabbitMq.message.CharPos.Builder builderForValue) { + if (charPosBuilder_ == null) { + charPos_ = builderForValue.build(); + } else { + charPosBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .CharPos charPos = 7; + */ + public Builder mergeCharPos(com.caliverse.admin.domain.RabbitMq.message.CharPos value) { + if (charPosBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + charPos_ != null && + charPos_ != com.caliverse.admin.domain.RabbitMq.message.CharPos.getDefaultInstance()) { + getCharPosBuilder().mergeFrom(value); + } else { + charPos_ = value; + } + } else { + charPosBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .CharPos charPos = 7; + */ + public Builder clearCharPos() { + bitField0_ = (bitField0_ & ~0x00000040); + charPos_ = null; + if (charPosBuilder_ != null) { + charPosBuilder_.dispose(); + charPosBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .CharPos charPos = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.CharPos.Builder getCharPosBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getCharPosFieldBuilder().getBuilder(); + } + /** + * .CharPos charPos = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.CharPosOrBuilder getCharPosOrBuilder() { + if (charPosBuilder_ != null) { + return charPosBuilder_.getMessageOrBuilder(); + } else { + return charPos_ == null ? + com.caliverse.admin.domain.RabbitMq.message.CharPos.getDefaultInstance() : charPos_; + } + } + /** + * .CharPos charPos = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.CharPos, com.caliverse.admin.domain.RabbitMq.message.CharPos.Builder, com.caliverse.admin.domain.RabbitMq.message.CharPosOrBuilder> + getCharPosFieldBuilder() { + if (charPosBuilder_ == null) { + charPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.CharPos, com.caliverse.admin.domain.RabbitMq.message.CharPos.Builder, com.caliverse.admin.domain.RabbitMq.message.CharPosOrBuilder>( + getCharPos(), + getParentForChildren(), + isClean()); + charPos_ = null; + } + return charPosBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.Inventory inventory_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Inventory, com.caliverse.admin.domain.RabbitMq.message.Inventory.Builder, com.caliverse.admin.domain.RabbitMq.message.InventoryOrBuilder> inventoryBuilder_; + /** + * .Inventory inventory = 8; + * @return Whether the inventory field is set. + */ + public boolean hasInventory() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * .Inventory inventory = 8; + * @return The inventory. + */ + public com.caliverse.admin.domain.RabbitMq.message.Inventory getInventory() { + if (inventoryBuilder_ == null) { + return inventory_ == null ? com.caliverse.admin.domain.RabbitMq.message.Inventory.getDefaultInstance() : inventory_; + } else { + return inventoryBuilder_.getMessage(); + } + } + /** + * .Inventory inventory = 8; + */ + public Builder setInventory(com.caliverse.admin.domain.RabbitMq.message.Inventory value) { + if (inventoryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inventory_ = value; + } else { + inventoryBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .Inventory inventory = 8; + */ + public Builder setInventory( + com.caliverse.admin.domain.RabbitMq.message.Inventory.Builder builderForValue) { + if (inventoryBuilder_ == null) { + inventory_ = builderForValue.build(); + } else { + inventoryBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .Inventory inventory = 8; + */ + public Builder mergeInventory(com.caliverse.admin.domain.RabbitMq.message.Inventory value) { + if (inventoryBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + inventory_ != null && + inventory_ != com.caliverse.admin.domain.RabbitMq.message.Inventory.getDefaultInstance()) { + getInventoryBuilder().mergeFrom(value); + } else { + inventory_ = value; + } + } else { + inventoryBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .Inventory inventory = 8; + */ + public Builder clearInventory() { + bitField0_ = (bitField0_ & ~0x00000080); + inventory_ = null; + if (inventoryBuilder_ != null) { + inventoryBuilder_.dispose(); + inventoryBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Inventory inventory = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.Inventory.Builder getInventoryBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getInventoryFieldBuilder().getBuilder(); + } + /** + * .Inventory inventory = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.InventoryOrBuilder getInventoryOrBuilder() { + if (inventoryBuilder_ != null) { + return inventoryBuilder_.getMessageOrBuilder(); + } else { + return inventory_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Inventory.getDefaultInstance() : inventory_; + } + } + /** + * .Inventory inventory = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Inventory, com.caliverse.admin.domain.RabbitMq.message.Inventory.Builder, com.caliverse.admin.domain.RabbitMq.message.InventoryOrBuilder> + getInventoryFieldBuilder() { + if (inventoryBuilder_ == null) { + inventoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Inventory, com.caliverse.admin.domain.RabbitMq.message.Inventory.Builder, com.caliverse.admin.domain.RabbitMq.message.InventoryOrBuilder>( + getInventory(), + getParentForChildren(), + isClean()); + inventory_ = null; + } + return inventoryBuilder_; + } + + private com.google.protobuf.LazyStringList toolSlot_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureToolSlotIsMutable() { + if (!((bitField0_ & 0x00000100) != 0)) { + toolSlot_ = new com.google.protobuf.LazyStringArrayList(toolSlot_); + bitField0_ |= 0x00000100; + } + } + /** + * repeated string toolSlot = 9; + * @return A list containing the toolSlot. + */ + public com.google.protobuf.ProtocolStringList + getToolSlotList() { + return toolSlot_.getUnmodifiableView(); + } + /** + * repeated string toolSlot = 9; + * @return The count of toolSlot. + */ + public int getToolSlotCount() { + return toolSlot_.size(); + } + /** + * repeated string toolSlot = 9; + * @param index The index of the element to return. + * @return The toolSlot at the given index. + */ + public java.lang.String getToolSlot(int index) { + return toolSlot_.get(index); + } + /** + * repeated string toolSlot = 9; + * @param index The index of the value to return. + * @return The bytes of the toolSlot at the given index. + */ + public com.google.protobuf.ByteString + getToolSlotBytes(int index) { + return toolSlot_.getByteString(index); + } + /** + * repeated string toolSlot = 9; + * @param index The index to set the value at. + * @param value The toolSlot to set. + * @return This builder for chaining. + */ + public Builder setToolSlot( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureToolSlotIsMutable(); + toolSlot_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string toolSlot = 9; + * @param value The toolSlot to add. + * @return This builder for chaining. + */ + public Builder addToolSlot( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureToolSlotIsMutable(); + toolSlot_.add(value); + onChanged(); + return this; + } + /** + * repeated string toolSlot = 9; + * @param values The toolSlot to add. + * @return This builder for chaining. + */ + public Builder addAllToolSlot( + java.lang.Iterable values) { + ensureToolSlotIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, toolSlot_); + onChanged(); + return this; + } + /** + * repeated string toolSlot = 9; + * @return This builder for chaining. + */ + public Builder clearToolSlot() { + toolSlot_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + * repeated string toolSlot = 9; + * @param value The bytes of the toolSlot to add. + * @return This builder for chaining. + */ + public Builder addToolSlotBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureToolSlotIsMutable(); + toolSlot_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList slotCount_ = emptyIntList(); + private void ensureSlotCountIsMutable() { + if (!((bitField0_ & 0x00000200) != 0)) { + slotCount_ = mutableCopy(slotCount_); + bitField0_ |= 0x00000200; + } + } + /** + * repeated int32 SlotCount = 10; + * @return A list containing the slotCount. + */ + public java.util.List + getSlotCountList() { + return ((bitField0_ & 0x00000200) != 0) ? + java.util.Collections.unmodifiableList(slotCount_) : slotCount_; + } + /** + * repeated int32 SlotCount = 10; + * @return The count of slotCount. + */ + public int getSlotCountCount() { + return slotCount_.size(); + } + /** + * repeated int32 SlotCount = 10; + * @param index The index of the element to return. + * @return The slotCount at the given index. + */ + public int getSlotCount(int index) { + return slotCount_.getInt(index); + } + /** + * repeated int32 SlotCount = 10; + * @param index The index to set the value at. + * @param value The slotCount to set. + * @return This builder for chaining. + */ + public Builder setSlotCount( + int index, int value) { + + ensureSlotCountIsMutable(); + slotCount_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated int32 SlotCount = 10; + * @param value The slotCount to add. + * @return This builder for chaining. + */ + public Builder addSlotCount(int value) { + + ensureSlotCountIsMutable(); + slotCount_.addInt(value); + onChanged(); + return this; + } + /** + * repeated int32 SlotCount = 10; + * @param values The slotCount to add. + * @return This builder for chaining. + */ + public Builder addAllSlotCount( + java.lang.Iterable values) { + ensureSlotCountIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, slotCount_); + onChanged(); + return this; + } + /** + * repeated int32 SlotCount = 10; + * @return This builder for chaining. + */ + public Builder clearSlotCount() { + slotCount_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.ChannelInfo channelInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ChannelInfo, com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ChannelInfoOrBuilder> channelInfoBuilder_; + /** + * .ChannelInfo channelInfo = 12; + * @return Whether the channelInfo field is set. + */ + public boolean hasChannelInfo() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * .ChannelInfo channelInfo = 12; + * @return The channelInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.ChannelInfo getChannelInfo() { + if (channelInfoBuilder_ == null) { + return channelInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.getDefaultInstance() : channelInfo_; + } else { + return channelInfoBuilder_.getMessage(); + } + } + /** + * .ChannelInfo channelInfo = 12; + */ + public Builder setChannelInfo(com.caliverse.admin.domain.RabbitMq.message.ChannelInfo value) { + if (channelInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + channelInfo_ = value; + } else { + channelInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * .ChannelInfo channelInfo = 12; + */ + public Builder setChannelInfo( + com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.Builder builderForValue) { + if (channelInfoBuilder_ == null) { + channelInfo_ = builderForValue.build(); + } else { + channelInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * .ChannelInfo channelInfo = 12; + */ + public Builder mergeChannelInfo(com.caliverse.admin.domain.RabbitMq.message.ChannelInfo value) { + if (channelInfoBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) && + channelInfo_ != null && + channelInfo_ != com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.getDefaultInstance()) { + getChannelInfoBuilder().mergeFrom(value); + } else { + channelInfo_ = value; + } + } else { + channelInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * .ChannelInfo channelInfo = 12; + */ + public Builder clearChannelInfo() { + bitField0_ = (bitField0_ & ~0x00000400); + channelInfo_ = null; + if (channelInfoBuilder_ != null) { + channelInfoBuilder_.dispose(); + channelInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .ChannelInfo channelInfo = 12; + */ + public com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.Builder getChannelInfoBuilder() { + bitField0_ |= 0x00000400; + onChanged(); + return getChannelInfoFieldBuilder().getBuilder(); + } + /** + * .ChannelInfo channelInfo = 12; + */ + public com.caliverse.admin.domain.RabbitMq.message.ChannelInfoOrBuilder getChannelInfoOrBuilder() { + if (channelInfoBuilder_ != null) { + return channelInfoBuilder_.getMessageOrBuilder(); + } else { + return channelInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.getDefaultInstance() : channelInfo_; + } + } + /** + * .ChannelInfo channelInfo = 12; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ChannelInfo, com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ChannelInfoOrBuilder> + getChannelInfoFieldBuilder() { + if (channelInfoBuilder_ == null) { + channelInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ChannelInfo, com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ChannelInfoOrBuilder>( + getChannelInfo(), + getParentForChildren(), + isClean()); + channelInfo_ = null; + } + return channelInfoBuilder_; + } + + private java.util.List tattooInfoList_ = + java.util.Collections.emptyList(); + private void ensureTattooInfoListIsMutable() { + if (!((bitField0_ & 0x00000800) != 0)) { + tattooInfoList_ = new java.util.ArrayList(tattooInfoList_); + bitField0_ |= 0x00000800; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfoOrBuilder> tattooInfoListBuilder_; + + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public java.util.List getTattooInfoListList() { + if (tattooInfoListBuilder_ == null) { + return java.util.Collections.unmodifiableList(tattooInfoList_); + } else { + return tattooInfoListBuilder_.getMessageList(); + } + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public int getTattooInfoListCount() { + if (tattooInfoListBuilder_ == null) { + return tattooInfoList_.size(); + } else { + return tattooInfoListBuilder_.getCount(); + } + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo getTattooInfoList(int index) { + if (tattooInfoListBuilder_ == null) { + return tattooInfoList_.get(index); + } else { + return tattooInfoListBuilder_.getMessage(index); + } + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public Builder setTattooInfoList( + int index, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo value) { + if (tattooInfoListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTattooInfoListIsMutable(); + tattooInfoList_.set(index, value); + onChanged(); + } else { + tattooInfoListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public Builder setTattooInfoList( + int index, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.Builder builderForValue) { + if (tattooInfoListBuilder_ == null) { + ensureTattooInfoListIsMutable(); + tattooInfoList_.set(index, builderForValue.build()); + onChanged(); + } else { + tattooInfoListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public Builder addTattooInfoList(com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo value) { + if (tattooInfoListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTattooInfoListIsMutable(); + tattooInfoList_.add(value); + onChanged(); + } else { + tattooInfoListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public Builder addTattooInfoList( + int index, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo value) { + if (tattooInfoListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTattooInfoListIsMutable(); + tattooInfoList_.add(index, value); + onChanged(); + } else { + tattooInfoListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public Builder addTattooInfoList( + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.Builder builderForValue) { + if (tattooInfoListBuilder_ == null) { + ensureTattooInfoListIsMutable(); + tattooInfoList_.add(builderForValue.build()); + onChanged(); + } else { + tattooInfoListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public Builder addTattooInfoList( + int index, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.Builder builderForValue) { + if (tattooInfoListBuilder_ == null) { + ensureTattooInfoListIsMutable(); + tattooInfoList_.add(index, builderForValue.build()); + onChanged(); + } else { + tattooInfoListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public Builder addAllTattooInfoList( + java.lang.Iterable values) { + if (tattooInfoListBuilder_ == null) { + ensureTattooInfoListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tattooInfoList_); + onChanged(); + } else { + tattooInfoListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public Builder clearTattooInfoList() { + if (tattooInfoListBuilder_ == null) { + tattooInfoList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + } else { + tattooInfoListBuilder_.clear(); + } + return this; + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public Builder removeTattooInfoList(int index) { + if (tattooInfoListBuilder_ == null) { + ensureTattooInfoListIsMutable(); + tattooInfoList_.remove(index); + onChanged(); + } else { + tattooInfoListBuilder_.remove(index); + } + return this; + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.Builder getTattooInfoListBuilder( + int index) { + return getTattooInfoListFieldBuilder().getBuilder(index); + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfoOrBuilder getTattooInfoListOrBuilder( + int index) { + if (tattooInfoListBuilder_ == null) { + return tattooInfoList_.get(index); } else { + return tattooInfoListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public java.util.List + getTattooInfoListOrBuilderList() { + if (tattooInfoListBuilder_ != null) { + return tattooInfoListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(tattooInfoList_); + } + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.Builder addTattooInfoListBuilder() { + return getTattooInfoListFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.getDefaultInstance()); + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.Builder addTattooInfoListBuilder( + int index) { + return getTattooInfoListFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.getDefaultInstance()); + } + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + public java.util.List + getTattooInfoListBuilderList() { + return getTattooInfoListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfoOrBuilder> + getTattooInfoListFieldBuilder() { + if (tattooInfoListBuilder_ == null) { + tattooInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfoOrBuilder>( + tattooInfoList_, + ((bitField0_ & 0x00000800) != 0), + getParentForChildren(), + isClean()); + tattooInfoList_ = null; + } + return tattooInfoListBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:GameCharacter) + } + + // @@protoc_insertion_point(class_scope:GameCharacter) + private static final com.caliverse.admin.domain.RabbitMq.message.GameCharacter DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.GameCharacter(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.GameCharacter getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameCharacter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.GameCharacter getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameCharacterOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameCharacterOrBuilder.java new file mode 100644 index 0000000..845f1ef --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameCharacterOrBuilder.java @@ -0,0 +1,212 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface GameCharacterOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameCharacter) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *  Id 濹
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   *  Id 濹
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + * string guid = 2; + * @return The guid. + */ + java.lang.String getGuid(); + /** + * string guid = 2; + * @return The bytes for guid. + */ + com.google.protobuf.ByteString + getGuidBytes(); + + /** + * .CharInfo charInfo = 3; + * @return Whether the charInfo field is set. + */ + boolean hasCharInfo(); + /** + * .CharInfo charInfo = 3; + * @return The charInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.CharInfo getCharInfo(); + /** + * .CharInfo charInfo = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.CharInfoOrBuilder getCharInfoOrBuilder(); + + /** + * .EquipInfo equipInfo = 4; + * @return Whether the equipInfo field is set. + */ + boolean hasEquipInfo(); + /** + * .EquipInfo equipInfo = 4; + * @return The equipInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.EquipInfo getEquipInfo(); + /** + * .EquipInfo equipInfo = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.EquipInfoOrBuilder getEquipInfoOrBuilder(); + + /** + * .AvatarInfo avatarInfo = 5; + * @return Whether the avatarInfo field is set. + */ + boolean hasAvatarInfo(); + /** + * .AvatarInfo avatarInfo = 5; + * @return The avatarInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.AvatarInfo getAvatarInfo(); + /** + * .AvatarInfo avatarInfo = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder getAvatarInfoOrBuilder(); + + /** + * .ClothInfo clothInfo = 6; + * @return Whether the clothInfo field is set. + */ + boolean hasClothInfo(); + /** + * .ClothInfo clothInfo = 6; + * @return The clothInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.ClothInfo getClothInfo(); + /** + * .ClothInfo clothInfo = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.ClothInfoOrBuilder getClothInfoOrBuilder(); + + /** + * .CharPos charPos = 7; + * @return Whether the charPos field is set. + */ + boolean hasCharPos(); + /** + * .CharPos charPos = 7; + * @return The charPos. + */ + com.caliverse.admin.domain.RabbitMq.message.CharPos getCharPos(); + /** + * .CharPos charPos = 7; + */ + com.caliverse.admin.domain.RabbitMq.message.CharPosOrBuilder getCharPosOrBuilder(); + + /** + * .Inventory inventory = 8; + * @return Whether the inventory field is set. + */ + boolean hasInventory(); + /** + * .Inventory inventory = 8; + * @return The inventory. + */ + com.caliverse.admin.domain.RabbitMq.message.Inventory getInventory(); + /** + * .Inventory inventory = 8; + */ + com.caliverse.admin.domain.RabbitMq.message.InventoryOrBuilder getInventoryOrBuilder(); + + /** + * repeated string toolSlot = 9; + * @return A list containing the toolSlot. + */ + java.util.List + getToolSlotList(); + /** + * repeated string toolSlot = 9; + * @return The count of toolSlot. + */ + int getToolSlotCount(); + /** + * repeated string toolSlot = 9; + * @param index The index of the element to return. + * @return The toolSlot at the given index. + */ + java.lang.String getToolSlot(int index); + /** + * repeated string toolSlot = 9; + * @param index The index of the value to return. + * @return The bytes of the toolSlot at the given index. + */ + com.google.protobuf.ByteString + getToolSlotBytes(int index); + + /** + * repeated int32 SlotCount = 10; + * @return A list containing the slotCount. + */ + java.util.List getSlotCountList(); + /** + * repeated int32 SlotCount = 10; + * @return The count of slotCount. + */ + int getSlotCountCount(); + /** + * repeated int32 SlotCount = 10; + * @param index The index of the element to return. + * @return The slotCount at the given index. + */ + int getSlotCount(int index); + + /** + * .ChannelInfo channelInfo = 12; + * @return Whether the channelInfo field is set. + */ + boolean hasChannelInfo(); + /** + * .ChannelInfo channelInfo = 12; + * @return The channelInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.ChannelInfo getChannelInfo(); + /** + * .ChannelInfo channelInfo = 12; + */ + com.caliverse.admin.domain.RabbitMq.message.ChannelInfoOrBuilder getChannelInfoOrBuilder(); + + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + java.util.List + getTattooInfoListList(); + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo getTattooInfoList(int index); + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + int getTattooInfoListCount(); + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + java.util.List + getTattooInfoListOrBuilderList(); + /** + * repeated .MyTattooSlotInfo tattooInfoList = 13; + */ + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfoOrBuilder getTattooInfoListOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameDefine.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameDefine.java new file mode 100644 index 0000000..63d93e3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameDefine.java @@ -0,0 +1,1998 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public final class GameDefine { + private GameDefine() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_P2PGroupType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_P2PGroupType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LevelExp_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LevelExp_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LevelExpById_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LevelExpById_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LevelExpById_LevelExpsByMetaIdEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LevelExpById_LevelExpsByMetaIdEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LevelExpById_LevelExpsByGuidEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LevelExpById_LevelExpsByGuidEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LevelExpDeltaAmount_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LevelExpDeltaAmount_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LevelExpDeltaAmountById_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LevelExpDeltaAmountById_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LevelExpDeltaAmountById_DeltasByMetaIdEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LevelExpDeltaAmountById_DeltasByMetaIdEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LevelExpDeltaAmountById_DeltasByGuidEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LevelExpDeltaAmountById_DeltasByGuidEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_AppearanceCustomization_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AppearanceCustomization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_AppearanceProfile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AppearanceProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_AppearanceProfile_ValuesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AppearanceProfile_ValuesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_AbilityInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AbilityInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_AbilityInfo_ValuesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AbilityInfo_ValuesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_Buff_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Buff_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_BuffInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_BuffInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_AvatarInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AvatarInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ClothInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ClothInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ClothInfoOfAnotherUser_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ClothInfoOfAnotherUser_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_CartItemInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_CartItemInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_EquipInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_EquipInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_TattooInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TattooInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_TattooSlotInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TattooSlotInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_MyTattooSlotInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MyTattooSlotInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_AttributeInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AttributeInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_Inventory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Inventory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_CharInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_CharInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_CharPos_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_CharPos_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameCharacter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameCharacter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameActor_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameActor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_EntityStateInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_EntityStateInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_PropInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PropInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_SlotInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_SlotInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LandInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LandInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_BuildingInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_BuildingInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LandLinkedInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LandLinkedInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LandLinkedInfo_FloorLinkedInfosEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LandLinkedInfo_FloorLinkedInfosEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_FloorLinkedInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_FloorLinkedInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_RoomInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_RoomInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ElevatorFloorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ElevatorFloorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_MyHomeObjectSlotInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MyHomeObjectSlotInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ModifyFloorLinkedInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ModifyFloorLinkedInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_MailItem_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MailItem_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_MailInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MailInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_LocatedInstanceContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LocatedInstanceContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_QuestMailInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_QuestMailInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_FriendInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_FriendInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_FriendNickNameInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_FriendNickNameInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_QuestInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_QuestInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_QuestMetaInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_QuestMetaInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_QuestAssignMetaInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_QuestAssignMetaInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_QuestTaskMetaInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_QuestTaskMetaInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_QuestEndInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_QuestEndInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_BlockInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_BlockInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_FriendFolder_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_FriendFolder_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_FriendRequestInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_FriendRequestInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_FriendErrorMember_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_FriendErrorMember_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ClaimEventActiveInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ClaimEventActiveInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_InvitePartyErrorMember_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_InvitePartyErrorMember_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_InvitePartyState_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_InvitePartyState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_InvitePartySendState_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_InvitePartySendState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_PartyState_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PartyState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_PartyMemberState_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PartyMemberState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ShopItemInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ShopItemInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ShopPacketInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ShopPacketInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_SelledItem_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_SelledItem_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ItemGuidCount_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ItemGuidCount_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_TattooRagisterInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TattooRagisterInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_Item_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Item_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ItemAmount_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ItemAmount_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ItemDeltaAmount_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ItemDeltaAmount_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ItemResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ItemResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ItemResult_UpdatedItemsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ItemResult_UpdatedItemsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ItemResult_NewItemsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ItemResult_NewItemsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ItemResult_DeltaPerMetaEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ItemResult_DeltaPerMetaEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ItemResult_DeltaPerItemsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ItemResult_DeltaPerItemsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_MoneyResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MoneyResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_MoneyResult_MoneysEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MoneyResult_MoneysEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_MoneyResult_DeltasEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MoneyResult_DeltasEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ExpResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ExpResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ExpResult_LevelExpsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ExpResult_LevelExpsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ExpResult_LevelExpDeltasEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ExpResult_LevelExpDeltasEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_EntityCommonResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_EntityCommonResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_CommonResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_CommonResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_CraftInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_CraftInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgcNpcSummary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgcNpcSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgcNpcCompact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgcNpcCompact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgcNpcItems_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgcNpcItems_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgcNpcItems_HasItemsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgcNpcItems_HasItemsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgcNpcItems_HasTattooInfosEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgcNpcItems_HasTattooInfosEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgcNpcAppearance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgcNpcAppearance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgcNpcEntity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgcNpcEntity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgcNpcRank_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgcNpcRank_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgcNpcInteraction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgcNpcInteraction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqCurrentState_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqCurrentState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqQuestInTestState_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqQuestInTestState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqBoardItem_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqBoardItem_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqBoardItemDetail_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqBoardItemDetail_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqGameTextDataForClient_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqGameTextDataForClient_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqGameTaskDataForClient_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqGameTaskDataForClient_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqDialogSequenceAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqDialogSequenceAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqDialogueSequences_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqDialogueSequences_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqDialogueReturns_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqDialogueReturns_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqGameQuestDialogue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqGameQuestDialogue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqGameQuestDataForClient_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqGameQuestDataForClient_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqDailyRewardCount_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqDailyRewardCount_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqBoardSearchResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqBoardSearchResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_DateRangeUgqBoardItem_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_DateRangeUgqBoardItem_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqBoardSportlightResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqBoardSportlightResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqNpcInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqNpcInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_AllUgqInfos_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AllUgqInfos_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_UgqGameQuestDataSimple_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UgqGameQuestDataSimple_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_FarmingSummary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_FarmingSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_RentalLandInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_RentalLandInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_RentalFloorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_RentalFloorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_OwnedRentalInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_OwnedRentalInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ModifyOwnedRentalInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ModifyOwnedRentalInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_RentFloorRequestInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_RentFloorRequestInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_OperationSystemMessage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_OperationSystemMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_MeetingRoomInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MeetingRoomInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\021Game_Define.proto\032\037google/protobuf/tim" + + "estamp.proto\032\023Define_Common.proto\032\023Defin" + + "e_Result.proto\"\034\n\014P2PGroupType\022\014\n\004Type\030\001" + + " \001(\005\"A\n\010LevelExp\022\r\n\005level\030\001 \001(\005\022\022\n\nexpIn" + + "Level\030\002 \001(\003\022\022\n\nexpInTotal\030\003 \001(\003\"\224\002\n\014Leve" + + "lExpById\022?\n\021levelExpsByMetaId\030\001 \003(\0132$.Le" + + "velExpById.LevelExpsByMetaIdEntry\022;\n\017lev" + + "elExpsByGuid\030\002 \003(\0132\".LevelExpById.LevelE" + + "xpsByGuidEntry\032C\n\026LevelExpsByMetaIdEntry" + + "\022\013\n\003key\030\001 \001(\r\022\030\n\005value\030\002 \001(\0132\t.LevelExp:" + + "\0028\001\032A\n\024LevelExpsByGuidEntry\022\013\n\003key\030\001 \001(\t" + + "\022\030\n\005value\030\002 \001(\0132\t.LevelExp:\0028\001\"e\n\023LevelE" + + "xpDeltaAmount\022&\n\014expDeltaType\030\001 \001(\0162\020.Am" + + "ountDeltaType\022\021\n\texpAmount\030\002 \001(\003\022\023\n\013leve" + + "lAmount\030\003 \001(\003\"\271\002\n\027LevelExpDeltaAmountByI" + + "d\022D\n\016deltasByMetaId\030\001 \003(\0132,.LevelExpDelt" + + "aAmountById.DeltasByMetaIdEntry\022@\n\014delta" + + "sByGuid\030\002 \003(\0132*.LevelExpDeltaAmountById." + + "DeltasByGuidEntry\032K\n\023DeltasByMetaIdEntry" + + "\022\013\n\003key\030\001 \001(\r\022#\n\005value\030\002 \001(\0132\024.LevelExpD" + + "eltaAmount:\0028\001\032I\n\021DeltasByGuidEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.LevelExpDeltaA" + + "mount:\0028\001\"i\n\027AppearanceCustomization\022\022\n\n" + + "basicStyle\030\001 \001(\005\022\021\n\tbodyShape\030\002 \001(\005\022\021\n\th" + + "airStyle\030\003 \001(\005\022\024\n\014customValues\030\005 \003(\005\"r\n\021" + + "AppearanceProfile\022.\n\006values\030\001 \003(\0132\036.Appe" + + "aranceProfile.ValuesEntry\032-\n\013ValuesEntry" + + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"f\n\013Abil" + + "ityInfo\022(\n\006values\030\001 \003(\0132\030.AbilityInfo.Va" + + "luesEntry\032-\n\013ValuesEntry\022\013\n\003key\030\001 \001(\005\022\r\n" + + "\005value\030\002 \001(\005:\0028\001\"I\n\004Buff\022\016\n\006buffId\030\001 \001(\005" + + "\0221\n\rbuffStartTime\030\002 \001(\0132\032.google.protobu" + + "f.Timestamp\"\037\n\010BuffInfo\022\023\n\004buff\030\001 \003(\0132\005." + + "Buff\"`\n\nAvatarInfo\022\021\n\tavatar_id\030\001 \001(\005\0221\n" + + "\017appearCustomize\030\007 \001(\0132\030.AppearanceCusto" + + "mization\022\014\n\004Init\030\006 \001(\r\"\201\005\n\tClothInfo\022\035\n\025" + + "cloth_avatar_itemGuid\030\001 \001(\t\022\037\n\027cloth_hea" + + "dwear_itemGuid\030\002 \001(\t\022\033\n\023cloth_mask_itemG" + + "uid\030\003 \001(\t\022\032\n\022cloth_bag_itemGuid\030\004 \001(\t\022\034\n" + + "\024cloth_shoes_itemGuid\030\005 \001(\t\022\034\n\024cloth_out" + + "er_itemGuid\030\006 \001(\t\022\033\n\023cloth_tops_itemGuid" + + "\030\007 \001(\t\022\036\n\026cloth_bottoms_itemGuid\030\010 \001(\t\022\035" + + "\n\025cloth_gloves_itemGuid\030\t \001(\t\022\037\n\027cloth_e" + + "arrings_itemGuid\030\n \001(\t\022\037\n\027cloth_neckless" + + "_itemGuid\030\013 \001(\t\022\034\n\024cloth_socks_itemGuid\030" + + "\014 \001(\t\022\024\n\014cloth_avatar\030\r \001(\r\022\026\n\016cloth_hea" + + "dwear\030\016 \001(\r\022\022\n\ncloth_mask\030\017 \001(\r\022\021\n\tcloth" + + "_bag\030\020 \001(\r\022\023\n\013cloth_shoes\030\021 \001(\r\022\023\n\013cloth" + + "_outer\030\022 \001(\r\022\022\n\ncloth_tops\030\023 \001(\r\022\025\n\rclot" + + "h_bottoms\030\024 \001(\r\022\024\n\014cloth_gloves\030\025 \001(\r\022\026\n" + + "\016cloth_earrings\030\026 \001(\r\022\026\n\016cloth_neckless\030" + + "\027 \001(\r\022\023\n\013cloth_socks\030\030 \001(\r\"\235\002\n\026ClothInfo" + + "OfAnotherUser\022\024\n\014cloth_avatar\030\001 \001(\r\022\026\n\016c" + + "loth_headwear\030\002 \001(\r\022\022\n\ncloth_mask\030\003 \001(\r\022" + + "\021\n\tcloth_bag\030\004 \001(\r\022\023\n\013cloth_shoes\030\005 \001(\r\022" + + "\023\n\013cloth_outer\030\006 \001(\r\022\022\n\ncloth_tops\030\007 \001(\r" + + "\022\025\n\rcloth_bottoms\030\010 \001(\r\022\024\n\014cloth_gloves\030" + + "\t \001(\r\022\026\n\016cloth_earrings\030\n \001(\r\022\026\n\016cloth_n" + + "eckless\030\013 \001(\r\022\023\n\013cloth_socks\030\014 \001(\r\"P\n\014Ca" + + "rtItemInfo\022\020\n\010itemGuid\030\001 \001(\t\022\016\n\006itemId\030\002" + + " \001(\005\022\r\n\005count\030\003 \001(\005\022\017\n\007buyType\030\004 \001(\t\"\201\001\n" + + "\tEquipInfo\022\024\n\014toolItemGuid\030\001 \001(\t\022\022\n\ntool" + + "ItemId\030\002 \001(\005\022\024\n\014toolItemStep\030\003 \001(\005\022\033\n\023to" + + "olItemRandomState\030\004 \001(\005\022\027\n\017actionStartTi" + + "me\030\005 \001(\003\"A\n\nTattooInfo\022\016\n\006ItemId\030\001 \001(\005\022\r" + + "\n\005level\030\002 \001(\005\022\024\n\014attributeids\030\003 \003(\005\"B\n\016T" + + "attooSlotInfo\022\035\n\010ItemInfo\030\001 \001(\0132\013.Tattoo" + + "Info\022\021\n\tisVisible\030\002 \001(\005\"7\n\020MyTattooSlotI" + + "nfo\022\020\n\010ItemGuid\030\001 \001(\t\022\021\n\tisVisible\030\002 \001(\005" + + "\"3\n\rAttributeInfo\022\023\n\013attributeid\030\001 \001(\005\022\r" + + "\n\005value\030\002 \001(\005\"\250\002\n\tInventory\022\026\n\007etcItem\030\001" + + " \003(\0132\005.Item\022\032\n\013costumeItem\030\002 \003(\0132\005.Item\022" + + "\033\n\014interiorItem\030\003 \003(\0132\005.Item\022\031\n\nbeautyIt" + + "em\030\004 \003(\0132\005.Item\022\031\n\ntattooItem\030\005 \003(\0132\005.It" + + "em\022\031\n\netcItemNft\030\006 \003(\0132\005.Item\022\035\n\016costume" + + "ItemNft\030\007 \003(\0132\005.Item\022\036\n\017interiorItemNft\030" + + "\010 \003(\0132\005.Item\022\034\n\rbeautyItemNft\030\t \003(\0132\005.It" + + "em\022\034\n\rtattooItemNft\030\n \003(\0132\005.Item\"\333\001\n\010Cha" + + "rInfo\022\r\n\005level\030\001 \001(\005\022\013\n\003exp\030\002 \001(\003\022\014\n\004gol" + + "d\030\003 \001(\001\022\020\n\010sapphire\030\004 \001(\001\022\016\n\006calium\030\005 \001(" + + "\001\022\014\n\004beam\030\006 \001(\001\022\014\n\004ruby\030\007 \001(\001\022\021\n\tusergro" + + "up\030\010 \001(\t\022\020\n\010operator\030\t \001(\005\022\023\n\013displayNam" + + "e\030\n \001(\t\022\024\n\014languageInfo\030\013 \001(\005\022\027\n\017isIntro" + + "Complete\030\014 \001(\005\",\n\007CharPos\022\016\n\006map_id\030\001 \001(" + + "\005\022\021\n\003pos\030\002 \001(\0132\004.Pos\"\324\002\n\rGameCharacter\022\014" + + "\n\004name\030\001 \001(\t\022\014\n\004guid\030\002 \001(\t\022\033\n\010charInfo\030\003" + + " \001(\0132\t.CharInfo\022\035\n\tequipInfo\030\004 \001(\0132\n.Equ" + + "ipInfo\022\037\n\navatarInfo\030\005 \001(\0132\013.AvatarInfo\022" + + "\035\n\tclothInfo\030\006 \001(\0132\n.ClothInfo\022\031\n\007charPo" + + "s\030\007 \001(\0132\010.CharPos\022\035\n\tinventory\030\010 \001(\0132\n.I" + + "nventory\022\020\n\010toolSlot\030\t \003(\t\022\021\n\tSlotCount\030" + + "\n \003(\005\022!\n\013channelInfo\030\014 \001(\0132\014.ChannelInfo" + + "\022)\n\016tattooInfoList\030\r \003(\0132\021.MyTattooSlotI" + + "nfo\"\201\003\n\tGameActor\022\021\n\tactorGuid\030\001 \001(\t\022\014\n\004" + + "name\030\002 \001(\t\022\037\n\navatarInfo\030\003 \001(\0132\013.AvatarI" + + "nfo\022*\n\tclothInfo\030\004 \001(\0132\027.ClothInfoOfAnot" + + "herUser\022\035\n\tequipInfo\030\005 \001(\0132\n.EquipInfo\022\021" + + "\n\003pos\030\006 \001(\0132\004.Pos\022\'\n\016tattooInfoList\030\007 \003(" + + "\0132\017.TattooSlotInfo\022\033\n\010BuffInfo\030\013 \001(\0132\t.B" + + "uffInfo\022\021\n\tusergroup\030\014 \001(\t\022\020\n\010operator\030\r" + + " \001(\005\022\023\n\013displayName\030\016 \001(\t\022\032\n\022occupiedAnc" + + "horGuid\030\017 \001(\t\022\r\n\005state\030\020 \001(\005\022)\n\017entitySt" + + "ateInfo\030\025 \001(\0132\020.EntityStateInfo\"i\n\017Entit" + + "yStateInfo\022#\n\tstateType\030\025 \001(\0162\020.EntitySt" + + "ateType\022\026\n\016anchorMetaGuid\030\026 \001(\t\022\031\n\021metaI" + + "dOfStateType\030\027 \001(\005\"\236\002\n\010PropInfo\022\022\n\nancho" + + "rGuid\030\001 \001(\t\022\r\n\005owner\030\002 \001(\t\022\031\n\021occupiedAc" + + "torGuid\030\003 \001(\t\022\017\n\007tableId\030\004 \001(\005\022\020\n\010itemGu" + + "id\030\005 \001(\t\022\022\n\nmannequins\030\006 \003(\005\022\020\n\010isUsable" + + "\030\007 \001(\005\022-\n\tstartTime\030\013 \001(\0132\032.google.proto" + + "buf.Timestamp\022+\n\007endTime\030\014 \001(\0132\032.google." + + "protobuf.Timestamp\022/\n\013respawnTime\030\r \001(\0132" + + "\032.google.protobuf.Timestamp\"$\n\010SlotInfo\022" + + "\014\n\004slot\030\001 \001(\005\022\n\n\002id\030\002 \001(\005\"y\n\010LandInfo\022\n\n" + + "\002id\030\001 \001(\005\022\r\n\005owner\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022\023" + + "\n\013description\030\004 \001(\t\022\022\n\nbuildingId\030\005 \001(\005\022" + + "\033\n\010propList\030\006 \003(\0132\t.PropInfo\"\206\001\n\014Buildin" + + "gInfo\022\n\n\002id\030\001 \001(\005\022\r\n\005owner\030\002 \001(\t\022\014\n\004name" + + "\030\003 \001(\t\022\023\n\013description\030\004 \001(\t\022\033\n\010roomList\030" + + "\005 \003(\0132\t.SlotInfo\022\033\n\010propList\030\006 \003(\0132\t.Pro" + + "pInfo\"\254\001\n\016LandLinkedInfo\022\016\n\006landId\030\001 \001(\005" + + "\022?\n\020FloorLinkedInfos\030\002 \003(\0132%.LandLinkedI" + + "nfo.FloorLinkedInfosEntry\032I\n\025FloorLinked" + + "InfosEntry\022\013\n\003key\030\001 \001(\005\022\037\n\005value\030\002 \001(\0132\020" + + ".FloorLinkedInfo:\0028\001\"&\n\017FloorLinkedInfo\022" + + "\023\n\013ugcNpcGuids\030\001 \003(\t\"e\n\010RoomInfo\022\n\n\002id\030\001" + + " \001(\005\022\r\n\005owner\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022\023\n\013des" + + "cription\030\004 \001(\t\022\033\n\010propList\030\006 \003(\0132\t.PropI" + + "nfo\"\275\001\n\021ElevatorFloorInfo\022\r\n\005floor\030\001 \001(\005" + + "\022\022\n\ninstanceId\030\002 \001(\005\022\023\n\013currentUser\030\003 \001(" + + "\005\022\021\n\townerName\030\004 \001(\t\022\024\n\014instanceName\030\005 \001" + + "(\t\022\030\n\020thumbnailImageId\030\006 \001(\005\022\023\n\013listImag" + + "eId\030\007 \001(\005\022\030\n\020enterPlayerCount\030\010 \001(\005\"9\n\024M" + + "yHomeObjectSlotInfo\022\017\n\007slotNum\030\001 \001(\005\022\020\n\010" + + "objectId\030\002 \001(\005\"\226\001\n\025ModifyFloorLinkedInfo" + + "\022\037\n\nmodifyType\030\001 \001(\0162\013.ModifyType\022\016\n\006lan" + + "dId\030\002 \001(\005\022\022\n\nbuildingId\030\003 \001(\005\022\r\n\005floor\030\004" + + " \001(\005\022)\n\017floorLinkedInfo\030\005 \001(\0132\020.FloorLin" + + "kedInfo\")\n\010MailItem\022\016\n\006itemId\030\001 \001(\005\022\r\n\005c" + + "ount\030\002 \001(\005\"\305\002\n\010MailInfo\022\017\n\007MailKey\030\001 \001(\t" + + "\022\016\n\006isRead\030\002 \001(\005\022\021\n\tisGetItem\030\003 \001(\005\022\020\n\010n" + + "ickName\030\004 \001(\t\022\r\n\005title\030\005 \001(\t\022\014\n\004text\030\006 \001" + + "(\t\022.\n\ncreateTime\030\007 \001(\0132\032.google.protobuf" + + ".Timestamp\022.\n\nexpireTime\030\010 \001(\0132\032.google." + + "protobuf.Timestamp\022\024\n\014isSystemMail\030\t \001(\005" + + "\022\020\n\010mailType\030\n \001(\005\022#\n\020isTextByMetaData\030\013" + + " \001(\0162\t.BoolType\022\033\n\010itemList\030\014 \003(\0132\t.Mail" + + "Item\022\014\n\004guid\030\r \001(\t\"h\n\026LocatedInstanceCon" + + "text\022\035\n\025locatedinstanceMetaId\030\001 \001(\005\022/\n\013l" + + "ocatedTime\030\013 \001(\0132\032.google.protobuf.Times" + + "tamp\"h\n\rQuestMailInfo\022\016\n\006isRead\030\001 \001(\005\022\027\n" + + "\017composedQuestId\030\002 \001(\003\022.\n\ncreateTime\030\003 \001" + + "(\0132\032.google.protobuf.Timestamp\"O\n\nFriend" + + "Info\022\014\n\004guid\030\001 \001(\t\022\020\n\010nickName\030\002 \001(\t\022\022\n\n" + + "folderName\030\003 \001(\t\022\r\n\005isNew\030\004 \001(\005\"@\n\022Frien" + + "dNickNameInfo\022\022\n\ntargetGuid\030\001 \001(\t\022\026\n\016tar" + + "getNickName\030\002 \001(\t\"\330\003\n\tQuestInfo\022\027\n\017compo" + + "sedQuestId\030\001 \001(\003\0223\n\017questAssignTime\030\002 \001(" + + "\0132\032.google.protobuf.Timestamp\022\026\n\016current" + + "TaskNum\030\003 \001(\005\0221\n\rtaskStartTime\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\0225\n\021questComplet" + + "eTime\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + + "\025\n\ractiveIdxList\030\006 \003(\005\022\022\n\nhasCounter\030\007 \001" + + "(\005\022\022\n\nminCounter\030\010 \001(\005\022\022\n\nmaxCounter\030\t \001" + + "(\005\022\026\n\016currentCounter\030\n \001(\005\022\022\n\nisComplete" + + "\030\013 \001(\005\022\035\n\025replacedRewardGroupId\030\014 \001(\005\022\020\n" + + "\010hasTimer\030\r \001(\005\0225\n\021timerCompleteTime\030\016 \001" + + "(\0132\032.google.protobuf.Timestamp\022\024\n\014active" + + "Events\030\017 \003(\t\"\254\002\n\rQuestMetaInfo\022\r\n\005index\030" + + "\001 \001(\005\022\027\n\017composedQuestId\030\002 \001(\003\022\023\n\013eventT" + + "arget\030\003 \001(\t\022\021\n\teventName\030\004 \001(\t\022\027\n\017eventC" + + "ondition1\030\005 \001(\t\022\027\n\017eventCondition2\030\006 \001(\t" + + "\022\027\n\017eventCondition3\030\007 \001(\t\022\026\n\016functionTar" + + "get\030\010 \001(\t\022\024\n\014functionName\030\t \001(\t\022\032\n\022funct" + + "ionCondition1\030\n \001(\t\022\032\n\022functionCondition" + + "2\030\013 \001(\t\022\032\n\022functionCondition3\030\014 \001(\t\"\314\002\n\023" + + "QuestAssignMetaInfo\022\027\n\017composedQuestId\030\001" + + " \001(\003\022\021\n\tquestType\030\002 \001(\t\022\016\n\006reveal\030\003 \001(\005\022" + + "\021\n\tquestName\030\004 \001(\t\022\022\n\nassignType\030\005 \001(\t\022\027" + + "\n\017requirementType\030\006 \001(\t\022\030\n\020requirementVa" + + "lue\030\007 \001(\r\022\023\n\013forceAccept\030\010 \001(\005\022\021\n\tmailTi" + + "tle\030\t \001(\t\022\022\n\nmailSender\030\n \001(\t\022\020\n\010mailDes" + + "c\030\013 \001(\t\022\020\n\010dialogue\030\014 \001(\t\022\026\n\016dialogueRes" + + "ult\030\r \001(\t\022\025\n\rrewardGroupId\030\016 \001(\005\022\020\n\010prio" + + "rity\030\017 \001(\005\"\263\001\n\021QuestTaskMetaInfo\022\013\n\003idx\030" + + "\001 \001(\005\022\027\n\017composedQuestId\030\002 \001(\003\022\017\n\007taskNu" + + "m\030\003 \001(\005\022\020\n\010taskName\030\004 \001(\t\022\025\n\rtaskConditi" + + "on\030\005 \001(\t\022\031\n\021taskConditionDesc\030\006 \001(\t\022\022\n\ns" + + "etCounter\030\007 \001(\005\022\017\n\007worldId\030\010 \001(\005\"j\n\014Ques" + + "tEndInfo\022\027\n\017composedQuestId\030\001 \001(\003\022\020\n\010end" + + "Count\030\002 \001(\005\022/\n\013lastEndTime\030\003 \001(\0132\032.googl" + + "e.protobuf.Timestamp\"j\n\tBlockInfo\022\014\n\004gui" + + "d\030\001 \001(\t\022\020\n\010nickName\030\002 \001(\t\022\r\n\005isNew\030\003 \001(\005" + + "\022.\n\ncreateTime\030\004 \001(\0132\032.google.protobuf.T" + + "imestamp\"\220\001\n\014FriendFolder\022\022\n\nfolderName\030" + + "\001 \001(\t\022\016\n\006isHold\030\002 \001(\005\022,\n\010holdTime\030\003 \001(\0132" + + "\032.google.protobuf.Timestamp\022.\n\ncreateTim" + + "e\030\004 \001(\0132\032.google.protobuf.Timestamp\"s\n\021F" + + "riendRequestInfo\022\014\n\004guid\030\001 \001(\t\022\020\n\010nickNa" + + "me\030\002 \001(\t\022\r\n\005isNew\030\003 \001(\005\022/\n\013requestTime\030\004" + + " \001(\0132\032.google.protobuf.Timestamp\"F\n\021Frie" + + "ndErrorMember\022#\n\terrorCode\030\001 \001(\0162\020.Serve" + + "rErrorCode\022\014\n\004guid\030\002 \001(\t\"_\n\024ClaimEventAc" + + "tiveInfo\022\027\n\017activeRewardIdx\030\001 \001(\005\022\022\n\nisC" + + "omplete\030\002 \001(\005\022\032\n\022rewardRemainSecond\030\003 \001(" + + "\003\"q\n\026InvitePartyErrorMember\022#\n\terrorCode" + + "\030\001 \001(\0162\020.ServerErrorCode\022\032\n\022inviteUserNi" + + "ckname\030\002 \001(\t\022\026\n\016inviteUserGuid\030\003 \001(\t\"\273\001\n" + + "\020InvitePartyState\022\027\n\017invitePartyGuid\030\001 \001" + + "(\t\022!\n\031invitePartyLeaderNickname\030\002 \001(\t\022\035\n" + + "\025invitePartyLeaderGuid\030\003 \001(\t\022\037\n\027currentP" + + "artyMemberCount\030\004 \001(\005\022+\n\007endTime\030\005 \001(\0132\032" + + ".google.protobuf.Timestamp\"w\n\024InvitePart" + + "ySendState\022\032\n\022inviteUserNickname\030\001 \001(\t\022\026" + + "\n\016inviteUserGuid\030\002 \001(\t\022+\n\007endTime\030\003 \001(\0132" + + "\032.google.protobuf.Timestamp\"U\n\nPartyStat" + + "e\022\021\n\tpartyName\030\001 \001(\t\022\033\n\023partyLeaderNickn" + + "ame\030\002 \001(\t\022\027\n\017partyMemberList\030\003 \003(\t\"\212\001\n\020P" + + "artyMemberState\022\022\n\nmemberGuid\030\001 \001(\t\022\026\n\016m" + + "emberNickname\030\002 \001(\t\022\016\n\006markId\030\003 \001(\005\022\021\n\003p" + + "os\030\004 \001(\0132\004.Pos\022\'\n\014locationInfo\030\005 \001(\0132\021.U" + + "serLocationInfo\"4\n\014ShopItemInfo\022\021\n\tProdu" + + "ctID\030\001 \001(\005\022\021\n\tLeftCount\030\002 \001(\001\"\205\001\n\016ShopPa" + + "cketInfo\022#\n\014ShopItemList\030\001 \003(\0132\r.ShopIte" + + "mInfo\022\030\n\020LeftTimeAsSecond\030\002 \001(\005\022\027\n\017maxRe" + + "newalCount\030\003 \001(\005\022\033\n\023currentRenewalCount\030" + + "\004 \001(\005\"=\n\nSelledItem\022\020\n\010ItemGuid\030\001 \001(\t\022\016\n" + + "\006ItemId\030\002 \001(\005\022\r\n\005Count\030\003 \001(\005\"4\n\rItemGuid" + + "Count\022\020\n\010ItemGuid\030\001 \001(\t\022\021\n\tItemCount\030\002 \001" + + "(\005\"9\n\022TattooRagisterInfo\022\020\n\010itemGuid\030\001 \001" + + "(\t\022\021\n\tslotIndex\030\002 \001(\005\"\312\001\n\004Item\022\020\n\010itemGu" + + "id\030\001 \001(\t\022\016\n\006itemId\030\002 \001(\005\022.\n\ncreateTime\030\003" + + " \001(\0132\032.google.protobuf.Timestamp\022.\n\nupda" + + "teTime\030\004 \001(\0132\032.google.protobuf.Timestamp" + + "\022\r\n\005count\030\005 \001(\005\022\014\n\004slot\030\006 \001(\005\022\r\n\005level\030\007" + + " \001(\005\022\024\n\014attributeids\030\010 \003(\005\",\n\nItemAmount" + + "\022\016\n\006metaId\030\001 \001(\r\022\016\n\006amount\030\002 \001(\005\"R\n\017Item" + + "DeltaAmount\022#\n\tdeltaType\030\001 \001(\0162\020.AmountD" + + "eltaType\022\032\n\005delta\030\002 \001(\0132\013.ItemAmount\"\341\003\n" + + "\nItemResult\0223\n\014updatedItems\030\001 \003(\0132\035.Item" + + "Result.UpdatedItemsEntry\022+\n\010newItems\030\002 \003" + + "(\0132\031.ItemResult.NewItemsEntry\022\024\n\014deleted" + + "Items\030\003 \003(\t\0223\n\014deltaPerMeta\030\004 \003(\0132\035.Item" + + "Result.DeltaPerMetaEntry\0225\n\rdeltaPerItem" + + "s\030\005 \003(\0132\036.ItemResult.DeltaPerItemsEntry\032" + + ":\n\021UpdatedItemsEntry\022\013\n\003key\030\001 \001(\t\022\024\n\005val" + + "ue\030\002 \001(\0132\005.Item:\0028\001\0326\n\rNewItemsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\024\n\005value\030\002 \001(\0132\005.Item:\0028\001\032E\n\021D" + + "eltaPerMetaEntry\022\013\n\003key\030\001 \001(\r\022\037\n\005value\030\002" + + " \001(\0132\020.ItemDeltaAmount:\0028\001\0324\n\022DeltaPerIt" + + "emsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\0028\001" + + "\"\332\001\n\013MoneyResult\022(\n\006moneys\030\001 \003(\0132\030.Money" + + "Result.MoneysEntry\022(\n\006deltas\030\002 \003(\0132\030.Mon" + + "eyResult.DeltasEntry\0325\n\013MoneysEntry\022\013\n\003k" + + "ey\030\001 \001(\005\022\025\n\005value\030\002 \001(\0132\006.Money:\0028\001\032@\n\013D" + + "eltasEntry\022\013\n\003key\030\001 \001(\005\022 \n\005value\030\002 \001(\0132\021" + + ".MoneyDeltaAmount:\0028\001\"\203\002\n\tExpResult\022,\n\tl" + + "evelExps\030\001 \003(\0132\031.ExpResult.LevelExpsEntr" + + "y\0226\n\016levelExpDeltas\030\002 \003(\0132\036.ExpResult.Le" + + "velExpDeltasEntry\032?\n\016LevelExpsEntry\022\013\n\003k" + + "ey\030\001 \001(\005\022\034\n\005value\030\002 \001(\0132\r.LevelExpById:\002" + + "8\001\032O\n\023LevelExpDeltasEntry\022\013\n\003key\030\001 \001(\005\022\'" + + "\n\005value\030\002 \001(\0132\030.LevelExpDeltaAmountById:" + + "\0028\001\"\232\001\n\022EntityCommonResult\022\037\n\nentityType" + + "\030\001 \001(\0162\013.EntityType\022\022\n\nentityGuid\030\002 \001(\t\022" + + "\033\n\005money\030\005 \001(\0132\014.MoneyResult\022\027\n\003exp\030\006 \001(" + + "\0132\n.ExpResult\022\031\n\004item\030\013 \001(\0132\013.ItemResult" + + "\"@\n\014CommonResult\0220\n\023entityCommonResults\030" + + "\001 \003(\0132\023.EntityCommonResult\"\262\001\n\tCraftInfo" + + "\022\023\n\013anchor_guid\030\001 \001(\t\022\023\n\013craftMetaId\030\002 \001" + + "(\005\0222\n\016craftStartTime\030\003 \001(\0132\032.google.prot" + + "obuf.Timestamp\0223\n\017craftFinishTime\030\004 \001(\0132" + + "\032.google.protobuf.Timestamp\022\022\n\nbeaconGui" + + "d\030\005 \001(\t\"\252\004\n\rUgcNpcSummary\022\026\n\016ugcNpcMetaG" + + "uid\030\001 \001(\t\022\025\n\rownerUserGuid\030\002 \001(\t\022\026\n\016body" + + "ItemMetaId\030\003 \001(\005\022\r\n\005title\030\004 \001(\t\022\020\n\010nickn" + + "ame\030\005 \001(\t\022\020\n\010greeting\030\006 \001(\t\022\024\n\014introduct" + + "ion\030\007 \001(\t\022\037\n\tabilities\030\010 \001(\0132\014.AbilityIn" + + "fo\022\026\n\016hashTagMetaIds\030\024 \003(\005\022)\n\017entityStat" + + "eInfo\030\025 \001(\0132\020.EntityStateInfo\022\023\n\013descrip" + + "tion\030\037 \001(\t\022\025\n\rworldScenario\030 \001(\t\022\035\n\025def" + + "aultSocialActionId\030! \001(\005\022\034\n\024habitSocialA" + + "ctionIds\030\" \003(\005\022\037\n\027dialogueSocialActionId" + + "s\030# \003(\005\0221\n\017appearCustomize\030) \001(\0132\030.Appea" + + "ranceCustomization\0227\n\026locatedInstanceCon" + + "text\0303 \001(\0132\027.LocatedInstanceContext\022/\n\013c" + + "reatedTime\030e \001(\0132\032.google.protobuf.Times" + + "tamp\"\214\002\n\rUgcNpcCompact\022\026\n\016ugcNpcMetaGuid" + + "\030\001 \001(\t\022\025\n\rownerUserGuid\030\002 \001(\t\022\026\n\016bodyIte" + + "mMetaId\030\003 \001(\005\022\r\n\005title\030\004 \001(\t\022\020\n\010nickname" + + "\030\005 \001(\t\022)\n\017entityStateInfo\030\025 \001(\0132\020.Entity" + + "StateInfo\0227\n\026locatedInstanceContext\030) \001(" + + "\0132\027.LocatedInstanceContext\022/\n\013createdTim" + + "e\030e \001(\0132\032.google.protobuf.Timestamp\"\365\001\n\013" + + "UgcNpcItems\022,\n\010hasItems\030\001 \003(\0132\032.UgcNpcIt" + + "ems.HasItemsEntry\0228\n\016hasTattooInfos\030\005 \003(" + + "\0132 .UgcNpcItems.HasTattooInfosEntry\0326\n\rH" + + "asItemsEntry\022\013\n\003key\030\001 \001(\t\022\024\n\005value\030\002 \001(\013" + + "2\005.Item:\0028\001\032F\n\023HasTattooInfosEntry\022\013\n\003ke" + + "y\030\001 \001(\005\022\036\n\005value\030\002 \001(\0132\017.TattooSlotInfo:" + + "\0028\001\"\367\002\n\020UgcNpcAppearance\022\026\n\016ugcNpcMetaGu" + + "id\030\001 \001(\t\022\025\n\rownerUserGuid\030\002 \001(\t\022\026\n\016bodyI" + + "temMetaId\030\003 \001(\005\022\r\n\005title\030\004 \001(\t\022\020\n\010nickna" + + "me\030\005 \001(\t\0221\n\017appearCustomize\030\006 \001(\0132\030.Appe" + + "aranceCustomization\022\037\n\tabilities\030\013 \001(\0132\014" + + ".AbilityInfo\022\036\n\010hasItems\030\017 \001(\0132\014.UgcNpcI" + + "tems\022)\n\017entityStateInfo\030\025 \001(\0132\020.EntitySt" + + "ateInfo\022\035\n\025defaultSocialActionId\030\037 \001(\005\022\034" + + "\n\024habitSocialActionIds\030 \003(\005\022\037\n\027dialogue" + + "SocialActionIds\030! \003(\005\"p\n\014UgcNpcEntity\022\031\n" + + "\021entityInstantGuid\030\001 \001(\t\022\030\n\nCurrentPos\030\002" + + " \001(\0132\004.Pos\022+\n\020ugcNpcAppearance\030\005 \001(\0132\021.U" + + "gcNpcAppearance\"\257\001\n\nUgcNpcRank\022\014\n\004rank\030\001" + + " \001(\005\022\r\n\005title\030\002 \001(\t\022\023\n\013npcNickname\030\003 \001(\t" + + "\022\026\n\016ugcNpcMetaGuid\030\004 \001(\t\022\026\n\016bodyItemMeta" + + "Id\030\005 \001(\005\022\031\n\021ownerUserNickname\030\006 \001(\t\022\025\n\ro" + + "wnerUserGuid\030\007 \001(\t\022\r\n\005score\030\010 \001(\005\"f\n\021Ugc" + + "NpcInteraction\022\026\n\016ugcNpcMetaGuid\030\001 \001(\t\022\025" + + "\n\rownerUserGuid\030\002 \001(\t\022\"\n\017IsCheckLikeFlag" + + "\030\005 \001(\0162\t.BoolType\"K\n\017UgqCurrentState\022\027\n\017" + + "composedQuestId\030\001 \001(\003\022\037\n\010ugqState\030\002 \001(\0162" + + "\r.UgqStateType\"|\n\023UgqQuestInTestState\022\027\n" + + "\017composedQuestId\030\001 \001(\003\022\022\n\005title\030\002 \001(\tH\000\210" + + "\001\001\022\033\n\016titleImagePath\030\003 \001(\tH\001\210\001\001B\010\n\006_titl" + + "eB\021\n\017_titleImagePath\"\357\001\n\014UgqBoardItem\022\027\n" + + "\017composedQuestId\030\001 \001(\003\022\022\n\005title\030\002 \001(\tH\000\210" + + "\001\001\022\033\n\016titleImagePath\030\003 \001(\tH\001\210\001\001\022\021\n\tlikeC" + + "ount\030\004 \001(\005\022\025\n\rbookmarkCount\030\005 \001(\005\022\023\n\006aut" + + "hor\030\006 \001(\tH\002\210\001\001\022 \n\tgradeType\030\007 \001(\0162\r.UgqG" + + "radeType\022\014\n\004cost\030\010 \001(\005B\010\n\006_titleB\021\n\017_tit" + + "leImagePathB\t\n\007_author\"\263\003\n\022UgqBoardItemD" + + "etail\022\027\n\017composedQuestId\030\001 \001(\003\022\022\n\005title\030" + + "\002 \001(\tH\000\210\001\001\022\033\n\016titleImagePath\030\003 \001(\tH\001\210\001\001\022" + + "\021\n\tlikeCount\030\004 \001(\005\022\025\n\rbookmarkCount\030\005 \001(" + + "\005\022\023\n\006author\030\006 \001(\tH\002\210\001\001\022\030\n\013description\030\007 " + + "\001(\tH\003\210\001\001\022\r\n\005langs\030\010 \003(\t\022\023\n\006beacon\030\t \001(\tH" + + "\004\210\001\001\022\030\n\005liked\030\n \001(\0162\t.BoolType\022\035\n\nbookma" + + "rked\030\013 \001(\0162\t.BoolType\022 \n\tgradeType\030\014 \001(\016" + + "2\r.UgqGradeType\022\014\n\004cost\030\r \001(\005\022\023\n\013acceptC" + + "ount\030\016 \001(\005\022\025\n\rcompleteCount\030\017 \001(\005B\010\n\006_ti" + + "tleB\021\n\017_titleImagePathB\t\n\007_authorB\016\n\014_de" + + "scriptionB\t\n\007_beacon\"b\n\030UgqGameTextDataF" + + "orClient\022\017\n\002kr\030\001 \001(\tH\000\210\001\001\022\017\n\002en\030\002 \001(\tH\001\210" + + "\001\001\022\017\n\002jp\030\003 \001(\tH\002\210\001\001B\005\n\003_krB\005\n\003_enB\005\n\003_jp" + + "\"\377\001\n\030UgqGameTaskDataForClient\022\017\n\007taskNum" + + "\030\001 \001(\005\022+\n\010goalText\030\002 \001(\0132\031.UgqGameTextDa" + + "taForClient\022\027\n\ndialogueId\030\003 \001(\tH\000\210\001\001\022\025\n\r" + + "ugcBeaconGuid\030\004 \001(\t\022\031\n\021ugcBeaconNickname" + + "\030\005 \001(\t\022\020\n\010ActionId\030\006 \001(\005\022\023\n\013ActionValue\030" + + "\007 \001(\005\022$\n\021IsShowNpcLocation\030\010 \001(\0162\t.BoolT" + + "ypeB\r\n\013_dialogueId\"\360\001\n\027UgqDialogSequence" + + "Action\022\021\n\tcontition\030\001 \001(\t\022\022\n\nactionType\030" + + "\002 \001(\005\022\017\n\007subType\030\003 \001(\005\022\024\n\014actionNumber\030\004" + + " \001(\005\022\023\n\013actionIndex\030\005 \001(\005\022\"\n\006talker\030\006 \001(" + + "\0162\022.UgqDialogueTalker\022\'\n\004talk\030\007 \001(\0132\031.Ug" + + "qGameTextDataForClient\022\022\n\nisDialogue\030\010 \001" + + "(\005\022\021\n\tNpcAction\030\t \001(\005\"U\n\024UgqDialogueSequ" + + "ences\022\022\n\nsequenceId\030\001 \001(\005\022)\n\007actions\030\002 \003" + + "(\0132\030.UgqDialogSequenceAction\"<\n\022UgqDialo" + + "gueReturns\022\023\n\013actionIndex\030\001 \001(\005\022\021\n\tretur" + + "nIdx\030\002 \001(\005\"z\n\024UgqGameQuestDialogue\022\022\n\ndi" + + "alogueId\030\001 \001(\t\022(\n\tsequences\030\002 \003(\0132\025.UgqD" + + "ialogueSequences\022$\n\007returns\030\003 \003(\0132\023.UgqD" + + "ialogueReturns\"\343\002\n\031UgqGameQuestDataForCl" + + "ient\022\027\n\017composedQuestId\030\001 \001(\003\022\016\n\006author\030" + + "\002 \001(\t\022\022\n\nauthorGuid\030\003 \001(\t\022\020\n\010beaconId\030\004 " + + "\001(\005\022\025\n\rugcBeaconGuid\030\005 \001(\t\022\031\n\021ugcBeaconN" + + "ickname\030\006 \001(\t\022(\n\005title\030\007 \001(\0132\031.UgqGameTe" + + "xtDataForClient\022\'\n\004task\030\010 \003(\0132\031.UgqGameT" + + "askDataForClient\022(\n\tdialogues\030\t \003(\0132\025.Ug" + + "qGameQuestDialogue\022#\n\014ugqStateType\030\n \001(\016" + + "2\r.UgqStateType\022#\n\014ugqGradeType\030\013 \001(\0162\r." + + "UgqGradeType\"d\n\023UgqDailyRewardCount\022 \n\tg" + + "radeType\030\001 \001(\0162\r.UgqGradeType\022\025\n\rdailyMa" + + "xCount\030\002 \001(\005\022\024\n\014currentCount\030\003 \001(\005\"n\n\024Ug" + + "qBoardSearchResult\022\022\n\npageNumber\030\001 \001(\005\022\020" + + "\n\010pageSize\030\002 \001(\005\022\022\n\ntotalPages\030\003 \001(\005\022\034\n\005" + + "items\030\004 \003(\0132\r.UgqBoardItem\"\254\001\n\025DateRange" + + "UgqBoardItem\022!\n\005today\030\001 \001(\0132\r.UgqBoardIt" + + "emH\000\210\001\001\022$\n\010thisWeek\030\002 \001(\0132\r.UgqBoardItem" + + "H\001\210\001\001\022%\n\tthisMonth\030\003 \001(\0132\r.UgqBoardItemH" + + "\002\210\001\001B\010\n\006_todayB\013\n\t_thisWeekB\014\n\n_thisMont" + + "h\"u\n\030UgqBoardSportlightResult\022)\n\tmostLik" + + "ed\030\001 \001(\0132\026.DateRangeUgqBoardItem\022.\n\016most" + + "Bookmarked\030\002 \001(\0132\026.DateRangeUgqBoardItem" + + "\"\252\003\n\nUgqNpcInfo\022\023\n\013npcMetaGuid\030\001 \001(\t\022\021\n\t" + + "ownerGuid\030\002 \001(\t\022\027\n\017ownerEntityType\030\003 \001(\005" + + "\022\020\n\010nickname\030\004 \001(\t\022\r\n\005title\030\005 \001(\t\022\020\n\010gre" + + "eting\030\006 \001(\t\022\024\n\014introduction\030\007 \001(\t\022\023\n\013des" + + "cription\030\010 \001(\t\022\025\n\rworldScenario\030\t \001(\t\022!\n" + + "\031defaultSocialActionMetaId\030\n \001(\r\022 \n\030habi" + + "tSocialActionMetaIds\030\013 \003(\r\022#\n\033DialogueSo" + + "cialActionMetaIds\030\014 \003(\r\022\026\n\016bodyItemMetaI" + + "d\030\r \001(\r\022\026\n\016hashTagMetaIds\030\016 \003(\r\022\037\n\005state" + + "\030\017 \001(\0162\020.EntityStateType\022+\n\030isRegistered" + + "AiChatServer\030\020 \001(\0162\t.BoolType\"\221\001\n\013AllUgq" + + "Infos\022\032\n\006quests\030\001 \003(\0132\n.QuestInfo\022&\n\016que" + + "stMetaInfos\030\002 \003(\0132\016.QuestMetaInfo\022>\n\032ugq" + + "GameQuestDataForClients\030\003 \003(\0132\032.UgqGameQ" + + "uestDataForClient\"\301\001\n\026UgqGameQuestDataSi", + "mple\022\027\n\017composedQuestId\030\001 \001(\003\022\020\n\010revisio" + + "n\030\002 \001(\005\022\020\n\010userGuid\030\003 \001(\t\022\016\n\006author\030\004 \001(" + + "\t\022 \n\tgradeType\030\005 \001(\0162\r.UgqGradeType\022\r\n\005s" + + "tate\030\006 \001(\t\022\014\n\004cost\030\007 \001(\005\022\033\n\010shutdown\030\010 \001" + + "(\0162\t.BoolType\"\270\002\n\016FarmingSummary\022\033\n\023farm" + + "ingAnchorMetaId\030\001 \001(\t\022\031\n\021farmingPropMeta" + + "Id\030\002 \001(\005\022\027\n\017farmingUserGuid\030\005 \001(\t\0225\n\021far" + + "mingSummonType\030\006 \001(\0162\032.FarmingSummonedEn" + + "tityType\022\031\n\021farmingEntityGuid\030\007 \001(\t\022\'\n\014f" + + "armingState\030\013 \001(\0162\021.FarmingStateType\022-\n\t" + + "startTime\030\025 \001(\0132\032.google.protobuf.Timest" + + "amp\022+\n\007endTime\030\026 \001(\0132\032.google.protobuf.T" + + "imestamp\"I\n\016RentalLandInfo\022\016\n\006landId\030\001 \001" + + "(\005\022\022\n\nbuildingId\030\002 \001(\005\022\023\n\013rentalCount\030\003 " + + "\001(\005\"6\n\017RentalFloorInfo\022\r\n\005floor\030\001 \001(\005\022\024\n" + + "\014instanceName\030\002 \001(\t\"\216\001\n\017OwnedRentalInfo\022" + + "\016\n\006landId\030\001 \001(\005\022\022\n\nbuildingId\030\002 \001(\005\022\r\n\005f" + + "loor\030\003 \001(\005\022\022\n\nmyhomeGuid\030\004 \001(\t\0224\n\020rental" + + "FinishTime\030\005 \001(\0132\032.google.protobuf.Times" + + "tamp\"c\n\025ModifyOwnedRentalInfo\022\037\n\nmodifyT" + + "ype\030\001 \001(\0162\013.ModifyType\022)\n\017ownedRentalInf" + + "o\030\002 \001(\0132\020.OwnedRentalInfo\"\320\002\n\024RentFloorR" + + "equestInfo\022\016\n\006landId\030\001 \001(\005\022\022\n\nbuildingId" + + "\030\002 \001(\005\022\r\n\005floor\030\003 \001(\005\022\021\n\townerGuid\030\004 \001(\t" + + "\022\022\n\nmyhomeGuid\030\005 \001(\t\022\024\n\014instanceName\030\006 \001" + + "(\t\022\030\n\020thumbnailImageId\030\007 \001(\005\022\023\n\013listImag" + + "eId\030\010 \001(\005\022\030\n\020enterPlayerCount\030\t \001(\005\022\024\n\014r" + + "entalPeriod\030\n \001(\005\0223\n\017rentalStartTime\030\013 \001" + + "(\0132\032.google.protobuf.Timestamp\0224\n\020rental" + + "FinishTime\030\014 \001(\0132\032.google.protobuf.Times" + + "tamp\"K\n\026OperationSystemMessage\022#\n\014langua" + + "geType\030\001 \001(\0162\r.LanguageType\022\014\n\004text\030\002 \001(" + + "\t\"\'\n\017MeetingRoomInfo\022\024\n\014screenPageNo\030\001 \001" + + "(\005*\302\022\n\nEntityType\022\023\n\017EntityType_None\020\000\022\025" + + "\n\021EntityType_Player\020\001\022\030\n\024EntityType_Char" + + "acter\020\002\022\022\n\016EntityType_Npc\020\003\022\027\n\022EntityTyp" + + "e_Monster\020\255\002\022\031\n\025EntityType_GeneralNpc\020\036\022" + + "\027\n\022EntityType_Barrier\020\257\002\022\026\n\021EntityType_V" + + "olume\020\261\002\022\034\n\026EntityType_EventVolume\020\245\356\001\022\035" + + "\n\027EntityType_EffectVolume\020\246\356\001\022\034\n\026EntityT" + + "ype_QuestVolume\020\247\356\001\022\026\n\021EntityType_UgcNpc" + + "\020\262\002\022\027\n\021EntityType_Beacon\020\211\357\001\022\033\n\025EntityTy" + + "pe_UgcNpcRank\020\212\357\001\022\026\n\021EntityType_Effect\020\263" + + "\002\022\030\n\022EntityType_Farming\020\355\357\001\022\030\n\024EntityTyp" + + "e_Inventory\020\004\022\030\n\023EntityType_BagInven\020\221\003\022" + + "\037\n\032EntityType_ClothEquipInven\020\222\003\022\036\n\031Enti" + + "tyType_ToolEquipInven\020\223\003\022 \n\033EntityType_T" + + "attooEquipInven\020\224\003\022\023\n\017EntityType_Item\020\005\022" + + "\033\n\027EntityType_GroundEntity\020\006\022\032\n\025EntityTy" + + "pe_DropObject\020\331\004\022\024\n\017EntityType_Land\020\332\004\022\032" + + "\n\024EntityType_OwnedLand\020\251\326\003\022\030\n\023EntityType" + + "_Building\020\333\004\022\036\n\030EntityType_OwnedBuilding" + + "\020\215\327\003\022\036\n\030EntityType_BuildingFloor\020\216\327\003\022\026\n\021" + + "EntityType_MyHome\020\334\004\022\024\n\020EntityType_Money" + + "\020\007\022\023\n\017EntityType_Shop\020\010\022\"\n\035EntityType_My" + + "ShopProductMeter\020\241\006\022\037\n\032EntityType_ShopSo" + + "ldProduct\020\242\006\022\023\n\017EntityType_Room\020\t\022\024\n\020Ent" + + "ityType_Party\020\n\022\033\n\026EntityType_GlobalPart" + + "y\020\351\007\022\"\n\034EntityType_GlobalPartyDetail\020\205\216\006" + + "\022\035\n\030EntityType_PersonalParty\020\352\007\022$\n\036Entit" + + "yType_PersonalPartyDetail\020\351\216\006\022\033\n\027EntityT" + + "ype_SocialAction\020\013\022\025\n\021EntityType_Friend\020" + + "\014\022\034\n\030EntityType_MinimapMarker\020\r\022\025\n\021Entit" + + "yType_Ticker\020\016\022+\n&EntityType_UserLoginCa" + + "cheRefreshTicker\020\371\n\022!\n\034EntityType_EnityU" + + "pdateTicker\020\372\n\022!\n\034EntityType_EventUpdate" + + "Ticker\020\373\n\022\037\n\032EntityType_TimeEventTicker\020" + + "\374\n\022#\n\036EntityType_ChannelUpdateTicker\020\375\n\022" + + " \n\033EntityType_NoticeChatTicker\020\376\n\022\'\n\"Ent" + + "ityType_PartyCacheRefreshTicker\020\200\013\022&\n!En" + + "tityType_ReservationCheckTicker\020\201\013\022&\n!En" + + "tityType_NormalQuestCheckTicker\020\203\013\022&\n!En" + + "tityType_ShopProductCheckTicker\020\204\013\022 \n\033En" + + "tityType_UgcNpcRankTicker\020\205\013\022%\n EntityTy" + + "pe_SystemMailCheckTicker\020\206\013\022&\n!EntityTyp" + + "e_LargePacketCheckTicker\020\207\013\022$\n\037EntityTyp" + + "e_BuildingUpdateTicker\020\210\013\022\030\n\024EntityType_" + + "BlockUser\020\017\022\024\n\020EntityType_Quest\020\020\022\030\n\023Ent" + + "ityType_EndQuest\020\301\014\022\023\n\017EntityType_Mail\020\024" + + "\022\031\n\024EntityType_QuestMail\020\321\017\022\025\n\021EntityTyp" + + "e_Golbal\020\025\022!\n\034EntityType_SystemMailManag" + + "er\020\265\020\022\033\n\025EntityType_SystemMail\020\265\351\014\022!\n\034En" + + "tityType_NoticeChatManager\020\266\020\022\033\n\025EntityT" + + "ype_NoticeChat\020\231\352\014\022!\n\034EntityType_SeasonP" + + "assManager\020\267\020\022\023\n\017EntityType_Cart\020\026\022\024\n\020En" + + "tityType_Claim\020\027\022\024\n\020EntityType_Craft\020\030\022\026" + + "\n\021EntityType_Recipe\020\341\022\022\031\n\025EntityType_Too" + + "lAction\020\031\022&\n\"EntityType_Task_Reservation" + + "_Action\020\032\022\035\n\031EntityType_Package_Action\020\033" + + "\022\025\n\021EntityType_Calium\020\034\022\037\n\032EntityType_Ca" + + "liumConverter\020\361\025\022\025\n\021EntityType_Rental\020\035\022" + + "\036\n\032EntityType_CustomDefinedUi\020c\022\026\n\016Entit" + + "yType_All\020\200\224\353\334\003*\304\010\n\017EntityStateType\022\030\n\024E" + + "ntityStateType_None\020\000\022\033\n\027EntityStateType" + + "_Created\020\001\022 \n\034EntityStateType_Initializi" + + "ng\020\002\022\033\n\027EntityStateType_Loading\020\003\022\031\n\025Ent" + + "ityStateType_Login\020\013\022\032\n\026EntityStateType_" + + "Logout\020o\022!\n\035EntityStateType_GameZoneEnte" + + "r\020\017\022\035\n\031EntityStateType_PlayReady\020\020\022\034\n\030En" + + "tityStateType_Spawning\020\021\022#\n\037EntityStateT" + + "ype_SpawnedCutScene\020\022\022\031\n\025EntityStateType" + + "_Alive\0203\022\031\n\024EntityStateType_Idle\020\377\003\022\032\n\025E" + + "ntityStateType_Think\020\200\004\022\031\n\024EntityStateTy" + + "pe_Move\020\201\004\022\031\n\024EntityStateType_Roam\020\213(\022\031\n" + + "\024EntityStateType_Walk\020\214(\022\030\n\023EntityStateT" + + "ype_Run\020\215(\022\033\n\026EntityStateType_Patrol\020\216(\022" + + "\032\n\025EntityStateType_Chase\020\217(\022\031\n\024EntitySta" + + "teType_Dash\020\220(\022\033\n\026EntityStateType_GoHome" + + "\020\221(\022\034\n\027EntityStateType_Dancing\020\222(\022\033\n\026Ent" + + "ityStateType_Battle\020\202\004\022\036\n\031EntityStateTyp" + + "e_SkillFire\020\225(\022\036\n\031EntityStateType_Uncont" + + "rol\020\203\004\022\031\n\024EntityStateType_Hide\020\204\004\022\032\n\025Ent" + + "ityStateType_Pause\020\207\004\022\030\n\024EntityStateType" + + "_Dead\020=\022\033\n\026EntityStateType_Revive\020\343\004\022 \n\034" + + "EntityStateType_GameZoneExit\020c\022\034\n\030Entity" + + "StateType_Activate\020e\022\036\n\032EntityStateType_" + + "Deactivate\020f\022\031\n\024EntityStateType_Drop\020\311\001\022" + + "$\n\037EntityStateType_UsingByCrafting\020\255\002\022#\n" + + "\036EntityStateType_UsingByFarming\020\256\002\022\"\n\035En" + + "tityStateType_UsingByMyHome\020\257\002*\354\007\n\026Entit" + + "yStateTriggerType\022\037\n\033EntityStateTriggerT" + + "ype_None\020\000\022\"\n\036EntityStateTriggerType_Tim" + + "eout\020\001\022(\n$EntityStateTriggerType_GameZon" + + "eEnter\020\013\022\'\n#EntityStateTriggerType_GameZ" + + "oneExit\020\014\022 \n\034EntityStateTriggerType_Spaw" + + "n\0203\022 \n\034EntityStateTriggerType_Alive\0204\022 \n" + + "\034EntityStateTriggerType_Think\020=\022\037\n\033Entit" + + "yStateTriggerType_Roam\020>\022 \n\034EntityStateT" + + "riggerType_Chase\020?\022%\n!EntityStateTrigger" + + "Type_BuffActive\020e\022!\n\035EntityStateTriggerT" + + "ype_Attack\020f\022$\n EntityStateTriggerType_S" + + "killFire\020o\022&\n\"EntityStateTriggerType_Ski" + + "llCancel\020p\022%\n!EntityStateTriggerType_Ski" + + "llClose\020q\022#\n\036EntityStateTriggerType_NoEn" + + "emy\020\203\001\022\'\n\"EntityStateTriggerType_TargetF" + + "ound\020\204\001\022&\n!EntityStateTriggerType_Target" + + "Dead\020\205\001\022 \n\033EntityStateTriggerType_NoHp\020\255" + + "\002\022\"\n\035EntityStateTriggerType_Revive\020\256\002\022\"\n" + + "\035EntityStateTriggerType_HomeGo\020\257\002\022\'\n\"Ent" + + "ityStateTriggerType_ArrivedHome\020\260\002\022$\n\037En" + + "tityStateTriggerType_Activate\020\261\002\022&\n!Enti" + + "tyStateTriggerType_Deactivate\020\262\002\022*\n%Enti" + + "tyStateTriggerType_UncontrolStart\020\331\004\022(\n#" + + "EntityStateTriggerType_UncontrolEnd\020\332\004\022%" + + "\n EntityStateTriggerType_PlayReady\020\351\007*\234\001" + + "\n\017OwnerEntityType\022\030\n\024OwnerEntityType_Non" + + "e\020\000\022\030\n\024OwnerEntityType_User\020\001\022\035\n\031OwnerEn" + + "tityType_Character\020\002\022\032\n\026OwnerEntityType_" + + "UgcNpc\020\003\022\032\n\026OwnerEntityType_Myhome\020\004*Y\n\014" + + "LevelExpType\022\025\n\021LevelExpType_None\020\000\022\025\n\021L" + + "evelExpType_Item\020\n\022\033\n\027LevelExpType_Seaso" + + "nPass\020\024*\237\003\n\rAttributeType\022\026\n\022AttributeTy" + + "pe_None\020\000\022\032\n\026AttributeType_Rapidity\020\001\022\034\n" + + "\030AttributeType_Elasticity\020\002\022\036\n\032Attribute" + + "Type_Acceleration\020\003\022\033\n\027AttributeType_End" + + "urance\020\004\022\036\n\032AttributeType_Intelligence\020\005" + + "\022\026\n\022AttributeType_Wits\020\006\022\032\n\026AttributeTyp" + + "e_Charisma\020\007\022\036\n\032AttributeType_Manipulati" + + "on\020\010\022\034\n\030AttributeType_Perception\020\t\022\032\n\026At" + + "tributeType_Strength\020\n\022\031\n\025AttributeType_" + + "Hacking\020\013\022\033\n\027AttributeType_Gathering\020\014\022\031" + + "\n\025AttributeType_Cooking\020\r*c\n\nModifyType\022" + + "\023\n\017ModifyType_None\020\000\022\022\n\016ModifyType_Add\020\001" + + "\022\025\n\021ModifyType_Delete\020\002\022\025\n\021ModifyType_Mo" + + "dify\020\003*\312\001\n\010ChatType\022\021\n\rChatType_None\020\000\022\023" + + "\n\017ChatType_Normal\020\001\022\024\n\020ChatType_Channel\020" + + "\002\022\024\n\020ChatType_Whisper\020\003\022\022\n\016ChatType_Tota" + + "l\020\004\022\022\n\016ChatType_Party\020\005\022\023\n\017ChatType_Noti" + + "ce\020\n\022\030\n\024ChatType_NoticeToast\020\013\022\023\n\017ChatTy" + + "pe_System\020\014*\234\001\n\014InvenBagType\022\025\n\021InvenBag" + + "Type_None\020\000\022\026\n\022InvenBagType_Cloth\020\001\022\025\n\021I" + + "nvenBagType_Prop\020\002\022\027\n\023InvenBagType_Beaut" + + "y\020\003\022\027\n\023InvenBagType_Tattoo\020\004\022\024\n\020InvenBag" + + "Type_Etc\020\005*w\n\016InvenEquipType\022\027\n\023InvenEqu" + + "ipType_None\020\000\022\030\n\024InvenEquipType_Cloth\020\001\022" + + "\027\n\023InvenEquipType_Tool\020\002\022\031\n\025InvenEquipTy" + + "pe_Tattoo\020\003*\362\003\n\033SummonPartyMemberResultT" + + "ype\022$\n SummonPartyMemberResultType_None\020" + + "\000\022&\n\"SummonPartyMemberResultType_Accept\020" + + "\001\022&\n\"SummonPartyMemberResultType_Refuse\020" + + "\002\022,\n(SummonPartyMemberResultType_DoNotDi" + + "sturb\020\003\022&\n\"SummonPartyMemberResultType_L" + + "ogOut\020\004\022*\n&SummonPartyMemberResultType_L" + + "eaveParty\020\005\022(\n$SummonPartyMemberResultTy" + + "pe_NotParty\020\006\022*\n&SummonPartyMemberResult" + + "Type_ServerFull\020\007\022*\n&SummonPartyMemberRe" + + "sultType_SummonFail\020\010\022)\n%SummonPartyMemb" + + "erResultType_NotSummon\020\t\022.\n*SummonPartyM" + + "emberResultType_NotPartyMember\020\n*O\n\010Mail" + + "Type\022\021\n\rMailType_None\020\000\022\031\n\025MailType_Rece" + + "ivedMail\020\001\022\025\n\021MailType_SentMail\020\002*f\n\010Vot" + + "eType\022\021\n\rVoteType_None\020\000\022\026\n\022VoteType_Agr" + + "eement\020\001\022\031\n\025VoteType_DisAgreement\020\002\022\024\n\020V" + + "oteType_Abstain\020\003*a\n\017UgcNpcRankState\022\030\n\024" + + "UgcNpcRankState_None\020\000\022\031\n\025UgcNpcRankStat" + + "e_Trend\020\001\022\031\n\025UgcNpcRankState_Total\020\002*~\n\016" + + "UgcNpcRankType\022\027\n\023UgcNpcRankType_None\020\000\022" + + "\027\n\023UgcNpcRankType_Like\020\001\022 \n\034UgcNpcRankTy" + + "pe_Communication\020\002\022\030\n\024UgcNpcRankType_Que" + + "st\020\003*\252\001\n\014UgqStateType\022\025\n\021UgqStateType_No" + + "ne\020\000\022\025\n\021UgqStateType_Test\020\001\022\025\n\021UgqStateT" + + "ype_Live\020\002\022\031\n\025UgqStateType_Shutdown\020\003\022 \n" + + "\034UgqStateType_RevisionChanged\020\004\022\030\n\024UgqSt" + + "ateType_Standby\020\005*\372\001\n\025UgqSearchCategoryT" + + "ype\022\036\n\032UgqSearchCategoryType_None\020\000\022#\n\037U" + + "gqSearchCategoryType_SpotLight\020\001\022&\n\"UgqS" + + "earchCategoryType_GradeAmateur\020\002\022)\n%UgqS" + + "earchCategoryType_GradeRisingStar\020\003\022%\n!U" + + "gqSearchCategoryType_GradeMaster\020\004\022\"\n\036Ug" + + "qSearchCategoryType_Bookmark\020\005*\247\001\n\026UgqUI" + + "CategoryGradeType\022\037\n\033UgqUICategoryGradeT" + + "ype_None\020\000\022\"\n\036UgqUICategoryGradeType_Ama" + + "teur\020\001\022%\n!UgqUICategoryGradeType_RisingS" + + "tar\020\002\022!\n\035UgqUICategoryGradeType_Master\020\003" + + "*\252\001\n\014UgqGradeType\022\025\n\021UgqGradeType_None\020\000" + + "\022\030\n\024UgqGradeType_Amature\020\001\022\033\n\027UgqGradeTy" + + "pe_RisingStar\020\002\022\030\n\024UgqGradeType_Master1\020" + + "\003\022\030\n\024UgqGradeType_Master2\020\004\022\030\n\024UgqGradeT" + + "ype_Master3\020\005*h\n\013UgqSortType\022\024\n\020UgqSortT" + + "ype_None\020\000\022\023\n\017UgqSortType_New\020\001\022\024\n\020UgqSo" + + "rtType_Like\020\002\022\030\n\024UgqSortType_Bookmark\020\003*" + + "Z\n\rUgqSearchType\022\026\n\022UgqSearchType_None\020\000" + + "\022\027\n\023UgqSearchType_Title\020\001\022\030\n\024UgqSearchTy" + + "pe_Beacon\020\002*(\n\021UgqDialogueTalker\022\n\n\006Play" + + "er\020\000\022\007\n\003Npc\020\001*S\n\013ShopBuyType\022\024\n\020ShopBuyT" + + "ype_None\020\000\022\030\n\024ShopBuyType_Currency\020\001\022\024\n\020" + + "ShopBuyType_Item\020\002*+\n\017GameNpcPlayType\022\030\n" + + "\024GameNpcPlayType_None\020\000*\211\001\n\031FarmingSummo" + + "nedEntityType\022\"\n\036FarmingSummonedEntityTy" + + "pe_None\020\000\022\"\n\036FarmingSummonedEntityType_U" + + "ser\020\001\022$\n FarmingSummonedEntityType_Beaco" + + "n\020\002*\214\001\n\020FarmingStateType\022\031\n\025FarmingState" + + "Type_None\020\000\022\034\n\030FarmingStateType_StandBy\020" + + "\001\022\035\n\031FarmingStateType_Progress\020\002\022 \n\034Farm" + + "ingStateType_CoolingTime\020\003*F\n\tOwnedType\022" + + "\022\n\016OwnedType_None\020\000\022\021\n\rOwnedType_Own\020\001\022\022" + + "\n\016OwnedType_Rent\020\002B/\n+com.caliverse.admi" + + "n.domain.RabbitMq.messageP\001b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor(), + com.caliverse.admin.domain.RabbitMq.message.DefineResult.getDescriptor(), + }); + internal_static_P2PGroupType_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_P2PGroupType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_P2PGroupType_descriptor, + new java.lang.String[] { "Type", }); + internal_static_LevelExp_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_LevelExp_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LevelExp_descriptor, + new java.lang.String[] { "Level", "ExpInLevel", "ExpInTotal", }); + internal_static_LevelExpById_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_LevelExpById_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LevelExpById_descriptor, + new java.lang.String[] { "LevelExpsByMetaId", "LevelExpsByGuid", }); + internal_static_LevelExpById_LevelExpsByMetaIdEntry_descriptor = + internal_static_LevelExpById_descriptor.getNestedTypes().get(0); + internal_static_LevelExpById_LevelExpsByMetaIdEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LevelExpById_LevelExpsByMetaIdEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_LevelExpById_LevelExpsByGuidEntry_descriptor = + internal_static_LevelExpById_descriptor.getNestedTypes().get(1); + internal_static_LevelExpById_LevelExpsByGuidEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LevelExpById_LevelExpsByGuidEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_LevelExpDeltaAmount_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_LevelExpDeltaAmount_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LevelExpDeltaAmount_descriptor, + new java.lang.String[] { "ExpDeltaType", "ExpAmount", "LevelAmount", }); + internal_static_LevelExpDeltaAmountById_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_LevelExpDeltaAmountById_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LevelExpDeltaAmountById_descriptor, + new java.lang.String[] { "DeltasByMetaId", "DeltasByGuid", }); + internal_static_LevelExpDeltaAmountById_DeltasByMetaIdEntry_descriptor = + internal_static_LevelExpDeltaAmountById_descriptor.getNestedTypes().get(0); + internal_static_LevelExpDeltaAmountById_DeltasByMetaIdEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LevelExpDeltaAmountById_DeltasByMetaIdEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_LevelExpDeltaAmountById_DeltasByGuidEntry_descriptor = + internal_static_LevelExpDeltaAmountById_descriptor.getNestedTypes().get(1); + internal_static_LevelExpDeltaAmountById_DeltasByGuidEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LevelExpDeltaAmountById_DeltasByGuidEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_AppearanceCustomization_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_AppearanceCustomization_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AppearanceCustomization_descriptor, + new java.lang.String[] { "BasicStyle", "BodyShape", "HairStyle", "CustomValues", }); + internal_static_AppearanceProfile_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_AppearanceProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AppearanceProfile_descriptor, + new java.lang.String[] { "Values", }); + internal_static_AppearanceProfile_ValuesEntry_descriptor = + internal_static_AppearanceProfile_descriptor.getNestedTypes().get(0); + internal_static_AppearanceProfile_ValuesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AppearanceProfile_ValuesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_AbilityInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_AbilityInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AbilityInfo_descriptor, + new java.lang.String[] { "Values", }); + internal_static_AbilityInfo_ValuesEntry_descriptor = + internal_static_AbilityInfo_descriptor.getNestedTypes().get(0); + internal_static_AbilityInfo_ValuesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AbilityInfo_ValuesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_Buff_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_Buff_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Buff_descriptor, + new java.lang.String[] { "BuffId", "BuffStartTime", }); + internal_static_BuffInfo_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_BuffInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_BuffInfo_descriptor, + new java.lang.String[] { "Buff", }); + internal_static_AvatarInfo_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_AvatarInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AvatarInfo_descriptor, + new java.lang.String[] { "AvatarId", "AppearCustomize", "Init", }); + internal_static_ClothInfo_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_ClothInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ClothInfo_descriptor, + new java.lang.String[] { "ClothAvatarItemGuid", "ClothHeadwearItemGuid", "ClothMaskItemGuid", "ClothBagItemGuid", "ClothShoesItemGuid", "ClothOuterItemGuid", "ClothTopsItemGuid", "ClothBottomsItemGuid", "ClothGlovesItemGuid", "ClothEarringsItemGuid", "ClothNecklessItemGuid", "ClothSocksItemGuid", "ClothAvatar", "ClothHeadwear", "ClothMask", "ClothBag", "ClothShoes", "ClothOuter", "ClothTops", "ClothBottoms", "ClothGloves", "ClothEarrings", "ClothNeckless", "ClothSocks", }); + internal_static_ClothInfoOfAnotherUser_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_ClothInfoOfAnotherUser_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ClothInfoOfAnotherUser_descriptor, + new java.lang.String[] { "ClothAvatar", "ClothHeadwear", "ClothMask", "ClothBag", "ClothShoes", "ClothOuter", "ClothTops", "ClothBottoms", "ClothGloves", "ClothEarrings", "ClothNeckless", "ClothSocks", }); + internal_static_CartItemInfo_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_CartItemInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_CartItemInfo_descriptor, + new java.lang.String[] { "ItemGuid", "ItemId", "Count", "BuyType", }); + internal_static_EquipInfo_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_EquipInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_EquipInfo_descriptor, + new java.lang.String[] { "ToolItemGuid", "ToolItemId", "ToolItemStep", "ToolItemRandomState", "ActionStartTime", }); + internal_static_TattooInfo_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_TattooInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TattooInfo_descriptor, + new java.lang.String[] { "ItemId", "Level", "Attributeids", }); + internal_static_TattooSlotInfo_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_TattooSlotInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TattooSlotInfo_descriptor, + new java.lang.String[] { "ItemInfo", "IsVisible", }); + internal_static_MyTattooSlotInfo_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_MyTattooSlotInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MyTattooSlotInfo_descriptor, + new java.lang.String[] { "ItemGuid", "IsVisible", }); + internal_static_AttributeInfo_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_AttributeInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AttributeInfo_descriptor, + new java.lang.String[] { "Attributeid", "Value", }); + internal_static_Inventory_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_Inventory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Inventory_descriptor, + new java.lang.String[] { "EtcItem", "CostumeItem", "InteriorItem", "BeautyItem", "TattooItem", "EtcItemNft", "CostumeItemNft", "InteriorItemNft", "BeautyItemNft", "TattooItemNft", }); + internal_static_CharInfo_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_CharInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_CharInfo_descriptor, + new java.lang.String[] { "Level", "Exp", "Gold", "Sapphire", "Calium", "Beam", "Ruby", "Usergroup", "Operator", "DisplayName", "LanguageInfo", "IsIntroComplete", }); + internal_static_CharPos_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_CharPos_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_CharPos_descriptor, + new java.lang.String[] { "MapId", "Pos", }); + internal_static_GameCharacter_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_GameCharacter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameCharacter_descriptor, + new java.lang.String[] { "Name", "Guid", "CharInfo", "EquipInfo", "AvatarInfo", "ClothInfo", "CharPos", "Inventory", "ToolSlot", "SlotCount", "ChannelInfo", "TattooInfoList", }); + internal_static_GameActor_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_GameActor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameActor_descriptor, + new java.lang.String[] { "ActorGuid", "Name", "AvatarInfo", "ClothInfo", "EquipInfo", "Pos", "TattooInfoList", "BuffInfo", "Usergroup", "Operator", "DisplayName", "OccupiedAnchorGuid", "State", "EntityStateInfo", }); + internal_static_EntityStateInfo_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_EntityStateInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_EntityStateInfo_descriptor, + new java.lang.String[] { "StateType", "AnchorMetaGuid", "MetaIdOfStateType", }); + internal_static_PropInfo_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_PropInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PropInfo_descriptor, + new java.lang.String[] { "AnchorGuid", "Owner", "OccupiedActorGuid", "TableId", "ItemGuid", "Mannequins", "IsUsable", "StartTime", "EndTime", "RespawnTime", }); + internal_static_SlotInfo_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_SlotInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_SlotInfo_descriptor, + new java.lang.String[] { "Slot", "Id", }); + internal_static_LandInfo_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_LandInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LandInfo_descriptor, + new java.lang.String[] { "Id", "Owner", "Name", "Description", "BuildingId", "PropList", }); + internal_static_BuildingInfo_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_BuildingInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_BuildingInfo_descriptor, + new java.lang.String[] { "Id", "Owner", "Name", "Description", "RoomList", "PropList", }); + internal_static_LandLinkedInfo_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_LandLinkedInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LandLinkedInfo_descriptor, + new java.lang.String[] { "LandId", "FloorLinkedInfos", }); + internal_static_LandLinkedInfo_FloorLinkedInfosEntry_descriptor = + internal_static_LandLinkedInfo_descriptor.getNestedTypes().get(0); + internal_static_LandLinkedInfo_FloorLinkedInfosEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LandLinkedInfo_FloorLinkedInfosEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_FloorLinkedInfo_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_FloorLinkedInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_FloorLinkedInfo_descriptor, + new java.lang.String[] { "UgcNpcGuids", }); + internal_static_RoomInfo_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_RoomInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_RoomInfo_descriptor, + new java.lang.String[] { "Id", "Owner", "Name", "Description", "PropList", }); + internal_static_ElevatorFloorInfo_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_ElevatorFloorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ElevatorFloorInfo_descriptor, + new java.lang.String[] { "Floor", "InstanceId", "CurrentUser", "OwnerName", "InstanceName", "ThumbnailImageId", "ListImageId", "EnterPlayerCount", }); + internal_static_MyHomeObjectSlotInfo_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_MyHomeObjectSlotInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MyHomeObjectSlotInfo_descriptor, + new java.lang.String[] { "SlotNum", "ObjectId", }); + internal_static_ModifyFloorLinkedInfo_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_ModifyFloorLinkedInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ModifyFloorLinkedInfo_descriptor, + new java.lang.String[] { "ModifyType", "LandId", "BuildingId", "Floor", "FloorLinkedInfo", }); + internal_static_MailItem_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_MailItem_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MailItem_descriptor, + new java.lang.String[] { "ItemId", "Count", }); + internal_static_MailInfo_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_MailInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MailInfo_descriptor, + new java.lang.String[] { "MailKey", "IsRead", "IsGetItem", "NickName", "Title", "Text", "CreateTime", "ExpireTime", "IsSystemMail", "MailType", "IsTextByMetaData", "ItemList", "Guid", }); + internal_static_LocatedInstanceContext_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_LocatedInstanceContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LocatedInstanceContext_descriptor, + new java.lang.String[] { "LocatedinstanceMetaId", "LocatedTime", }); + internal_static_QuestMailInfo_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_QuestMailInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_QuestMailInfo_descriptor, + new java.lang.String[] { "IsRead", "ComposedQuestId", "CreateTime", }); + internal_static_FriendInfo_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_FriendInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_FriendInfo_descriptor, + new java.lang.String[] { "Guid", "NickName", "FolderName", "IsNew", }); + internal_static_FriendNickNameInfo_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_FriendNickNameInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_FriendNickNameInfo_descriptor, + new java.lang.String[] { "TargetGuid", "TargetNickName", }); + internal_static_QuestInfo_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_QuestInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_QuestInfo_descriptor, + new java.lang.String[] { "ComposedQuestId", "QuestAssignTime", "CurrentTaskNum", "TaskStartTime", "QuestCompleteTime", "ActiveIdxList", "HasCounter", "MinCounter", "MaxCounter", "CurrentCounter", "IsComplete", "ReplacedRewardGroupId", "HasTimer", "TimerCompleteTime", "ActiveEvents", }); + internal_static_QuestMetaInfo_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_QuestMetaInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_QuestMetaInfo_descriptor, + new java.lang.String[] { "Index", "ComposedQuestId", "EventTarget", "EventName", "EventCondition1", "EventCondition2", "EventCondition3", "FunctionTarget", "FunctionName", "FunctionCondition1", "FunctionCondition2", "FunctionCondition3", }); + internal_static_QuestAssignMetaInfo_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_QuestAssignMetaInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_QuestAssignMetaInfo_descriptor, + new java.lang.String[] { "ComposedQuestId", "QuestType", "Reveal", "QuestName", "AssignType", "RequirementType", "RequirementValue", "ForceAccept", "MailTitle", "MailSender", "MailDesc", "Dialogue", "DialogueResult", "RewardGroupId", "Priority", }); + internal_static_QuestTaskMetaInfo_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_QuestTaskMetaInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_QuestTaskMetaInfo_descriptor, + new java.lang.String[] { "Idx", "ComposedQuestId", "TaskNum", "TaskName", "TaskCondition", "TaskConditionDesc", "SetCounter", "WorldId", }); + internal_static_QuestEndInfo_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_QuestEndInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_QuestEndInfo_descriptor, + new java.lang.String[] { "ComposedQuestId", "EndCount", "LastEndTime", }); + internal_static_BlockInfo_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_BlockInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_BlockInfo_descriptor, + new java.lang.String[] { "Guid", "NickName", "IsNew", "CreateTime", }); + internal_static_FriendFolder_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_FriendFolder_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_FriendFolder_descriptor, + new java.lang.String[] { "FolderName", "IsHold", "HoldTime", "CreateTime", }); + internal_static_FriendRequestInfo_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_FriendRequestInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_FriendRequestInfo_descriptor, + new java.lang.String[] { "Guid", "NickName", "IsNew", "RequestTime", }); + internal_static_FriendErrorMember_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_FriendErrorMember_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_FriendErrorMember_descriptor, + new java.lang.String[] { "ErrorCode", "Guid", }); + internal_static_ClaimEventActiveInfo_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_ClaimEventActiveInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ClaimEventActiveInfo_descriptor, + new java.lang.String[] { "ActiveRewardIdx", "IsComplete", "RewardRemainSecond", }); + internal_static_InvitePartyErrorMember_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_InvitePartyErrorMember_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_InvitePartyErrorMember_descriptor, + new java.lang.String[] { "ErrorCode", "InviteUserNickname", "InviteUserGuid", }); + internal_static_InvitePartyState_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_InvitePartyState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_InvitePartyState_descriptor, + new java.lang.String[] { "InvitePartyGuid", "InvitePartyLeaderNickname", "InvitePartyLeaderGuid", "CurrentPartyMemberCount", "EndTime", }); + internal_static_InvitePartySendState_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_InvitePartySendState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_InvitePartySendState_descriptor, + new java.lang.String[] { "InviteUserNickname", "InviteUserGuid", "EndTime", }); + internal_static_PartyState_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_PartyState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PartyState_descriptor, + new java.lang.String[] { "PartyName", "PartyLeaderNickname", "PartyMemberList", }); + internal_static_PartyMemberState_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_PartyMemberState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PartyMemberState_descriptor, + new java.lang.String[] { "MemberGuid", "MemberNickname", "MarkId", "Pos", "LocationInfo", }); + internal_static_ShopItemInfo_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_ShopItemInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ShopItemInfo_descriptor, + new java.lang.String[] { "ProductID", "LeftCount", }); + internal_static_ShopPacketInfo_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_ShopPacketInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ShopPacketInfo_descriptor, + new java.lang.String[] { "ShopItemList", "LeftTimeAsSecond", "MaxRenewalCount", "CurrentRenewalCount", }); + internal_static_SelledItem_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_SelledItem_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_SelledItem_descriptor, + new java.lang.String[] { "ItemGuid", "ItemId", "Count", }); + internal_static_ItemGuidCount_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_ItemGuidCount_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ItemGuidCount_descriptor, + new java.lang.String[] { "ItemGuid", "ItemCount", }); + internal_static_TattooRagisterInfo_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_TattooRagisterInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TattooRagisterInfo_descriptor, + new java.lang.String[] { "ItemGuid", "SlotIndex", }); + internal_static_Item_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_Item_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Item_descriptor, + new java.lang.String[] { "ItemGuid", "ItemId", "CreateTime", "UpdateTime", "Count", "Slot", "Level", "Attributeids", }); + internal_static_ItemAmount_descriptor = + getDescriptor().getMessageTypes().get(62); + internal_static_ItemAmount_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ItemAmount_descriptor, + new java.lang.String[] { "MetaId", "Amount", }); + internal_static_ItemDeltaAmount_descriptor = + getDescriptor().getMessageTypes().get(63); + internal_static_ItemDeltaAmount_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ItemDeltaAmount_descriptor, + new java.lang.String[] { "DeltaType", "Delta", }); + internal_static_ItemResult_descriptor = + getDescriptor().getMessageTypes().get(64); + internal_static_ItemResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ItemResult_descriptor, + new java.lang.String[] { "UpdatedItems", "NewItems", "DeletedItems", "DeltaPerMeta", "DeltaPerItems", }); + internal_static_ItemResult_UpdatedItemsEntry_descriptor = + internal_static_ItemResult_descriptor.getNestedTypes().get(0); + internal_static_ItemResult_UpdatedItemsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ItemResult_UpdatedItemsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_ItemResult_NewItemsEntry_descriptor = + internal_static_ItemResult_descriptor.getNestedTypes().get(1); + internal_static_ItemResult_NewItemsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ItemResult_NewItemsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_ItemResult_DeltaPerMetaEntry_descriptor = + internal_static_ItemResult_descriptor.getNestedTypes().get(2); + internal_static_ItemResult_DeltaPerMetaEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ItemResult_DeltaPerMetaEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_ItemResult_DeltaPerItemsEntry_descriptor = + internal_static_ItemResult_descriptor.getNestedTypes().get(3); + internal_static_ItemResult_DeltaPerItemsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ItemResult_DeltaPerItemsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_MoneyResult_descriptor = + getDescriptor().getMessageTypes().get(65); + internal_static_MoneyResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MoneyResult_descriptor, + new java.lang.String[] { "Moneys", "Deltas", }); + internal_static_MoneyResult_MoneysEntry_descriptor = + internal_static_MoneyResult_descriptor.getNestedTypes().get(0); + internal_static_MoneyResult_MoneysEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MoneyResult_MoneysEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_MoneyResult_DeltasEntry_descriptor = + internal_static_MoneyResult_descriptor.getNestedTypes().get(1); + internal_static_MoneyResult_DeltasEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MoneyResult_DeltasEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_ExpResult_descriptor = + getDescriptor().getMessageTypes().get(66); + internal_static_ExpResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ExpResult_descriptor, + new java.lang.String[] { "LevelExps", "LevelExpDeltas", }); + internal_static_ExpResult_LevelExpsEntry_descriptor = + internal_static_ExpResult_descriptor.getNestedTypes().get(0); + internal_static_ExpResult_LevelExpsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ExpResult_LevelExpsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_ExpResult_LevelExpDeltasEntry_descriptor = + internal_static_ExpResult_descriptor.getNestedTypes().get(1); + internal_static_ExpResult_LevelExpDeltasEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ExpResult_LevelExpDeltasEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_EntityCommonResult_descriptor = + getDescriptor().getMessageTypes().get(67); + internal_static_EntityCommonResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_EntityCommonResult_descriptor, + new java.lang.String[] { "EntityType", "EntityGuid", "Money", "Exp", "Item", }); + internal_static_CommonResult_descriptor = + getDescriptor().getMessageTypes().get(68); + internal_static_CommonResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_CommonResult_descriptor, + new java.lang.String[] { "EntityCommonResults", }); + internal_static_CraftInfo_descriptor = + getDescriptor().getMessageTypes().get(69); + internal_static_CraftInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_CraftInfo_descriptor, + new java.lang.String[] { "AnchorGuid", "CraftMetaId", "CraftStartTime", "CraftFinishTime", "BeaconGuid", }); + internal_static_UgcNpcSummary_descriptor = + getDescriptor().getMessageTypes().get(70); + internal_static_UgcNpcSummary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgcNpcSummary_descriptor, + new java.lang.String[] { "UgcNpcMetaGuid", "OwnerUserGuid", "BodyItemMetaId", "Title", "Nickname", "Greeting", "Introduction", "Abilities", "HashTagMetaIds", "EntityStateInfo", "Description", "WorldScenario", "DefaultSocialActionId", "HabitSocialActionIds", "DialogueSocialActionIds", "AppearCustomize", "LocatedInstanceContext", "CreatedTime", }); + internal_static_UgcNpcCompact_descriptor = + getDescriptor().getMessageTypes().get(71); + internal_static_UgcNpcCompact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgcNpcCompact_descriptor, + new java.lang.String[] { "UgcNpcMetaGuid", "OwnerUserGuid", "BodyItemMetaId", "Title", "Nickname", "EntityStateInfo", "LocatedInstanceContext", "CreatedTime", }); + internal_static_UgcNpcItems_descriptor = + getDescriptor().getMessageTypes().get(72); + internal_static_UgcNpcItems_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgcNpcItems_descriptor, + new java.lang.String[] { "HasItems", "HasTattooInfos", }); + internal_static_UgcNpcItems_HasItemsEntry_descriptor = + internal_static_UgcNpcItems_descriptor.getNestedTypes().get(0); + internal_static_UgcNpcItems_HasItemsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgcNpcItems_HasItemsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_UgcNpcItems_HasTattooInfosEntry_descriptor = + internal_static_UgcNpcItems_descriptor.getNestedTypes().get(1); + internal_static_UgcNpcItems_HasTattooInfosEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgcNpcItems_HasTattooInfosEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_UgcNpcAppearance_descriptor = + getDescriptor().getMessageTypes().get(73); + internal_static_UgcNpcAppearance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgcNpcAppearance_descriptor, + new java.lang.String[] { "UgcNpcMetaGuid", "OwnerUserGuid", "BodyItemMetaId", "Title", "Nickname", "AppearCustomize", "Abilities", "HasItems", "EntityStateInfo", "DefaultSocialActionId", "HabitSocialActionIds", "DialogueSocialActionIds", }); + internal_static_UgcNpcEntity_descriptor = + getDescriptor().getMessageTypes().get(74); + internal_static_UgcNpcEntity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgcNpcEntity_descriptor, + new java.lang.String[] { "EntityInstantGuid", "CurrentPos", "UgcNpcAppearance", }); + internal_static_UgcNpcRank_descriptor = + getDescriptor().getMessageTypes().get(75); + internal_static_UgcNpcRank_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgcNpcRank_descriptor, + new java.lang.String[] { "Rank", "Title", "NpcNickname", "UgcNpcMetaGuid", "BodyItemMetaId", "OwnerUserNickname", "OwnerUserGuid", "Score", }); + internal_static_UgcNpcInteraction_descriptor = + getDescriptor().getMessageTypes().get(76); + internal_static_UgcNpcInteraction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgcNpcInteraction_descriptor, + new java.lang.String[] { "UgcNpcMetaGuid", "OwnerUserGuid", "IsCheckLikeFlag", }); + internal_static_UgqCurrentState_descriptor = + getDescriptor().getMessageTypes().get(77); + internal_static_UgqCurrentState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqCurrentState_descriptor, + new java.lang.String[] { "ComposedQuestId", "UgqState", }); + internal_static_UgqQuestInTestState_descriptor = + getDescriptor().getMessageTypes().get(78); + internal_static_UgqQuestInTestState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqQuestInTestState_descriptor, + new java.lang.String[] { "ComposedQuestId", "Title", "TitleImagePath", "Title", "TitleImagePath", }); + internal_static_UgqBoardItem_descriptor = + getDescriptor().getMessageTypes().get(79); + internal_static_UgqBoardItem_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqBoardItem_descriptor, + new java.lang.String[] { "ComposedQuestId", "Title", "TitleImagePath", "LikeCount", "BookmarkCount", "Author", "GradeType", "Cost", "Title", "TitleImagePath", "Author", }); + internal_static_UgqBoardItemDetail_descriptor = + getDescriptor().getMessageTypes().get(80); + internal_static_UgqBoardItemDetail_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqBoardItemDetail_descriptor, + new java.lang.String[] { "ComposedQuestId", "Title", "TitleImagePath", "LikeCount", "BookmarkCount", "Author", "Description", "Langs", "Beacon", "Liked", "Bookmarked", "GradeType", "Cost", "AcceptCount", "CompleteCount", "Title", "TitleImagePath", "Author", "Description", "Beacon", }); + internal_static_UgqGameTextDataForClient_descriptor = + getDescriptor().getMessageTypes().get(81); + internal_static_UgqGameTextDataForClient_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqGameTextDataForClient_descriptor, + new java.lang.String[] { "Kr", "En", "Jp", "Kr", "En", "Jp", }); + internal_static_UgqGameTaskDataForClient_descriptor = + getDescriptor().getMessageTypes().get(82); + internal_static_UgqGameTaskDataForClient_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqGameTaskDataForClient_descriptor, + new java.lang.String[] { "TaskNum", "GoalText", "DialogueId", "UgcBeaconGuid", "UgcBeaconNickname", "ActionId", "ActionValue", "IsShowNpcLocation", "DialogueId", }); + internal_static_UgqDialogSequenceAction_descriptor = + getDescriptor().getMessageTypes().get(83); + internal_static_UgqDialogSequenceAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqDialogSequenceAction_descriptor, + new java.lang.String[] { "Contition", "ActionType", "SubType", "ActionNumber", "ActionIndex", "Talker", "Talk", "IsDialogue", "NpcAction", }); + internal_static_UgqDialogueSequences_descriptor = + getDescriptor().getMessageTypes().get(84); + internal_static_UgqDialogueSequences_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqDialogueSequences_descriptor, + new java.lang.String[] { "SequenceId", "Actions", }); + internal_static_UgqDialogueReturns_descriptor = + getDescriptor().getMessageTypes().get(85); + internal_static_UgqDialogueReturns_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqDialogueReturns_descriptor, + new java.lang.String[] { "ActionIndex", "ReturnIdx", }); + internal_static_UgqGameQuestDialogue_descriptor = + getDescriptor().getMessageTypes().get(86); + internal_static_UgqGameQuestDialogue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqGameQuestDialogue_descriptor, + new java.lang.String[] { "DialogueId", "Sequences", "Returns", }); + internal_static_UgqGameQuestDataForClient_descriptor = + getDescriptor().getMessageTypes().get(87); + internal_static_UgqGameQuestDataForClient_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqGameQuestDataForClient_descriptor, + new java.lang.String[] { "ComposedQuestId", "Author", "AuthorGuid", "BeaconId", "UgcBeaconGuid", "UgcBeaconNickname", "Title", "Task", "Dialogues", "UgqStateType", "UgqGradeType", }); + internal_static_UgqDailyRewardCount_descriptor = + getDescriptor().getMessageTypes().get(88); + internal_static_UgqDailyRewardCount_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqDailyRewardCount_descriptor, + new java.lang.String[] { "GradeType", "DailyMaxCount", "CurrentCount", }); + internal_static_UgqBoardSearchResult_descriptor = + getDescriptor().getMessageTypes().get(89); + internal_static_UgqBoardSearchResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqBoardSearchResult_descriptor, + new java.lang.String[] { "PageNumber", "PageSize", "TotalPages", "Items", }); + internal_static_DateRangeUgqBoardItem_descriptor = + getDescriptor().getMessageTypes().get(90); + internal_static_DateRangeUgqBoardItem_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_DateRangeUgqBoardItem_descriptor, + new java.lang.String[] { "Today", "ThisWeek", "ThisMonth", "Today", "ThisWeek", "ThisMonth", }); + internal_static_UgqBoardSportlightResult_descriptor = + getDescriptor().getMessageTypes().get(91); + internal_static_UgqBoardSportlightResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqBoardSportlightResult_descriptor, + new java.lang.String[] { "MostLiked", "MostBookmarked", }); + internal_static_UgqNpcInfo_descriptor = + getDescriptor().getMessageTypes().get(92); + internal_static_UgqNpcInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqNpcInfo_descriptor, + new java.lang.String[] { "NpcMetaGuid", "OwnerGuid", "OwnerEntityType", "Nickname", "Title", "Greeting", "Introduction", "Description", "WorldScenario", "DefaultSocialActionMetaId", "HabitSocialActionMetaIds", "DialogueSocialActionMetaIds", "BodyItemMetaId", "HashTagMetaIds", "State", "IsRegisteredAiChatServer", }); + internal_static_AllUgqInfos_descriptor = + getDescriptor().getMessageTypes().get(93); + internal_static_AllUgqInfos_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AllUgqInfos_descriptor, + new java.lang.String[] { "Quests", "QuestMetaInfos", "UgqGameQuestDataForClients", }); + internal_static_UgqGameQuestDataSimple_descriptor = + getDescriptor().getMessageTypes().get(94); + internal_static_UgqGameQuestDataSimple_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UgqGameQuestDataSimple_descriptor, + new java.lang.String[] { "ComposedQuestId", "Revision", "UserGuid", "Author", "GradeType", "State", "Cost", "Shutdown", }); + internal_static_FarmingSummary_descriptor = + getDescriptor().getMessageTypes().get(95); + internal_static_FarmingSummary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_FarmingSummary_descriptor, + new java.lang.String[] { "FarmingAnchorMetaId", "FarmingPropMetaId", "FarmingUserGuid", "FarmingSummonType", "FarmingEntityGuid", "FarmingState", "StartTime", "EndTime", }); + internal_static_RentalLandInfo_descriptor = + getDescriptor().getMessageTypes().get(96); + internal_static_RentalLandInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_RentalLandInfo_descriptor, + new java.lang.String[] { "LandId", "BuildingId", "RentalCount", }); + internal_static_RentalFloorInfo_descriptor = + getDescriptor().getMessageTypes().get(97); + internal_static_RentalFloorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_RentalFloorInfo_descriptor, + new java.lang.String[] { "Floor", "InstanceName", }); + internal_static_OwnedRentalInfo_descriptor = + getDescriptor().getMessageTypes().get(98); + internal_static_OwnedRentalInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_OwnedRentalInfo_descriptor, + new java.lang.String[] { "LandId", "BuildingId", "Floor", "MyhomeGuid", "RentalFinishTime", }); + internal_static_ModifyOwnedRentalInfo_descriptor = + getDescriptor().getMessageTypes().get(99); + internal_static_ModifyOwnedRentalInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ModifyOwnedRentalInfo_descriptor, + new java.lang.String[] { "ModifyType", "OwnedRentalInfo", }); + internal_static_RentFloorRequestInfo_descriptor = + getDescriptor().getMessageTypes().get(100); + internal_static_RentFloorRequestInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_RentFloorRequestInfo_descriptor, + new java.lang.String[] { "LandId", "BuildingId", "Floor", "OwnerGuid", "MyhomeGuid", "InstanceName", "ThumbnailImageId", "ListImageId", "EnterPlayerCount", "RentalPeriod", "RentalStartTime", "RentalFinishTime", }); + internal_static_OperationSystemMessage_descriptor = + getDescriptor().getMessageTypes().get(101); + internal_static_OperationSystemMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_OperationSystemMessage_descriptor, + new java.lang.String[] { "LanguageType", "Text", }); + internal_static_MeetingRoomInfo_descriptor = + getDescriptor().getMessageTypes().get(102); + internal_static_MeetingRoomInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MeetingRoomInfo_descriptor, + new java.lang.String[] { "ScreenPageNo", }); + com.google.protobuf.TimestampProto.getDescriptor(); + com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor(); + com.caliverse.admin.domain.RabbitMq.message.DefineResult.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameNpcPlayType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameNpcPlayType.java new file mode 100644 index 0000000..890e867 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameNpcPlayType.java @@ -0,0 +1,104 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf enum {@code GameNpcPlayType} + */ +public enum GameNpcPlayType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * GameNpcPlayType_None = 0; + */ + GameNpcPlayType_None(0), + UNRECOGNIZED(-1), + ; + + /** + * GameNpcPlayType_None = 0; + */ + public static final int GameNpcPlayType_None_VALUE = 0; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static GameNpcPlayType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static GameNpcPlayType forNumber(int value) { + switch (value) { + case 0: return GameNpcPlayType_None; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + GameNpcPlayType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GameNpcPlayType findValueByNumber(int number) { + return GameNpcPlayType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(23); + } + + private static final GameNpcPlayType[] VALUES = values(); + + public static GameNpcPlayType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private GameNpcPlayType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:GameNpcPlayType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameServerType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameServerType.java new file mode 100644 index 0000000..2868b9b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/GameServerType.java @@ -0,0 +1,126 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *   
+ * 
+ * + * Protobuf enum {@code GameServerType} + */ +public enum GameServerType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * GameServerType_None = 0; + */ + GameServerType_None(0), + /** + * GameServerType_Channel = 1; + */ + GameServerType_Channel(1), + /** + * GameServerType_Indun = 2; + */ + GameServerType_Indun(2), + UNRECOGNIZED(-1), + ; + + /** + * GameServerType_None = 0; + */ + public static final int GameServerType_None_VALUE = 0; + /** + * GameServerType_Channel = 1; + */ + public static final int GameServerType_Channel_VALUE = 1; + /** + * GameServerType_Indun = 2; + */ + public static final int GameServerType_Indun_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static GameServerType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static GameServerType forNumber(int value) { + switch (value) { + case 0: return GameServerType_None; + case 1: return GameServerType_Channel; + case 2: return GameServerType_Indun; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + GameServerType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GameServerType findValueByNumber(int number) { + return GameServerType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(6); + } + + private static final GameServerType[] VALUES = values(); + + public static GameServerType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private GameServerType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:GameServerType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvenBagType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvenBagType.java new file mode 100644 index 0000000..6340116 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvenBagType.java @@ -0,0 +1,193 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * κ丮  : 
+ * 
+ * + * Protobuf enum {@code InvenBagType} + */ +public enum InvenBagType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * InvenBagType_None = 0; + */ + InvenBagType_None(0), + /** + *
+   *ǻ 
+   * 
+ * + * InvenBagType_Cloth = 1; + */ + InvenBagType_Cloth(1), + /** + *
+   * 
+   * 
+ * + * InvenBagType_Prop = 2; + */ + InvenBagType_Prop(2), + /** + *
+   *̿ 
+   * 
+ * + * InvenBagType_Beauty = 3; + */ + InvenBagType_Beauty(3), + /** + *
+   *Ÿ 
+   * 
+ * + * InvenBagType_Tattoo = 4; + */ + InvenBagType_Tattoo(4), + /** + *
+   *Ÿ 
+   * 
+ * + * InvenBagType_Etc = 5; + */ + InvenBagType_Etc(5), + UNRECOGNIZED(-1), + ; + + /** + * InvenBagType_None = 0; + */ + public static final int InvenBagType_None_VALUE = 0; + /** + *
+   *ǻ 
+   * 
+ * + * InvenBagType_Cloth = 1; + */ + public static final int InvenBagType_Cloth_VALUE = 1; + /** + *
+   * 
+   * 
+ * + * InvenBagType_Prop = 2; + */ + public static final int InvenBagType_Prop_VALUE = 2; + /** + *
+   *̿ 
+   * 
+ * + * InvenBagType_Beauty = 3; + */ + public static final int InvenBagType_Beauty_VALUE = 3; + /** + *
+   *Ÿ 
+   * 
+ * + * InvenBagType_Tattoo = 4; + */ + public static final int InvenBagType_Tattoo_VALUE = 4; + /** + *
+   *Ÿ 
+   * 
+ * + * InvenBagType_Etc = 5; + */ + public static final int InvenBagType_Etc_VALUE = 5; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static InvenBagType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static InvenBagType forNumber(int value) { + switch (value) { + case 0: return InvenBagType_None; + case 1: return InvenBagType_Cloth; + case 2: return InvenBagType_Prop; + case 3: return InvenBagType_Beauty; + case 4: return InvenBagType_Tattoo; + case 5: return InvenBagType_Etc; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + InvenBagType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public InvenBagType findValueByNumber(int number) { + return InvenBagType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(8); + } + + private static final InvenBagType[] VALUES = values(); + + public static InvenBagType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private InvenBagType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:InvenBagType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvenEquipType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvenEquipType.java new file mode 100644 index 0000000..665ae30 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvenEquipType.java @@ -0,0 +1,159 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * κ丮  : 
+ * 
+ * + * Protobuf enum {@code InvenEquipType} + */ +public enum InvenEquipType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * InvenEquipType_None = 0; + */ + InvenEquipType_None(0), + /** + *
+   *ǻ 
+   * 
+ * + * InvenEquipType_Cloth = 1; + */ + InvenEquipType_Cloth(1), + /** + *
+   * 
+   * 
+ * + * InvenEquipType_Tool = 2; + */ + InvenEquipType_Tool(2), + /** + *
+   *Ÿ 
+   * 
+ * + * InvenEquipType_Tattoo = 3; + */ + InvenEquipType_Tattoo(3), + UNRECOGNIZED(-1), + ; + + /** + * InvenEquipType_None = 0; + */ + public static final int InvenEquipType_None_VALUE = 0; + /** + *
+   *ǻ 
+   * 
+ * + * InvenEquipType_Cloth = 1; + */ + public static final int InvenEquipType_Cloth_VALUE = 1; + /** + *
+   * 
+   * 
+ * + * InvenEquipType_Tool = 2; + */ + public static final int InvenEquipType_Tool_VALUE = 2; + /** + *
+   *Ÿ 
+   * 
+ * + * InvenEquipType_Tattoo = 3; + */ + public static final int InvenEquipType_Tattoo_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static InvenEquipType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static InvenEquipType forNumber(int value) { + switch (value) { + case 0: return InvenEquipType_None; + case 1: return InvenEquipType_Cloth; + case 2: return InvenEquipType_Tool; + case 3: return InvenEquipType_Tattoo; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + InvenEquipType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public InvenEquipType findValueByNumber(int number) { + return InvenEquipType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(9); + } + + private static final InvenEquipType[] VALUES = values(); + + public static InvenEquipType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private InvenEquipType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:InvenEquipType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Inventory.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Inventory.java new file mode 100644 index 0000000..94c93af --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Inventory.java @@ -0,0 +1,3912 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code Inventory} + */ +public final class Inventory extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Inventory) + InventoryOrBuilder { +private static final long serialVersionUID = 0L; + // Use Inventory.newBuilder() to construct. + private Inventory(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Inventory() { + etcItem_ = java.util.Collections.emptyList(); + costumeItem_ = java.util.Collections.emptyList(); + interiorItem_ = java.util.Collections.emptyList(); + beautyItem_ = java.util.Collections.emptyList(); + tattooItem_ = java.util.Collections.emptyList(); + etcItemNft_ = java.util.Collections.emptyList(); + costumeItemNft_ = java.util.Collections.emptyList(); + interiorItemNft_ = java.util.Collections.emptyList(); + beautyItemNft_ = java.util.Collections.emptyList(); + tattooItemNft_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Inventory(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Inventory_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Inventory_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Inventory.class, com.caliverse.admin.domain.RabbitMq.message.Inventory.Builder.class); + } + + public static final int ETCITEM_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List etcItem_; + /** + * repeated .Item etcItem = 1; + */ + @java.lang.Override + public java.util.List getEtcItemList() { + return etcItem_; + } + /** + * repeated .Item etcItem = 1; + */ + @java.lang.Override + public java.util.List + getEtcItemOrBuilderList() { + return etcItem_; + } + /** + * repeated .Item etcItem = 1; + */ + @java.lang.Override + public int getEtcItemCount() { + return etcItem_.size(); + } + /** + * repeated .Item etcItem = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getEtcItem(int index) { + return etcItem_.get(index); + } + /** + * repeated .Item etcItem = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getEtcItemOrBuilder( + int index) { + return etcItem_.get(index); + } + + public static final int COSTUMEITEM_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List costumeItem_; + /** + * repeated .Item costumeItem = 2; + */ + @java.lang.Override + public java.util.List getCostumeItemList() { + return costumeItem_; + } + /** + * repeated .Item costumeItem = 2; + */ + @java.lang.Override + public java.util.List + getCostumeItemOrBuilderList() { + return costumeItem_; + } + /** + * repeated .Item costumeItem = 2; + */ + @java.lang.Override + public int getCostumeItemCount() { + return costumeItem_.size(); + } + /** + * repeated .Item costumeItem = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getCostumeItem(int index) { + return costumeItem_.get(index); + } + /** + * repeated .Item costumeItem = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getCostumeItemOrBuilder( + int index) { + return costumeItem_.get(index); + } + + public static final int INTERIORITEM_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List interiorItem_; + /** + * repeated .Item interiorItem = 3; + */ + @java.lang.Override + public java.util.List getInteriorItemList() { + return interiorItem_; + } + /** + * repeated .Item interiorItem = 3; + */ + @java.lang.Override + public java.util.List + getInteriorItemOrBuilderList() { + return interiorItem_; + } + /** + * repeated .Item interiorItem = 3; + */ + @java.lang.Override + public int getInteriorItemCount() { + return interiorItem_.size(); + } + /** + * repeated .Item interiorItem = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getInteriorItem(int index) { + return interiorItem_.get(index); + } + /** + * repeated .Item interiorItem = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getInteriorItemOrBuilder( + int index) { + return interiorItem_.get(index); + } + + public static final int BEAUTYITEM_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List beautyItem_; + /** + * repeated .Item beautyItem = 4; + */ + @java.lang.Override + public java.util.List getBeautyItemList() { + return beautyItem_; + } + /** + * repeated .Item beautyItem = 4; + */ + @java.lang.Override + public java.util.List + getBeautyItemOrBuilderList() { + return beautyItem_; + } + /** + * repeated .Item beautyItem = 4; + */ + @java.lang.Override + public int getBeautyItemCount() { + return beautyItem_.size(); + } + /** + * repeated .Item beautyItem = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getBeautyItem(int index) { + return beautyItem_.get(index); + } + /** + * repeated .Item beautyItem = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getBeautyItemOrBuilder( + int index) { + return beautyItem_.get(index); + } + + public static final int TATTOOITEM_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private java.util.List tattooItem_; + /** + * repeated .Item tattooItem = 5; + */ + @java.lang.Override + public java.util.List getTattooItemList() { + return tattooItem_; + } + /** + * repeated .Item tattooItem = 5; + */ + @java.lang.Override + public java.util.List + getTattooItemOrBuilderList() { + return tattooItem_; + } + /** + * repeated .Item tattooItem = 5; + */ + @java.lang.Override + public int getTattooItemCount() { + return tattooItem_.size(); + } + /** + * repeated .Item tattooItem = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getTattooItem(int index) { + return tattooItem_.get(index); + } + /** + * repeated .Item tattooItem = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getTattooItemOrBuilder( + int index) { + return tattooItem_.get(index); + } + + public static final int ETCITEMNFT_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private java.util.List etcItemNft_; + /** + * repeated .Item etcItemNft = 6; + */ + @java.lang.Override + public java.util.List getEtcItemNftList() { + return etcItemNft_; + } + /** + * repeated .Item etcItemNft = 6; + */ + @java.lang.Override + public java.util.List + getEtcItemNftOrBuilderList() { + return etcItemNft_; + } + /** + * repeated .Item etcItemNft = 6; + */ + @java.lang.Override + public int getEtcItemNftCount() { + return etcItemNft_.size(); + } + /** + * repeated .Item etcItemNft = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getEtcItemNft(int index) { + return etcItemNft_.get(index); + } + /** + * repeated .Item etcItemNft = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getEtcItemNftOrBuilder( + int index) { + return etcItemNft_.get(index); + } + + public static final int COSTUMEITEMNFT_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private java.util.List costumeItemNft_; + /** + * repeated .Item costumeItemNft = 7; + */ + @java.lang.Override + public java.util.List getCostumeItemNftList() { + return costumeItemNft_; + } + /** + * repeated .Item costumeItemNft = 7; + */ + @java.lang.Override + public java.util.List + getCostumeItemNftOrBuilderList() { + return costumeItemNft_; + } + /** + * repeated .Item costumeItemNft = 7; + */ + @java.lang.Override + public int getCostumeItemNftCount() { + return costumeItemNft_.size(); + } + /** + * repeated .Item costumeItemNft = 7; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getCostumeItemNft(int index) { + return costumeItemNft_.get(index); + } + /** + * repeated .Item costumeItemNft = 7; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getCostumeItemNftOrBuilder( + int index) { + return costumeItemNft_.get(index); + } + + public static final int INTERIORITEMNFT_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private java.util.List interiorItemNft_; + /** + * repeated .Item interiorItemNft = 8; + */ + @java.lang.Override + public java.util.List getInteriorItemNftList() { + return interiorItemNft_; + } + /** + * repeated .Item interiorItemNft = 8; + */ + @java.lang.Override + public java.util.List + getInteriorItemNftOrBuilderList() { + return interiorItemNft_; + } + /** + * repeated .Item interiorItemNft = 8; + */ + @java.lang.Override + public int getInteriorItemNftCount() { + return interiorItemNft_.size(); + } + /** + * repeated .Item interiorItemNft = 8; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getInteriorItemNft(int index) { + return interiorItemNft_.get(index); + } + /** + * repeated .Item interiorItemNft = 8; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getInteriorItemNftOrBuilder( + int index) { + return interiorItemNft_.get(index); + } + + public static final int BEAUTYITEMNFT_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private java.util.List beautyItemNft_; + /** + * repeated .Item beautyItemNft = 9; + */ + @java.lang.Override + public java.util.List getBeautyItemNftList() { + return beautyItemNft_; + } + /** + * repeated .Item beautyItemNft = 9; + */ + @java.lang.Override + public java.util.List + getBeautyItemNftOrBuilderList() { + return beautyItemNft_; + } + /** + * repeated .Item beautyItemNft = 9; + */ + @java.lang.Override + public int getBeautyItemNftCount() { + return beautyItemNft_.size(); + } + /** + * repeated .Item beautyItemNft = 9; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getBeautyItemNft(int index) { + return beautyItemNft_.get(index); + } + /** + * repeated .Item beautyItemNft = 9; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getBeautyItemNftOrBuilder( + int index) { + return beautyItemNft_.get(index); + } + + public static final int TATTOOITEMNFT_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private java.util.List tattooItemNft_; + /** + * repeated .Item tattooItemNft = 10; + */ + @java.lang.Override + public java.util.List getTattooItemNftList() { + return tattooItemNft_; + } + /** + * repeated .Item tattooItemNft = 10; + */ + @java.lang.Override + public java.util.List + getTattooItemNftOrBuilderList() { + return tattooItemNft_; + } + /** + * repeated .Item tattooItemNft = 10; + */ + @java.lang.Override + public int getTattooItemNftCount() { + return tattooItemNft_.size(); + } + /** + * repeated .Item tattooItemNft = 10; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getTattooItemNft(int index) { + return tattooItemNft_.get(index); + } + /** + * repeated .Item tattooItemNft = 10; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getTattooItemNftOrBuilder( + int index) { + return tattooItemNft_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < etcItem_.size(); i++) { + output.writeMessage(1, etcItem_.get(i)); + } + for (int i = 0; i < costumeItem_.size(); i++) { + output.writeMessage(2, costumeItem_.get(i)); + } + for (int i = 0; i < interiorItem_.size(); i++) { + output.writeMessage(3, interiorItem_.get(i)); + } + for (int i = 0; i < beautyItem_.size(); i++) { + output.writeMessage(4, beautyItem_.get(i)); + } + for (int i = 0; i < tattooItem_.size(); i++) { + output.writeMessage(5, tattooItem_.get(i)); + } + for (int i = 0; i < etcItemNft_.size(); i++) { + output.writeMessage(6, etcItemNft_.get(i)); + } + for (int i = 0; i < costumeItemNft_.size(); i++) { + output.writeMessage(7, costumeItemNft_.get(i)); + } + for (int i = 0; i < interiorItemNft_.size(); i++) { + output.writeMessage(8, interiorItemNft_.get(i)); + } + for (int i = 0; i < beautyItemNft_.size(); i++) { + output.writeMessage(9, beautyItemNft_.get(i)); + } + for (int i = 0; i < tattooItemNft_.size(); i++) { + output.writeMessage(10, tattooItemNft_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < etcItem_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, etcItem_.get(i)); + } + for (int i = 0; i < costumeItem_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, costumeItem_.get(i)); + } + for (int i = 0; i < interiorItem_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, interiorItem_.get(i)); + } + for (int i = 0; i < beautyItem_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, beautyItem_.get(i)); + } + for (int i = 0; i < tattooItem_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, tattooItem_.get(i)); + } + for (int i = 0; i < etcItemNft_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, etcItemNft_.get(i)); + } + for (int i = 0; i < costumeItemNft_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, costumeItemNft_.get(i)); + } + for (int i = 0; i < interiorItemNft_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, interiorItemNft_.get(i)); + } + for (int i = 0; i < beautyItemNft_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, beautyItemNft_.get(i)); + } + for (int i = 0; i < tattooItemNft_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, tattooItemNft_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.Inventory)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.Inventory other = (com.caliverse.admin.domain.RabbitMq.message.Inventory) obj; + + if (!getEtcItemList() + .equals(other.getEtcItemList())) return false; + if (!getCostumeItemList() + .equals(other.getCostumeItemList())) return false; + if (!getInteriorItemList() + .equals(other.getInteriorItemList())) return false; + if (!getBeautyItemList() + .equals(other.getBeautyItemList())) return false; + if (!getTattooItemList() + .equals(other.getTattooItemList())) return false; + if (!getEtcItemNftList() + .equals(other.getEtcItemNftList())) return false; + if (!getCostumeItemNftList() + .equals(other.getCostumeItemNftList())) return false; + if (!getInteriorItemNftList() + .equals(other.getInteriorItemNftList())) return false; + if (!getBeautyItemNftList() + .equals(other.getBeautyItemNftList())) return false; + if (!getTattooItemNftList() + .equals(other.getTattooItemNftList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getEtcItemCount() > 0) { + hash = (37 * hash) + ETCITEM_FIELD_NUMBER; + hash = (53 * hash) + getEtcItemList().hashCode(); + } + if (getCostumeItemCount() > 0) { + hash = (37 * hash) + COSTUMEITEM_FIELD_NUMBER; + hash = (53 * hash) + getCostumeItemList().hashCode(); + } + if (getInteriorItemCount() > 0) { + hash = (37 * hash) + INTERIORITEM_FIELD_NUMBER; + hash = (53 * hash) + getInteriorItemList().hashCode(); + } + if (getBeautyItemCount() > 0) { + hash = (37 * hash) + BEAUTYITEM_FIELD_NUMBER; + hash = (53 * hash) + getBeautyItemList().hashCode(); + } + if (getTattooItemCount() > 0) { + hash = (37 * hash) + TATTOOITEM_FIELD_NUMBER; + hash = (53 * hash) + getTattooItemList().hashCode(); + } + if (getEtcItemNftCount() > 0) { + hash = (37 * hash) + ETCITEMNFT_FIELD_NUMBER; + hash = (53 * hash) + getEtcItemNftList().hashCode(); + } + if (getCostumeItemNftCount() > 0) { + hash = (37 * hash) + COSTUMEITEMNFT_FIELD_NUMBER; + hash = (53 * hash) + getCostumeItemNftList().hashCode(); + } + if (getInteriorItemNftCount() > 0) { + hash = (37 * hash) + INTERIORITEMNFT_FIELD_NUMBER; + hash = (53 * hash) + getInteriorItemNftList().hashCode(); + } + if (getBeautyItemNftCount() > 0) { + hash = (37 * hash) + BEAUTYITEMNFT_FIELD_NUMBER; + hash = (53 * hash) + getBeautyItemNftList().hashCode(); + } + if (getTattooItemNftCount() > 0) { + hash = (37 * hash) + TATTOOITEMNFT_FIELD_NUMBER; + hash = (53 * hash) + getTattooItemNftList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.Inventory parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Inventory parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Inventory parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Inventory parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Inventory parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Inventory parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Inventory parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Inventory parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Inventory parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Inventory parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Inventory parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Inventory parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.Inventory prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code Inventory} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:Inventory) + com.caliverse.admin.domain.RabbitMq.message.InventoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Inventory_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Inventory_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Inventory.class, com.caliverse.admin.domain.RabbitMq.message.Inventory.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.Inventory.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (etcItemBuilder_ == null) { + etcItem_ = java.util.Collections.emptyList(); + } else { + etcItem_ = null; + etcItemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (costumeItemBuilder_ == null) { + costumeItem_ = java.util.Collections.emptyList(); + } else { + costumeItem_ = null; + costumeItemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + if (interiorItemBuilder_ == null) { + interiorItem_ = java.util.Collections.emptyList(); + } else { + interiorItem_ = null; + interiorItemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + if (beautyItemBuilder_ == null) { + beautyItem_ = java.util.Collections.emptyList(); + } else { + beautyItem_ = null; + beautyItemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (tattooItemBuilder_ == null) { + tattooItem_ = java.util.Collections.emptyList(); + } else { + tattooItem_ = null; + tattooItemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + if (etcItemNftBuilder_ == null) { + etcItemNft_ = java.util.Collections.emptyList(); + } else { + etcItemNft_ = null; + etcItemNftBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000020); + if (costumeItemNftBuilder_ == null) { + costumeItemNft_ = java.util.Collections.emptyList(); + } else { + costumeItemNft_ = null; + costumeItemNftBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); + if (interiorItemNftBuilder_ == null) { + interiorItemNft_ = java.util.Collections.emptyList(); + } else { + interiorItemNft_ = null; + interiorItemNftBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + if (beautyItemNftBuilder_ == null) { + beautyItemNft_ = java.util.Collections.emptyList(); + } else { + beautyItemNft_ = null; + beautyItemNftBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000100); + if (tattooItemNftBuilder_ == null) { + tattooItemNft_ = java.util.Collections.emptyList(); + } else { + tattooItemNft_ = null; + tattooItemNftBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000200); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Inventory_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Inventory getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.Inventory.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Inventory build() { + com.caliverse.admin.domain.RabbitMq.message.Inventory result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Inventory buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.Inventory result = new com.caliverse.admin.domain.RabbitMq.message.Inventory(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.Inventory result) { + if (etcItemBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + etcItem_ = java.util.Collections.unmodifiableList(etcItem_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.etcItem_ = etcItem_; + } else { + result.etcItem_ = etcItemBuilder_.build(); + } + if (costumeItemBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + costumeItem_ = java.util.Collections.unmodifiableList(costumeItem_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.costumeItem_ = costumeItem_; + } else { + result.costumeItem_ = costumeItemBuilder_.build(); + } + if (interiorItemBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + interiorItem_ = java.util.Collections.unmodifiableList(interiorItem_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.interiorItem_ = interiorItem_; + } else { + result.interiorItem_ = interiorItemBuilder_.build(); + } + if (beautyItemBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + beautyItem_ = java.util.Collections.unmodifiableList(beautyItem_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.beautyItem_ = beautyItem_; + } else { + result.beautyItem_ = beautyItemBuilder_.build(); + } + if (tattooItemBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + tattooItem_ = java.util.Collections.unmodifiableList(tattooItem_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.tattooItem_ = tattooItem_; + } else { + result.tattooItem_ = tattooItemBuilder_.build(); + } + if (etcItemNftBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + etcItemNft_ = java.util.Collections.unmodifiableList(etcItemNft_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.etcItemNft_ = etcItemNft_; + } else { + result.etcItemNft_ = etcItemNftBuilder_.build(); + } + if (costumeItemNftBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0)) { + costumeItemNft_ = java.util.Collections.unmodifiableList(costumeItemNft_); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.costumeItemNft_ = costumeItemNft_; + } else { + result.costumeItemNft_ = costumeItemNftBuilder_.build(); + } + if (interiorItemNftBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0)) { + interiorItemNft_ = java.util.Collections.unmodifiableList(interiorItemNft_); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.interiorItemNft_ = interiorItemNft_; + } else { + result.interiorItemNft_ = interiorItemNftBuilder_.build(); + } + if (beautyItemNftBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0)) { + beautyItemNft_ = java.util.Collections.unmodifiableList(beautyItemNft_); + bitField0_ = (bitField0_ & ~0x00000100); + } + result.beautyItemNft_ = beautyItemNft_; + } else { + result.beautyItemNft_ = beautyItemNftBuilder_.build(); + } + if (tattooItemNftBuilder_ == null) { + if (((bitField0_ & 0x00000200) != 0)) { + tattooItemNft_ = java.util.Collections.unmodifiableList(tattooItemNft_); + bitField0_ = (bitField0_ & ~0x00000200); + } + result.tattooItemNft_ = tattooItemNft_; + } else { + result.tattooItemNft_ = tattooItemNftBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.Inventory result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.Inventory) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.Inventory)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.Inventory other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.Inventory.getDefaultInstance()) return this; + if (etcItemBuilder_ == null) { + if (!other.etcItem_.isEmpty()) { + if (etcItem_.isEmpty()) { + etcItem_ = other.etcItem_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureEtcItemIsMutable(); + etcItem_.addAll(other.etcItem_); + } + onChanged(); + } + } else { + if (!other.etcItem_.isEmpty()) { + if (etcItemBuilder_.isEmpty()) { + etcItemBuilder_.dispose(); + etcItemBuilder_ = null; + etcItem_ = other.etcItem_; + bitField0_ = (bitField0_ & ~0x00000001); + etcItemBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEtcItemFieldBuilder() : null; + } else { + etcItemBuilder_.addAllMessages(other.etcItem_); + } + } + } + if (costumeItemBuilder_ == null) { + if (!other.costumeItem_.isEmpty()) { + if (costumeItem_.isEmpty()) { + costumeItem_ = other.costumeItem_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureCostumeItemIsMutable(); + costumeItem_.addAll(other.costumeItem_); + } + onChanged(); + } + } else { + if (!other.costumeItem_.isEmpty()) { + if (costumeItemBuilder_.isEmpty()) { + costumeItemBuilder_.dispose(); + costumeItemBuilder_ = null; + costumeItem_ = other.costumeItem_; + bitField0_ = (bitField0_ & ~0x00000002); + costumeItemBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCostumeItemFieldBuilder() : null; + } else { + costumeItemBuilder_.addAllMessages(other.costumeItem_); + } + } + } + if (interiorItemBuilder_ == null) { + if (!other.interiorItem_.isEmpty()) { + if (interiorItem_.isEmpty()) { + interiorItem_ = other.interiorItem_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureInteriorItemIsMutable(); + interiorItem_.addAll(other.interiorItem_); + } + onChanged(); + } + } else { + if (!other.interiorItem_.isEmpty()) { + if (interiorItemBuilder_.isEmpty()) { + interiorItemBuilder_.dispose(); + interiorItemBuilder_ = null; + interiorItem_ = other.interiorItem_; + bitField0_ = (bitField0_ & ~0x00000004); + interiorItemBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInteriorItemFieldBuilder() : null; + } else { + interiorItemBuilder_.addAllMessages(other.interiorItem_); + } + } + } + if (beautyItemBuilder_ == null) { + if (!other.beautyItem_.isEmpty()) { + if (beautyItem_.isEmpty()) { + beautyItem_ = other.beautyItem_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureBeautyItemIsMutable(); + beautyItem_.addAll(other.beautyItem_); + } + onChanged(); + } + } else { + if (!other.beautyItem_.isEmpty()) { + if (beautyItemBuilder_.isEmpty()) { + beautyItemBuilder_.dispose(); + beautyItemBuilder_ = null; + beautyItem_ = other.beautyItem_; + bitField0_ = (bitField0_ & ~0x00000008); + beautyItemBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBeautyItemFieldBuilder() : null; + } else { + beautyItemBuilder_.addAllMessages(other.beautyItem_); + } + } + } + if (tattooItemBuilder_ == null) { + if (!other.tattooItem_.isEmpty()) { + if (tattooItem_.isEmpty()) { + tattooItem_ = other.tattooItem_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureTattooItemIsMutable(); + tattooItem_.addAll(other.tattooItem_); + } + onChanged(); + } + } else { + if (!other.tattooItem_.isEmpty()) { + if (tattooItemBuilder_.isEmpty()) { + tattooItemBuilder_.dispose(); + tattooItemBuilder_ = null; + tattooItem_ = other.tattooItem_; + bitField0_ = (bitField0_ & ~0x00000010); + tattooItemBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTattooItemFieldBuilder() : null; + } else { + tattooItemBuilder_.addAllMessages(other.tattooItem_); + } + } + } + if (etcItemNftBuilder_ == null) { + if (!other.etcItemNft_.isEmpty()) { + if (etcItemNft_.isEmpty()) { + etcItemNft_ = other.etcItemNft_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureEtcItemNftIsMutable(); + etcItemNft_.addAll(other.etcItemNft_); + } + onChanged(); + } + } else { + if (!other.etcItemNft_.isEmpty()) { + if (etcItemNftBuilder_.isEmpty()) { + etcItemNftBuilder_.dispose(); + etcItemNftBuilder_ = null; + etcItemNft_ = other.etcItemNft_; + bitField0_ = (bitField0_ & ~0x00000020); + etcItemNftBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEtcItemNftFieldBuilder() : null; + } else { + etcItemNftBuilder_.addAllMessages(other.etcItemNft_); + } + } + } + if (costumeItemNftBuilder_ == null) { + if (!other.costumeItemNft_.isEmpty()) { + if (costumeItemNft_.isEmpty()) { + costumeItemNft_ = other.costumeItemNft_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureCostumeItemNftIsMutable(); + costumeItemNft_.addAll(other.costumeItemNft_); + } + onChanged(); + } + } else { + if (!other.costumeItemNft_.isEmpty()) { + if (costumeItemNftBuilder_.isEmpty()) { + costumeItemNftBuilder_.dispose(); + costumeItemNftBuilder_ = null; + costumeItemNft_ = other.costumeItemNft_; + bitField0_ = (bitField0_ & ~0x00000040); + costumeItemNftBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCostumeItemNftFieldBuilder() : null; + } else { + costumeItemNftBuilder_.addAllMessages(other.costumeItemNft_); + } + } + } + if (interiorItemNftBuilder_ == null) { + if (!other.interiorItemNft_.isEmpty()) { + if (interiorItemNft_.isEmpty()) { + interiorItemNft_ = other.interiorItemNft_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureInteriorItemNftIsMutable(); + interiorItemNft_.addAll(other.interiorItemNft_); + } + onChanged(); + } + } else { + if (!other.interiorItemNft_.isEmpty()) { + if (interiorItemNftBuilder_.isEmpty()) { + interiorItemNftBuilder_.dispose(); + interiorItemNftBuilder_ = null; + interiorItemNft_ = other.interiorItemNft_; + bitField0_ = (bitField0_ & ~0x00000080); + interiorItemNftBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInteriorItemNftFieldBuilder() : null; + } else { + interiorItemNftBuilder_.addAllMessages(other.interiorItemNft_); + } + } + } + if (beautyItemNftBuilder_ == null) { + if (!other.beautyItemNft_.isEmpty()) { + if (beautyItemNft_.isEmpty()) { + beautyItemNft_ = other.beautyItemNft_; + bitField0_ = (bitField0_ & ~0x00000100); + } else { + ensureBeautyItemNftIsMutable(); + beautyItemNft_.addAll(other.beautyItemNft_); + } + onChanged(); + } + } else { + if (!other.beautyItemNft_.isEmpty()) { + if (beautyItemNftBuilder_.isEmpty()) { + beautyItemNftBuilder_.dispose(); + beautyItemNftBuilder_ = null; + beautyItemNft_ = other.beautyItemNft_; + bitField0_ = (bitField0_ & ~0x00000100); + beautyItemNftBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBeautyItemNftFieldBuilder() : null; + } else { + beautyItemNftBuilder_.addAllMessages(other.beautyItemNft_); + } + } + } + if (tattooItemNftBuilder_ == null) { + if (!other.tattooItemNft_.isEmpty()) { + if (tattooItemNft_.isEmpty()) { + tattooItemNft_ = other.tattooItemNft_; + bitField0_ = (bitField0_ & ~0x00000200); + } else { + ensureTattooItemNftIsMutable(); + tattooItemNft_.addAll(other.tattooItemNft_); + } + onChanged(); + } + } else { + if (!other.tattooItemNft_.isEmpty()) { + if (tattooItemNftBuilder_.isEmpty()) { + tattooItemNftBuilder_.dispose(); + tattooItemNftBuilder_ = null; + tattooItemNft_ = other.tattooItemNft_; + bitField0_ = (bitField0_ & ~0x00000200); + tattooItemNftBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTattooItemNftFieldBuilder() : null; + } else { + tattooItemNftBuilder_.addAllMessages(other.tattooItemNft_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.caliverse.admin.domain.RabbitMq.message.Item m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.Item.parser(), + extensionRegistry); + if (etcItemBuilder_ == null) { + ensureEtcItemIsMutable(); + etcItem_.add(m); + } else { + etcItemBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.caliverse.admin.domain.RabbitMq.message.Item m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.Item.parser(), + extensionRegistry); + if (costumeItemBuilder_ == null) { + ensureCostumeItemIsMutable(); + costumeItem_.add(m); + } else { + costumeItemBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.caliverse.admin.domain.RabbitMq.message.Item m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.Item.parser(), + extensionRegistry); + if (interiorItemBuilder_ == null) { + ensureInteriorItemIsMutable(); + interiorItem_.add(m); + } else { + interiorItemBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.caliverse.admin.domain.RabbitMq.message.Item m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.Item.parser(), + extensionRegistry); + if (beautyItemBuilder_ == null) { + ensureBeautyItemIsMutable(); + beautyItem_.add(m); + } else { + beautyItemBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.caliverse.admin.domain.RabbitMq.message.Item m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.Item.parser(), + extensionRegistry); + if (tattooItemBuilder_ == null) { + ensureTattooItemIsMutable(); + tattooItem_.add(m); + } else { + tattooItemBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: { + com.caliverse.admin.domain.RabbitMq.message.Item m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.Item.parser(), + extensionRegistry); + if (etcItemNftBuilder_ == null) { + ensureEtcItemNftIsMutable(); + etcItemNft_.add(m); + } else { + etcItemNftBuilder_.addMessage(m); + } + break; + } // case 50 + case 58: { + com.caliverse.admin.domain.RabbitMq.message.Item m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.Item.parser(), + extensionRegistry); + if (costumeItemNftBuilder_ == null) { + ensureCostumeItemNftIsMutable(); + costumeItemNft_.add(m); + } else { + costumeItemNftBuilder_.addMessage(m); + } + break; + } // case 58 + case 66: { + com.caliverse.admin.domain.RabbitMq.message.Item m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.Item.parser(), + extensionRegistry); + if (interiorItemNftBuilder_ == null) { + ensureInteriorItemNftIsMutable(); + interiorItemNft_.add(m); + } else { + interiorItemNftBuilder_.addMessage(m); + } + break; + } // case 66 + case 74: { + com.caliverse.admin.domain.RabbitMq.message.Item m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.Item.parser(), + extensionRegistry); + if (beautyItemNftBuilder_ == null) { + ensureBeautyItemNftIsMutable(); + beautyItemNft_.add(m); + } else { + beautyItemNftBuilder_.addMessage(m); + } + break; + } // case 74 + case 82: { + com.caliverse.admin.domain.RabbitMq.message.Item m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.Item.parser(), + extensionRegistry); + if (tattooItemNftBuilder_ == null) { + ensureTattooItemNftIsMutable(); + tattooItemNft_.add(m); + } else { + tattooItemNftBuilder_.addMessage(m); + } + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List etcItem_ = + java.util.Collections.emptyList(); + private void ensureEtcItemIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + etcItem_ = new java.util.ArrayList(etcItem_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> etcItemBuilder_; + + /** + * repeated .Item etcItem = 1; + */ + public java.util.List getEtcItemList() { + if (etcItemBuilder_ == null) { + return java.util.Collections.unmodifiableList(etcItem_); + } else { + return etcItemBuilder_.getMessageList(); + } + } + /** + * repeated .Item etcItem = 1; + */ + public int getEtcItemCount() { + if (etcItemBuilder_ == null) { + return etcItem_.size(); + } else { + return etcItemBuilder_.getCount(); + } + } + /** + * repeated .Item etcItem = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item getEtcItem(int index) { + if (etcItemBuilder_ == null) { + return etcItem_.get(index); + } else { + return etcItemBuilder_.getMessage(index); + } + } + /** + * repeated .Item etcItem = 1; + */ + public Builder setEtcItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (etcItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEtcItemIsMutable(); + etcItem_.set(index, value); + onChanged(); + } else { + etcItemBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Item etcItem = 1; + */ + public Builder setEtcItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (etcItemBuilder_ == null) { + ensureEtcItemIsMutable(); + etcItem_.set(index, builderForValue.build()); + onChanged(); + } else { + etcItemBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item etcItem = 1; + */ + public Builder addEtcItem(com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (etcItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEtcItemIsMutable(); + etcItem_.add(value); + onChanged(); + } else { + etcItemBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Item etcItem = 1; + */ + public Builder addEtcItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (etcItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEtcItemIsMutable(); + etcItem_.add(index, value); + onChanged(); + } else { + etcItemBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Item etcItem = 1; + */ + public Builder addEtcItem( + com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (etcItemBuilder_ == null) { + ensureEtcItemIsMutable(); + etcItem_.add(builderForValue.build()); + onChanged(); + } else { + etcItemBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Item etcItem = 1; + */ + public Builder addEtcItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (etcItemBuilder_ == null) { + ensureEtcItemIsMutable(); + etcItem_.add(index, builderForValue.build()); + onChanged(); + } else { + etcItemBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item etcItem = 1; + */ + public Builder addAllEtcItem( + java.lang.Iterable values) { + if (etcItemBuilder_ == null) { + ensureEtcItemIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, etcItem_); + onChanged(); + } else { + etcItemBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Item etcItem = 1; + */ + public Builder clearEtcItem() { + if (etcItemBuilder_ == null) { + etcItem_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + etcItemBuilder_.clear(); + } + return this; + } + /** + * repeated .Item etcItem = 1; + */ + public Builder removeEtcItem(int index) { + if (etcItemBuilder_ == null) { + ensureEtcItemIsMutable(); + etcItem_.remove(index); + onChanged(); + } else { + etcItemBuilder_.remove(index); + } + return this; + } + /** + * repeated .Item etcItem = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder getEtcItemBuilder( + int index) { + return getEtcItemFieldBuilder().getBuilder(index); + } + /** + * repeated .Item etcItem = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getEtcItemOrBuilder( + int index) { + if (etcItemBuilder_ == null) { + return etcItem_.get(index); } else { + return etcItemBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Item etcItem = 1; + */ + public java.util.List + getEtcItemOrBuilderList() { + if (etcItemBuilder_ != null) { + return etcItemBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(etcItem_); + } + } + /** + * repeated .Item etcItem = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addEtcItemBuilder() { + return getEtcItemFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item etcItem = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addEtcItemBuilder( + int index) { + return getEtcItemFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item etcItem = 1; + */ + public java.util.List + getEtcItemBuilderList() { + return getEtcItemFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> + getEtcItemFieldBuilder() { + if (etcItemBuilder_ == null) { + etcItemBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder>( + etcItem_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + etcItem_ = null; + } + return etcItemBuilder_; + } + + private java.util.List costumeItem_ = + java.util.Collections.emptyList(); + private void ensureCostumeItemIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + costumeItem_ = new java.util.ArrayList(costumeItem_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> costumeItemBuilder_; + + /** + * repeated .Item costumeItem = 2; + */ + public java.util.List getCostumeItemList() { + if (costumeItemBuilder_ == null) { + return java.util.Collections.unmodifiableList(costumeItem_); + } else { + return costumeItemBuilder_.getMessageList(); + } + } + /** + * repeated .Item costumeItem = 2; + */ + public int getCostumeItemCount() { + if (costumeItemBuilder_ == null) { + return costumeItem_.size(); + } else { + return costumeItemBuilder_.getCount(); + } + } + /** + * repeated .Item costumeItem = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item getCostumeItem(int index) { + if (costumeItemBuilder_ == null) { + return costumeItem_.get(index); + } else { + return costumeItemBuilder_.getMessage(index); + } + } + /** + * repeated .Item costumeItem = 2; + */ + public Builder setCostumeItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (costumeItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCostumeItemIsMutable(); + costumeItem_.set(index, value); + onChanged(); + } else { + costumeItemBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Item costumeItem = 2; + */ + public Builder setCostumeItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (costumeItemBuilder_ == null) { + ensureCostumeItemIsMutable(); + costumeItem_.set(index, builderForValue.build()); + onChanged(); + } else { + costumeItemBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item costumeItem = 2; + */ + public Builder addCostumeItem(com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (costumeItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCostumeItemIsMutable(); + costumeItem_.add(value); + onChanged(); + } else { + costumeItemBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Item costumeItem = 2; + */ + public Builder addCostumeItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (costumeItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCostumeItemIsMutable(); + costumeItem_.add(index, value); + onChanged(); + } else { + costumeItemBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Item costumeItem = 2; + */ + public Builder addCostumeItem( + com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (costumeItemBuilder_ == null) { + ensureCostumeItemIsMutable(); + costumeItem_.add(builderForValue.build()); + onChanged(); + } else { + costumeItemBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Item costumeItem = 2; + */ + public Builder addCostumeItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (costumeItemBuilder_ == null) { + ensureCostumeItemIsMutable(); + costumeItem_.add(index, builderForValue.build()); + onChanged(); + } else { + costumeItemBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item costumeItem = 2; + */ + public Builder addAllCostumeItem( + java.lang.Iterable values) { + if (costumeItemBuilder_ == null) { + ensureCostumeItemIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, costumeItem_); + onChanged(); + } else { + costumeItemBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Item costumeItem = 2; + */ + public Builder clearCostumeItem() { + if (costumeItemBuilder_ == null) { + costumeItem_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + costumeItemBuilder_.clear(); + } + return this; + } + /** + * repeated .Item costumeItem = 2; + */ + public Builder removeCostumeItem(int index) { + if (costumeItemBuilder_ == null) { + ensureCostumeItemIsMutable(); + costumeItem_.remove(index); + onChanged(); + } else { + costumeItemBuilder_.remove(index); + } + return this; + } + /** + * repeated .Item costumeItem = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder getCostumeItemBuilder( + int index) { + return getCostumeItemFieldBuilder().getBuilder(index); + } + /** + * repeated .Item costumeItem = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getCostumeItemOrBuilder( + int index) { + if (costumeItemBuilder_ == null) { + return costumeItem_.get(index); } else { + return costumeItemBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Item costumeItem = 2; + */ + public java.util.List + getCostumeItemOrBuilderList() { + if (costumeItemBuilder_ != null) { + return costumeItemBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(costumeItem_); + } + } + /** + * repeated .Item costumeItem = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addCostumeItemBuilder() { + return getCostumeItemFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item costumeItem = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addCostumeItemBuilder( + int index) { + return getCostumeItemFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item costumeItem = 2; + */ + public java.util.List + getCostumeItemBuilderList() { + return getCostumeItemFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> + getCostumeItemFieldBuilder() { + if (costumeItemBuilder_ == null) { + costumeItemBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder>( + costumeItem_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + costumeItem_ = null; + } + return costumeItemBuilder_; + } + + private java.util.List interiorItem_ = + java.util.Collections.emptyList(); + private void ensureInteriorItemIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + interiorItem_ = new java.util.ArrayList(interiorItem_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> interiorItemBuilder_; + + /** + * repeated .Item interiorItem = 3; + */ + public java.util.List getInteriorItemList() { + if (interiorItemBuilder_ == null) { + return java.util.Collections.unmodifiableList(interiorItem_); + } else { + return interiorItemBuilder_.getMessageList(); + } + } + /** + * repeated .Item interiorItem = 3; + */ + public int getInteriorItemCount() { + if (interiorItemBuilder_ == null) { + return interiorItem_.size(); + } else { + return interiorItemBuilder_.getCount(); + } + } + /** + * repeated .Item interiorItem = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item getInteriorItem(int index) { + if (interiorItemBuilder_ == null) { + return interiorItem_.get(index); + } else { + return interiorItemBuilder_.getMessage(index); + } + } + /** + * repeated .Item interiorItem = 3; + */ + public Builder setInteriorItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (interiorItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInteriorItemIsMutable(); + interiorItem_.set(index, value); + onChanged(); + } else { + interiorItemBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Item interiorItem = 3; + */ + public Builder setInteriorItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (interiorItemBuilder_ == null) { + ensureInteriorItemIsMutable(); + interiorItem_.set(index, builderForValue.build()); + onChanged(); + } else { + interiorItemBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item interiorItem = 3; + */ + public Builder addInteriorItem(com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (interiorItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInteriorItemIsMutable(); + interiorItem_.add(value); + onChanged(); + } else { + interiorItemBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Item interiorItem = 3; + */ + public Builder addInteriorItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (interiorItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInteriorItemIsMutable(); + interiorItem_.add(index, value); + onChanged(); + } else { + interiorItemBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Item interiorItem = 3; + */ + public Builder addInteriorItem( + com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (interiorItemBuilder_ == null) { + ensureInteriorItemIsMutable(); + interiorItem_.add(builderForValue.build()); + onChanged(); + } else { + interiorItemBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Item interiorItem = 3; + */ + public Builder addInteriorItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (interiorItemBuilder_ == null) { + ensureInteriorItemIsMutable(); + interiorItem_.add(index, builderForValue.build()); + onChanged(); + } else { + interiorItemBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item interiorItem = 3; + */ + public Builder addAllInteriorItem( + java.lang.Iterable values) { + if (interiorItemBuilder_ == null) { + ensureInteriorItemIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, interiorItem_); + onChanged(); + } else { + interiorItemBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Item interiorItem = 3; + */ + public Builder clearInteriorItem() { + if (interiorItemBuilder_ == null) { + interiorItem_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + interiorItemBuilder_.clear(); + } + return this; + } + /** + * repeated .Item interiorItem = 3; + */ + public Builder removeInteriorItem(int index) { + if (interiorItemBuilder_ == null) { + ensureInteriorItemIsMutable(); + interiorItem_.remove(index); + onChanged(); + } else { + interiorItemBuilder_.remove(index); + } + return this; + } + /** + * repeated .Item interiorItem = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder getInteriorItemBuilder( + int index) { + return getInteriorItemFieldBuilder().getBuilder(index); + } + /** + * repeated .Item interiorItem = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getInteriorItemOrBuilder( + int index) { + if (interiorItemBuilder_ == null) { + return interiorItem_.get(index); } else { + return interiorItemBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Item interiorItem = 3; + */ + public java.util.List + getInteriorItemOrBuilderList() { + if (interiorItemBuilder_ != null) { + return interiorItemBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(interiorItem_); + } + } + /** + * repeated .Item interiorItem = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addInteriorItemBuilder() { + return getInteriorItemFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item interiorItem = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addInteriorItemBuilder( + int index) { + return getInteriorItemFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item interiorItem = 3; + */ + public java.util.List + getInteriorItemBuilderList() { + return getInteriorItemFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> + getInteriorItemFieldBuilder() { + if (interiorItemBuilder_ == null) { + interiorItemBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder>( + interiorItem_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + interiorItem_ = null; + } + return interiorItemBuilder_; + } + + private java.util.List beautyItem_ = + java.util.Collections.emptyList(); + private void ensureBeautyItemIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + beautyItem_ = new java.util.ArrayList(beautyItem_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> beautyItemBuilder_; + + /** + * repeated .Item beautyItem = 4; + */ + public java.util.List getBeautyItemList() { + if (beautyItemBuilder_ == null) { + return java.util.Collections.unmodifiableList(beautyItem_); + } else { + return beautyItemBuilder_.getMessageList(); + } + } + /** + * repeated .Item beautyItem = 4; + */ + public int getBeautyItemCount() { + if (beautyItemBuilder_ == null) { + return beautyItem_.size(); + } else { + return beautyItemBuilder_.getCount(); + } + } + /** + * repeated .Item beautyItem = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item getBeautyItem(int index) { + if (beautyItemBuilder_ == null) { + return beautyItem_.get(index); + } else { + return beautyItemBuilder_.getMessage(index); + } + } + /** + * repeated .Item beautyItem = 4; + */ + public Builder setBeautyItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (beautyItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBeautyItemIsMutable(); + beautyItem_.set(index, value); + onChanged(); + } else { + beautyItemBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Item beautyItem = 4; + */ + public Builder setBeautyItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (beautyItemBuilder_ == null) { + ensureBeautyItemIsMutable(); + beautyItem_.set(index, builderForValue.build()); + onChanged(); + } else { + beautyItemBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item beautyItem = 4; + */ + public Builder addBeautyItem(com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (beautyItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBeautyItemIsMutable(); + beautyItem_.add(value); + onChanged(); + } else { + beautyItemBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Item beautyItem = 4; + */ + public Builder addBeautyItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (beautyItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBeautyItemIsMutable(); + beautyItem_.add(index, value); + onChanged(); + } else { + beautyItemBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Item beautyItem = 4; + */ + public Builder addBeautyItem( + com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (beautyItemBuilder_ == null) { + ensureBeautyItemIsMutable(); + beautyItem_.add(builderForValue.build()); + onChanged(); + } else { + beautyItemBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Item beautyItem = 4; + */ + public Builder addBeautyItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (beautyItemBuilder_ == null) { + ensureBeautyItemIsMutable(); + beautyItem_.add(index, builderForValue.build()); + onChanged(); + } else { + beautyItemBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item beautyItem = 4; + */ + public Builder addAllBeautyItem( + java.lang.Iterable values) { + if (beautyItemBuilder_ == null) { + ensureBeautyItemIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, beautyItem_); + onChanged(); + } else { + beautyItemBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Item beautyItem = 4; + */ + public Builder clearBeautyItem() { + if (beautyItemBuilder_ == null) { + beautyItem_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + beautyItemBuilder_.clear(); + } + return this; + } + /** + * repeated .Item beautyItem = 4; + */ + public Builder removeBeautyItem(int index) { + if (beautyItemBuilder_ == null) { + ensureBeautyItemIsMutable(); + beautyItem_.remove(index); + onChanged(); + } else { + beautyItemBuilder_.remove(index); + } + return this; + } + /** + * repeated .Item beautyItem = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder getBeautyItemBuilder( + int index) { + return getBeautyItemFieldBuilder().getBuilder(index); + } + /** + * repeated .Item beautyItem = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getBeautyItemOrBuilder( + int index) { + if (beautyItemBuilder_ == null) { + return beautyItem_.get(index); } else { + return beautyItemBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Item beautyItem = 4; + */ + public java.util.List + getBeautyItemOrBuilderList() { + if (beautyItemBuilder_ != null) { + return beautyItemBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(beautyItem_); + } + } + /** + * repeated .Item beautyItem = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addBeautyItemBuilder() { + return getBeautyItemFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item beautyItem = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addBeautyItemBuilder( + int index) { + return getBeautyItemFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item beautyItem = 4; + */ + public java.util.List + getBeautyItemBuilderList() { + return getBeautyItemFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> + getBeautyItemFieldBuilder() { + if (beautyItemBuilder_ == null) { + beautyItemBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder>( + beautyItem_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + beautyItem_ = null; + } + return beautyItemBuilder_; + } + + private java.util.List tattooItem_ = + java.util.Collections.emptyList(); + private void ensureTattooItemIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + tattooItem_ = new java.util.ArrayList(tattooItem_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> tattooItemBuilder_; + + /** + * repeated .Item tattooItem = 5; + */ + public java.util.List getTattooItemList() { + if (tattooItemBuilder_ == null) { + return java.util.Collections.unmodifiableList(tattooItem_); + } else { + return tattooItemBuilder_.getMessageList(); + } + } + /** + * repeated .Item tattooItem = 5; + */ + public int getTattooItemCount() { + if (tattooItemBuilder_ == null) { + return tattooItem_.size(); + } else { + return tattooItemBuilder_.getCount(); + } + } + /** + * repeated .Item tattooItem = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item getTattooItem(int index) { + if (tattooItemBuilder_ == null) { + return tattooItem_.get(index); + } else { + return tattooItemBuilder_.getMessage(index); + } + } + /** + * repeated .Item tattooItem = 5; + */ + public Builder setTattooItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (tattooItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTattooItemIsMutable(); + tattooItem_.set(index, value); + onChanged(); + } else { + tattooItemBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Item tattooItem = 5; + */ + public Builder setTattooItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (tattooItemBuilder_ == null) { + ensureTattooItemIsMutable(); + tattooItem_.set(index, builderForValue.build()); + onChanged(); + } else { + tattooItemBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item tattooItem = 5; + */ + public Builder addTattooItem(com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (tattooItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTattooItemIsMutable(); + tattooItem_.add(value); + onChanged(); + } else { + tattooItemBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Item tattooItem = 5; + */ + public Builder addTattooItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (tattooItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTattooItemIsMutable(); + tattooItem_.add(index, value); + onChanged(); + } else { + tattooItemBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Item tattooItem = 5; + */ + public Builder addTattooItem( + com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (tattooItemBuilder_ == null) { + ensureTattooItemIsMutable(); + tattooItem_.add(builderForValue.build()); + onChanged(); + } else { + tattooItemBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Item tattooItem = 5; + */ + public Builder addTattooItem( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (tattooItemBuilder_ == null) { + ensureTattooItemIsMutable(); + tattooItem_.add(index, builderForValue.build()); + onChanged(); + } else { + tattooItemBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item tattooItem = 5; + */ + public Builder addAllTattooItem( + java.lang.Iterable values) { + if (tattooItemBuilder_ == null) { + ensureTattooItemIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tattooItem_); + onChanged(); + } else { + tattooItemBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Item tattooItem = 5; + */ + public Builder clearTattooItem() { + if (tattooItemBuilder_ == null) { + tattooItem_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + tattooItemBuilder_.clear(); + } + return this; + } + /** + * repeated .Item tattooItem = 5; + */ + public Builder removeTattooItem(int index) { + if (tattooItemBuilder_ == null) { + ensureTattooItemIsMutable(); + tattooItem_.remove(index); + onChanged(); + } else { + tattooItemBuilder_.remove(index); + } + return this; + } + /** + * repeated .Item tattooItem = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder getTattooItemBuilder( + int index) { + return getTattooItemFieldBuilder().getBuilder(index); + } + /** + * repeated .Item tattooItem = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getTattooItemOrBuilder( + int index) { + if (tattooItemBuilder_ == null) { + return tattooItem_.get(index); } else { + return tattooItemBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Item tattooItem = 5; + */ + public java.util.List + getTattooItemOrBuilderList() { + if (tattooItemBuilder_ != null) { + return tattooItemBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(tattooItem_); + } + } + /** + * repeated .Item tattooItem = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addTattooItemBuilder() { + return getTattooItemFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item tattooItem = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addTattooItemBuilder( + int index) { + return getTattooItemFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item tattooItem = 5; + */ + public java.util.List + getTattooItemBuilderList() { + return getTattooItemFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> + getTattooItemFieldBuilder() { + if (tattooItemBuilder_ == null) { + tattooItemBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder>( + tattooItem_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + tattooItem_ = null; + } + return tattooItemBuilder_; + } + + private java.util.List etcItemNft_ = + java.util.Collections.emptyList(); + private void ensureEtcItemNftIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + etcItemNft_ = new java.util.ArrayList(etcItemNft_); + bitField0_ |= 0x00000020; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> etcItemNftBuilder_; + + /** + * repeated .Item etcItemNft = 6; + */ + public java.util.List getEtcItemNftList() { + if (etcItemNftBuilder_ == null) { + return java.util.Collections.unmodifiableList(etcItemNft_); + } else { + return etcItemNftBuilder_.getMessageList(); + } + } + /** + * repeated .Item etcItemNft = 6; + */ + public int getEtcItemNftCount() { + if (etcItemNftBuilder_ == null) { + return etcItemNft_.size(); + } else { + return etcItemNftBuilder_.getCount(); + } + } + /** + * repeated .Item etcItemNft = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item getEtcItemNft(int index) { + if (etcItemNftBuilder_ == null) { + return etcItemNft_.get(index); + } else { + return etcItemNftBuilder_.getMessage(index); + } + } + /** + * repeated .Item etcItemNft = 6; + */ + public Builder setEtcItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (etcItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEtcItemNftIsMutable(); + etcItemNft_.set(index, value); + onChanged(); + } else { + etcItemNftBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Item etcItemNft = 6; + */ + public Builder setEtcItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (etcItemNftBuilder_ == null) { + ensureEtcItemNftIsMutable(); + etcItemNft_.set(index, builderForValue.build()); + onChanged(); + } else { + etcItemNftBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item etcItemNft = 6; + */ + public Builder addEtcItemNft(com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (etcItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEtcItemNftIsMutable(); + etcItemNft_.add(value); + onChanged(); + } else { + etcItemNftBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Item etcItemNft = 6; + */ + public Builder addEtcItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (etcItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEtcItemNftIsMutable(); + etcItemNft_.add(index, value); + onChanged(); + } else { + etcItemNftBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Item etcItemNft = 6; + */ + public Builder addEtcItemNft( + com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (etcItemNftBuilder_ == null) { + ensureEtcItemNftIsMutable(); + etcItemNft_.add(builderForValue.build()); + onChanged(); + } else { + etcItemNftBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Item etcItemNft = 6; + */ + public Builder addEtcItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (etcItemNftBuilder_ == null) { + ensureEtcItemNftIsMutable(); + etcItemNft_.add(index, builderForValue.build()); + onChanged(); + } else { + etcItemNftBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item etcItemNft = 6; + */ + public Builder addAllEtcItemNft( + java.lang.Iterable values) { + if (etcItemNftBuilder_ == null) { + ensureEtcItemNftIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, etcItemNft_); + onChanged(); + } else { + etcItemNftBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Item etcItemNft = 6; + */ + public Builder clearEtcItemNft() { + if (etcItemNftBuilder_ == null) { + etcItemNft_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + etcItemNftBuilder_.clear(); + } + return this; + } + /** + * repeated .Item etcItemNft = 6; + */ + public Builder removeEtcItemNft(int index) { + if (etcItemNftBuilder_ == null) { + ensureEtcItemNftIsMutable(); + etcItemNft_.remove(index); + onChanged(); + } else { + etcItemNftBuilder_.remove(index); + } + return this; + } + /** + * repeated .Item etcItemNft = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder getEtcItemNftBuilder( + int index) { + return getEtcItemNftFieldBuilder().getBuilder(index); + } + /** + * repeated .Item etcItemNft = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getEtcItemNftOrBuilder( + int index) { + if (etcItemNftBuilder_ == null) { + return etcItemNft_.get(index); } else { + return etcItemNftBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Item etcItemNft = 6; + */ + public java.util.List + getEtcItemNftOrBuilderList() { + if (etcItemNftBuilder_ != null) { + return etcItemNftBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(etcItemNft_); + } + } + /** + * repeated .Item etcItemNft = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addEtcItemNftBuilder() { + return getEtcItemNftFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item etcItemNft = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addEtcItemNftBuilder( + int index) { + return getEtcItemNftFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item etcItemNft = 6; + */ + public java.util.List + getEtcItemNftBuilderList() { + return getEtcItemNftFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> + getEtcItemNftFieldBuilder() { + if (etcItemNftBuilder_ == null) { + etcItemNftBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder>( + etcItemNft_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + etcItemNft_ = null; + } + return etcItemNftBuilder_; + } + + private java.util.List costumeItemNft_ = + java.util.Collections.emptyList(); + private void ensureCostumeItemNftIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + costumeItemNft_ = new java.util.ArrayList(costumeItemNft_); + bitField0_ |= 0x00000040; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> costumeItemNftBuilder_; + + /** + * repeated .Item costumeItemNft = 7; + */ + public java.util.List getCostumeItemNftList() { + if (costumeItemNftBuilder_ == null) { + return java.util.Collections.unmodifiableList(costumeItemNft_); + } else { + return costumeItemNftBuilder_.getMessageList(); + } + } + /** + * repeated .Item costumeItemNft = 7; + */ + public int getCostumeItemNftCount() { + if (costumeItemNftBuilder_ == null) { + return costumeItemNft_.size(); + } else { + return costumeItemNftBuilder_.getCount(); + } + } + /** + * repeated .Item costumeItemNft = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item getCostumeItemNft(int index) { + if (costumeItemNftBuilder_ == null) { + return costumeItemNft_.get(index); + } else { + return costumeItemNftBuilder_.getMessage(index); + } + } + /** + * repeated .Item costumeItemNft = 7; + */ + public Builder setCostumeItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (costumeItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCostumeItemNftIsMutable(); + costumeItemNft_.set(index, value); + onChanged(); + } else { + costumeItemNftBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Item costumeItemNft = 7; + */ + public Builder setCostumeItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (costumeItemNftBuilder_ == null) { + ensureCostumeItemNftIsMutable(); + costumeItemNft_.set(index, builderForValue.build()); + onChanged(); + } else { + costumeItemNftBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item costumeItemNft = 7; + */ + public Builder addCostumeItemNft(com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (costumeItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCostumeItemNftIsMutable(); + costumeItemNft_.add(value); + onChanged(); + } else { + costumeItemNftBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Item costumeItemNft = 7; + */ + public Builder addCostumeItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (costumeItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCostumeItemNftIsMutable(); + costumeItemNft_.add(index, value); + onChanged(); + } else { + costumeItemNftBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Item costumeItemNft = 7; + */ + public Builder addCostumeItemNft( + com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (costumeItemNftBuilder_ == null) { + ensureCostumeItemNftIsMutable(); + costumeItemNft_.add(builderForValue.build()); + onChanged(); + } else { + costumeItemNftBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Item costumeItemNft = 7; + */ + public Builder addCostumeItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (costumeItemNftBuilder_ == null) { + ensureCostumeItemNftIsMutable(); + costumeItemNft_.add(index, builderForValue.build()); + onChanged(); + } else { + costumeItemNftBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item costumeItemNft = 7; + */ + public Builder addAllCostumeItemNft( + java.lang.Iterable values) { + if (costumeItemNftBuilder_ == null) { + ensureCostumeItemNftIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, costumeItemNft_); + onChanged(); + } else { + costumeItemNftBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Item costumeItemNft = 7; + */ + public Builder clearCostumeItemNft() { + if (costumeItemNftBuilder_ == null) { + costumeItemNft_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + } else { + costumeItemNftBuilder_.clear(); + } + return this; + } + /** + * repeated .Item costumeItemNft = 7; + */ + public Builder removeCostumeItemNft(int index) { + if (costumeItemNftBuilder_ == null) { + ensureCostumeItemNftIsMutable(); + costumeItemNft_.remove(index); + onChanged(); + } else { + costumeItemNftBuilder_.remove(index); + } + return this; + } + /** + * repeated .Item costumeItemNft = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder getCostumeItemNftBuilder( + int index) { + return getCostumeItemNftFieldBuilder().getBuilder(index); + } + /** + * repeated .Item costumeItemNft = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getCostumeItemNftOrBuilder( + int index) { + if (costumeItemNftBuilder_ == null) { + return costumeItemNft_.get(index); } else { + return costumeItemNftBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Item costumeItemNft = 7; + */ + public java.util.List + getCostumeItemNftOrBuilderList() { + if (costumeItemNftBuilder_ != null) { + return costumeItemNftBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(costumeItemNft_); + } + } + /** + * repeated .Item costumeItemNft = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addCostumeItemNftBuilder() { + return getCostumeItemNftFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item costumeItemNft = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addCostumeItemNftBuilder( + int index) { + return getCostumeItemNftFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item costumeItemNft = 7; + */ + public java.util.List + getCostumeItemNftBuilderList() { + return getCostumeItemNftFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> + getCostumeItemNftFieldBuilder() { + if (costumeItemNftBuilder_ == null) { + costumeItemNftBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder>( + costumeItemNft_, + ((bitField0_ & 0x00000040) != 0), + getParentForChildren(), + isClean()); + costumeItemNft_ = null; + } + return costumeItemNftBuilder_; + } + + private java.util.List interiorItemNft_ = + java.util.Collections.emptyList(); + private void ensureInteriorItemNftIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + interiorItemNft_ = new java.util.ArrayList(interiorItemNft_); + bitField0_ |= 0x00000080; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> interiorItemNftBuilder_; + + /** + * repeated .Item interiorItemNft = 8; + */ + public java.util.List getInteriorItemNftList() { + if (interiorItemNftBuilder_ == null) { + return java.util.Collections.unmodifiableList(interiorItemNft_); + } else { + return interiorItemNftBuilder_.getMessageList(); + } + } + /** + * repeated .Item interiorItemNft = 8; + */ + public int getInteriorItemNftCount() { + if (interiorItemNftBuilder_ == null) { + return interiorItemNft_.size(); + } else { + return interiorItemNftBuilder_.getCount(); + } + } + /** + * repeated .Item interiorItemNft = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item getInteriorItemNft(int index) { + if (interiorItemNftBuilder_ == null) { + return interiorItemNft_.get(index); + } else { + return interiorItemNftBuilder_.getMessage(index); + } + } + /** + * repeated .Item interiorItemNft = 8; + */ + public Builder setInteriorItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (interiorItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInteriorItemNftIsMutable(); + interiorItemNft_.set(index, value); + onChanged(); + } else { + interiorItemNftBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Item interiorItemNft = 8; + */ + public Builder setInteriorItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (interiorItemNftBuilder_ == null) { + ensureInteriorItemNftIsMutable(); + interiorItemNft_.set(index, builderForValue.build()); + onChanged(); + } else { + interiorItemNftBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item interiorItemNft = 8; + */ + public Builder addInteriorItemNft(com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (interiorItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInteriorItemNftIsMutable(); + interiorItemNft_.add(value); + onChanged(); + } else { + interiorItemNftBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Item interiorItemNft = 8; + */ + public Builder addInteriorItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (interiorItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInteriorItemNftIsMutable(); + interiorItemNft_.add(index, value); + onChanged(); + } else { + interiorItemNftBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Item interiorItemNft = 8; + */ + public Builder addInteriorItemNft( + com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (interiorItemNftBuilder_ == null) { + ensureInteriorItemNftIsMutable(); + interiorItemNft_.add(builderForValue.build()); + onChanged(); + } else { + interiorItemNftBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Item interiorItemNft = 8; + */ + public Builder addInteriorItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (interiorItemNftBuilder_ == null) { + ensureInteriorItemNftIsMutable(); + interiorItemNft_.add(index, builderForValue.build()); + onChanged(); + } else { + interiorItemNftBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item interiorItemNft = 8; + */ + public Builder addAllInteriorItemNft( + java.lang.Iterable values) { + if (interiorItemNftBuilder_ == null) { + ensureInteriorItemNftIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, interiorItemNft_); + onChanged(); + } else { + interiorItemNftBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Item interiorItemNft = 8; + */ + public Builder clearInteriorItemNft() { + if (interiorItemNftBuilder_ == null) { + interiorItemNft_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + } else { + interiorItemNftBuilder_.clear(); + } + return this; + } + /** + * repeated .Item interiorItemNft = 8; + */ + public Builder removeInteriorItemNft(int index) { + if (interiorItemNftBuilder_ == null) { + ensureInteriorItemNftIsMutable(); + interiorItemNft_.remove(index); + onChanged(); + } else { + interiorItemNftBuilder_.remove(index); + } + return this; + } + /** + * repeated .Item interiorItemNft = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder getInteriorItemNftBuilder( + int index) { + return getInteriorItemNftFieldBuilder().getBuilder(index); + } + /** + * repeated .Item interiorItemNft = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getInteriorItemNftOrBuilder( + int index) { + if (interiorItemNftBuilder_ == null) { + return interiorItemNft_.get(index); } else { + return interiorItemNftBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Item interiorItemNft = 8; + */ + public java.util.List + getInteriorItemNftOrBuilderList() { + if (interiorItemNftBuilder_ != null) { + return interiorItemNftBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(interiorItemNft_); + } + } + /** + * repeated .Item interiorItemNft = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addInteriorItemNftBuilder() { + return getInteriorItemNftFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item interiorItemNft = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addInteriorItemNftBuilder( + int index) { + return getInteriorItemNftFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item interiorItemNft = 8; + */ + public java.util.List + getInteriorItemNftBuilderList() { + return getInteriorItemNftFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> + getInteriorItemNftFieldBuilder() { + if (interiorItemNftBuilder_ == null) { + interiorItemNftBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder>( + interiorItemNft_, + ((bitField0_ & 0x00000080) != 0), + getParentForChildren(), + isClean()); + interiorItemNft_ = null; + } + return interiorItemNftBuilder_; + } + + private java.util.List beautyItemNft_ = + java.util.Collections.emptyList(); + private void ensureBeautyItemNftIsMutable() { + if (!((bitField0_ & 0x00000100) != 0)) { + beautyItemNft_ = new java.util.ArrayList(beautyItemNft_); + bitField0_ |= 0x00000100; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> beautyItemNftBuilder_; + + /** + * repeated .Item beautyItemNft = 9; + */ + public java.util.List getBeautyItemNftList() { + if (beautyItemNftBuilder_ == null) { + return java.util.Collections.unmodifiableList(beautyItemNft_); + } else { + return beautyItemNftBuilder_.getMessageList(); + } + } + /** + * repeated .Item beautyItemNft = 9; + */ + public int getBeautyItemNftCount() { + if (beautyItemNftBuilder_ == null) { + return beautyItemNft_.size(); + } else { + return beautyItemNftBuilder_.getCount(); + } + } + /** + * repeated .Item beautyItemNft = 9; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item getBeautyItemNft(int index) { + if (beautyItemNftBuilder_ == null) { + return beautyItemNft_.get(index); + } else { + return beautyItemNftBuilder_.getMessage(index); + } + } + /** + * repeated .Item beautyItemNft = 9; + */ + public Builder setBeautyItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (beautyItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBeautyItemNftIsMutable(); + beautyItemNft_.set(index, value); + onChanged(); + } else { + beautyItemNftBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Item beautyItemNft = 9; + */ + public Builder setBeautyItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (beautyItemNftBuilder_ == null) { + ensureBeautyItemNftIsMutable(); + beautyItemNft_.set(index, builderForValue.build()); + onChanged(); + } else { + beautyItemNftBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item beautyItemNft = 9; + */ + public Builder addBeautyItemNft(com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (beautyItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBeautyItemNftIsMutable(); + beautyItemNft_.add(value); + onChanged(); + } else { + beautyItemNftBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Item beautyItemNft = 9; + */ + public Builder addBeautyItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (beautyItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBeautyItemNftIsMutable(); + beautyItemNft_.add(index, value); + onChanged(); + } else { + beautyItemNftBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Item beautyItemNft = 9; + */ + public Builder addBeautyItemNft( + com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (beautyItemNftBuilder_ == null) { + ensureBeautyItemNftIsMutable(); + beautyItemNft_.add(builderForValue.build()); + onChanged(); + } else { + beautyItemNftBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Item beautyItemNft = 9; + */ + public Builder addBeautyItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (beautyItemNftBuilder_ == null) { + ensureBeautyItemNftIsMutable(); + beautyItemNft_.add(index, builderForValue.build()); + onChanged(); + } else { + beautyItemNftBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item beautyItemNft = 9; + */ + public Builder addAllBeautyItemNft( + java.lang.Iterable values) { + if (beautyItemNftBuilder_ == null) { + ensureBeautyItemNftIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, beautyItemNft_); + onChanged(); + } else { + beautyItemNftBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Item beautyItemNft = 9; + */ + public Builder clearBeautyItemNft() { + if (beautyItemNftBuilder_ == null) { + beautyItemNft_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + } else { + beautyItemNftBuilder_.clear(); + } + return this; + } + /** + * repeated .Item beautyItemNft = 9; + */ + public Builder removeBeautyItemNft(int index) { + if (beautyItemNftBuilder_ == null) { + ensureBeautyItemNftIsMutable(); + beautyItemNft_.remove(index); + onChanged(); + } else { + beautyItemNftBuilder_.remove(index); + } + return this; + } + /** + * repeated .Item beautyItemNft = 9; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder getBeautyItemNftBuilder( + int index) { + return getBeautyItemNftFieldBuilder().getBuilder(index); + } + /** + * repeated .Item beautyItemNft = 9; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getBeautyItemNftOrBuilder( + int index) { + if (beautyItemNftBuilder_ == null) { + return beautyItemNft_.get(index); } else { + return beautyItemNftBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Item beautyItemNft = 9; + */ + public java.util.List + getBeautyItemNftOrBuilderList() { + if (beautyItemNftBuilder_ != null) { + return beautyItemNftBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(beautyItemNft_); + } + } + /** + * repeated .Item beautyItemNft = 9; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addBeautyItemNftBuilder() { + return getBeautyItemNftFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item beautyItemNft = 9; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addBeautyItemNftBuilder( + int index) { + return getBeautyItemNftFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item beautyItemNft = 9; + */ + public java.util.List + getBeautyItemNftBuilderList() { + return getBeautyItemNftFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> + getBeautyItemNftFieldBuilder() { + if (beautyItemNftBuilder_ == null) { + beautyItemNftBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder>( + beautyItemNft_, + ((bitField0_ & 0x00000100) != 0), + getParentForChildren(), + isClean()); + beautyItemNft_ = null; + } + return beautyItemNftBuilder_; + } + + private java.util.List tattooItemNft_ = + java.util.Collections.emptyList(); + private void ensureTattooItemNftIsMutable() { + if (!((bitField0_ & 0x00000200) != 0)) { + tattooItemNft_ = new java.util.ArrayList(tattooItemNft_); + bitField0_ |= 0x00000200; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> tattooItemNftBuilder_; + + /** + * repeated .Item tattooItemNft = 10; + */ + public java.util.List getTattooItemNftList() { + if (tattooItemNftBuilder_ == null) { + return java.util.Collections.unmodifiableList(tattooItemNft_); + } else { + return tattooItemNftBuilder_.getMessageList(); + } + } + /** + * repeated .Item tattooItemNft = 10; + */ + public int getTattooItemNftCount() { + if (tattooItemNftBuilder_ == null) { + return tattooItemNft_.size(); + } else { + return tattooItemNftBuilder_.getCount(); + } + } + /** + * repeated .Item tattooItemNft = 10; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item getTattooItemNft(int index) { + if (tattooItemNftBuilder_ == null) { + return tattooItemNft_.get(index); + } else { + return tattooItemNftBuilder_.getMessage(index); + } + } + /** + * repeated .Item tattooItemNft = 10; + */ + public Builder setTattooItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (tattooItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTattooItemNftIsMutable(); + tattooItemNft_.set(index, value); + onChanged(); + } else { + tattooItemNftBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Item tattooItemNft = 10; + */ + public Builder setTattooItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (tattooItemNftBuilder_ == null) { + ensureTattooItemNftIsMutable(); + tattooItemNft_.set(index, builderForValue.build()); + onChanged(); + } else { + tattooItemNftBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item tattooItemNft = 10; + */ + public Builder addTattooItemNft(com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (tattooItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTattooItemNftIsMutable(); + tattooItemNft_.add(value); + onChanged(); + } else { + tattooItemNftBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Item tattooItemNft = 10; + */ + public Builder addTattooItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (tattooItemNftBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTattooItemNftIsMutable(); + tattooItemNft_.add(index, value); + onChanged(); + } else { + tattooItemNftBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Item tattooItemNft = 10; + */ + public Builder addTattooItemNft( + com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (tattooItemNftBuilder_ == null) { + ensureTattooItemNftIsMutable(); + tattooItemNft_.add(builderForValue.build()); + onChanged(); + } else { + tattooItemNftBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Item tattooItemNft = 10; + */ + public Builder addTattooItemNft( + int index, com.caliverse.admin.domain.RabbitMq.message.Item.Builder builderForValue) { + if (tattooItemNftBuilder_ == null) { + ensureTattooItemNftIsMutable(); + tattooItemNft_.add(index, builderForValue.build()); + onChanged(); + } else { + tattooItemNftBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Item tattooItemNft = 10; + */ + public Builder addAllTattooItemNft( + java.lang.Iterable values) { + if (tattooItemNftBuilder_ == null) { + ensureTattooItemNftIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tattooItemNft_); + onChanged(); + } else { + tattooItemNftBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Item tattooItemNft = 10; + */ + public Builder clearTattooItemNft() { + if (tattooItemNftBuilder_ == null) { + tattooItemNft_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + } else { + tattooItemNftBuilder_.clear(); + } + return this; + } + /** + * repeated .Item tattooItemNft = 10; + */ + public Builder removeTattooItemNft(int index) { + if (tattooItemNftBuilder_ == null) { + ensureTattooItemNftIsMutable(); + tattooItemNft_.remove(index); + onChanged(); + } else { + tattooItemNftBuilder_.remove(index); + } + return this; + } + /** + * repeated .Item tattooItemNft = 10; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder getTattooItemNftBuilder( + int index) { + return getTattooItemNftFieldBuilder().getBuilder(index); + } + /** + * repeated .Item tattooItemNft = 10; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getTattooItemNftOrBuilder( + int index) { + if (tattooItemNftBuilder_ == null) { + return tattooItemNft_.get(index); } else { + return tattooItemNftBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Item tattooItemNft = 10; + */ + public java.util.List + getTattooItemNftOrBuilderList() { + if (tattooItemNftBuilder_ != null) { + return tattooItemNftBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(tattooItemNft_); + } + } + /** + * repeated .Item tattooItemNft = 10; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addTattooItemNftBuilder() { + return getTattooItemNftFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item tattooItemNft = 10; + */ + public com.caliverse.admin.domain.RabbitMq.message.Item.Builder addTattooItemNftBuilder( + int index) { + return getTattooItemNftFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + /** + * repeated .Item tattooItemNft = 10; + */ + public java.util.List + getTattooItemNftBuilderList() { + return getTattooItemNftFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder> + getTattooItemNftFieldBuilder() { + if (tattooItemNftBuilder_ == null) { + tattooItemNftBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Item, com.caliverse.admin.domain.RabbitMq.message.Item.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder>( + tattooItemNft_, + ((bitField0_ & 0x00000200) != 0), + getParentForChildren(), + isClean()); + tattooItemNft_ = null; + } + return tattooItemNftBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Inventory) + } + + // @@protoc_insertion_point(class_scope:Inventory) + private static final com.caliverse.admin.domain.RabbitMq.message.Inventory DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.Inventory(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.Inventory getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Inventory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Inventory getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InventoryOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InventoryOrBuilder.java new file mode 100644 index 0000000..a786f4e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InventoryOrBuilder.java @@ -0,0 +1,249 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface InventoryOrBuilder extends + // @@protoc_insertion_point(interface_extends:Inventory) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .Item etcItem = 1; + */ + java.util.List + getEtcItemList(); + /** + * repeated .Item etcItem = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getEtcItem(int index); + /** + * repeated .Item etcItem = 1; + */ + int getEtcItemCount(); + /** + * repeated .Item etcItem = 1; + */ + java.util.List + getEtcItemOrBuilderList(); + /** + * repeated .Item etcItem = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getEtcItemOrBuilder( + int index); + + /** + * repeated .Item costumeItem = 2; + */ + java.util.List + getCostumeItemList(); + /** + * repeated .Item costumeItem = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getCostumeItem(int index); + /** + * repeated .Item costumeItem = 2; + */ + int getCostumeItemCount(); + /** + * repeated .Item costumeItem = 2; + */ + java.util.List + getCostumeItemOrBuilderList(); + /** + * repeated .Item costumeItem = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getCostumeItemOrBuilder( + int index); + + /** + * repeated .Item interiorItem = 3; + */ + java.util.List + getInteriorItemList(); + /** + * repeated .Item interiorItem = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getInteriorItem(int index); + /** + * repeated .Item interiorItem = 3; + */ + int getInteriorItemCount(); + /** + * repeated .Item interiorItem = 3; + */ + java.util.List + getInteriorItemOrBuilderList(); + /** + * repeated .Item interiorItem = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getInteriorItemOrBuilder( + int index); + + /** + * repeated .Item beautyItem = 4; + */ + java.util.List + getBeautyItemList(); + /** + * repeated .Item beautyItem = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getBeautyItem(int index); + /** + * repeated .Item beautyItem = 4; + */ + int getBeautyItemCount(); + /** + * repeated .Item beautyItem = 4; + */ + java.util.List + getBeautyItemOrBuilderList(); + /** + * repeated .Item beautyItem = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getBeautyItemOrBuilder( + int index); + + /** + * repeated .Item tattooItem = 5; + */ + java.util.List + getTattooItemList(); + /** + * repeated .Item tattooItem = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getTattooItem(int index); + /** + * repeated .Item tattooItem = 5; + */ + int getTattooItemCount(); + /** + * repeated .Item tattooItem = 5; + */ + java.util.List + getTattooItemOrBuilderList(); + /** + * repeated .Item tattooItem = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getTattooItemOrBuilder( + int index); + + /** + * repeated .Item etcItemNft = 6; + */ + java.util.List + getEtcItemNftList(); + /** + * repeated .Item etcItemNft = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getEtcItemNft(int index); + /** + * repeated .Item etcItemNft = 6; + */ + int getEtcItemNftCount(); + /** + * repeated .Item etcItemNft = 6; + */ + java.util.List + getEtcItemNftOrBuilderList(); + /** + * repeated .Item etcItemNft = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getEtcItemNftOrBuilder( + int index); + + /** + * repeated .Item costumeItemNft = 7; + */ + java.util.List + getCostumeItemNftList(); + /** + * repeated .Item costumeItemNft = 7; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getCostumeItemNft(int index); + /** + * repeated .Item costumeItemNft = 7; + */ + int getCostumeItemNftCount(); + /** + * repeated .Item costumeItemNft = 7; + */ + java.util.List + getCostumeItemNftOrBuilderList(); + /** + * repeated .Item costumeItemNft = 7; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getCostumeItemNftOrBuilder( + int index); + + /** + * repeated .Item interiorItemNft = 8; + */ + java.util.List + getInteriorItemNftList(); + /** + * repeated .Item interiorItemNft = 8; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getInteriorItemNft(int index); + /** + * repeated .Item interiorItemNft = 8; + */ + int getInteriorItemNftCount(); + /** + * repeated .Item interiorItemNft = 8; + */ + java.util.List + getInteriorItemNftOrBuilderList(); + /** + * repeated .Item interiorItemNft = 8; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getInteriorItemNftOrBuilder( + int index); + + /** + * repeated .Item beautyItemNft = 9; + */ + java.util.List + getBeautyItemNftList(); + /** + * repeated .Item beautyItemNft = 9; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getBeautyItemNft(int index); + /** + * repeated .Item beautyItemNft = 9; + */ + int getBeautyItemNftCount(); + /** + * repeated .Item beautyItemNft = 9; + */ + java.util.List + getBeautyItemNftOrBuilderList(); + /** + * repeated .Item beautyItemNft = 9; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getBeautyItemNftOrBuilder( + int index); + + /** + * repeated .Item tattooItemNft = 10; + */ + java.util.List + getTattooItemNftList(); + /** + * repeated .Item tattooItemNft = 10; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getTattooItemNft(int index); + /** + * repeated .Item tattooItemNft = 10; + */ + int getTattooItemNftCount(); + /** + * repeated .Item tattooItemNft = 10; + */ + java.util.List + getTattooItemNftOrBuilderList(); + /** + * repeated .Item tattooItemNft = 10; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder getTattooItemNftOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartyErrorMember.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartyErrorMember.java new file mode 100644 index 0000000..2abed8b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartyErrorMember.java @@ -0,0 +1,774 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code InvitePartyErrorMember} + */ +public final class InvitePartyErrorMember extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:InvitePartyErrorMember) + InvitePartyErrorMemberOrBuilder { +private static final long serialVersionUID = 0L; + // Use InvitePartyErrorMember.newBuilder() to construct. + private InvitePartyErrorMember(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private InvitePartyErrorMember() { + errorCode_ = 0; + inviteUserNickname_ = ""; + inviteUserGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InvitePartyErrorMember(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartyErrorMember_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartyErrorMember_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember.class, com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember.Builder.class); + } + + public static final int ERRORCODE_FIELD_NUMBER = 1; + private int errorCode_ = 0; + /** + * .ServerErrorCode errorCode = 1; + * @return The enum numeric value on the wire for errorCode. + */ + @java.lang.Override public int getErrorCodeValue() { + return errorCode_; + } + /** + * .ServerErrorCode errorCode = 1; + * @return The errorCode. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrorCode() { + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode result = com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.forNumber(errorCode_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.UNRECOGNIZED : result; + } + + public static final int INVITEUSERNICKNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object inviteUserNickname_ = ""; + /** + * string inviteUserNickname = 2; + * @return The inviteUserNickname. + */ + @java.lang.Override + public java.lang.String getInviteUserNickname() { + java.lang.Object ref = inviteUserNickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserNickname_ = s; + return s; + } + } + /** + * string inviteUserNickname = 2; + * @return The bytes for inviteUserNickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviteUserNicknameBytes() { + java.lang.Object ref = inviteUserNickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITEUSERGUID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object inviteUserGuid_ = ""; + /** + * string inviteUserGuid = 3; + * @return The inviteUserGuid. + */ + @java.lang.Override + public java.lang.String getInviteUserGuid() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserGuid_ = s; + return s; + } + } + /** + * string inviteUserGuid = 3; + * @return The bytes for inviteUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviteUserGuidBytes() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (errorCode_ != com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.Success.getNumber()) { + output.writeEnum(1, errorCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserNickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inviteUserNickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, inviteUserGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (errorCode_ != com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.Success.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, errorCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserNickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inviteUserNickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inviteUserGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember other = (com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember) obj; + + if (errorCode_ != other.errorCode_) return false; + if (!getInviteUserNickname() + .equals(other.getInviteUserNickname())) return false; + if (!getInviteUserGuid() + .equals(other.getInviteUserGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ERRORCODE_FIELD_NUMBER; + hash = (53 * hash) + errorCode_; + hash = (37 * hash) + INVITEUSERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getInviteUserNickname().hashCode(); + hash = (37 * hash) + INVITEUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getInviteUserGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code InvitePartyErrorMember} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:InvitePartyErrorMember) + com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMemberOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartyErrorMember_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartyErrorMember_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember.class, com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + errorCode_ = 0; + inviteUserNickname_ = ""; + inviteUserGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartyErrorMember_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember build() { + com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember result = new com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.errorCode_ = errorCode_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.inviteUserNickname_ = inviteUserNickname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.inviteUserGuid_ = inviteUserGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember.getDefaultInstance()) return this; + if (other.errorCode_ != 0) { + setErrorCodeValue(other.getErrorCodeValue()); + } + if (!other.getInviteUserNickname().isEmpty()) { + inviteUserNickname_ = other.inviteUserNickname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getInviteUserGuid().isEmpty()) { + inviteUserGuid_ = other.inviteUserGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + errorCode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + inviteUserNickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + inviteUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int errorCode_ = 0; + /** + * .ServerErrorCode errorCode = 1; + * @return The enum numeric value on the wire for errorCode. + */ + @java.lang.Override public int getErrorCodeValue() { + return errorCode_; + } + /** + * .ServerErrorCode errorCode = 1; + * @param value The enum numeric value on the wire for errorCode to set. + * @return This builder for chaining. + */ + public Builder setErrorCodeValue(int value) { + errorCode_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerErrorCode errorCode = 1; + * @return The errorCode. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrorCode() { + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode result = com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.forNumber(errorCode_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.UNRECOGNIZED : result; + } + /** + * .ServerErrorCode errorCode = 1; + * @param value The errorCode to set. + * @return This builder for chaining. + */ + public Builder setErrorCode(com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + errorCode_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .ServerErrorCode errorCode = 1; + * @return This builder for chaining. + */ + public Builder clearErrorCode() { + bitField0_ = (bitField0_ & ~0x00000001); + errorCode_ = 0; + onChanged(); + return this; + } + + private java.lang.Object inviteUserNickname_ = ""; + /** + * string inviteUserNickname = 2; + * @return The inviteUserNickname. + */ + public java.lang.String getInviteUserNickname() { + java.lang.Object ref = inviteUserNickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserNickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviteUserNickname = 2; + * @return The bytes for inviteUserNickname. + */ + public com.google.protobuf.ByteString + getInviteUserNicknameBytes() { + java.lang.Object ref = inviteUserNickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviteUserNickname = 2; + * @param value The inviteUserNickname to set. + * @return This builder for chaining. + */ + public Builder setInviteUserNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviteUserNickname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string inviteUserNickname = 2; + * @return This builder for chaining. + */ + public Builder clearInviteUserNickname() { + inviteUserNickname_ = getDefaultInstance().getInviteUserNickname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string inviteUserNickname = 2; + * @param value The bytes for inviteUserNickname to set. + * @return This builder for chaining. + */ + public Builder setInviteUserNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviteUserNickname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object inviteUserGuid_ = ""; + /** + * string inviteUserGuid = 3; + * @return The inviteUserGuid. + */ + public java.lang.String getInviteUserGuid() { + java.lang.Object ref = inviteUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviteUserGuid = 3; + * @return The bytes for inviteUserGuid. + */ + public com.google.protobuf.ByteString + getInviteUserGuidBytes() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviteUserGuid = 3; + * @param value The inviteUserGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviteUserGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string inviteUserGuid = 3; + * @return This builder for chaining. + */ + public Builder clearInviteUserGuid() { + inviteUserGuid_ = getDefaultInstance().getInviteUserGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string inviteUserGuid = 3; + * @param value The bytes for inviteUserGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviteUserGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:InvitePartyErrorMember) + } + + // @@protoc_insertion_point(class_scope:InvitePartyErrorMember) + private static final com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvitePartyErrorMember parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InvitePartyErrorMember getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartyErrorMemberOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartyErrorMemberOrBuilder.java new file mode 100644 index 0000000..b94085b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartyErrorMemberOrBuilder.java @@ -0,0 +1,44 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface InvitePartyErrorMemberOrBuilder extends + // @@protoc_insertion_point(interface_extends:InvitePartyErrorMember) + com.google.protobuf.MessageOrBuilder { + + /** + * .ServerErrorCode errorCode = 1; + * @return The enum numeric value on the wire for errorCode. + */ + int getErrorCodeValue(); + /** + * .ServerErrorCode errorCode = 1; + * @return The errorCode. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrorCode(); + + /** + * string inviteUserNickname = 2; + * @return The inviteUserNickname. + */ + java.lang.String getInviteUserNickname(); + /** + * string inviteUserNickname = 2; + * @return The bytes for inviteUserNickname. + */ + com.google.protobuf.ByteString + getInviteUserNicknameBytes(); + + /** + * string inviteUserGuid = 3; + * @return The inviteUserGuid. + */ + java.lang.String getInviteUserGuid(); + /** + * string inviteUserGuid = 3; + * @return The bytes for inviteUserGuid. + */ + com.google.protobuf.ByteString + getInviteUserGuidBytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartySendState.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartySendState.java new file mode 100644 index 0000000..9fbee38 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartySendState.java @@ -0,0 +1,861 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code InvitePartySendState} + */ +public final class InvitePartySendState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:InvitePartySendState) + InvitePartySendStateOrBuilder { +private static final long serialVersionUID = 0L; + // Use InvitePartySendState.newBuilder() to construct. + private InvitePartySendState(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private InvitePartySendState() { + inviteUserNickname_ = ""; + inviteUserGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InvitePartySendState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartySendState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartySendState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState.class, com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState.Builder.class); + } + + public static final int INVITEUSERNICKNAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object inviteUserNickname_ = ""; + /** + * string inviteUserNickname = 1; + * @return The inviteUserNickname. + */ + @java.lang.Override + public java.lang.String getInviteUserNickname() { + java.lang.Object ref = inviteUserNickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserNickname_ = s; + return s; + } + } + /** + * string inviteUserNickname = 1; + * @return The bytes for inviteUserNickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviteUserNicknameBytes() { + java.lang.Object ref = inviteUserNickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITEUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object inviteUserGuid_ = ""; + /** + * string inviteUserGuid = 2; + * @return The inviteUserGuid. + */ + @java.lang.Override + public java.lang.String getInviteUserGuid() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserGuid_ = s; + return s; + } + } + /** + * string inviteUserGuid = 2; + * @return The bytes for inviteUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviteUserGuidBytes() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENDTIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp endTime_; + /** + * .google.protobuf.Timestamp endTime = 3; + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } + /** + * .google.protobuf.Timestamp endTime = 3; + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + * .google.protobuf.Timestamp endTime = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserNickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inviteUserNickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inviteUserGuid_); + } + if (endTime_ != null) { + output.writeMessage(3, getEndTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserNickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inviteUserNickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inviteUserGuid_); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState other = (com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState) obj; + + if (!getInviteUserNickname() + .equals(other.getInviteUserNickname())) return false; + if (!getInviteUserGuid() + .equals(other.getInviteUserGuid())) return false; + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INVITEUSERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getInviteUserNickname().hashCode(); + hash = (37 * hash) + INVITEUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getInviteUserGuid().hashCode(); + if (hasEndTime()) { + hash = (37 * hash) + ENDTIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code InvitePartySendState} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:InvitePartySendState) + com.caliverse.admin.domain.RabbitMq.message.InvitePartySendStateOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartySendState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartySendState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState.class, com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + inviteUserNickname_ = ""; + inviteUserGuid_ = ""; + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartySendState_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState build() { + com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState result = new com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.inviteUserNickname_ = inviteUserNickname_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.inviteUserGuid_ = inviteUserGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState.getDefaultInstance()) return this; + if (!other.getInviteUserNickname().isEmpty()) { + inviteUserNickname_ = other.inviteUserNickname_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getInviteUserGuid().isEmpty()) { + inviteUserGuid_ = other.inviteUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + inviteUserNickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + inviteUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object inviteUserNickname_ = ""; + /** + * string inviteUserNickname = 1; + * @return The inviteUserNickname. + */ + public java.lang.String getInviteUserNickname() { + java.lang.Object ref = inviteUserNickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserNickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviteUserNickname = 1; + * @return The bytes for inviteUserNickname. + */ + public com.google.protobuf.ByteString + getInviteUserNicknameBytes() { + java.lang.Object ref = inviteUserNickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviteUserNickname = 1; + * @param value The inviteUserNickname to set. + * @return This builder for chaining. + */ + public Builder setInviteUserNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviteUserNickname_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string inviteUserNickname = 1; + * @return This builder for chaining. + */ + public Builder clearInviteUserNickname() { + inviteUserNickname_ = getDefaultInstance().getInviteUserNickname(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string inviteUserNickname = 1; + * @param value The bytes for inviteUserNickname to set. + * @return This builder for chaining. + */ + public Builder setInviteUserNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviteUserNickname_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object inviteUserGuid_ = ""; + /** + * string inviteUserGuid = 2; + * @return The inviteUserGuid. + */ + public java.lang.String getInviteUserGuid() { + java.lang.Object ref = inviteUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviteUserGuid = 2; + * @return The bytes for inviteUserGuid. + */ + public com.google.protobuf.ByteString + getInviteUserGuidBytes() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviteUserGuid = 2; + * @param value The inviteUserGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviteUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string inviteUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearInviteUserGuid() { + inviteUserGuid_ = getDefaultInstance().getInviteUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string inviteUserGuid = 2; + * @param value The bytes for inviteUserGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviteUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + /** + * .google.protobuf.Timestamp endTime = 3; + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .google.protobuf.Timestamp endTime = 3; + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp endTime = 3; + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + } else { + endTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp endTime = 3; + */ + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp endTime = 3; + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEndTimeBuilder().mergeFrom(value); + } else { + endTime_ = value; + } + } else { + endTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp endTime = 3; + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000004); + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp endTime = 3; + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp endTime = 3; + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + * .google.protobuf.Timestamp endTime = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:InvitePartySendState) + } + + // @@protoc_insertion_point(class_scope:InvitePartySendState) + private static final com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvitePartySendState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InvitePartySendState getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartySendStateOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartySendStateOrBuilder.java new file mode 100644 index 0000000..f2dfb3c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartySendStateOrBuilder.java @@ -0,0 +1,48 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface InvitePartySendStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:InvitePartySendState) + com.google.protobuf.MessageOrBuilder { + + /** + * string inviteUserNickname = 1; + * @return The inviteUserNickname. + */ + java.lang.String getInviteUserNickname(); + /** + * string inviteUserNickname = 1; + * @return The bytes for inviteUserNickname. + */ + com.google.protobuf.ByteString + getInviteUserNicknameBytes(); + + /** + * string inviteUserGuid = 2; + * @return The inviteUserGuid. + */ + java.lang.String getInviteUserGuid(); + /** + * string inviteUserGuid = 2; + * @return The bytes for inviteUserGuid. + */ + com.google.protobuf.ByteString + getInviteUserGuidBytes(); + + /** + * .google.protobuf.Timestamp endTime = 3; + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + * .google.protobuf.Timestamp endTime = 3; + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + * .google.protobuf.Timestamp endTime = 3; + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartyState.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartyState.java new file mode 100644 index 0000000..9555f34 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartyState.java @@ -0,0 +1,1063 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code InvitePartyState} + */ +public final class InvitePartyState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:InvitePartyState) + InvitePartyStateOrBuilder { +private static final long serialVersionUID = 0L; + // Use InvitePartyState.newBuilder() to construct. + private InvitePartyState(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private InvitePartyState() { + invitePartyGuid_ = ""; + invitePartyLeaderNickname_ = ""; + invitePartyLeaderGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InvitePartyState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartyState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartyState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.InvitePartyState.class, com.caliverse.admin.domain.RabbitMq.message.InvitePartyState.Builder.class); + } + + public static final int INVITEPARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object invitePartyGuid_ = ""; + /** + * string invitePartyGuid = 1; + * @return The invitePartyGuid. + */ + @java.lang.Override + public java.lang.String getInvitePartyGuid() { + java.lang.Object ref = invitePartyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyGuid_ = s; + return s; + } + } + /** + * string invitePartyGuid = 1; + * @return The bytes for invitePartyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInvitePartyGuidBytes() { + java.lang.Object ref = invitePartyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITEPARTYLEADERNICKNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object invitePartyLeaderNickname_ = ""; + /** + * string invitePartyLeaderNickname = 2; + * @return The invitePartyLeaderNickname. + */ + @java.lang.Override + public java.lang.String getInvitePartyLeaderNickname() { + java.lang.Object ref = invitePartyLeaderNickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyLeaderNickname_ = s; + return s; + } + } + /** + * string invitePartyLeaderNickname = 2; + * @return The bytes for invitePartyLeaderNickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInvitePartyLeaderNicknameBytes() { + java.lang.Object ref = invitePartyLeaderNickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyLeaderNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITEPARTYLEADERGUID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object invitePartyLeaderGuid_ = ""; + /** + * string invitePartyLeaderGuid = 3; + * @return The invitePartyLeaderGuid. + */ + @java.lang.Override + public java.lang.String getInvitePartyLeaderGuid() { + java.lang.Object ref = invitePartyLeaderGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyLeaderGuid_ = s; + return s; + } + } + /** + * string invitePartyLeaderGuid = 3; + * @return The bytes for invitePartyLeaderGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInvitePartyLeaderGuidBytes() { + java.lang.Object ref = invitePartyLeaderGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyLeaderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CURRENTPARTYMEMBERCOUNT_FIELD_NUMBER = 4; + private int currentPartyMemberCount_ = 0; + /** + * int32 currentPartyMemberCount = 4; + * @return The currentPartyMemberCount. + */ + @java.lang.Override + public int getCurrentPartyMemberCount() { + return currentPartyMemberCount_; + } + + public static final int ENDTIME_FIELD_NUMBER = 5; + private com.google.protobuf.Timestamp endTime_; + /** + * .google.protobuf.Timestamp endTime = 5; + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } + /** + * .google.protobuf.Timestamp endTime = 5; + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + * .google.protobuf.Timestamp endTime = 5; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, invitePartyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyLeaderNickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, invitePartyLeaderNickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyLeaderGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, invitePartyLeaderGuid_); + } + if (currentPartyMemberCount_ != 0) { + output.writeInt32(4, currentPartyMemberCount_); + } + if (endTime_ != null) { + output.writeMessage(5, getEndTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, invitePartyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyLeaderNickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, invitePartyLeaderNickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyLeaderGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, invitePartyLeaderGuid_); + } + if (currentPartyMemberCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, currentPartyMemberCount_); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEndTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.InvitePartyState)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.InvitePartyState other = (com.caliverse.admin.domain.RabbitMq.message.InvitePartyState) obj; + + if (!getInvitePartyGuid() + .equals(other.getInvitePartyGuid())) return false; + if (!getInvitePartyLeaderNickname() + .equals(other.getInvitePartyLeaderNickname())) return false; + if (!getInvitePartyLeaderGuid() + .equals(other.getInvitePartyLeaderGuid())) return false; + if (getCurrentPartyMemberCount() + != other.getCurrentPartyMemberCount()) return false; + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INVITEPARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getInvitePartyGuid().hashCode(); + hash = (37 * hash) + INVITEPARTYLEADERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getInvitePartyLeaderNickname().hashCode(); + hash = (37 * hash) + INVITEPARTYLEADERGUID_FIELD_NUMBER; + hash = (53 * hash) + getInvitePartyLeaderGuid().hashCode(); + hash = (37 * hash) + CURRENTPARTYMEMBERCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getCurrentPartyMemberCount(); + if (hasEndTime()) { + hash = (37 * hash) + ENDTIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.InvitePartyState prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code InvitePartyState} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:InvitePartyState) + com.caliverse.admin.domain.RabbitMq.message.InvitePartyStateOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartyState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartyState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.InvitePartyState.class, com.caliverse.admin.domain.RabbitMq.message.InvitePartyState.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.InvitePartyState.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + invitePartyGuid_ = ""; + invitePartyLeaderNickname_ = ""; + invitePartyLeaderGuid_ = ""; + currentPartyMemberCount_ = 0; + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartyState_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InvitePartyState getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.InvitePartyState.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InvitePartyState build() { + com.caliverse.admin.domain.RabbitMq.message.InvitePartyState result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InvitePartyState buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.InvitePartyState result = new com.caliverse.admin.domain.RabbitMq.message.InvitePartyState(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.InvitePartyState result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.invitePartyGuid_ = invitePartyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.invitePartyLeaderNickname_ = invitePartyLeaderNickname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.invitePartyLeaderGuid_ = invitePartyLeaderGuid_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.currentPartyMemberCount_ = currentPartyMemberCount_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.InvitePartyState) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.InvitePartyState)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.InvitePartyState other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.InvitePartyState.getDefaultInstance()) return this; + if (!other.getInvitePartyGuid().isEmpty()) { + invitePartyGuid_ = other.invitePartyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getInvitePartyLeaderNickname().isEmpty()) { + invitePartyLeaderNickname_ = other.invitePartyLeaderNickname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getInvitePartyLeaderGuid().isEmpty()) { + invitePartyLeaderGuid_ = other.invitePartyLeaderGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getCurrentPartyMemberCount() != 0) { + setCurrentPartyMemberCount(other.getCurrentPartyMemberCount()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + invitePartyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + invitePartyLeaderNickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + invitePartyLeaderGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + currentPartyMemberCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object invitePartyGuid_ = ""; + /** + * string invitePartyGuid = 1; + * @return The invitePartyGuid. + */ + public java.lang.String getInvitePartyGuid() { + java.lang.Object ref = invitePartyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string invitePartyGuid = 1; + * @return The bytes for invitePartyGuid. + */ + public com.google.protobuf.ByteString + getInvitePartyGuidBytes() { + java.lang.Object ref = invitePartyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string invitePartyGuid = 1; + * @param value The invitePartyGuid to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + invitePartyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string invitePartyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearInvitePartyGuid() { + invitePartyGuid_ = getDefaultInstance().getInvitePartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string invitePartyGuid = 1; + * @param value The bytes for invitePartyGuid to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + invitePartyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object invitePartyLeaderNickname_ = ""; + /** + * string invitePartyLeaderNickname = 2; + * @return The invitePartyLeaderNickname. + */ + public java.lang.String getInvitePartyLeaderNickname() { + java.lang.Object ref = invitePartyLeaderNickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyLeaderNickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string invitePartyLeaderNickname = 2; + * @return The bytes for invitePartyLeaderNickname. + */ + public com.google.protobuf.ByteString + getInvitePartyLeaderNicknameBytes() { + java.lang.Object ref = invitePartyLeaderNickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyLeaderNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string invitePartyLeaderNickname = 2; + * @param value The invitePartyLeaderNickname to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyLeaderNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + invitePartyLeaderNickname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string invitePartyLeaderNickname = 2; + * @return This builder for chaining. + */ + public Builder clearInvitePartyLeaderNickname() { + invitePartyLeaderNickname_ = getDefaultInstance().getInvitePartyLeaderNickname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string invitePartyLeaderNickname = 2; + * @param value The bytes for invitePartyLeaderNickname to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyLeaderNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + invitePartyLeaderNickname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object invitePartyLeaderGuid_ = ""; + /** + * string invitePartyLeaderGuid = 3; + * @return The invitePartyLeaderGuid. + */ + public java.lang.String getInvitePartyLeaderGuid() { + java.lang.Object ref = invitePartyLeaderGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyLeaderGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string invitePartyLeaderGuid = 3; + * @return The bytes for invitePartyLeaderGuid. + */ + public com.google.protobuf.ByteString + getInvitePartyLeaderGuidBytes() { + java.lang.Object ref = invitePartyLeaderGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyLeaderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string invitePartyLeaderGuid = 3; + * @param value The invitePartyLeaderGuid to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyLeaderGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + invitePartyLeaderGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string invitePartyLeaderGuid = 3; + * @return This builder for chaining. + */ + public Builder clearInvitePartyLeaderGuid() { + invitePartyLeaderGuid_ = getDefaultInstance().getInvitePartyLeaderGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string invitePartyLeaderGuid = 3; + * @param value The bytes for invitePartyLeaderGuid to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyLeaderGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + invitePartyLeaderGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int currentPartyMemberCount_ ; + /** + * int32 currentPartyMemberCount = 4; + * @return The currentPartyMemberCount. + */ + @java.lang.Override + public int getCurrentPartyMemberCount() { + return currentPartyMemberCount_; + } + /** + * int32 currentPartyMemberCount = 4; + * @param value The currentPartyMemberCount to set. + * @return This builder for chaining. + */ + public Builder setCurrentPartyMemberCount(int value) { + + currentPartyMemberCount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 currentPartyMemberCount = 4; + * @return This builder for chaining. + */ + public Builder clearCurrentPartyMemberCount() { + bitField0_ = (bitField0_ & ~0x00000008); + currentPartyMemberCount_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + /** + * .google.protobuf.Timestamp endTime = 5; + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .google.protobuf.Timestamp endTime = 5; + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp endTime = 5; + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + } else { + endTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp endTime = 5; + */ + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp endTime = 5; + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEndTimeBuilder().mergeFrom(value); + } else { + endTime_ = value; + } + } else { + endTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp endTime = 5; + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000010); + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp endTime = 5; + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp endTime = 5; + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + * .google.protobuf.Timestamp endTime = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:InvitePartyState) + } + + // @@protoc_insertion_point(class_scope:InvitePartyState) + private static final com.caliverse.admin.domain.RabbitMq.message.InvitePartyState DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.InvitePartyState(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvitePartyState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.InvitePartyState getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartyStateOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartyStateOrBuilder.java new file mode 100644 index 0000000..4b93a9e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/InvitePartyStateOrBuilder.java @@ -0,0 +1,66 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface InvitePartyStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:InvitePartyState) + com.google.protobuf.MessageOrBuilder { + + /** + * string invitePartyGuid = 1; + * @return The invitePartyGuid. + */ + java.lang.String getInvitePartyGuid(); + /** + * string invitePartyGuid = 1; + * @return The bytes for invitePartyGuid. + */ + com.google.protobuf.ByteString + getInvitePartyGuidBytes(); + + /** + * string invitePartyLeaderNickname = 2; + * @return The invitePartyLeaderNickname. + */ + java.lang.String getInvitePartyLeaderNickname(); + /** + * string invitePartyLeaderNickname = 2; + * @return The bytes for invitePartyLeaderNickname. + */ + com.google.protobuf.ByteString + getInvitePartyLeaderNicknameBytes(); + + /** + * string invitePartyLeaderGuid = 3; + * @return The invitePartyLeaderGuid. + */ + java.lang.String getInvitePartyLeaderGuid(); + /** + * string invitePartyLeaderGuid = 3; + * @return The bytes for invitePartyLeaderGuid. + */ + com.google.protobuf.ByteString + getInvitePartyLeaderGuidBytes(); + + /** + * int32 currentPartyMemberCount = 4; + * @return The currentPartyMemberCount. + */ + int getCurrentPartyMemberCount(); + + /** + * .google.protobuf.Timestamp endTime = 5; + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + * .google.protobuf.Timestamp endTime = 5; + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + * .google.protobuf.Timestamp endTime = 5; + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Item.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Item.java new file mode 100644 index 0000000..f8dae86 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Item.java @@ -0,0 +1,1369 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  : Ŷ
+ * 
+ * + * Protobuf type {@code Item} + */ +public final class Item extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Item) + ItemOrBuilder { +private static final long serialVersionUID = 0L; + // Use Item.newBuilder() to construct. + private Item(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Item() { + itemGuid_ = ""; + attributeids_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Item(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Item_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Item_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Item.class, com.caliverse.admin.domain.RabbitMq.message.Item.Builder.class); + } + + public static final int ITEMGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object itemGuid_ = ""; + /** + * string itemGuid = 1; + * @return The itemGuid. + */ + @java.lang.Override + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } + } + /** + * string itemGuid = 1; + * @return The bytes for itemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEMID_FIELD_NUMBER = 2; + private int itemId_ = 0; + /** + * int32 itemId = 2; + * @return The itemId. + */ + @java.lang.Override + public int getItemId() { + return itemId_; + } + + public static final int CREATETIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp createTime_; + /** + * .google.protobuf.Timestamp createTime = 3; + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * .google.protobuf.Timestamp createTime = 3; + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + public static final int UPDATETIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp updateTime_; + /** + * .google.protobuf.Timestamp updateTime = 4; + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + * .google.protobuf.Timestamp updateTime = 4; + * @return The updateTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + * .google.protobuf.Timestamp updateTime = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + + public static final int COUNT_FIELD_NUMBER = 5; + private int count_ = 0; + /** + * int32 count = 5; + * @return The count. + */ + @java.lang.Override + public int getCount() { + return count_; + } + + public static final int SLOT_FIELD_NUMBER = 6; + private int slot_ = 0; + /** + *
+   * Bag : 1 ~, Equip : 0 ~
+   * 
+ * + * int32 slot = 6; + * @return The slot. + */ + @java.lang.Override + public int getSlot() { + return slot_; + } + + public static final int LEVEL_FIELD_NUMBER = 7; + private int level_ = 0; + /** + * int32 level = 7; + * @return The level. + */ + @java.lang.Override + public int getLevel() { + return level_; + } + + public static final int ATTRIBUTEIDS_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList attributeids_; + /** + * repeated int32 attributeids = 8; + * @return A list containing the attributeids. + */ + @java.lang.Override + public java.util.List + getAttributeidsList() { + return attributeids_; + } + /** + * repeated int32 attributeids = 8; + * @return The count of attributeids. + */ + public int getAttributeidsCount() { + return attributeids_.size(); + } + /** + * repeated int32 attributeids = 8; + * @param index The index of the element to return. + * @return The attributeids at the given index. + */ + public int getAttributeids(int index) { + return attributeids_.getInt(index); + } + private int attributeidsMemoizedSerializedSize = -1; + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, itemGuid_); + } + if (itemId_ != 0) { + output.writeInt32(2, itemId_); + } + if (createTime_ != null) { + output.writeMessage(3, getCreateTime()); + } + if (updateTime_ != null) { + output.writeMessage(4, getUpdateTime()); + } + if (count_ != 0) { + output.writeInt32(5, count_); + } + if (slot_ != 0) { + output.writeInt32(6, slot_); + } + if (level_ != 0) { + output.writeInt32(7, level_); + } + if (getAttributeidsList().size() > 0) { + output.writeUInt32NoTag(66); + output.writeUInt32NoTag(attributeidsMemoizedSerializedSize); + } + for (int i = 0; i < attributeids_.size(); i++) { + output.writeInt32NoTag(attributeids_.getInt(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, itemGuid_); + } + if (itemId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, itemId_); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); + } + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); + } + if (count_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, count_); + } + if (slot_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, slot_); + } + if (level_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, level_); + } + { + int dataSize = 0; + for (int i = 0; i < attributeids_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(attributeids_.getInt(i)); + } + size += dataSize; + if (!getAttributeidsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + attributeidsMemoizedSerializedSize = dataSize; + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.Item)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.Item other = (com.caliverse.admin.domain.RabbitMq.message.Item) obj; + + if (!getItemGuid() + .equals(other.getItemGuid())) return false; + if (getItemId() + != other.getItemId()) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime() + .equals(other.getCreateTime())) return false; + } + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (getCount() + != other.getCount()) return false; + if (getSlot() + != other.getSlot()) return false; + if (getLevel() + != other.getLevel()) return false; + if (!getAttributeidsList() + .equals(other.getAttributeidsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getItemGuid().hashCode(); + hash = (37 * hash) + ITEMID_FIELD_NUMBER; + hash = (53 * hash) + getItemId(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATETIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATETIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + hash = (37 * hash) + COUNT_FIELD_NUMBER; + hash = (53 * hash) + getCount(); + hash = (37 * hash) + SLOT_FIELD_NUMBER; + hash = (53 * hash) + getSlot(); + hash = (37 * hash) + LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLevel(); + if (getAttributeidsCount() > 0) { + hash = (37 * hash) + ATTRIBUTEIDS_FIELD_NUMBER; + hash = (53 * hash) + getAttributeidsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.Item parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Item parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Item parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Item parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Item parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Item parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Item parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Item parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Item parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Item parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Item parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Item parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.Item prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   *  : Ŷ
+   * 
+ * + * Protobuf type {@code Item} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:Item) + com.caliverse.admin.domain.RabbitMq.message.ItemOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Item_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Item_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Item.class, com.caliverse.admin.domain.RabbitMq.message.Item.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.Item.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemGuid_ = ""; + itemId_ = 0; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + count_ = 0; + slot_ = 0; + level_ = 0; + attributeids_ = emptyIntList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Item_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item build() { + com.caliverse.admin.domain.RabbitMq.message.Item result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.Item result = new com.caliverse.admin.domain.RabbitMq.message.Item(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.Item result) { + if (((bitField0_ & 0x00000080) != 0)) { + attributeids_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.attributeids_ = attributeids_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.Item result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemGuid_ = itemGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.itemId_ = itemId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.count_ = count_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.slot_ = slot_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.level_ = level_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.Item) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.Item)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.Item other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()) return this; + if (!other.getItemGuid().isEmpty()) { + itemGuid_ = other.itemGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getItemId() != 0) { + setItemId(other.getItemId()); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + if (other.getCount() != 0) { + setCount(other.getCount()); + } + if (other.getSlot() != 0) { + setSlot(other.getSlot()); + } + if (other.getLevel() != 0) { + setLevel(other.getLevel()); + } + if (!other.attributeids_.isEmpty()) { + if (attributeids_.isEmpty()) { + attributeids_ = other.attributeids_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureAttributeidsIsMutable(); + attributeids_.addAll(other.attributeids_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + itemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + itemId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + count_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + slot_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + level_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + int v = input.readInt32(); + ensureAttributeidsIsMutable(); + attributeids_.addInt(v); + break; + } // case 64 + case 66: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureAttributeidsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + attributeids_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object itemGuid_ = ""; + /** + * string itemGuid = 1; + * @return The itemGuid. + */ + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string itemGuid = 1; + * @return The bytes for itemGuid. + */ + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string itemGuid = 1; + * @param value The itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + itemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string itemGuid = 1; + * @return This builder for chaining. + */ + public Builder clearItemGuid() { + itemGuid_ = getDefaultInstance().getItemGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string itemGuid = 1; + * @param value The bytes for itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + itemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int itemId_ ; + /** + * int32 itemId = 2; + * @return The itemId. + */ + @java.lang.Override + public int getItemId() { + return itemId_; + } + /** + * int32 itemId = 2; + * @param value The itemId to set. + * @return This builder for chaining. + */ + public Builder setItemId(int value) { + + itemId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 itemId = 2; + * @return This builder for chaining. + */ + public Builder clearItemId() { + bitField0_ = (bitField0_ & ~0x00000002); + itemId_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + /** + * .google.protobuf.Timestamp createTime = 3; + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .google.protobuf.Timestamp createTime = 3; + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000004); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + /** + * .google.protobuf.Timestamp updateTime = 4; + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .google.protobuf.Timestamp updateTime = 4; + * @return The updateTime. + */ + public com.google.protobuf.Timestamp getUpdateTime() { + if (updateTimeBuilder_ == null) { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp updateTime = 4; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + } else { + updateTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp updateTime = 4; + */ + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp updateTime = 4; + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getUpdateTimeBuilder().mergeFrom(value); + } else { + updateTime_ = value; + } + } else { + updateTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp updateTime = 4; + */ + public Builder clearUpdateTime() { + bitField0_ = (bitField0_ & ~0x00000008); + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp updateTime = 4; + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp updateTime = 4; + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + } + /** + * .google.protobuf.Timestamp updateTime = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + private int count_ ; + /** + * int32 count = 5; + * @return The count. + */ + @java.lang.Override + public int getCount() { + return count_; + } + /** + * int32 count = 5; + * @param value The count to set. + * @return This builder for chaining. + */ + public Builder setCount(int value) { + + count_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * int32 count = 5; + * @return This builder for chaining. + */ + public Builder clearCount() { + bitField0_ = (bitField0_ & ~0x00000010); + count_ = 0; + onChanged(); + return this; + } + + private int slot_ ; + /** + *
+     * Bag : 1 ~, Equip : 0 ~
+     * 
+ * + * int32 slot = 6; + * @return The slot. + */ + @java.lang.Override + public int getSlot() { + return slot_; + } + /** + *
+     * Bag : 1 ~, Equip : 0 ~
+     * 
+ * + * int32 slot = 6; + * @param value The slot to set. + * @return This builder for chaining. + */ + public Builder setSlot(int value) { + + slot_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Bag : 1 ~, Equip : 0 ~
+     * 
+ * + * int32 slot = 6; + * @return This builder for chaining. + */ + public Builder clearSlot() { + bitField0_ = (bitField0_ & ~0x00000020); + slot_ = 0; + onChanged(); + return this; + } + + private int level_ ; + /** + * int32 level = 7; + * @return The level. + */ + @java.lang.Override + public int getLevel() { + return level_; + } + /** + * int32 level = 7; + * @param value The level to set. + * @return This builder for chaining. + */ + public Builder setLevel(int value) { + + level_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * int32 level = 7; + * @return This builder for chaining. + */ + public Builder clearLevel() { + bitField0_ = (bitField0_ & ~0x00000040); + level_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList attributeids_ = emptyIntList(); + private void ensureAttributeidsIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + attributeids_ = mutableCopy(attributeids_); + bitField0_ |= 0x00000080; + } + } + /** + * repeated int32 attributeids = 8; + * @return A list containing the attributeids. + */ + public java.util.List + getAttributeidsList() { + return ((bitField0_ & 0x00000080) != 0) ? + java.util.Collections.unmodifiableList(attributeids_) : attributeids_; + } + /** + * repeated int32 attributeids = 8; + * @return The count of attributeids. + */ + public int getAttributeidsCount() { + return attributeids_.size(); + } + /** + * repeated int32 attributeids = 8; + * @param index The index of the element to return. + * @return The attributeids at the given index. + */ + public int getAttributeids(int index) { + return attributeids_.getInt(index); + } + /** + * repeated int32 attributeids = 8; + * @param index The index to set the value at. + * @param value The attributeids to set. + * @return This builder for chaining. + */ + public Builder setAttributeids( + int index, int value) { + + ensureAttributeidsIsMutable(); + attributeids_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated int32 attributeids = 8; + * @param value The attributeids to add. + * @return This builder for chaining. + */ + public Builder addAttributeids(int value) { + + ensureAttributeidsIsMutable(); + attributeids_.addInt(value); + onChanged(); + return this; + } + /** + * repeated int32 attributeids = 8; + * @param values The attributeids to add. + * @return This builder for chaining. + */ + public Builder addAllAttributeids( + java.lang.Iterable values) { + ensureAttributeidsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attributeids_); + onChanged(); + return this; + } + /** + * repeated int32 attributeids = 8; + * @return This builder for chaining. + */ + public Builder clearAttributeids() { + attributeids_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Item) + } + + // @@protoc_insertion_point(class_scope:Item) + private static final com.caliverse.admin.domain.RabbitMq.message.Item DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.Item(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.Item getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Item parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemAmount.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemAmount.java new file mode 100644 index 0000000..3115962 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemAmount.java @@ -0,0 +1,580 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  ũ
+ * 
+ * + * Protobuf type {@code ItemAmount} + */ +public final class ItemAmount extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ItemAmount) + ItemAmountOrBuilder { +private static final long serialVersionUID = 0L; + // Use ItemAmount.newBuilder() to construct. + private ItemAmount(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ItemAmount() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ItemAmount(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemAmount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemAmount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ItemAmount.class, com.caliverse.admin.domain.RabbitMq.message.ItemAmount.Builder.class); + } + + public static final int METAID_FIELD_NUMBER = 1; + private int metaId_ = 0; + /** + *
+   *  Ÿ id	
+   * 
+ * + * uint32 metaId = 1; + * @return The metaId. + */ + @java.lang.Override + public int getMetaId() { + return metaId_; + } + + public static final int AMOUNT_FIELD_NUMBER = 2; + private int amount_ = 0; + /** + *
+   * 
+   * 
+ * + * int32 amount = 2; + * @return The amount. + */ + @java.lang.Override + public int getAmount() { + return amount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (metaId_ != 0) { + output.writeUInt32(1, metaId_); + } + if (amount_ != 0) { + output.writeInt32(2, amount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (metaId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, metaId_); + } + if (amount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, amount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ItemAmount)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ItemAmount other = (com.caliverse.admin.domain.RabbitMq.message.ItemAmount) obj; + + if (getMetaId() + != other.getMetaId()) return false; + if (getAmount() + != other.getAmount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + METAID_FIELD_NUMBER; + hash = (53 * hash) + getMetaId(); + hash = (37 * hash) + AMOUNT_FIELD_NUMBER; + hash = (53 * hash) + getAmount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ItemAmount prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   *  ũ
+   * 
+ * + * Protobuf type {@code ItemAmount} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ItemAmount) + com.caliverse.admin.domain.RabbitMq.message.ItemAmountOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemAmount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemAmount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ItemAmount.class, com.caliverse.admin.domain.RabbitMq.message.ItemAmount.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ItemAmount.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + metaId_ = 0; + amount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemAmount_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemAmount getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ItemAmount.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemAmount build() { + com.caliverse.admin.domain.RabbitMq.message.ItemAmount result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemAmount buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ItemAmount result = new com.caliverse.admin.domain.RabbitMq.message.ItemAmount(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ItemAmount result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.metaId_ = metaId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.amount_ = amount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ItemAmount) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ItemAmount)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ItemAmount other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ItemAmount.getDefaultInstance()) return this; + if (other.getMetaId() != 0) { + setMetaId(other.getMetaId()); + } + if (other.getAmount() != 0) { + setAmount(other.getAmount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + metaId_ = input.readUInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + amount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int metaId_ ; + /** + *
+     *  Ÿ id	
+     * 
+ * + * uint32 metaId = 1; + * @return The metaId. + */ + @java.lang.Override + public int getMetaId() { + return metaId_; + } + /** + *
+     *  Ÿ id	
+     * 
+ * + * uint32 metaId = 1; + * @param value The metaId to set. + * @return This builder for chaining. + */ + public Builder setMetaId(int value) { + + metaId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     *  Ÿ id	
+     * 
+ * + * uint32 metaId = 1; + * @return This builder for chaining. + */ + public Builder clearMetaId() { + bitField0_ = (bitField0_ & ~0x00000001); + metaId_ = 0; + onChanged(); + return this; + } + + private int amount_ ; + /** + *
+     * 
+     * 
+ * + * int32 amount = 2; + * @return The amount. + */ + @java.lang.Override + public int getAmount() { + return amount_; + } + /** + *
+     * 
+     * 
+ * + * int32 amount = 2; + * @param value The amount to set. + * @return This builder for chaining. + */ + public Builder setAmount(int value) { + + amount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * 
+     * 
+ * + * int32 amount = 2; + * @return This builder for chaining. + */ + public Builder clearAmount() { + bitField0_ = (bitField0_ & ~0x00000002); + amount_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ItemAmount) + } + + // @@protoc_insertion_point(class_scope:ItemAmount) + private static final com.caliverse.admin.domain.RabbitMq.message.ItemAmount DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ItemAmount(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ItemAmount getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ItemAmount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemAmount getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemAmountOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemAmountOrBuilder.java new file mode 100644 index 0000000..e39a219 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemAmountOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ItemAmountOrBuilder extends + // @@protoc_insertion_point(interface_extends:ItemAmount) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *  Ÿ id	
+   * 
+ * + * uint32 metaId = 1; + * @return The metaId. + */ + int getMetaId(); + + /** + *
+   * 
+   * 
+ * + * int32 amount = 2; + * @return The amount. + */ + int getAmount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemDeltaAmount.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemDeltaAmount.java new file mode 100644 index 0000000..4e2b653 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemDeltaAmount.java @@ -0,0 +1,691 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  ȭ
+ * 
+ * + * Protobuf type {@code ItemDeltaAmount} + */ +public final class ItemDeltaAmount extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ItemDeltaAmount) + ItemDeltaAmountOrBuilder { +private static final long serialVersionUID = 0L; + // Use ItemDeltaAmount.newBuilder() to construct. + private ItemDeltaAmount(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ItemDeltaAmount() { + deltaType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ItemDeltaAmount(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemDeltaAmount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemDeltaAmount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount.class, com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount.Builder.class); + } + + public static final int DELTATYPE_FIELD_NUMBER = 1; + private int deltaType_ = 0; + /** + * .AmountDeltaType deltaType = 1; + * @return The enum numeric value on the wire for deltaType. + */ + @java.lang.Override public int getDeltaTypeValue() { + return deltaType_; + } + /** + * .AmountDeltaType deltaType = 1; + * @return The deltaType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType getDeltaType() { + com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType result = com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.forNumber(deltaType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.UNRECOGNIZED : result; + } + + public static final int DELTA_FIELD_NUMBER = 2; + private com.caliverse.admin.domain.RabbitMq.message.ItemAmount delta_; + /** + * .ItemAmount delta = 2; + * @return Whether the delta field is set. + */ + @java.lang.Override + public boolean hasDelta() { + return delta_ != null; + } + /** + * .ItemAmount delta = 2; + * @return The delta. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemAmount getDelta() { + return delta_ == null ? com.caliverse.admin.domain.RabbitMq.message.ItemAmount.getDefaultInstance() : delta_; + } + /** + * .ItemAmount delta = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemAmountOrBuilder getDeltaOrBuilder() { + return delta_ == null ? com.caliverse.admin.domain.RabbitMq.message.ItemAmount.getDefaultInstance() : delta_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (deltaType_ != com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.AmountDeltaType_None.getNumber()) { + output.writeEnum(1, deltaType_); + } + if (delta_ != null) { + output.writeMessage(2, getDelta()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (deltaType_ != com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.AmountDeltaType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, deltaType_); + } + if (delta_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDelta()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount other = (com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount) obj; + + if (deltaType_ != other.deltaType_) return false; + if (hasDelta() != other.hasDelta()) return false; + if (hasDelta()) { + if (!getDelta() + .equals(other.getDelta())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DELTATYPE_FIELD_NUMBER; + hash = (53 * hash) + deltaType_; + if (hasDelta()) { + hash = (37 * hash) + DELTA_FIELD_NUMBER; + hash = (53 * hash) + getDelta().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   *  ȭ
+   * 
+ * + * Protobuf type {@code ItemDeltaAmount} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ItemDeltaAmount) + com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmountOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemDeltaAmount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemDeltaAmount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount.class, com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + deltaType_ = 0; + delta_ = null; + if (deltaBuilder_ != null) { + deltaBuilder_.dispose(); + deltaBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemDeltaAmount_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount build() { + com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount result = new com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.deltaType_ = deltaType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.delta_ = deltaBuilder_ == null + ? delta_ + : deltaBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount.getDefaultInstance()) return this; + if (other.deltaType_ != 0) { + setDeltaTypeValue(other.getDeltaTypeValue()); + } + if (other.hasDelta()) { + mergeDelta(other.getDelta()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + deltaType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getDeltaFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int deltaType_ = 0; + /** + * .AmountDeltaType deltaType = 1; + * @return The enum numeric value on the wire for deltaType. + */ + @java.lang.Override public int getDeltaTypeValue() { + return deltaType_; + } + /** + * .AmountDeltaType deltaType = 1; + * @param value The enum numeric value on the wire for deltaType to set. + * @return This builder for chaining. + */ + public Builder setDeltaTypeValue(int value) { + deltaType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .AmountDeltaType deltaType = 1; + * @return The deltaType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType getDeltaType() { + com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType result = com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.forNumber(deltaType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.UNRECOGNIZED : result; + } + /** + * .AmountDeltaType deltaType = 1; + * @param value The deltaType to set. + * @return This builder for chaining. + */ + public Builder setDeltaType(com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + deltaType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .AmountDeltaType deltaType = 1; + * @return This builder for chaining. + */ + public Builder clearDeltaType() { + bitField0_ = (bitField0_ & ~0x00000001); + deltaType_ = 0; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.ItemAmount delta_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ItemAmount, com.caliverse.admin.domain.RabbitMq.message.ItemAmount.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemAmountOrBuilder> deltaBuilder_; + /** + * .ItemAmount delta = 2; + * @return Whether the delta field is set. + */ + public boolean hasDelta() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .ItemAmount delta = 2; + * @return The delta. + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemAmount getDelta() { + if (deltaBuilder_ == null) { + return delta_ == null ? com.caliverse.admin.domain.RabbitMq.message.ItemAmount.getDefaultInstance() : delta_; + } else { + return deltaBuilder_.getMessage(); + } + } + /** + * .ItemAmount delta = 2; + */ + public Builder setDelta(com.caliverse.admin.domain.RabbitMq.message.ItemAmount value) { + if (deltaBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + delta_ = value; + } else { + deltaBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .ItemAmount delta = 2; + */ + public Builder setDelta( + com.caliverse.admin.domain.RabbitMq.message.ItemAmount.Builder builderForValue) { + if (deltaBuilder_ == null) { + delta_ = builderForValue.build(); + } else { + deltaBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .ItemAmount delta = 2; + */ + public Builder mergeDelta(com.caliverse.admin.domain.RabbitMq.message.ItemAmount value) { + if (deltaBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + delta_ != null && + delta_ != com.caliverse.admin.domain.RabbitMq.message.ItemAmount.getDefaultInstance()) { + getDeltaBuilder().mergeFrom(value); + } else { + delta_ = value; + } + } else { + deltaBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .ItemAmount delta = 2; + */ + public Builder clearDelta() { + bitField0_ = (bitField0_ & ~0x00000002); + delta_ = null; + if (deltaBuilder_ != null) { + deltaBuilder_.dispose(); + deltaBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .ItemAmount delta = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemAmount.Builder getDeltaBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getDeltaFieldBuilder().getBuilder(); + } + /** + * .ItemAmount delta = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.ItemAmountOrBuilder getDeltaOrBuilder() { + if (deltaBuilder_ != null) { + return deltaBuilder_.getMessageOrBuilder(); + } else { + return delta_ == null ? + com.caliverse.admin.domain.RabbitMq.message.ItemAmount.getDefaultInstance() : delta_; + } + } + /** + * .ItemAmount delta = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ItemAmount, com.caliverse.admin.domain.RabbitMq.message.ItemAmount.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemAmountOrBuilder> + getDeltaFieldBuilder() { + if (deltaBuilder_ == null) { + deltaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ItemAmount, com.caliverse.admin.domain.RabbitMq.message.ItemAmount.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemAmountOrBuilder>( + getDelta(), + getParentForChildren(), + isClean()); + delta_ = null; + } + return deltaBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ItemDeltaAmount) + } + + // @@protoc_insertion_point(class_scope:ItemDeltaAmount) + private static final com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ItemDeltaAmount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemDeltaAmountOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemDeltaAmountOrBuilder.java new file mode 100644 index 0000000..0b5fa44 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemDeltaAmountOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ItemDeltaAmountOrBuilder extends + // @@protoc_insertion_point(interface_extends:ItemDeltaAmount) + com.google.protobuf.MessageOrBuilder { + + /** + * .AmountDeltaType deltaType = 1; + * @return The enum numeric value on the wire for deltaType. + */ + int getDeltaTypeValue(); + /** + * .AmountDeltaType deltaType = 1; + * @return The deltaType. + */ + com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType getDeltaType(); + + /** + * .ItemAmount delta = 2; + * @return Whether the delta field is set. + */ + boolean hasDelta(); + /** + * .ItemAmount delta = 2; + * @return The delta. + */ + com.caliverse.admin.domain.RabbitMq.message.ItemAmount getDelta(); + /** + * .ItemAmount delta = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemAmountOrBuilder getDeltaOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemGuidCount.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemGuidCount.java new file mode 100644 index 0000000..de8ad4f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemGuidCount.java @@ -0,0 +1,610 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ItemGuidCount} + */ +public final class ItemGuidCount extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ItemGuidCount) + ItemGuidCountOrBuilder { +private static final long serialVersionUID = 0L; + // Use ItemGuidCount.newBuilder() to construct. + private ItemGuidCount(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ItemGuidCount() { + itemGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ItemGuidCount(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemGuidCount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemGuidCount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount.class, com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount.Builder.class); + } + + public static final int ITEMGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object itemGuid_ = ""; + /** + * string ItemGuid = 1; + * @return The itemGuid. + */ + @java.lang.Override + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } + } + /** + * string ItemGuid = 1; + * @return The bytes for itemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEMCOUNT_FIELD_NUMBER = 2; + private int itemCount_ = 0; + /** + * int32 ItemCount = 2; + * @return The itemCount. + */ + @java.lang.Override + public int getItemCount() { + return itemCount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, itemGuid_); + } + if (itemCount_ != 0) { + output.writeInt32(2, itemCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, itemGuid_); + } + if (itemCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, itemCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount other = (com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount) obj; + + if (!getItemGuid() + .equals(other.getItemGuid())) return false; + if (getItemCount() + != other.getItemCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getItemGuid().hashCode(); + hash = (37 * hash) + ITEMCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getItemCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ItemGuidCount} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ItemGuidCount) + com.caliverse.admin.domain.RabbitMq.message.ItemGuidCountOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemGuidCount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemGuidCount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount.class, com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemGuid_ = ""; + itemCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemGuidCount_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount build() { + com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount result = new com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemGuid_ = itemGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.itemCount_ = itemCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount.getDefaultInstance()) return this; + if (!other.getItemGuid().isEmpty()) { + itemGuid_ = other.itemGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getItemCount() != 0) { + setItemCount(other.getItemCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + itemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + itemCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object itemGuid_ = ""; + /** + * string ItemGuid = 1; + * @return The itemGuid. + */ + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ItemGuid = 1; + * @return The bytes for itemGuid. + */ + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ItemGuid = 1; + * @param value The itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + itemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string ItemGuid = 1; + * @return This builder for chaining. + */ + public Builder clearItemGuid() { + itemGuid_ = getDefaultInstance().getItemGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string ItemGuid = 1; + * @param value The bytes for itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + itemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int itemCount_ ; + /** + * int32 ItemCount = 2; + * @return The itemCount. + */ + @java.lang.Override + public int getItemCount() { + return itemCount_; + } + /** + * int32 ItemCount = 2; + * @param value The itemCount to set. + * @return This builder for chaining. + */ + public Builder setItemCount(int value) { + + itemCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 ItemCount = 2; + * @return This builder for chaining. + */ + public Builder clearItemCount() { + bitField0_ = (bitField0_ & ~0x00000002); + itemCount_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ItemGuidCount) + } + + // @@protoc_insertion_point(class_scope:ItemGuidCount) + private static final com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ItemGuidCount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemGuidCount getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemGuidCountOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemGuidCountOrBuilder.java new file mode 100644 index 0000000..543952e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemGuidCountOrBuilder.java @@ -0,0 +1,27 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ItemGuidCountOrBuilder extends + // @@protoc_insertion_point(interface_extends:ItemGuidCount) + com.google.protobuf.MessageOrBuilder { + + /** + * string ItemGuid = 1; + * @return The itemGuid. + */ + java.lang.String getItemGuid(); + /** + * string ItemGuid = 1; + * @return The bytes for itemGuid. + */ + com.google.protobuf.ByteString + getItemGuidBytes(); + + /** + * int32 ItemCount = 2; + * @return The itemCount. + */ + int getItemCount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemOrBuilder.java new file mode 100644 index 0000000..085f386 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemOrBuilder.java @@ -0,0 +1,96 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ItemOrBuilder extends + // @@protoc_insertion_point(interface_extends:Item) + com.google.protobuf.MessageOrBuilder { + + /** + * string itemGuid = 1; + * @return The itemGuid. + */ + java.lang.String getItemGuid(); + /** + * string itemGuid = 1; + * @return The bytes for itemGuid. + */ + com.google.protobuf.ByteString + getItemGuidBytes(); + + /** + * int32 itemId = 2; + * @return The itemId. + */ + int getItemId(); + + /** + * .google.protobuf.Timestamp createTime = 3; + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * .google.protobuf.Timestamp createTime = 3; + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * .google.protobuf.Timestamp createTime = 3; + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * .google.protobuf.Timestamp updateTime = 4; + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + * .google.protobuf.Timestamp updateTime = 4; + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * .google.protobuf.Timestamp updateTime = 4; + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + * int32 count = 5; + * @return The count. + */ + int getCount(); + + /** + *
+   * Bag : 1 ~, Equip : 0 ~
+   * 
+ * + * int32 slot = 6; + * @return The slot. + */ + int getSlot(); + + /** + * int32 level = 7; + * @return The level. + */ + int getLevel(); + + /** + * repeated int32 attributeids = 8; + * @return A list containing the attributeids. + */ + java.util.List getAttributeidsList(); + /** + * repeated int32 attributeids = 8; + * @return The count of attributeids. + */ + int getAttributeidsCount(); + /** + * repeated int32 attributeids = 8; + * @param index The index of the element to return. + * @return The attributeids at the given index. + */ + int getAttributeids(int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemResult.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemResult.java new file mode 100644 index 0000000..863a860 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemResult.java @@ -0,0 +1,1857 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * κ丮    : Ŷ
+ * 
+ * + * Protobuf type {@code ItemResult} + */ +public final class ItemResult extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ItemResult) + ItemResultOrBuilder { +private static final long serialVersionUID = 0L; + // Use ItemResult.newBuilder() to construct. + private ItemResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ItemResult() { + deletedItems_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ItemResult(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetUpdatedItems(); + case 2: + return internalGetNewItems(); + case 4: + return internalGetDeltaPerMeta(); + case 5: + return internalGetDeltaPerItems(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ItemResult.class, com.caliverse.admin.domain.RabbitMq.message.ItemResult.Builder.class); + } + + public static final int UPDATEDITEMS_FIELD_NUMBER = 1; + private static final class UpdatedItemsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemResult_UpdatedItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> updatedItems_; + private com.google.protobuf.MapField + internalGetUpdatedItems() { + if (updatedItems_ == null) { + return com.google.protobuf.MapField.emptyMapField( + UpdatedItemsDefaultEntryHolder.defaultEntry); + } + return updatedItems_; + } + public int getUpdatedItemsCount() { + return internalGetUpdatedItems().getMap().size(); + } + /** + *
+   * <ITEM_GUID, Item> : ŵ  
+   * 
+ * + * map<string, .Item> updatedItems = 1; + */ + @java.lang.Override + public boolean containsUpdatedItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetUpdatedItems().getMap().containsKey(key); + } + /** + * Use {@link #getUpdatedItemsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getUpdatedItems() { + return getUpdatedItemsMap(); + } + /** + *
+   * <ITEM_GUID, Item> : ŵ  
+   * 
+ * + * map<string, .Item> updatedItems = 1; + */ + @java.lang.Override + public java.util.Map getUpdatedItemsMap() { + return internalGetUpdatedItems().getMap(); + } + /** + *
+   * <ITEM_GUID, Item> : ŵ  
+   * 
+ * + * map<string, .Item> updatedItems = 1; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item getUpdatedItemsOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetUpdatedItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * <ITEM_GUID, Item> : ŵ  
+   * 
+ * + * map<string, .Item> updatedItems = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getUpdatedItemsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetUpdatedItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int NEWITEMS_FIELD_NUMBER = 2; + private static final class NewItemsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemResult_NewItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> newItems_; + private com.google.protobuf.MapField + internalGetNewItems() { + if (newItems_ == null) { + return com.google.protobuf.MapField.emptyMapField( + NewItemsDefaultEntryHolder.defaultEntry); + } + return newItems_; + } + public int getNewItemsCount() { + return internalGetNewItems().getMap().size(); + } + /** + *
+   * <ITEM_GUID, Item> : ű   
+   * 
+ * + * map<string, .Item> newItems = 2; + */ + @java.lang.Override + public boolean containsNewItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetNewItems().getMap().containsKey(key); + } + /** + * Use {@link #getNewItemsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getNewItems() { + return getNewItemsMap(); + } + /** + *
+   * <ITEM_GUID, Item> : ű   
+   * 
+ * + * map<string, .Item> newItems = 2; + */ + @java.lang.Override + public java.util.Map getNewItemsMap() { + return internalGetNewItems().getMap(); + } + /** + *
+   * <ITEM_GUID, Item> : ű   
+   * 
+ * + * map<string, .Item> newItems = 2; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item getNewItemsOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetNewItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * <ITEM_GUID, Item> : ű   
+   * 
+ * + * map<string, .Item> newItems = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getNewItemsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetNewItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int DELETEDITEMS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList deletedItems_; + /** + *
+   * ITEM_GUID :   
+   * 
+ * + * repeated string deletedItems = 3; + * @return A list containing the deletedItems. + */ + public com.google.protobuf.ProtocolStringList + getDeletedItemsList() { + return deletedItems_; + } + /** + *
+   * ITEM_GUID :   
+   * 
+ * + * repeated string deletedItems = 3; + * @return The count of deletedItems. + */ + public int getDeletedItemsCount() { + return deletedItems_.size(); + } + /** + *
+   * ITEM_GUID :   
+   * 
+ * + * repeated string deletedItems = 3; + * @param index The index of the element to return. + * @return The deletedItems at the given index. + */ + public java.lang.String getDeletedItems(int index) { + return deletedItems_.get(index); + } + /** + *
+   * ITEM_GUID :   
+   * 
+ * + * repeated string deletedItems = 3; + * @param index The index of the value to return. + * @return The bytes of the deletedItems at the given index. + */ + public com.google.protobuf.ByteString + getDeletedItemsBytes(int index) { + return deletedItems_.getByteString(index); + } + + public static final int DELTAPERMETA_FIELD_NUMBER = 4; + private static final class DeltaPerMetaDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemResult_DeltaPerMetaEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.UINT32, + 0, + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount> deltaPerMeta_; + private com.google.protobuf.MapField + internalGetDeltaPerMeta() { + if (deltaPerMeta_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DeltaPerMetaDefaultEntryHolder.defaultEntry); + } + return deltaPerMeta_; + } + public int getDeltaPerMetaCount() { + return internalGetDeltaPerMeta().getMap().size(); + } + /** + *
+   * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+   * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + @java.lang.Override + public boolean containsDeltaPerMeta( + int key) { + + return internalGetDeltaPerMeta().getMap().containsKey(key); + } + /** + * Use {@link #getDeltaPerMetaMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getDeltaPerMeta() { + return getDeltaPerMetaMap(); + } + /** + *
+   * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+   * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + @java.lang.Override + public java.util.Map getDeltaPerMetaMap() { + return internalGetDeltaPerMeta().getMap(); + } + /** + *
+   * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+   * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount getDeltaPerMetaOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount defaultValue) { + + java.util.Map map = + internalGetDeltaPerMeta().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+   * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount getDeltaPerMetaOrThrow( + int key) { + + java.util.Map map = + internalGetDeltaPerMeta().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int DELTAPERITEMS_FIELD_NUMBER = 5; + private static final class DeltaPerItemsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Integer> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemResult_DeltaPerItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT32, + 0); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> deltaPerItems_; + private com.google.protobuf.MapField + internalGetDeltaPerItems() { + if (deltaPerItems_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DeltaPerItemsDefaultEntryHolder.defaultEntry); + } + return deltaPerItems_; + } + public int getDeltaPerItemsCount() { + return internalGetDeltaPerItems().getMap().size(); + } + /** + *
+   * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+   * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + @java.lang.Override + public boolean containsDeltaPerItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetDeltaPerItems().getMap().containsKey(key); + } + /** + * Use {@link #getDeltaPerItemsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getDeltaPerItems() { + return getDeltaPerItemsMap(); + } + /** + *
+   * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+   * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + @java.lang.Override + public java.util.Map getDeltaPerItemsMap() { + return internalGetDeltaPerItems().getMap(); + } + /** + *
+   * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+   * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + @java.lang.Override + public int getDeltaPerItemsOrDefault( + java.lang.String key, + int defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDeltaPerItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+   * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + @java.lang.Override + public int getDeltaPerItemsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDeltaPerItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetUpdatedItems(), + UpdatedItemsDefaultEntryHolder.defaultEntry, + 1); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetNewItems(), + NewItemsDefaultEntryHolder.defaultEntry, + 2); + for (int i = 0; i < deletedItems_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deletedItems_.getRaw(i)); + } + com.google.protobuf.GeneratedMessageV3 + .serializeIntegerMapTo( + output, + internalGetDeltaPerMeta(), + DeltaPerMetaDefaultEntryHolder.defaultEntry, + 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetDeltaPerItems(), + DeltaPerItemsDefaultEntryHolder.defaultEntry, + 5); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetUpdatedItems().getMap().entrySet()) { + com.google.protobuf.MapEntry + updatedItems__ = UpdatedItemsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, updatedItems__); + } + for (java.util.Map.Entry entry + : internalGetNewItems().getMap().entrySet()) { + com.google.protobuf.MapEntry + newItems__ = NewItemsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, newItems__); + } + { + int dataSize = 0; + for (int i = 0; i < deletedItems_.size(); i++) { + dataSize += computeStringSizeNoTag(deletedItems_.getRaw(i)); + } + size += dataSize; + size += 1 * getDeletedItemsList().size(); + } + for (java.util.Map.Entry entry + : internalGetDeltaPerMeta().getMap().entrySet()) { + com.google.protobuf.MapEntry + deltaPerMeta__ = DeltaPerMetaDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, deltaPerMeta__); + } + for (java.util.Map.Entry entry + : internalGetDeltaPerItems().getMap().entrySet()) { + com.google.protobuf.MapEntry + deltaPerItems__ = DeltaPerItemsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, deltaPerItems__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ItemResult)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ItemResult other = (com.caliverse.admin.domain.RabbitMq.message.ItemResult) obj; + + if (!internalGetUpdatedItems().equals( + other.internalGetUpdatedItems())) return false; + if (!internalGetNewItems().equals( + other.internalGetNewItems())) return false; + if (!getDeletedItemsList() + .equals(other.getDeletedItemsList())) return false; + if (!internalGetDeltaPerMeta().equals( + other.internalGetDeltaPerMeta())) return false; + if (!internalGetDeltaPerItems().equals( + other.internalGetDeltaPerItems())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetUpdatedItems().getMap().isEmpty()) { + hash = (37 * hash) + UPDATEDITEMS_FIELD_NUMBER; + hash = (53 * hash) + internalGetUpdatedItems().hashCode(); + } + if (!internalGetNewItems().getMap().isEmpty()) { + hash = (37 * hash) + NEWITEMS_FIELD_NUMBER; + hash = (53 * hash) + internalGetNewItems().hashCode(); + } + if (getDeletedItemsCount() > 0) { + hash = (37 * hash) + DELETEDITEMS_FIELD_NUMBER; + hash = (53 * hash) + getDeletedItemsList().hashCode(); + } + if (!internalGetDeltaPerMeta().getMap().isEmpty()) { + hash = (37 * hash) + DELTAPERMETA_FIELD_NUMBER; + hash = (53 * hash) + internalGetDeltaPerMeta().hashCode(); + } + if (!internalGetDeltaPerItems().getMap().isEmpty()) { + hash = (37 * hash) + DELTAPERITEMS_FIELD_NUMBER; + hash = (53 * hash) + internalGetDeltaPerItems().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ItemResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * κ丮    : Ŷ
+   * 
+ * + * Protobuf type {@code ItemResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ItemResult) + com.caliverse.admin.domain.RabbitMq.message.ItemResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetUpdatedItems(); + case 2: + return internalGetNewItems(); + case 4: + return internalGetDeltaPerMeta(); + case 5: + return internalGetDeltaPerItems(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableUpdatedItems(); + case 2: + return internalGetMutableNewItems(); + case 4: + return internalGetMutableDeltaPerMeta(); + case 5: + return internalGetMutableDeltaPerItems(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ItemResult.class, com.caliverse.admin.domain.RabbitMq.message.ItemResult.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ItemResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableUpdatedItems().clear(); + internalGetMutableNewItems().clear(); + deletedItems_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + internalGetMutableDeltaPerMeta().clear(); + internalGetMutableDeltaPerItems().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ItemResult_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemResult getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ItemResult.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemResult build() { + com.caliverse.admin.domain.RabbitMq.message.ItemResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemResult buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ItemResult result = new com.caliverse.admin.domain.RabbitMq.message.ItemResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.ItemResult result) { + if (((bitField0_ & 0x00000004) != 0)) { + deletedItems_ = deletedItems_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.deletedItems_ = deletedItems_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ItemResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.updatedItems_ = internalGetUpdatedItems(); + result.updatedItems_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.newItems_ = internalGetNewItems(); + result.newItems_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.deltaPerMeta_ = internalGetDeltaPerMeta(); + result.deltaPerMeta_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.deltaPerItems_ = internalGetDeltaPerItems(); + result.deltaPerItems_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ItemResult) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ItemResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ItemResult other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ItemResult.getDefaultInstance()) return this; + internalGetMutableUpdatedItems().mergeFrom( + other.internalGetUpdatedItems()); + bitField0_ |= 0x00000001; + internalGetMutableNewItems().mergeFrom( + other.internalGetNewItems()); + bitField0_ |= 0x00000002; + if (!other.deletedItems_.isEmpty()) { + if (deletedItems_.isEmpty()) { + deletedItems_ = other.deletedItems_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureDeletedItemsIsMutable(); + deletedItems_.addAll(other.deletedItems_); + } + onChanged(); + } + internalGetMutableDeltaPerMeta().mergeFrom( + other.internalGetDeltaPerMeta()); + bitField0_ |= 0x00000008; + internalGetMutableDeltaPerItems().mergeFrom( + other.internalGetDeltaPerItems()); + bitField0_ |= 0x00000010; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + updatedItems__ = input.readMessage( + UpdatedItemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableUpdatedItems().getMutableMap().put( + updatedItems__.getKey(), updatedItems__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + newItems__ = input.readMessage( + NewItemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableNewItems().getMutableMap().put( + newItems__.getKey(), newItems__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDeletedItemsIsMutable(); + deletedItems_.add(s); + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + deltaPerMeta__ = input.readMessage( + DeltaPerMetaDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableDeltaPerMeta().getMutableMap().put( + deltaPerMeta__.getKey(), deltaPerMeta__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + com.google.protobuf.MapEntry + deltaPerItems__ = input.readMessage( + DeltaPerItemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableDeltaPerItems().getMutableMap().put( + deltaPerItems__.getKey(), deltaPerItems__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> updatedItems_; + private com.google.protobuf.MapField + internalGetUpdatedItems() { + if (updatedItems_ == null) { + return com.google.protobuf.MapField.emptyMapField( + UpdatedItemsDefaultEntryHolder.defaultEntry); + } + return updatedItems_; + } + private com.google.protobuf.MapField + internalGetMutableUpdatedItems() { + if (updatedItems_ == null) { + updatedItems_ = com.google.protobuf.MapField.newMapField( + UpdatedItemsDefaultEntryHolder.defaultEntry); + } + if (!updatedItems_.isMutable()) { + updatedItems_ = updatedItems_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return updatedItems_; + } + public int getUpdatedItemsCount() { + return internalGetUpdatedItems().getMap().size(); + } + /** + *
+     * <ITEM_GUID, Item> : ŵ  
+     * 
+ * + * map<string, .Item> updatedItems = 1; + */ + @java.lang.Override + public boolean containsUpdatedItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetUpdatedItems().getMap().containsKey(key); + } + /** + * Use {@link #getUpdatedItemsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getUpdatedItems() { + return getUpdatedItemsMap(); + } + /** + *
+     * <ITEM_GUID, Item> : ŵ  
+     * 
+ * + * map<string, .Item> updatedItems = 1; + */ + @java.lang.Override + public java.util.Map getUpdatedItemsMap() { + return internalGetUpdatedItems().getMap(); + } + /** + *
+     * <ITEM_GUID, Item> : ŵ  
+     * 
+ * + * map<string, .Item> updatedItems = 1; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item getUpdatedItemsOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetUpdatedItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * <ITEM_GUID, Item> : ŵ  
+     * 
+ * + * map<string, .Item> updatedItems = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getUpdatedItemsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetUpdatedItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearUpdatedItems() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableUpdatedItems().getMutableMap() + .clear(); + return this; + } + /** + *
+     * <ITEM_GUID, Item> : ŵ  
+     * 
+ * + * map<string, .Item> updatedItems = 1; + */ + public Builder removeUpdatedItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableUpdatedItems().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableUpdatedItems() { + bitField0_ |= 0x00000001; + return internalGetMutableUpdatedItems().getMutableMap(); + } + /** + *
+     * <ITEM_GUID, Item> : ŵ  
+     * 
+ * + * map<string, .Item> updatedItems = 1; + */ + public Builder putUpdatedItems( + java.lang.String key, + com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableUpdatedItems().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     * <ITEM_GUID, Item> : ŵ  
+     * 
+ * + * map<string, .Item> updatedItems = 1; + */ + public Builder putAllUpdatedItems( + java.util.Map values) { + internalGetMutableUpdatedItems().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> newItems_; + private com.google.protobuf.MapField + internalGetNewItems() { + if (newItems_ == null) { + return com.google.protobuf.MapField.emptyMapField( + NewItemsDefaultEntryHolder.defaultEntry); + } + return newItems_; + } + private com.google.protobuf.MapField + internalGetMutableNewItems() { + if (newItems_ == null) { + newItems_ = com.google.protobuf.MapField.newMapField( + NewItemsDefaultEntryHolder.defaultEntry); + } + if (!newItems_.isMutable()) { + newItems_ = newItems_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return newItems_; + } + public int getNewItemsCount() { + return internalGetNewItems().getMap().size(); + } + /** + *
+     * <ITEM_GUID, Item> : ű   
+     * 
+ * + * map<string, .Item> newItems = 2; + */ + @java.lang.Override + public boolean containsNewItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetNewItems().getMap().containsKey(key); + } + /** + * Use {@link #getNewItemsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getNewItems() { + return getNewItemsMap(); + } + /** + *
+     * <ITEM_GUID, Item> : ű   
+     * 
+ * + * map<string, .Item> newItems = 2; + */ + @java.lang.Override + public java.util.Map getNewItemsMap() { + return internalGetNewItems().getMap(); + } + /** + *
+     * <ITEM_GUID, Item> : ű   
+     * 
+ * + * map<string, .Item> newItems = 2; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item getNewItemsOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetNewItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * <ITEM_GUID, Item> : ű   
+     * 
+ * + * map<string, .Item> newItems = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getNewItemsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetNewItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearNewItems() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableNewItems().getMutableMap() + .clear(); + return this; + } + /** + *
+     * <ITEM_GUID, Item> : ű   
+     * 
+ * + * map<string, .Item> newItems = 2; + */ + public Builder removeNewItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableNewItems().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableNewItems() { + bitField0_ |= 0x00000002; + return internalGetMutableNewItems().getMutableMap(); + } + /** + *
+     * <ITEM_GUID, Item> : ű   
+     * 
+ * + * map<string, .Item> newItems = 2; + */ + public Builder putNewItems( + java.lang.String key, + com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableNewItems().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000002; + return this; + } + /** + *
+     * <ITEM_GUID, Item> : ű   
+     * 
+ * + * map<string, .Item> newItems = 2; + */ + public Builder putAllNewItems( + java.util.Map values) { + internalGetMutableNewItems().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000002; + return this; + } + + private com.google.protobuf.LazyStringList deletedItems_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDeletedItemsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + deletedItems_ = new com.google.protobuf.LazyStringArrayList(deletedItems_); + bitField0_ |= 0x00000004; + } + } + /** + *
+     * ITEM_GUID :   
+     * 
+ * + * repeated string deletedItems = 3; + * @return A list containing the deletedItems. + */ + public com.google.protobuf.ProtocolStringList + getDeletedItemsList() { + return deletedItems_.getUnmodifiableView(); + } + /** + *
+     * ITEM_GUID :   
+     * 
+ * + * repeated string deletedItems = 3; + * @return The count of deletedItems. + */ + public int getDeletedItemsCount() { + return deletedItems_.size(); + } + /** + *
+     * ITEM_GUID :   
+     * 
+ * + * repeated string deletedItems = 3; + * @param index The index of the element to return. + * @return The deletedItems at the given index. + */ + public java.lang.String getDeletedItems(int index) { + return deletedItems_.get(index); + } + /** + *
+     * ITEM_GUID :   
+     * 
+ * + * repeated string deletedItems = 3; + * @param index The index of the value to return. + * @return The bytes of the deletedItems at the given index. + */ + public com.google.protobuf.ByteString + getDeletedItemsBytes(int index) { + return deletedItems_.getByteString(index); + } + /** + *
+     * ITEM_GUID :   
+     * 
+ * + * repeated string deletedItems = 3; + * @param index The index to set the value at. + * @param value The deletedItems to set. + * @return This builder for chaining. + */ + public Builder setDeletedItems( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureDeletedItemsIsMutable(); + deletedItems_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * ITEM_GUID :   
+     * 
+ * + * repeated string deletedItems = 3; + * @param value The deletedItems to add. + * @return This builder for chaining. + */ + public Builder addDeletedItems( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureDeletedItemsIsMutable(); + deletedItems_.add(value); + onChanged(); + return this; + } + /** + *
+     * ITEM_GUID :   
+     * 
+ * + * repeated string deletedItems = 3; + * @param values The deletedItems to add. + * @return This builder for chaining. + */ + public Builder addAllDeletedItems( + java.lang.Iterable values) { + ensureDeletedItemsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, deletedItems_); + onChanged(); + return this; + } + /** + *
+     * ITEM_GUID :   
+     * 
+ * + * repeated string deletedItems = 3; + * @return This builder for chaining. + */ + public Builder clearDeletedItems() { + deletedItems_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+     * ITEM_GUID :   
+     * 
+ * + * repeated string deletedItems = 3; + * @param value The bytes of the deletedItems to add. + * @return This builder for chaining. + */ + public Builder addDeletedItemsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureDeletedItemsIsMutable(); + deletedItems_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount> deltaPerMeta_; + private com.google.protobuf.MapField + internalGetDeltaPerMeta() { + if (deltaPerMeta_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DeltaPerMetaDefaultEntryHolder.defaultEntry); + } + return deltaPerMeta_; + } + private com.google.protobuf.MapField + internalGetMutableDeltaPerMeta() { + if (deltaPerMeta_ == null) { + deltaPerMeta_ = com.google.protobuf.MapField.newMapField( + DeltaPerMetaDefaultEntryHolder.defaultEntry); + } + if (!deltaPerMeta_.isMutable()) { + deltaPerMeta_ = deltaPerMeta_.copy(); + } + bitField0_ |= 0x00000008; + onChanged(); + return deltaPerMeta_; + } + public int getDeltaPerMetaCount() { + return internalGetDeltaPerMeta().getMap().size(); + } + /** + *
+     * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+     * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + @java.lang.Override + public boolean containsDeltaPerMeta( + int key) { + + return internalGetDeltaPerMeta().getMap().containsKey(key); + } + /** + * Use {@link #getDeltaPerMetaMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getDeltaPerMeta() { + return getDeltaPerMetaMap(); + } + /** + *
+     * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+     * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + @java.lang.Override + public java.util.Map getDeltaPerMetaMap() { + return internalGetDeltaPerMeta().getMap(); + } + /** + *
+     * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+     * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount getDeltaPerMetaOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount defaultValue) { + + java.util.Map map = + internalGetDeltaPerMeta().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+     * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount getDeltaPerMetaOrThrow( + int key) { + + java.util.Map map = + internalGetDeltaPerMeta().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearDeltaPerMeta() { + bitField0_ = (bitField0_ & ~0x00000008); + internalGetMutableDeltaPerMeta().getMutableMap() + .clear(); + return this; + } + /** + *
+     * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+     * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + public Builder removeDeltaPerMeta( + int key) { + + internalGetMutableDeltaPerMeta().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableDeltaPerMeta() { + bitField0_ |= 0x00000008; + return internalGetMutableDeltaPerMeta().getMutableMap(); + } + /** + *
+     * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+     * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + public Builder putDeltaPerMeta( + int key, + com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount value) { + + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableDeltaPerMeta().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000008; + return this; + } + /** + *
+     * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+     * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + public Builder putAllDeltaPerMeta( + java.util.Map values) { + internalGetMutableDeltaPerMeta().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000008; + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> deltaPerItems_; + private com.google.protobuf.MapField + internalGetDeltaPerItems() { + if (deltaPerItems_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DeltaPerItemsDefaultEntryHolder.defaultEntry); + } + return deltaPerItems_; + } + private com.google.protobuf.MapField + internalGetMutableDeltaPerItems() { + if (deltaPerItems_ == null) { + deltaPerItems_ = com.google.protobuf.MapField.newMapField( + DeltaPerItemsDefaultEntryHolder.defaultEntry); + } + if (!deltaPerItems_.isMutable()) { + deltaPerItems_ = deltaPerItems_.copy(); + } + bitField0_ |= 0x00000010; + onChanged(); + return deltaPerItems_; + } + public int getDeltaPerItemsCount() { + return internalGetDeltaPerItems().getMap().size(); + } + /** + *
+     * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+     * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + @java.lang.Override + public boolean containsDeltaPerItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetDeltaPerItems().getMap().containsKey(key); + } + /** + * Use {@link #getDeltaPerItemsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getDeltaPerItems() { + return getDeltaPerItemsMap(); + } + /** + *
+     * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+     * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + @java.lang.Override + public java.util.Map getDeltaPerItemsMap() { + return internalGetDeltaPerItems().getMap(); + } + /** + *
+     * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+     * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + @java.lang.Override + public int getDeltaPerItemsOrDefault( + java.lang.String key, + int defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDeltaPerItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+     * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + @java.lang.Override + public int getDeltaPerItemsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDeltaPerItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearDeltaPerItems() { + bitField0_ = (bitField0_ & ~0x00000010); + internalGetMutableDeltaPerItems().getMutableMap() + .clear(); + return this; + } + /** + *
+     * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+     * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + public Builder removeDeltaPerItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableDeltaPerItems().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableDeltaPerItems() { + bitField0_ |= 0x00000010; + return internalGetMutableDeltaPerItems().getMutableMap(); + } + /** + *
+     * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+     * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + public Builder putDeltaPerItems( + java.lang.String key, + int value) { + if (key == null) { throw new NullPointerException("map key"); } + + internalGetMutableDeltaPerItems().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000010; + return this; + } + /** + *
+     * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+     * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + public Builder putAllDeltaPerItems( + java.util.Map values) { + internalGetMutableDeltaPerItems().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000010; + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ItemResult) + } + + // @@protoc_insertion_point(class_scope:ItemResult) + private static final com.caliverse.admin.domain.RabbitMq.message.ItemResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ItemResult(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ItemResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ItemResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ItemResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemResultOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemResultOrBuilder.java new file mode 100644 index 0000000..25b6661 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ItemResultOrBuilder.java @@ -0,0 +1,264 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ItemResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:ItemResult) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * <ITEM_GUID, Item> : ŵ  
+   * 
+ * + * map<string, .Item> updatedItems = 1; + */ + int getUpdatedItemsCount(); + /** + *
+   * <ITEM_GUID, Item> : ŵ  
+   * 
+ * + * map<string, .Item> updatedItems = 1; + */ + boolean containsUpdatedItems( + java.lang.String key); + /** + * Use {@link #getUpdatedItemsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getUpdatedItems(); + /** + *
+   * <ITEM_GUID, Item> : ŵ  
+   * 
+ * + * map<string, .Item> updatedItems = 1; + */ + java.util.Map + getUpdatedItemsMap(); + /** + *
+   * <ITEM_GUID, Item> : ŵ  
+   * 
+ * + * map<string, .Item> updatedItems = 1; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item getUpdatedItemsOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item defaultValue); + /** + *
+   * <ITEM_GUID, Item> : ŵ  
+   * 
+ * + * map<string, .Item> updatedItems = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getUpdatedItemsOrThrow( + java.lang.String key); + + /** + *
+   * <ITEM_GUID, Item> : ű   
+   * 
+ * + * map<string, .Item> newItems = 2; + */ + int getNewItemsCount(); + /** + *
+   * <ITEM_GUID, Item> : ű   
+   * 
+ * + * map<string, .Item> newItems = 2; + */ + boolean containsNewItems( + java.lang.String key); + /** + * Use {@link #getNewItemsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getNewItems(); + /** + *
+   * <ITEM_GUID, Item> : ű   
+   * 
+ * + * map<string, .Item> newItems = 2; + */ + java.util.Map + getNewItemsMap(); + /** + *
+   * <ITEM_GUID, Item> : ű   
+   * 
+ * + * map<string, .Item> newItems = 2; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item getNewItemsOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item defaultValue); + /** + *
+   * <ITEM_GUID, Item> : ű   
+   * 
+ * + * map<string, .Item> newItems = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getNewItemsOrThrow( + java.lang.String key); + + /** + *
+   * ITEM_GUID :   
+   * 
+ * + * repeated string deletedItems = 3; + * @return A list containing the deletedItems. + */ + java.util.List + getDeletedItemsList(); + /** + *
+   * ITEM_GUID :   
+   * 
+ * + * repeated string deletedItems = 3; + * @return The count of deletedItems. + */ + int getDeletedItemsCount(); + /** + *
+   * ITEM_GUID :   
+   * 
+ * + * repeated string deletedItems = 3; + * @param index The index of the element to return. + * @return The deletedItems at the given index. + */ + java.lang.String getDeletedItems(int index); + /** + *
+   * ITEM_GUID :   
+   * 
+ * + * repeated string deletedItems = 3; + * @param index The index of the value to return. + * @return The bytes of the deletedItems at the given index. + */ + com.google.protobuf.ByteString + getDeletedItemsBytes(int index); + + /** + *
+   * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+   * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + int getDeltaPerMetaCount(); + /** + *
+   * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+   * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + boolean containsDeltaPerMeta( + int key); + /** + * Use {@link #getDeltaPerMetaMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getDeltaPerMeta(); + /** + *
+   * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+   * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + java.util.Map + getDeltaPerMetaMap(); + /** + *
+   * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+   * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount getDeltaPerMetaOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount defaultValue); + /** + *
+   * <ITEM_META_ID, ItemDeltaAmount> :  Ÿ ȭ 
+   * 
+ * + * map<uint32, .ItemDeltaAmount> deltaPerMeta = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.ItemDeltaAmount getDeltaPerMetaOrThrow( + int key); + + /** + *
+   * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+   * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + int getDeltaPerItemsCount(); + /** + *
+   * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+   * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + boolean containsDeltaPerItems( + java.lang.String key); + /** + * Use {@link #getDeltaPerItemsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getDeltaPerItems(); + /** + *
+   * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+   * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + java.util.Map + getDeltaPerItemsMap(); + /** + *
+   * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+   * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + int getDeltaPerItemsOrDefault( + java.lang.String key, + int defaultValue); + /** + *
+   * <ITEM_GUID, DeltaCount> :    ( ),  ,  
+   * 
+ * + * map<string, int32> deltaPerItems = 5; + */ + int getDeltaPerItemsOrThrow( + java.lang.String key); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LandInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LandInfo.java new file mode 100644 index 0000000..211cbd4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LandInfo.java @@ -0,0 +1,1302 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code LandInfo} + */ +public final class LandInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:LandInfo) + LandInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use LandInfo.newBuilder() to construct. + private LandInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LandInfo() { + owner_ = ""; + name_ = ""; + description_ = ""; + propList_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LandInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LandInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LandInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LandInfo.class, com.caliverse.admin.domain.RabbitMq.message.LandInfo.Builder.class); + } + + public static final int ID_FIELD_NUMBER = 1; + private int id_ = 0; + /** + * int32 id = 1; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + + public static final int OWNER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object owner_ = ""; + /** + * string owner = 2; + * @return The owner. + */ + @java.lang.Override + public java.lang.String getOwner() { + java.lang.Object ref = owner_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + owner_ = s; + return s; + } + } + /** + * string owner = 2; + * @return The bytes for owner. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerBytes() { + java.lang.Object ref = owner_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + owner_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * string name = 3; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 3; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + * string description = 4; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + * string description = 4; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BUILDINGID_FIELD_NUMBER = 5; + private int buildingId_ = 0; + /** + * int32 buildingId = 5; + * @return The buildingId. + */ + @java.lang.Override + public int getBuildingId() { + return buildingId_; + } + + public static final int PROPLIST_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private java.util.List propList_; + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public java.util.List getPropListList() { + return propList_; + } + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public java.util.List + getPropListOrBuilderList() { + return propList_; + } + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public int getPropListCount() { + return propList_.size(); + } + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PropInfo getPropList(int index) { + return propList_.get(index); + } + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder getPropListOrBuilder( + int index) { + return propList_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (id_ != 0) { + output.writeInt32(1, id_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, owner_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); + } + if (buildingId_ != 0) { + output.writeInt32(5, buildingId_); + } + for (int i = 0; i < propList_.size(); i++) { + output.writeMessage(6, propList_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (id_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, id_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, owner_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); + } + if (buildingId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, buildingId_); + } + for (int i = 0; i < propList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, propList_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.LandInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.LandInfo other = (com.caliverse.admin.domain.RabbitMq.message.LandInfo) obj; + + if (getId() + != other.getId()) return false; + if (!getOwner() + .equals(other.getOwner())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (getBuildingId() + != other.getBuildingId()) return false; + if (!getPropListList() + .equals(other.getPropListList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + hash = (37 * hash) + OWNER_FIELD_NUMBER; + hash = (53 * hash) + getOwner().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + BUILDINGID_FIELD_NUMBER; + hash = (53 * hash) + getBuildingId(); + if (getPropListCount() > 0) { + hash = (37 * hash) + PROPLIST_FIELD_NUMBER; + hash = (53 * hash) + getPropListList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.LandInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code LandInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:LandInfo) + com.caliverse.admin.domain.RabbitMq.message.LandInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LandInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LandInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LandInfo.class, com.caliverse.admin.domain.RabbitMq.message.LandInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.LandInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + id_ = 0; + owner_ = ""; + name_ = ""; + description_ = ""; + buildingId_ = 0; + if (propListBuilder_ == null) { + propList_ = java.util.Collections.emptyList(); + } else { + propList_ = null; + propListBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000020); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LandInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LandInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.LandInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LandInfo build() { + com.caliverse.admin.domain.RabbitMq.message.LandInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LandInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.LandInfo result = new com.caliverse.admin.domain.RabbitMq.message.LandInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.LandInfo result) { + if (propListBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + propList_ = java.util.Collections.unmodifiableList(propList_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.propList_ = propList_; + } else { + result.propList_ = propListBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.LandInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.id_ = id_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.owner_ = owner_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.buildingId_ = buildingId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.LandInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.LandInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.LandInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.LandInfo.getDefaultInstance()) return this; + if (other.getId() != 0) { + setId(other.getId()); + } + if (!other.getOwner().isEmpty()) { + owner_ = other.owner_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.getBuildingId() != 0) { + setBuildingId(other.getBuildingId()); + } + if (propListBuilder_ == null) { + if (!other.propList_.isEmpty()) { + if (propList_.isEmpty()) { + propList_ = other.propList_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensurePropListIsMutable(); + propList_.addAll(other.propList_); + } + onChanged(); + } + } else { + if (!other.propList_.isEmpty()) { + if (propListBuilder_.isEmpty()) { + propListBuilder_.dispose(); + propListBuilder_ = null; + propList_ = other.propList_; + bitField0_ = (bitField0_ & ~0x00000020); + propListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPropListFieldBuilder() : null; + } else { + propListBuilder_.addAllMessages(other.propList_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + id_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + owner_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + buildingId_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + com.caliverse.admin.domain.RabbitMq.message.PropInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.PropInfo.parser(), + extensionRegistry); + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.add(m); + } else { + propListBuilder_.addMessage(m); + } + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int id_ ; + /** + * int32 id = 1; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + /** + * int32 id = 1; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 id = 1; + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000001); + id_ = 0; + onChanged(); + return this; + } + + private java.lang.Object owner_ = ""; + /** + * string owner = 2; + * @return The owner. + */ + public java.lang.String getOwner() { + java.lang.Object ref = owner_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + owner_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string owner = 2; + * @return The bytes for owner. + */ + public com.google.protobuf.ByteString + getOwnerBytes() { + java.lang.Object ref = owner_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + owner_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string owner = 2; + * @param value The owner to set. + * @return This builder for chaining. + */ + public Builder setOwner( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + owner_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string owner = 2; + * @return This builder for chaining. + */ + public Builder clearOwner() { + owner_ = getDefaultInstance().getOwner(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string owner = 2; + * @param value The bytes for owner to set. + * @return This builder for chaining. + */ + public Builder setOwnerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + owner_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 3; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 3; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 3; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string name = 3; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string name = 3; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + * string description = 4; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string description = 4; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string description = 4; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string description = 4; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string description = 4; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private int buildingId_ ; + /** + * int32 buildingId = 5; + * @return The buildingId. + */ + @java.lang.Override + public int getBuildingId() { + return buildingId_; + } + /** + * int32 buildingId = 5; + * @param value The buildingId to set. + * @return This builder for chaining. + */ + public Builder setBuildingId(int value) { + + buildingId_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * int32 buildingId = 5; + * @return This builder for chaining. + */ + public Builder clearBuildingId() { + bitField0_ = (bitField0_ & ~0x00000010); + buildingId_ = 0; + onChanged(); + return this; + } + + private java.util.List propList_ = + java.util.Collections.emptyList(); + private void ensurePropListIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + propList_ = new java.util.ArrayList(propList_); + bitField0_ |= 0x00000020; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.PropInfo, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder> propListBuilder_; + + /** + * repeated .PropInfo propList = 6; + */ + public java.util.List getPropListList() { + if (propListBuilder_ == null) { + return java.util.Collections.unmodifiableList(propList_); + } else { + return propListBuilder_.getMessageList(); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public int getPropListCount() { + if (propListBuilder_ == null) { + return propList_.size(); + } else { + return propListBuilder_.getCount(); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfo getPropList(int index) { + if (propListBuilder_ == null) { + return propList_.get(index); + } else { + return propListBuilder_.getMessage(index); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder setPropList( + int index, com.caliverse.admin.domain.RabbitMq.message.PropInfo value) { + if (propListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePropListIsMutable(); + propList_.set(index, value); + onChanged(); + } else { + propListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder setPropList( + int index, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder builderForValue) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.set(index, builderForValue.build()); + onChanged(); + } else { + propListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addPropList(com.caliverse.admin.domain.RabbitMq.message.PropInfo value) { + if (propListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePropListIsMutable(); + propList_.add(value); + onChanged(); + } else { + propListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addPropList( + int index, com.caliverse.admin.domain.RabbitMq.message.PropInfo value) { + if (propListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePropListIsMutable(); + propList_.add(index, value); + onChanged(); + } else { + propListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addPropList( + com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder builderForValue) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.add(builderForValue.build()); + onChanged(); + } else { + propListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addPropList( + int index, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder builderForValue) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.add(index, builderForValue.build()); + onChanged(); + } else { + propListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addAllPropList( + java.lang.Iterable values) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, propList_); + onChanged(); + } else { + propListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder clearPropList() { + if (propListBuilder_ == null) { + propList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + propListBuilder_.clear(); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder removePropList(int index) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.remove(index); + onChanged(); + } else { + propListBuilder_.remove(index); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder getPropListBuilder( + int index) { + return getPropListFieldBuilder().getBuilder(index); + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder getPropListOrBuilder( + int index) { + if (propListBuilder_ == null) { + return propList_.get(index); } else { + return propListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public java.util.List + getPropListOrBuilderList() { + if (propListBuilder_ != null) { + return propListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(propList_); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder addPropListBuilder() { + return getPropListFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.PropInfo.getDefaultInstance()); + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder addPropListBuilder( + int index) { + return getPropListFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.PropInfo.getDefaultInstance()); + } + /** + * repeated .PropInfo propList = 6; + */ + public java.util.List + getPropListBuilderList() { + return getPropListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.PropInfo, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder> + getPropListFieldBuilder() { + if (propListBuilder_ == null) { + propListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.PropInfo, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder>( + propList_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + propList_ = null; + } + return propListBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:LandInfo) + } + + // @@protoc_insertion_point(class_scope:LandInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.LandInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.LandInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.LandInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LandInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LandInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LandInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LandInfoOrBuilder.java new file mode 100644 index 0000000..16e09c5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LandInfoOrBuilder.java @@ -0,0 +1,81 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface LandInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:LandInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 id = 1; + * @return The id. + */ + int getId(); + + /** + * string owner = 2; + * @return The owner. + */ + java.lang.String getOwner(); + /** + * string owner = 2; + * @return The bytes for owner. + */ + com.google.protobuf.ByteString + getOwnerBytes(); + + /** + * string name = 3; + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 3; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + * string description = 4; + * @return The description. + */ + java.lang.String getDescription(); + /** + * string description = 4; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + * int32 buildingId = 5; + * @return The buildingId. + */ + int getBuildingId(); + + /** + * repeated .PropInfo propList = 6; + */ + java.util.List + getPropListList(); + /** + * repeated .PropInfo propList = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.PropInfo getPropList(int index); + /** + * repeated .PropInfo propList = 6; + */ + int getPropListCount(); + /** + * repeated .PropInfo propList = 6; + */ + java.util.List + getPropListOrBuilderList(); + /** + * repeated .PropInfo propList = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder getPropListOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LandLinkedInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LandLinkedInfo.java new file mode 100644 index 0000000..2900afb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LandLinkedInfo.java @@ -0,0 +1,753 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code LandLinkedInfo} + */ +public final class LandLinkedInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:LandLinkedInfo) + LandLinkedInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use LandLinkedInfo.newBuilder() to construct. + private LandLinkedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LandLinkedInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LandLinkedInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LandLinkedInfo_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 2: + return internalGetFloorLinkedInfos(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LandLinkedInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo.class, com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo.Builder.class); + } + + public static final int LANDID_FIELD_NUMBER = 1; + private int landId_ = 0; + /** + * int32 landId = 1; + * @return The landId. + */ + @java.lang.Override + public int getLandId() { + return landId_; + } + + public static final int FLOORLINKEDINFOS_FIELD_NUMBER = 2; + private static final class FloorLinkedInfosDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LandLinkedInfo_FloorLinkedInfosEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.INT32, + 0, + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo> floorLinkedInfos_; + private com.google.protobuf.MapField + internalGetFloorLinkedInfos() { + if (floorLinkedInfos_ == null) { + return com.google.protobuf.MapField.emptyMapField( + FloorLinkedInfosDefaultEntryHolder.defaultEntry); + } + return floorLinkedInfos_; + } + public int getFloorLinkedInfosCount() { + return internalGetFloorLinkedInfos().getMap().size(); + } + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + @java.lang.Override + public boolean containsFloorLinkedInfos( + int key) { + + return internalGetFloorLinkedInfos().getMap().containsKey(key); + } + /** + * Use {@link #getFloorLinkedInfosMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFloorLinkedInfos() { + return getFloorLinkedInfosMap(); + } + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + @java.lang.Override + public java.util.Map getFloorLinkedInfosMap() { + return internalGetFloorLinkedInfos().getMap(); + } + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getFloorLinkedInfosOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo defaultValue) { + + java.util.Map map = + internalGetFloorLinkedInfos().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getFloorLinkedInfosOrThrow( + int key) { + + java.util.Map map = + internalGetFloorLinkedInfos().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (landId_ != 0) { + output.writeInt32(1, landId_); + } + com.google.protobuf.GeneratedMessageV3 + .serializeIntegerMapTo( + output, + internalGetFloorLinkedInfos(), + FloorLinkedInfosDefaultEntryHolder.defaultEntry, + 2); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (landId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, landId_); + } + for (java.util.Map.Entry entry + : internalGetFloorLinkedInfos().getMap().entrySet()) { + com.google.protobuf.MapEntry + floorLinkedInfos__ = FloorLinkedInfosDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, floorLinkedInfos__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo other = (com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo) obj; + + if (getLandId() + != other.getLandId()) return false; + if (!internalGetFloorLinkedInfos().equals( + other.internalGetFloorLinkedInfos())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LANDID_FIELD_NUMBER; + hash = (53 * hash) + getLandId(); + if (!internalGetFloorLinkedInfos().getMap().isEmpty()) { + hash = (37 * hash) + FLOORLINKEDINFOS_FIELD_NUMBER; + hash = (53 * hash) + internalGetFloorLinkedInfos().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code LandLinkedInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:LandLinkedInfo) + com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LandLinkedInfo_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 2: + return internalGetFloorLinkedInfos(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 2: + return internalGetMutableFloorLinkedInfos(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LandLinkedInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo.class, com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + landId_ = 0; + internalGetMutableFloorLinkedInfos().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LandLinkedInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo build() { + com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo result = new com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.landId_ = landId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.floorLinkedInfos_ = internalGetFloorLinkedInfos(); + result.floorLinkedInfos_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo.getDefaultInstance()) return this; + if (other.getLandId() != 0) { + setLandId(other.getLandId()); + } + internalGetMutableFloorLinkedInfos().mergeFrom( + other.internalGetFloorLinkedInfos()); + bitField0_ |= 0x00000002; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + landId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + com.google.protobuf.MapEntry + floorLinkedInfos__ = input.readMessage( + FloorLinkedInfosDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableFloorLinkedInfos().getMutableMap().put( + floorLinkedInfos__.getKey(), floorLinkedInfos__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int landId_ ; + /** + * int32 landId = 1; + * @return The landId. + */ + @java.lang.Override + public int getLandId() { + return landId_; + } + /** + * int32 landId = 1; + * @param value The landId to set. + * @return This builder for chaining. + */ + public Builder setLandId(int value) { + + landId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 landId = 1; + * @return This builder for chaining. + */ + public Builder clearLandId() { + bitField0_ = (bitField0_ & ~0x00000001); + landId_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo> floorLinkedInfos_; + private com.google.protobuf.MapField + internalGetFloorLinkedInfos() { + if (floorLinkedInfos_ == null) { + return com.google.protobuf.MapField.emptyMapField( + FloorLinkedInfosDefaultEntryHolder.defaultEntry); + } + return floorLinkedInfos_; + } + private com.google.protobuf.MapField + internalGetMutableFloorLinkedInfos() { + if (floorLinkedInfos_ == null) { + floorLinkedInfos_ = com.google.protobuf.MapField.newMapField( + FloorLinkedInfosDefaultEntryHolder.defaultEntry); + } + if (!floorLinkedInfos_.isMutable()) { + floorLinkedInfos_ = floorLinkedInfos_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return floorLinkedInfos_; + } + public int getFloorLinkedInfosCount() { + return internalGetFloorLinkedInfos().getMap().size(); + } + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + @java.lang.Override + public boolean containsFloorLinkedInfos( + int key) { + + return internalGetFloorLinkedInfos().getMap().containsKey(key); + } + /** + * Use {@link #getFloorLinkedInfosMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFloorLinkedInfos() { + return getFloorLinkedInfosMap(); + } + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + @java.lang.Override + public java.util.Map getFloorLinkedInfosMap() { + return internalGetFloorLinkedInfos().getMap(); + } + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getFloorLinkedInfosOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo defaultValue) { + + java.util.Map map = + internalGetFloorLinkedInfos().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getFloorLinkedInfosOrThrow( + int key) { + + java.util.Map map = + internalGetFloorLinkedInfos().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearFloorLinkedInfos() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableFloorLinkedInfos().getMutableMap() + .clear(); + return this; + } + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + public Builder removeFloorLinkedInfos( + int key) { + + internalGetMutableFloorLinkedInfos().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableFloorLinkedInfos() { + bitField0_ |= 0x00000002; + return internalGetMutableFloorLinkedInfos().getMutableMap(); + } + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + public Builder putFloorLinkedInfos( + int key, + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo value) { + + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableFloorLinkedInfos().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000002; + return this; + } + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + public Builder putAllFloorLinkedInfos( + java.util.Map values) { + internalGetMutableFloorLinkedInfos().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000002; + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:LandLinkedInfo) + } + + // @@protoc_insertion_point(class_scope:LandLinkedInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LandLinkedInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LandLinkedInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LandLinkedInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LandLinkedInfoOrBuilder.java new file mode 100644 index 0000000..646e8ce --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LandLinkedInfoOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface LandLinkedInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:LandLinkedInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 landId = 1; + * @return The landId. + */ + int getLandId(); + + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + int getFloorLinkedInfosCount(); + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + boolean containsFloorLinkedInfos( + int key); + /** + * Use {@link #getFloorLinkedInfosMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getFloorLinkedInfos(); + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + java.util.Map + getFloorLinkedInfosMap(); + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getFloorLinkedInfosOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo defaultValue); + /** + * map<int32, .FloorLinkedInfo> FloorLinkedInfos = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getFloorLinkedInfosOrThrow( + int key); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LanguageType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LanguageType.java new file mode 100644 index 0000000..f5b1c25 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LanguageType.java @@ -0,0 +1,159 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  ǥ ISO 639-1 ڵ  - kangms
+ * 
+ * + * Protobuf enum {@code LanguageType} + */ +public enum LanguageType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * LanguageType_None = 0; + */ + LanguageType_None(0), + /** + *
+   * ѱ(⺻)
+   * 
+ * + * LanguageType_ko = 1; + */ + LanguageType_ko(1), + /** + *
+   * 
+   * 
+ * + * LanguageType_en = 2; + */ + LanguageType_en(2), + /** + *
+   *LanguageType_th	=	3;	// ±
+   * 
+ * + * LanguageType_ja = 4; + */ + LanguageType_ja(4), + UNRECOGNIZED(-1), + ; + + /** + * LanguageType_None = 0; + */ + public static final int LanguageType_None_VALUE = 0; + /** + *
+   * ѱ(⺻)
+   * 
+ * + * LanguageType_ko = 1; + */ + public static final int LanguageType_ko_VALUE = 1; + /** + *
+   * 
+   * 
+ * + * LanguageType_en = 2; + */ + public static final int LanguageType_en_VALUE = 2; + /** + *
+   *LanguageType_th	=	3;	// ±
+   * 
+ * + * LanguageType_ja = 4; + */ + public static final int LanguageType_ja_VALUE = 4; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LanguageType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static LanguageType forNumber(int value) { + switch (value) { + case 0: return LanguageType_None; + case 1: return LanguageType_ko; + case 2: return LanguageType_en; + case 4: return LanguageType_ja; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + LanguageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LanguageType findValueByNumber(int number) { + return LanguageType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(14); + } + + private static final LanguageType[] VALUES = values(); + + public static LanguageType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private LanguageType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:LanguageType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExp.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExp.java new file mode 100644 index 0000000..89483c5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExp.java @@ -0,0 +1,616 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * 
+ * 
+ * + * Protobuf type {@code LevelExp} + */ +public final class LevelExp extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:LevelExp) + LevelExpOrBuilder { +private static final long serialVersionUID = 0L; + // Use LevelExp.newBuilder() to construct. + private LevelExp(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LevelExp() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LevelExp(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExp_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LevelExp.class, com.caliverse.admin.domain.RabbitMq.message.LevelExp.Builder.class); + } + + public static final int LEVEL_FIELD_NUMBER = 1; + private int level_ = 0; + /** + * int32 level = 1; + * @return The level. + */ + @java.lang.Override + public int getLevel() { + return level_; + } + + public static final int EXPINLEVEL_FIELD_NUMBER = 2; + private long expInLevel_ = 0L; + /** + * int64 expInLevel = 2; + * @return The expInLevel. + */ + @java.lang.Override + public long getExpInLevel() { + return expInLevel_; + } + + public static final int EXPINTOTAL_FIELD_NUMBER = 3; + private long expInTotal_ = 0L; + /** + * int64 expInTotal = 3; + * @return The expInTotal. + */ + @java.lang.Override + public long getExpInTotal() { + return expInTotal_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (level_ != 0) { + output.writeInt32(1, level_); + } + if (expInLevel_ != 0L) { + output.writeInt64(2, expInLevel_); + } + if (expInTotal_ != 0L) { + output.writeInt64(3, expInTotal_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (level_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, level_); + } + if (expInLevel_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, expInLevel_); + } + if (expInTotal_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, expInTotal_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.LevelExp)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.LevelExp other = (com.caliverse.admin.domain.RabbitMq.message.LevelExp) obj; + + if (getLevel() + != other.getLevel()) return false; + if (getExpInLevel() + != other.getExpInLevel()) return false; + if (getExpInTotal() + != other.getExpInTotal()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLevel(); + hash = (37 * hash) + EXPINLEVEL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExpInLevel()); + hash = (37 * hash) + EXPINTOTAL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExpInTotal()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.LevelExp prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * 
+   * 
+ * + * Protobuf type {@code LevelExp} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:LevelExp) + com.caliverse.admin.domain.RabbitMq.message.LevelExpOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExp_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LevelExp.class, com.caliverse.admin.domain.RabbitMq.message.LevelExp.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.LevelExp.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + level_ = 0; + expInLevel_ = 0L; + expInTotal_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExp_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExp getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.LevelExp.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExp build() { + com.caliverse.admin.domain.RabbitMq.message.LevelExp result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExp buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.LevelExp result = new com.caliverse.admin.domain.RabbitMq.message.LevelExp(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.LevelExp result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.level_ = level_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.expInLevel_ = expInLevel_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.expInTotal_ = expInTotal_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.LevelExp) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.LevelExp)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.LevelExp other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.LevelExp.getDefaultInstance()) return this; + if (other.getLevel() != 0) { + setLevel(other.getLevel()); + } + if (other.getExpInLevel() != 0L) { + setExpInLevel(other.getExpInLevel()); + } + if (other.getExpInTotal() != 0L) { + setExpInTotal(other.getExpInTotal()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + level_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + expInLevel_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + expInTotal_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int level_ ; + /** + * int32 level = 1; + * @return The level. + */ + @java.lang.Override + public int getLevel() { + return level_; + } + /** + * int32 level = 1; + * @param value The level to set. + * @return This builder for chaining. + */ + public Builder setLevel(int value) { + + level_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 level = 1; + * @return This builder for chaining. + */ + public Builder clearLevel() { + bitField0_ = (bitField0_ & ~0x00000001); + level_ = 0; + onChanged(); + return this; + } + + private long expInLevel_ ; + /** + * int64 expInLevel = 2; + * @return The expInLevel. + */ + @java.lang.Override + public long getExpInLevel() { + return expInLevel_; + } + /** + * int64 expInLevel = 2; + * @param value The expInLevel to set. + * @return This builder for chaining. + */ + public Builder setExpInLevel(long value) { + + expInLevel_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int64 expInLevel = 2; + * @return This builder for chaining. + */ + public Builder clearExpInLevel() { + bitField0_ = (bitField0_ & ~0x00000002); + expInLevel_ = 0L; + onChanged(); + return this; + } + + private long expInTotal_ ; + /** + * int64 expInTotal = 3; + * @return The expInTotal. + */ + @java.lang.Override + public long getExpInTotal() { + return expInTotal_; + } + /** + * int64 expInTotal = 3; + * @param value The expInTotal to set. + * @return This builder for chaining. + */ + public Builder setExpInTotal(long value) { + + expInTotal_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int64 expInTotal = 3; + * @return This builder for chaining. + */ + public Builder clearExpInTotal() { + bitField0_ = (bitField0_ & ~0x00000004); + expInTotal_ = 0L; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:LevelExp) + } + + // @@protoc_insertion_point(class_scope:LevelExp) + private static final com.caliverse.admin.domain.RabbitMq.message.LevelExp DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.LevelExp(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.LevelExp getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LevelExp parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExp getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpById.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpById.java new file mode 100644 index 0000000..e2b5851 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpById.java @@ -0,0 +1,1034 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * Ÿ ̵ 
+ * 
+ * + * Protobuf type {@code LevelExpById} + */ +public final class LevelExpById extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:LevelExpById) + LevelExpByIdOrBuilder { +private static final long serialVersionUID = 0L; + // Use LevelExpById.newBuilder() to construct. + private LevelExpById(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LevelExpById() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LevelExpById(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpById_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetLevelExpsByMetaId(); + case 2: + return internalGetLevelExpsByGuid(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpById_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LevelExpById.class, com.caliverse.admin.domain.RabbitMq.message.LevelExpById.Builder.class); + } + + public static final int LEVELEXPSBYMETAID_FIELD_NUMBER = 1; + private static final class LevelExpsByMetaIdDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.LevelExp> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpById_LevelExpsByMetaIdEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.UINT32, + 0, + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.LevelExp.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.LevelExp> levelExpsByMetaId_; + private com.google.protobuf.MapField + internalGetLevelExpsByMetaId() { + if (levelExpsByMetaId_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LevelExpsByMetaIdDefaultEntryHolder.defaultEntry); + } + return levelExpsByMetaId_; + } + public int getLevelExpsByMetaIdCount() { + return internalGetLevelExpsByMetaId().getMap().size(); + } + /** + *
+   *<MetaId, LevelExp>
+   * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + @java.lang.Override + public boolean containsLevelExpsByMetaId( + int key) { + + return internalGetLevelExpsByMetaId().getMap().containsKey(key); + } + /** + * Use {@link #getLevelExpsByMetaIdMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLevelExpsByMetaId() { + return getLevelExpsByMetaIdMap(); + } + /** + *
+   *<MetaId, LevelExp>
+   * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + @java.lang.Override + public java.util.Map getLevelExpsByMetaIdMap() { + return internalGetLevelExpsByMetaId().getMap(); + } + /** + *
+   *<MetaId, LevelExp>
+   * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExp getLevelExpsByMetaIdOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExp defaultValue) { + + java.util.Map map = + internalGetLevelExpsByMetaId().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   *<MetaId, LevelExp>
+   * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExp getLevelExpsByMetaIdOrThrow( + int key) { + + java.util.Map map = + internalGetLevelExpsByMetaId().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int LEVELEXPSBYGUID_FIELD_NUMBER = 2; + private static final class LevelExpsByGuidDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.LevelExp> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpById_LevelExpsByGuidEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.LevelExp.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.LevelExp> levelExpsByGuid_; + private com.google.protobuf.MapField + internalGetLevelExpsByGuid() { + if (levelExpsByGuid_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LevelExpsByGuidDefaultEntryHolder.defaultEntry); + } + return levelExpsByGuid_; + } + public int getLevelExpsByGuidCount() { + return internalGetLevelExpsByGuid().getMap().size(); + } + /** + *
+   *<Guid, LevelExp>
+   * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + @java.lang.Override + public boolean containsLevelExpsByGuid( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetLevelExpsByGuid().getMap().containsKey(key); + } + /** + * Use {@link #getLevelExpsByGuidMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLevelExpsByGuid() { + return getLevelExpsByGuidMap(); + } + /** + *
+   *<Guid, LevelExp>
+   * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + @java.lang.Override + public java.util.Map getLevelExpsByGuidMap() { + return internalGetLevelExpsByGuid().getMap(); + } + /** + *
+   *<Guid, LevelExp>
+   * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExp getLevelExpsByGuidOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExp defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLevelExpsByGuid().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   *<Guid, LevelExp>
+   * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExp getLevelExpsByGuidOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLevelExpsByGuid().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeIntegerMapTo( + output, + internalGetLevelExpsByMetaId(), + LevelExpsByMetaIdDefaultEntryHolder.defaultEntry, + 1); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLevelExpsByGuid(), + LevelExpsByGuidDefaultEntryHolder.defaultEntry, + 2); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetLevelExpsByMetaId().getMap().entrySet()) { + com.google.protobuf.MapEntry + levelExpsByMetaId__ = LevelExpsByMetaIdDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, levelExpsByMetaId__); + } + for (java.util.Map.Entry entry + : internalGetLevelExpsByGuid().getMap().entrySet()) { + com.google.protobuf.MapEntry + levelExpsByGuid__ = LevelExpsByGuidDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, levelExpsByGuid__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.LevelExpById)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.LevelExpById other = (com.caliverse.admin.domain.RabbitMq.message.LevelExpById) obj; + + if (!internalGetLevelExpsByMetaId().equals( + other.internalGetLevelExpsByMetaId())) return false; + if (!internalGetLevelExpsByGuid().equals( + other.internalGetLevelExpsByGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetLevelExpsByMetaId().getMap().isEmpty()) { + hash = (37 * hash) + LEVELEXPSBYMETAID_FIELD_NUMBER; + hash = (53 * hash) + internalGetLevelExpsByMetaId().hashCode(); + } + if (!internalGetLevelExpsByGuid().getMap().isEmpty()) { + hash = (37 * hash) + LEVELEXPSBYGUID_FIELD_NUMBER; + hash = (53 * hash) + internalGetLevelExpsByGuid().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.LevelExpById prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Ÿ ̵ 
+   * 
+ * + * Protobuf type {@code LevelExpById} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:LevelExpById) + com.caliverse.admin.domain.RabbitMq.message.LevelExpByIdOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpById_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetLevelExpsByMetaId(); + case 2: + return internalGetLevelExpsByGuid(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableLevelExpsByMetaId(); + case 2: + return internalGetMutableLevelExpsByGuid(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpById_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LevelExpById.class, com.caliverse.admin.domain.RabbitMq.message.LevelExpById.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.LevelExpById.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableLevelExpsByMetaId().clear(); + internalGetMutableLevelExpsByGuid().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpById_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpById getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.LevelExpById.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpById build() { + com.caliverse.admin.domain.RabbitMq.message.LevelExpById result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpById buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.LevelExpById result = new com.caliverse.admin.domain.RabbitMq.message.LevelExpById(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.LevelExpById result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.levelExpsByMetaId_ = internalGetLevelExpsByMetaId(); + result.levelExpsByMetaId_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.levelExpsByGuid_ = internalGetLevelExpsByGuid(); + result.levelExpsByGuid_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.LevelExpById) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.LevelExpById)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.LevelExpById other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.LevelExpById.getDefaultInstance()) return this; + internalGetMutableLevelExpsByMetaId().mergeFrom( + other.internalGetLevelExpsByMetaId()); + bitField0_ |= 0x00000001; + internalGetMutableLevelExpsByGuid().mergeFrom( + other.internalGetLevelExpsByGuid()); + bitField0_ |= 0x00000002; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + levelExpsByMetaId__ = input.readMessage( + LevelExpsByMetaIdDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLevelExpsByMetaId().getMutableMap().put( + levelExpsByMetaId__.getKey(), levelExpsByMetaId__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + levelExpsByGuid__ = input.readMessage( + LevelExpsByGuidDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLevelExpsByGuid().getMutableMap().put( + levelExpsByGuid__.getKey(), levelExpsByGuid__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.LevelExp> levelExpsByMetaId_; + private com.google.protobuf.MapField + internalGetLevelExpsByMetaId() { + if (levelExpsByMetaId_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LevelExpsByMetaIdDefaultEntryHolder.defaultEntry); + } + return levelExpsByMetaId_; + } + private com.google.protobuf.MapField + internalGetMutableLevelExpsByMetaId() { + if (levelExpsByMetaId_ == null) { + levelExpsByMetaId_ = com.google.protobuf.MapField.newMapField( + LevelExpsByMetaIdDefaultEntryHolder.defaultEntry); + } + if (!levelExpsByMetaId_.isMutable()) { + levelExpsByMetaId_ = levelExpsByMetaId_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return levelExpsByMetaId_; + } + public int getLevelExpsByMetaIdCount() { + return internalGetLevelExpsByMetaId().getMap().size(); + } + /** + *
+     *<MetaId, LevelExp>
+     * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + @java.lang.Override + public boolean containsLevelExpsByMetaId( + int key) { + + return internalGetLevelExpsByMetaId().getMap().containsKey(key); + } + /** + * Use {@link #getLevelExpsByMetaIdMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLevelExpsByMetaId() { + return getLevelExpsByMetaIdMap(); + } + /** + *
+     *<MetaId, LevelExp>
+     * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + @java.lang.Override + public java.util.Map getLevelExpsByMetaIdMap() { + return internalGetLevelExpsByMetaId().getMap(); + } + /** + *
+     *<MetaId, LevelExp>
+     * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExp getLevelExpsByMetaIdOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExp defaultValue) { + + java.util.Map map = + internalGetLevelExpsByMetaId().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     *<MetaId, LevelExp>
+     * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExp getLevelExpsByMetaIdOrThrow( + int key) { + + java.util.Map map = + internalGetLevelExpsByMetaId().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearLevelExpsByMetaId() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableLevelExpsByMetaId().getMutableMap() + .clear(); + return this; + } + /** + *
+     *<MetaId, LevelExp>
+     * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + public Builder removeLevelExpsByMetaId( + int key) { + + internalGetMutableLevelExpsByMetaId().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableLevelExpsByMetaId() { + bitField0_ |= 0x00000001; + return internalGetMutableLevelExpsByMetaId().getMutableMap(); + } + /** + *
+     *<MetaId, LevelExp>
+     * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + public Builder putLevelExpsByMetaId( + int key, + com.caliverse.admin.domain.RabbitMq.message.LevelExp value) { + + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLevelExpsByMetaId().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     *<MetaId, LevelExp>
+     * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + public Builder putAllLevelExpsByMetaId( + java.util.Map values) { + internalGetMutableLevelExpsByMetaId().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.LevelExp> levelExpsByGuid_; + private com.google.protobuf.MapField + internalGetLevelExpsByGuid() { + if (levelExpsByGuid_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LevelExpsByGuidDefaultEntryHolder.defaultEntry); + } + return levelExpsByGuid_; + } + private com.google.protobuf.MapField + internalGetMutableLevelExpsByGuid() { + if (levelExpsByGuid_ == null) { + levelExpsByGuid_ = com.google.protobuf.MapField.newMapField( + LevelExpsByGuidDefaultEntryHolder.defaultEntry); + } + if (!levelExpsByGuid_.isMutable()) { + levelExpsByGuid_ = levelExpsByGuid_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return levelExpsByGuid_; + } + public int getLevelExpsByGuidCount() { + return internalGetLevelExpsByGuid().getMap().size(); + } + /** + *
+     *<Guid, LevelExp>
+     * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + @java.lang.Override + public boolean containsLevelExpsByGuid( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetLevelExpsByGuid().getMap().containsKey(key); + } + /** + * Use {@link #getLevelExpsByGuidMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLevelExpsByGuid() { + return getLevelExpsByGuidMap(); + } + /** + *
+     *<Guid, LevelExp>
+     * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + @java.lang.Override + public java.util.Map getLevelExpsByGuidMap() { + return internalGetLevelExpsByGuid().getMap(); + } + /** + *
+     *<Guid, LevelExp>
+     * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExp getLevelExpsByGuidOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExp defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLevelExpsByGuid().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     *<Guid, LevelExp>
+     * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExp getLevelExpsByGuidOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLevelExpsByGuid().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearLevelExpsByGuid() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableLevelExpsByGuid().getMutableMap() + .clear(); + return this; + } + /** + *
+     *<Guid, LevelExp>
+     * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + public Builder removeLevelExpsByGuid( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLevelExpsByGuid().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableLevelExpsByGuid() { + bitField0_ |= 0x00000002; + return internalGetMutableLevelExpsByGuid().getMutableMap(); + } + /** + *
+     *<Guid, LevelExp>
+     * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + public Builder putLevelExpsByGuid( + java.lang.String key, + com.caliverse.admin.domain.RabbitMq.message.LevelExp value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLevelExpsByGuid().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000002; + return this; + } + /** + *
+     *<Guid, LevelExp>
+     * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + public Builder putAllLevelExpsByGuid( + java.util.Map values) { + internalGetMutableLevelExpsByGuid().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000002; + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:LevelExpById) + } + + // @@protoc_insertion_point(class_scope:LevelExpById) + private static final com.caliverse.admin.domain.RabbitMq.message.LevelExpById DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.LevelExpById(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpById getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LevelExpById parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpById getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpByIdOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpByIdOrBuilder.java new file mode 100644 index 0000000..8de1e7f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpByIdOrBuilder.java @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface LevelExpByIdOrBuilder extends + // @@protoc_insertion_point(interface_extends:LevelExpById) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *<MetaId, LevelExp>
+   * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + int getLevelExpsByMetaIdCount(); + /** + *
+   *<MetaId, LevelExp>
+   * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + boolean containsLevelExpsByMetaId( + int key); + /** + * Use {@link #getLevelExpsByMetaIdMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getLevelExpsByMetaId(); + /** + *
+   *<MetaId, LevelExp>
+   * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + java.util.Map + getLevelExpsByMetaIdMap(); + /** + *
+   *<MetaId, LevelExp>
+   * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExp getLevelExpsByMetaIdOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExp defaultValue); + /** + *
+   *<MetaId, LevelExp>
+   * 
+ * + * map<uint32, .LevelExp> levelExpsByMetaId = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.LevelExp getLevelExpsByMetaIdOrThrow( + int key); + + /** + *
+   *<Guid, LevelExp>
+   * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + int getLevelExpsByGuidCount(); + /** + *
+   *<Guid, LevelExp>
+   * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + boolean containsLevelExpsByGuid( + java.lang.String key); + /** + * Use {@link #getLevelExpsByGuidMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getLevelExpsByGuid(); + /** + *
+   *<Guid, LevelExp>
+   * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + java.util.Map + getLevelExpsByGuidMap(); + /** + *
+   *<Guid, LevelExp>
+   * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExp getLevelExpsByGuidOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExp defaultValue); + /** + *
+   *<Guid, LevelExp>
+   * 
+ * + * map<string, .LevelExp> levelExpsByGuid = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.LevelExp getLevelExpsByGuidOrThrow( + java.lang.String key); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpDeltaAmount.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpDeltaAmount.java new file mode 100644 index 0000000..686d333 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpDeltaAmount.java @@ -0,0 +1,644 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  ġ ȭ
+ * 
+ * + * Protobuf type {@code LevelExpDeltaAmount} + */ +public final class LevelExpDeltaAmount extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:LevelExpDeltaAmount) + LevelExpDeltaAmountOrBuilder { +private static final long serialVersionUID = 0L; + // Use LevelExpDeltaAmount.newBuilder() to construct. + private LevelExpDeltaAmount(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LevelExpDeltaAmount() { + expDeltaType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LevelExpDeltaAmount(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpDeltaAmount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpDeltaAmount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount.class, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount.Builder.class); + } + + public static final int EXPDELTATYPE_FIELD_NUMBER = 1; + private int expDeltaType_ = 0; + /** + * .AmountDeltaType expDeltaType = 1; + * @return The enum numeric value on the wire for expDeltaType. + */ + @java.lang.Override public int getExpDeltaTypeValue() { + return expDeltaType_; + } + /** + * .AmountDeltaType expDeltaType = 1; + * @return The expDeltaType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType getExpDeltaType() { + com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType result = com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.forNumber(expDeltaType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.UNRECOGNIZED : result; + } + + public static final int EXPAMOUNT_FIELD_NUMBER = 2; + private long expAmount_ = 0L; + /** + * int64 expAmount = 2; + * @return The expAmount. + */ + @java.lang.Override + public long getExpAmount() { + return expAmount_; + } + + public static final int LEVELAMOUNT_FIELD_NUMBER = 3; + private long levelAmount_ = 0L; + /** + * int64 levelAmount = 3; + * @return The levelAmount. + */ + @java.lang.Override + public long getLevelAmount() { + return levelAmount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (expDeltaType_ != com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.AmountDeltaType_None.getNumber()) { + output.writeEnum(1, expDeltaType_); + } + if (expAmount_ != 0L) { + output.writeInt64(2, expAmount_); + } + if (levelAmount_ != 0L) { + output.writeInt64(3, levelAmount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (expDeltaType_ != com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.AmountDeltaType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, expDeltaType_); + } + if (expAmount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, expAmount_); + } + if (levelAmount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, levelAmount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount other = (com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount) obj; + + if (expDeltaType_ != other.expDeltaType_) return false; + if (getExpAmount() + != other.getExpAmount()) return false; + if (getLevelAmount() + != other.getLevelAmount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + EXPDELTATYPE_FIELD_NUMBER; + hash = (53 * hash) + expDeltaType_; + hash = (37 * hash) + EXPAMOUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExpAmount()); + hash = (37 * hash) + LEVELAMOUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLevelAmount()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   *  ġ ȭ
+   * 
+ * + * Protobuf type {@code LevelExpDeltaAmount} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:LevelExpDeltaAmount) + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpDeltaAmount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpDeltaAmount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount.class, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + expDeltaType_ = 0; + expAmount_ = 0L; + levelAmount_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpDeltaAmount_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount build() { + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount result = new com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.expDeltaType_ = expDeltaType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.expAmount_ = expAmount_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.levelAmount_ = levelAmount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount.getDefaultInstance()) return this; + if (other.expDeltaType_ != 0) { + setExpDeltaTypeValue(other.getExpDeltaTypeValue()); + } + if (other.getExpAmount() != 0L) { + setExpAmount(other.getExpAmount()); + } + if (other.getLevelAmount() != 0L) { + setLevelAmount(other.getLevelAmount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + expDeltaType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + expAmount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + levelAmount_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int expDeltaType_ = 0; + /** + * .AmountDeltaType expDeltaType = 1; + * @return The enum numeric value on the wire for expDeltaType. + */ + @java.lang.Override public int getExpDeltaTypeValue() { + return expDeltaType_; + } + /** + * .AmountDeltaType expDeltaType = 1; + * @param value The enum numeric value on the wire for expDeltaType to set. + * @return This builder for chaining. + */ + public Builder setExpDeltaTypeValue(int value) { + expDeltaType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .AmountDeltaType expDeltaType = 1; + * @return The expDeltaType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType getExpDeltaType() { + com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType result = com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.forNumber(expDeltaType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.UNRECOGNIZED : result; + } + /** + * .AmountDeltaType expDeltaType = 1; + * @param value The expDeltaType to set. + * @return This builder for chaining. + */ + public Builder setExpDeltaType(com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + expDeltaType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .AmountDeltaType expDeltaType = 1; + * @return This builder for chaining. + */ + public Builder clearExpDeltaType() { + bitField0_ = (bitField0_ & ~0x00000001); + expDeltaType_ = 0; + onChanged(); + return this; + } + + private long expAmount_ ; + /** + * int64 expAmount = 2; + * @return The expAmount. + */ + @java.lang.Override + public long getExpAmount() { + return expAmount_; + } + /** + * int64 expAmount = 2; + * @param value The expAmount to set. + * @return This builder for chaining. + */ + public Builder setExpAmount(long value) { + + expAmount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int64 expAmount = 2; + * @return This builder for chaining. + */ + public Builder clearExpAmount() { + bitField0_ = (bitField0_ & ~0x00000002); + expAmount_ = 0L; + onChanged(); + return this; + } + + private long levelAmount_ ; + /** + * int64 levelAmount = 3; + * @return The levelAmount. + */ + @java.lang.Override + public long getLevelAmount() { + return levelAmount_; + } + /** + * int64 levelAmount = 3; + * @param value The levelAmount to set. + * @return This builder for chaining. + */ + public Builder setLevelAmount(long value) { + + levelAmount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int64 levelAmount = 3; + * @return This builder for chaining. + */ + public Builder clearLevelAmount() { + bitField0_ = (bitField0_ & ~0x00000004); + levelAmount_ = 0L; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:LevelExpDeltaAmount) + } + + // @@protoc_insertion_point(class_scope:LevelExpDeltaAmount) + private static final com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LevelExpDeltaAmount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpDeltaAmountById.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpDeltaAmountById.java new file mode 100644 index 0000000..1790f73 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpDeltaAmountById.java @@ -0,0 +1,1034 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ̵ ġ ȭ
+ * 
+ * + * Protobuf type {@code LevelExpDeltaAmountById} + */ +public final class LevelExpDeltaAmountById extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:LevelExpDeltaAmountById) + LevelExpDeltaAmountByIdOrBuilder { +private static final long serialVersionUID = 0L; + // Use LevelExpDeltaAmountById.newBuilder() to construct. + private LevelExpDeltaAmountById(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LevelExpDeltaAmountById() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LevelExpDeltaAmountById(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpDeltaAmountById_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetDeltasByMetaId(); + case 2: + return internalGetDeltasByGuid(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpDeltaAmountById_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById.class, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById.Builder.class); + } + + public static final int DELTASBYMETAID_FIELD_NUMBER = 1; + private static final class DeltasByMetaIdDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpDeltaAmountById_DeltasByMetaIdEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.UINT32, + 0, + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount> deltasByMetaId_; + private com.google.protobuf.MapField + internalGetDeltasByMetaId() { + if (deltasByMetaId_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DeltasByMetaIdDefaultEntryHolder.defaultEntry); + } + return deltasByMetaId_; + } + public int getDeltasByMetaIdCount() { + return internalGetDeltasByMetaId().getMap().size(); + } + /** + *
+   *<MetaId, ExpDeltaAmount>
+   * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + @java.lang.Override + public boolean containsDeltasByMetaId( + int key) { + + return internalGetDeltasByMetaId().getMap().containsKey(key); + } + /** + * Use {@link #getDeltasByMetaIdMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getDeltasByMetaId() { + return getDeltasByMetaIdMap(); + } + /** + *
+   *<MetaId, ExpDeltaAmount>
+   * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + @java.lang.Override + public java.util.Map getDeltasByMetaIdMap() { + return internalGetDeltasByMetaId().getMap(); + } + /** + *
+   *<MetaId, ExpDeltaAmount>
+   * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDeltasByMetaIdOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount defaultValue) { + + java.util.Map map = + internalGetDeltasByMetaId().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   *<MetaId, ExpDeltaAmount>
+   * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDeltasByMetaIdOrThrow( + int key) { + + java.util.Map map = + internalGetDeltasByMetaId().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int DELTASBYGUID_FIELD_NUMBER = 2; + private static final class DeltasByGuidDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpDeltaAmountById_DeltasByGuidEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount> deltasByGuid_; + private com.google.protobuf.MapField + internalGetDeltasByGuid() { + if (deltasByGuid_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DeltasByGuidDefaultEntryHolder.defaultEntry); + } + return deltasByGuid_; + } + public int getDeltasByGuidCount() { + return internalGetDeltasByGuid().getMap().size(); + } + /** + *
+   *<Guid, ExpDeltaAmount>
+   * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + @java.lang.Override + public boolean containsDeltasByGuid( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetDeltasByGuid().getMap().containsKey(key); + } + /** + * Use {@link #getDeltasByGuidMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getDeltasByGuid() { + return getDeltasByGuidMap(); + } + /** + *
+   *<Guid, ExpDeltaAmount>
+   * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + @java.lang.Override + public java.util.Map getDeltasByGuidMap() { + return internalGetDeltasByGuid().getMap(); + } + /** + *
+   *<Guid, ExpDeltaAmount>
+   * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDeltasByGuidOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDeltasByGuid().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   *<Guid, ExpDeltaAmount>
+   * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDeltasByGuidOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDeltasByGuid().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeIntegerMapTo( + output, + internalGetDeltasByMetaId(), + DeltasByMetaIdDefaultEntryHolder.defaultEntry, + 1); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetDeltasByGuid(), + DeltasByGuidDefaultEntryHolder.defaultEntry, + 2); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetDeltasByMetaId().getMap().entrySet()) { + com.google.protobuf.MapEntry + deltasByMetaId__ = DeltasByMetaIdDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, deltasByMetaId__); + } + for (java.util.Map.Entry entry + : internalGetDeltasByGuid().getMap().entrySet()) { + com.google.protobuf.MapEntry + deltasByGuid__ = DeltasByGuidDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, deltasByGuid__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById other = (com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById) obj; + + if (!internalGetDeltasByMetaId().equals( + other.internalGetDeltasByMetaId())) return false; + if (!internalGetDeltasByGuid().equals( + other.internalGetDeltasByGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetDeltasByMetaId().getMap().isEmpty()) { + hash = (37 * hash) + DELTASBYMETAID_FIELD_NUMBER; + hash = (53 * hash) + internalGetDeltasByMetaId().hashCode(); + } + if (!internalGetDeltasByGuid().getMap().isEmpty()) { + hash = (37 * hash) + DELTASBYGUID_FIELD_NUMBER; + hash = (53 * hash) + internalGetDeltasByGuid().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * ̵ ġ ȭ
+   * 
+ * + * Protobuf type {@code LevelExpDeltaAmountById} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:LevelExpDeltaAmountById) + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountByIdOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpDeltaAmountById_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetDeltasByMetaId(); + case 2: + return internalGetDeltasByGuid(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableDeltasByMetaId(); + case 2: + return internalGetMutableDeltasByGuid(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpDeltaAmountById_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById.class, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableDeltasByMetaId().clear(); + internalGetMutableDeltasByGuid().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LevelExpDeltaAmountById_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById build() { + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById result = new com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.deltasByMetaId_ = internalGetDeltasByMetaId(); + result.deltasByMetaId_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.deltasByGuid_ = internalGetDeltasByGuid(); + result.deltasByGuid_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById.getDefaultInstance()) return this; + internalGetMutableDeltasByMetaId().mergeFrom( + other.internalGetDeltasByMetaId()); + bitField0_ |= 0x00000001; + internalGetMutableDeltasByGuid().mergeFrom( + other.internalGetDeltasByGuid()); + bitField0_ |= 0x00000002; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + deltasByMetaId__ = input.readMessage( + DeltasByMetaIdDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableDeltasByMetaId().getMutableMap().put( + deltasByMetaId__.getKey(), deltasByMetaId__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + deltasByGuid__ = input.readMessage( + DeltasByGuidDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableDeltasByGuid().getMutableMap().put( + deltasByGuid__.getKey(), deltasByGuid__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount> deltasByMetaId_; + private com.google.protobuf.MapField + internalGetDeltasByMetaId() { + if (deltasByMetaId_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DeltasByMetaIdDefaultEntryHolder.defaultEntry); + } + return deltasByMetaId_; + } + private com.google.protobuf.MapField + internalGetMutableDeltasByMetaId() { + if (deltasByMetaId_ == null) { + deltasByMetaId_ = com.google.protobuf.MapField.newMapField( + DeltasByMetaIdDefaultEntryHolder.defaultEntry); + } + if (!deltasByMetaId_.isMutable()) { + deltasByMetaId_ = deltasByMetaId_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return deltasByMetaId_; + } + public int getDeltasByMetaIdCount() { + return internalGetDeltasByMetaId().getMap().size(); + } + /** + *
+     *<MetaId, ExpDeltaAmount>
+     * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + @java.lang.Override + public boolean containsDeltasByMetaId( + int key) { + + return internalGetDeltasByMetaId().getMap().containsKey(key); + } + /** + * Use {@link #getDeltasByMetaIdMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getDeltasByMetaId() { + return getDeltasByMetaIdMap(); + } + /** + *
+     *<MetaId, ExpDeltaAmount>
+     * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + @java.lang.Override + public java.util.Map getDeltasByMetaIdMap() { + return internalGetDeltasByMetaId().getMap(); + } + /** + *
+     *<MetaId, ExpDeltaAmount>
+     * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDeltasByMetaIdOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount defaultValue) { + + java.util.Map map = + internalGetDeltasByMetaId().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     *<MetaId, ExpDeltaAmount>
+     * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDeltasByMetaIdOrThrow( + int key) { + + java.util.Map map = + internalGetDeltasByMetaId().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearDeltasByMetaId() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableDeltasByMetaId().getMutableMap() + .clear(); + return this; + } + /** + *
+     *<MetaId, ExpDeltaAmount>
+     * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + public Builder removeDeltasByMetaId( + int key) { + + internalGetMutableDeltasByMetaId().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableDeltasByMetaId() { + bitField0_ |= 0x00000001; + return internalGetMutableDeltasByMetaId().getMutableMap(); + } + /** + *
+     *<MetaId, ExpDeltaAmount>
+     * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + public Builder putDeltasByMetaId( + int key, + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount value) { + + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableDeltasByMetaId().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     *<MetaId, ExpDeltaAmount>
+     * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + public Builder putAllDeltasByMetaId( + java.util.Map values) { + internalGetMutableDeltasByMetaId().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount> deltasByGuid_; + private com.google.protobuf.MapField + internalGetDeltasByGuid() { + if (deltasByGuid_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DeltasByGuidDefaultEntryHolder.defaultEntry); + } + return deltasByGuid_; + } + private com.google.protobuf.MapField + internalGetMutableDeltasByGuid() { + if (deltasByGuid_ == null) { + deltasByGuid_ = com.google.protobuf.MapField.newMapField( + DeltasByGuidDefaultEntryHolder.defaultEntry); + } + if (!deltasByGuid_.isMutable()) { + deltasByGuid_ = deltasByGuid_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return deltasByGuid_; + } + public int getDeltasByGuidCount() { + return internalGetDeltasByGuid().getMap().size(); + } + /** + *
+     *<Guid, ExpDeltaAmount>
+     * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + @java.lang.Override + public boolean containsDeltasByGuid( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetDeltasByGuid().getMap().containsKey(key); + } + /** + * Use {@link #getDeltasByGuidMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getDeltasByGuid() { + return getDeltasByGuidMap(); + } + /** + *
+     *<Guid, ExpDeltaAmount>
+     * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + @java.lang.Override + public java.util.Map getDeltasByGuidMap() { + return internalGetDeltasByGuid().getMap(); + } + /** + *
+     *<Guid, ExpDeltaAmount>
+     * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDeltasByGuidOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDeltasByGuid().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     *<Guid, ExpDeltaAmount>
+     * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDeltasByGuidOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetDeltasByGuid().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearDeltasByGuid() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableDeltasByGuid().getMutableMap() + .clear(); + return this; + } + /** + *
+     *<Guid, ExpDeltaAmount>
+     * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + public Builder removeDeltasByGuid( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableDeltasByGuid().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableDeltasByGuid() { + bitField0_ |= 0x00000002; + return internalGetMutableDeltasByGuid().getMutableMap(); + } + /** + *
+     *<Guid, ExpDeltaAmount>
+     * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + public Builder putDeltasByGuid( + java.lang.String key, + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableDeltasByGuid().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000002; + return this; + } + /** + *
+     *<Guid, ExpDeltaAmount>
+     * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + public Builder putAllDeltasByGuid( + java.util.Map values) { + internalGetMutableDeltasByGuid().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000002; + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:LevelExpDeltaAmountById) + } + + // @@protoc_insertion_point(class_scope:LevelExpDeltaAmountById) + private static final com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LevelExpDeltaAmountById parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmountById getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpDeltaAmountByIdOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpDeltaAmountByIdOrBuilder.java new file mode 100644 index 0000000..eb709e1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpDeltaAmountByIdOrBuilder.java @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface LevelExpDeltaAmountByIdOrBuilder extends + // @@protoc_insertion_point(interface_extends:LevelExpDeltaAmountById) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *<MetaId, ExpDeltaAmount>
+   * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + int getDeltasByMetaIdCount(); + /** + *
+   *<MetaId, ExpDeltaAmount>
+   * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + boolean containsDeltasByMetaId( + int key); + /** + * Use {@link #getDeltasByMetaIdMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getDeltasByMetaId(); + /** + *
+   *<MetaId, ExpDeltaAmount>
+   * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + java.util.Map + getDeltasByMetaIdMap(); + /** + *
+   *<MetaId, ExpDeltaAmount>
+   * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDeltasByMetaIdOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount defaultValue); + /** + *
+   *<MetaId, ExpDeltaAmount>
+   * 
+ * + * map<uint32, .LevelExpDeltaAmount> deltasByMetaId = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDeltasByMetaIdOrThrow( + int key); + + /** + *
+   *<Guid, ExpDeltaAmount>
+   * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + int getDeltasByGuidCount(); + /** + *
+   *<Guid, ExpDeltaAmount>
+   * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + boolean containsDeltasByGuid( + java.lang.String key); + /** + * Use {@link #getDeltasByGuidMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getDeltasByGuid(); + /** + *
+   *<Guid, ExpDeltaAmount>
+   * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + java.util.Map + getDeltasByGuidMap(); + /** + *
+   *<Guid, ExpDeltaAmount>
+   * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDeltasByGuidOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount defaultValue); + /** + *
+   *<Guid, ExpDeltaAmount>
+   * 
+ * + * map<string, .LevelExpDeltaAmount> deltasByGuid = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.LevelExpDeltaAmount getDeltasByGuidOrThrow( + java.lang.String key); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpDeltaAmountOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpDeltaAmountOrBuilder.java new file mode 100644 index 0000000..02d1c70 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpDeltaAmountOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface LevelExpDeltaAmountOrBuilder extends + // @@protoc_insertion_point(interface_extends:LevelExpDeltaAmount) + com.google.protobuf.MessageOrBuilder { + + /** + * .AmountDeltaType expDeltaType = 1; + * @return The enum numeric value on the wire for expDeltaType. + */ + int getExpDeltaTypeValue(); + /** + * .AmountDeltaType expDeltaType = 1; + * @return The expDeltaType. + */ + com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType getExpDeltaType(); + + /** + * int64 expAmount = 2; + * @return The expAmount. + */ + long getExpAmount(); + + /** + * int64 levelAmount = 3; + * @return The levelAmount. + */ + long getLevelAmount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpOrBuilder.java new file mode 100644 index 0000000..4773b24 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpOrBuilder.java @@ -0,0 +1,27 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface LevelExpOrBuilder extends + // @@protoc_insertion_point(interface_extends:LevelExp) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 level = 1; + * @return The level. + */ + int getLevel(); + + /** + * int64 expInLevel = 2; + * @return The expInLevel. + */ + long getExpInLevel(); + + /** + * int64 expInTotal = 3; + * @return The expInTotal. + */ + long getExpInTotal(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpType.java new file mode 100644 index 0000000..1ce1a94 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LevelExpType.java @@ -0,0 +1,142 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  ġ 
+ * 
+ * + * Protobuf enum {@code LevelExpType} + */ +public enum LevelExpType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * LevelExpType_None = 0; + */ + LevelExpType_None(0), + /** + *
+   *  
+   * 
+ * + * LevelExpType_Item = 10; + */ + LevelExpType_Item(10), + /** + *
+   *  н 
+   * 
+ * + * LevelExpType_SeasonPass = 20; + */ + LevelExpType_SeasonPass(20), + UNRECOGNIZED(-1), + ; + + /** + * LevelExpType_None = 0; + */ + public static final int LevelExpType_None_VALUE = 0; + /** + *
+   *  
+   * 
+ * + * LevelExpType_Item = 10; + */ + public static final int LevelExpType_Item_VALUE = 10; + /** + *
+   *  н 
+   * 
+ * + * LevelExpType_SeasonPass = 20; + */ + public static final int LevelExpType_SeasonPass_VALUE = 20; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LevelExpType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static LevelExpType forNumber(int value) { + switch (value) { + case 0: return LevelExpType_None; + case 10: return LevelExpType_Item; + case 20: return LevelExpType_SeasonPass; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + LevelExpType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LevelExpType findValueByNumber(int number) { + return LevelExpType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(4); + } + + private static final LevelExpType[] VALUES = values(); + + public static LevelExpType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private LevelExpType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:LevelExpType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LocatedInstanceContext.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LocatedInstanceContext.java new file mode 100644 index 0000000..b44faa8 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LocatedInstanceContext.java @@ -0,0 +1,727 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ƼƼ ġǾ ִ νϽ  : ߰
+ * 
+ * + * Protobuf type {@code LocatedInstanceContext} + */ +public final class LocatedInstanceContext extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:LocatedInstanceContext) + LocatedInstanceContextOrBuilder { +private static final long serialVersionUID = 0L; + // Use LocatedInstanceContext.newBuilder() to construct. + private LocatedInstanceContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LocatedInstanceContext() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LocatedInstanceContext(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LocatedInstanceContext_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LocatedInstanceContext_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.class, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.Builder.class); + } + + public static final int LOCATEDINSTANCEMETAID_FIELD_NUMBER = 1; + private int locatedinstanceMetaId_ = 0; + /** + *
+   * ġ InstanceMetaId, InstanceData.xlsx 
+   * 
+ * + * int32 locatedinstanceMetaId = 1; + * @return The locatedinstanceMetaId. + */ + @java.lang.Override + public int getLocatedinstanceMetaId() { + return locatedinstanceMetaId_; + } + + public static final int LOCATEDTIME_FIELD_NUMBER = 11; + private com.google.protobuf.Timestamp locatedTime_; + /** + *
+   * ġ ð
+   * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + * @return Whether the locatedTime field is set. + */ + @java.lang.Override + public boolean hasLocatedTime() { + return locatedTime_ != null; + } + /** + *
+   * ġ ð
+   * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + * @return The locatedTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getLocatedTime() { + return locatedTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : locatedTime_; + } + /** + *
+   * ġ ð
+   * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getLocatedTimeOrBuilder() { + return locatedTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : locatedTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (locatedinstanceMetaId_ != 0) { + output.writeInt32(1, locatedinstanceMetaId_); + } + if (locatedTime_ != null) { + output.writeMessage(11, getLocatedTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (locatedinstanceMetaId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, locatedinstanceMetaId_); + } + if (locatedTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getLocatedTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext other = (com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext) obj; + + if (getLocatedinstanceMetaId() + != other.getLocatedinstanceMetaId()) return false; + if (hasLocatedTime() != other.hasLocatedTime()) return false; + if (hasLocatedTime()) { + if (!getLocatedTime() + .equals(other.getLocatedTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LOCATEDINSTANCEMETAID_FIELD_NUMBER; + hash = (53 * hash) + getLocatedinstanceMetaId(); + if (hasLocatedTime()) { + hash = (37 * hash) + LOCATEDTIME_FIELD_NUMBER; + hash = (53 * hash) + getLocatedTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * ƼƼ ġǾ ִ νϽ  : ߰
+   * 
+ * + * Protobuf type {@code LocatedInstanceContext} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:LocatedInstanceContext) + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LocatedInstanceContext_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LocatedInstanceContext_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.class, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + locatedinstanceMetaId_ = 0; + locatedTime_ = null; + if (locatedTimeBuilder_ != null) { + locatedTimeBuilder_.dispose(); + locatedTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_LocatedInstanceContext_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext build() { + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext result = new com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.locatedinstanceMetaId_ = locatedinstanceMetaId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.locatedTime_ = locatedTimeBuilder_ == null + ? locatedTime_ + : locatedTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.getDefaultInstance()) return this; + if (other.getLocatedinstanceMetaId() != 0) { + setLocatedinstanceMetaId(other.getLocatedinstanceMetaId()); + } + if (other.hasLocatedTime()) { + mergeLocatedTime(other.getLocatedTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + locatedinstanceMetaId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 90: { + input.readMessage( + getLocatedTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 90 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int locatedinstanceMetaId_ ; + /** + *
+     * ġ InstanceMetaId, InstanceData.xlsx 
+     * 
+ * + * int32 locatedinstanceMetaId = 1; + * @return The locatedinstanceMetaId. + */ + @java.lang.Override + public int getLocatedinstanceMetaId() { + return locatedinstanceMetaId_; + } + /** + *
+     * ġ InstanceMetaId, InstanceData.xlsx 
+     * 
+ * + * int32 locatedinstanceMetaId = 1; + * @param value The locatedinstanceMetaId to set. + * @return This builder for chaining. + */ + public Builder setLocatedinstanceMetaId(int value) { + + locatedinstanceMetaId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * ġ InstanceMetaId, InstanceData.xlsx 
+     * 
+ * + * int32 locatedinstanceMetaId = 1; + * @return This builder for chaining. + */ + public Builder clearLocatedinstanceMetaId() { + bitField0_ = (bitField0_ & ~0x00000001); + locatedinstanceMetaId_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp locatedTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> locatedTimeBuilder_; + /** + *
+     * ġ ð
+     * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + * @return Whether the locatedTime field is set. + */ + public boolean hasLocatedTime() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * ġ ð
+     * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + * @return The locatedTime. + */ + public com.google.protobuf.Timestamp getLocatedTime() { + if (locatedTimeBuilder_ == null) { + return locatedTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : locatedTime_; + } else { + return locatedTimeBuilder_.getMessage(); + } + } + /** + *
+     * ġ ð
+     * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + */ + public Builder setLocatedTime(com.google.protobuf.Timestamp value) { + if (locatedTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + locatedTime_ = value; + } else { + locatedTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * ġ ð
+     * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + */ + public Builder setLocatedTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (locatedTimeBuilder_ == null) { + locatedTime_ = builderForValue.build(); + } else { + locatedTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * ġ ð
+     * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + */ + public Builder mergeLocatedTime(com.google.protobuf.Timestamp value) { + if (locatedTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + locatedTime_ != null && + locatedTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getLocatedTimeBuilder().mergeFrom(value); + } else { + locatedTime_ = value; + } + } else { + locatedTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * ġ ð
+     * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + */ + public Builder clearLocatedTime() { + bitField0_ = (bitField0_ & ~0x00000002); + locatedTime_ = null; + if (locatedTimeBuilder_ != null) { + locatedTimeBuilder_.dispose(); + locatedTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * ġ ð
+     * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + */ + public com.google.protobuf.Timestamp.Builder getLocatedTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getLocatedTimeFieldBuilder().getBuilder(); + } + /** + *
+     * ġ ð
+     * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + */ + public com.google.protobuf.TimestampOrBuilder getLocatedTimeOrBuilder() { + if (locatedTimeBuilder_ != null) { + return locatedTimeBuilder_.getMessageOrBuilder(); + } else { + return locatedTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : locatedTime_; + } + } + /** + *
+     * ġ ð
+     * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getLocatedTimeFieldBuilder() { + if (locatedTimeBuilder_ == null) { + locatedTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLocatedTime(), + getParentForChildren(), + isClean()); + locatedTime_ = null; + } + return locatedTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:LocatedInstanceContext) + } + + // @@protoc_insertion_point(class_scope:LocatedInstanceContext) + private static final com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LocatedInstanceContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LocatedInstanceContextOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LocatedInstanceContextOrBuilder.java new file mode 100644 index 0000000..0ba5610 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LocatedInstanceContextOrBuilder.java @@ -0,0 +1,46 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface LocatedInstanceContextOrBuilder extends + // @@protoc_insertion_point(interface_extends:LocatedInstanceContext) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * ġ InstanceMetaId, InstanceData.xlsx 
+   * 
+ * + * int32 locatedinstanceMetaId = 1; + * @return The locatedinstanceMetaId. + */ + int getLocatedinstanceMetaId(); + + /** + *
+   * ġ ð
+   * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + * @return Whether the locatedTime field is set. + */ + boolean hasLocatedTime(); + /** + *
+   * ġ ð
+   * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + * @return The locatedTime. + */ + com.google.protobuf.Timestamp getLocatedTime(); + /** + *
+   * ġ ð
+   * 
+ * + * .google.protobuf.Timestamp locatedTime = 11; + */ + com.google.protobuf.TimestampOrBuilder getLocatedTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LogicVersion.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LogicVersion.java new file mode 100644 index 0000000..21e11dd --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LogicVersion.java @@ -0,0 +1,680 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_ProgramVersion.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * CLR Assembly Version 정보를 담는다 !!!
+ * 
+ * + * Protobuf type {@code LogicVersion} + */ +public final class LogicVersion extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:LogicVersion) + LogicVersionOrBuilder { +private static final long serialVersionUID = 0L; + // Use LogicVersion.newBuilder() to construct. + private LogicVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LogicVersion() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LogicVersion(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_LogicVersion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_LogicVersion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LogicVersion.class, com.caliverse.admin.domain.RabbitMq.message.LogicVersion.Builder.class); + } + + public static final int MAJOR_FIELD_NUMBER = 1; + private int major_ = 0; + /** + * int32 major = 1; + * @return The major. + */ + @java.lang.Override + public int getMajor() { + return major_; + } + + public static final int MINOR_FIELD_NUMBER = 2; + private int minor_ = 0; + /** + * int32 minor = 2; + * @return The minor. + */ + @java.lang.Override + public int getMinor() { + return minor_; + } + + public static final int BUILD_FIELD_NUMBER = 3; + private int build_ = 0; + /** + * int32 build = 3; + * @return The build. + */ + @java.lang.Override + public int getBuild() { + return build_; + } + + public static final int REVISION_FIELD_NUMBER = 4; + private int revision_ = 0; + /** + * int32 revision = 4; + * @return The revision. + */ + @java.lang.Override + public int getRevision() { + return revision_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (major_ != 0) { + output.writeInt32(1, major_); + } + if (minor_ != 0) { + output.writeInt32(2, minor_); + } + if (build_ != 0) { + output.writeInt32(3, build_); + } + if (revision_ != 0) { + output.writeInt32(4, revision_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (major_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, major_); + } + if (minor_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, minor_); + } + if (build_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, build_); + } + if (revision_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, revision_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.LogicVersion)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.LogicVersion other = (com.caliverse.admin.domain.RabbitMq.message.LogicVersion) obj; + + if (getMajor() + != other.getMajor()) return false; + if (getMinor() + != other.getMinor()) return false; + if (getBuild() + != other.getBuild()) return false; + if (getRevision() + != other.getRevision()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MAJOR_FIELD_NUMBER; + hash = (53 * hash) + getMajor(); + hash = (37 * hash) + MINOR_FIELD_NUMBER; + hash = (53 * hash) + getMinor(); + hash = (37 * hash) + BUILD_FIELD_NUMBER; + hash = (53 * hash) + getBuild(); + hash = (37 * hash) + REVISION_FIELD_NUMBER; + hash = (53 * hash) + getRevision(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.LogicVersion prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * CLR Assembly Version 정보를 담는다 !!!
+   * 
+ * + * Protobuf type {@code LogicVersion} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:LogicVersion) + com.caliverse.admin.domain.RabbitMq.message.LogicVersionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_LogicVersion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_LogicVersion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.LogicVersion.class, com.caliverse.admin.domain.RabbitMq.message.LogicVersion.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.LogicVersion.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + major_ = 0; + minor_ = 0; + build_ = 0; + revision_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_LogicVersion_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LogicVersion getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.LogicVersion.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LogicVersion build() { + com.caliverse.admin.domain.RabbitMq.message.LogicVersion result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LogicVersion buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.LogicVersion result = new com.caliverse.admin.domain.RabbitMq.message.LogicVersion(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.LogicVersion result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.major_ = major_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.minor_ = minor_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.build_ = build_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.revision_ = revision_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.LogicVersion) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.LogicVersion)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.LogicVersion other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.LogicVersion.getDefaultInstance()) return this; + if (other.getMajor() != 0) { + setMajor(other.getMajor()); + } + if (other.getMinor() != 0) { + setMinor(other.getMinor()); + } + if (other.getBuild() != 0) { + setBuild(other.getBuild()); + } + if (other.getRevision() != 0) { + setRevision(other.getRevision()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + major_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + minor_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + build_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + revision_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int major_ ; + /** + * int32 major = 1; + * @return The major. + */ + @java.lang.Override + public int getMajor() { + return major_; + } + /** + * int32 major = 1; + * @param value The major to set. + * @return This builder for chaining. + */ + public Builder setMajor(int value) { + + major_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 major = 1; + * @return This builder for chaining. + */ + public Builder clearMajor() { + bitField0_ = (bitField0_ & ~0x00000001); + major_ = 0; + onChanged(); + return this; + } + + private int minor_ ; + /** + * int32 minor = 2; + * @return The minor. + */ + @java.lang.Override + public int getMinor() { + return minor_; + } + /** + * int32 minor = 2; + * @param value The minor to set. + * @return This builder for chaining. + */ + public Builder setMinor(int value) { + + minor_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 minor = 2; + * @return This builder for chaining. + */ + public Builder clearMinor() { + bitField0_ = (bitField0_ & ~0x00000002); + minor_ = 0; + onChanged(); + return this; + } + + private int build_ ; + /** + * int32 build = 3; + * @return The build. + */ + @java.lang.Override + public int getBuild() { + return build_; + } + /** + * int32 build = 3; + * @param value The build to set. + * @return This builder for chaining. + */ + public Builder setBuild(int value) { + + build_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 build = 3; + * @return This builder for chaining. + */ + public Builder clearBuild() { + bitField0_ = (bitField0_ & ~0x00000004); + build_ = 0; + onChanged(); + return this; + } + + private int revision_ ; + /** + * int32 revision = 4; + * @return The revision. + */ + @java.lang.Override + public int getRevision() { + return revision_; + } + /** + * int32 revision = 4; + * @param value The revision to set. + * @return This builder for chaining. + */ + public Builder setRevision(int value) { + + revision_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 revision = 4; + * @return This builder for chaining. + */ + public Builder clearRevision() { + bitField0_ = (bitField0_ & ~0x00000008); + revision_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:LogicVersion) + } + + // @@protoc_insertion_point(class_scope:LogicVersion) + private static final com.caliverse.admin.domain.RabbitMq.message.LogicVersion DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.LogicVersion(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.LogicVersion getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LogicVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LogicVersion getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LogicVersionOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LogicVersionOrBuilder.java new file mode 100644 index 0000000..b362aef --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LogicVersionOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_ProgramVersion.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface LogicVersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:LogicVersion) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 major = 1; + * @return The major. + */ + int getMajor(); + + /** + * int32 minor = 2; + * @return The minor. + */ + int getMinor(); + + /** + * int32 build = 3; + * @return The build. + */ + int getBuild(); + + /** + * int32 revision = 4; + * @return The revision. + */ + int getRevision(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LoginFailureReasonType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LoginFailureReasonType.java new file mode 100644 index 0000000..1f068c9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LoginFailureReasonType.java @@ -0,0 +1,159 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * α  ǹ 
+ * 
+ * + * Protobuf enum {@code LoginFailureReasonType} + */ +public enum LoginFailureReasonType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * LoginFailureReasonType_None = 0; + */ + LoginFailureReasonType_None(0), + /** + *
+   * ó߿ ܰ ߻ ߽ϴ.
+   * 
+ * + * LoginFailureReasonType_ProcessingException = 1; + */ + LoginFailureReasonType_ProcessingException(1), + /** + *
+   *   Դϴ.
+   * 
+ * + * LoginFailureReasonType_AuthenticationFailed = 2; + */ + LoginFailureReasonType_AuthenticationFailed(2), + /** + *
+   *  ŷڼ üũ  Դϴ.
+   * 
+ * + * LoginFailureReasonType_UserValidCheckFailed = 3; + */ + LoginFailureReasonType_UserValidCheckFailed(3), + UNRECOGNIZED(-1), + ; + + /** + * LoginFailureReasonType_None = 0; + */ + public static final int LoginFailureReasonType_None_VALUE = 0; + /** + *
+   * ó߿ ܰ ߻ ߽ϴ.
+   * 
+ * + * LoginFailureReasonType_ProcessingException = 1; + */ + public static final int LoginFailureReasonType_ProcessingException_VALUE = 1; + /** + *
+   *   Դϴ.
+   * 
+ * + * LoginFailureReasonType_AuthenticationFailed = 2; + */ + public static final int LoginFailureReasonType_AuthenticationFailed_VALUE = 2; + /** + *
+   *  ŷڼ üũ  Դϴ.
+   * 
+ * + * LoginFailureReasonType_UserValidCheckFailed = 3; + */ + public static final int LoginFailureReasonType_UserValidCheckFailed_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LoginFailureReasonType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static LoginFailureReasonType forNumber(int value) { + switch (value) { + case 0: return LoginFailureReasonType_None; + case 1: return LoginFailureReasonType_ProcessingException; + case 2: return LoginFailureReasonType_AuthenticationFailed; + case 3: return LoginFailureReasonType_UserValidCheckFailed; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + LoginFailureReasonType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LoginFailureReasonType findValueByNumber(int number) { + return LoginFailureReasonType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(17); + } + + private static final LoginFailureReasonType[] VALUES = values(); + + public static LoginFailureReasonType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private LoginFailureReasonType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:LoginFailureReasonType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LoginMethodType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LoginMethodType.java new file mode 100644 index 0000000..3e44189 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LoginMethodType.java @@ -0,0 +1,142 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * α  
+ * 
+ * + * Protobuf enum {@code LoginMethodType} + */ +public enum LoginMethodType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * LoginMethodType_None = 0; + */ + LoginMethodType_None(0), + /** + *
+   * Ŭ̾Ʈ ܵ α
+   * 
+ * + * LoginMethodType_ClientStandalone = 1; + */ + LoginMethodType_ClientStandalone(1), + /** + *
+   * հ Բ ó α
+   * 
+ * + * LoginMethodType_SsoAccountAuthWithLauncher = 2; + */ + LoginMethodType_SsoAccountAuthWithLauncher(2), + UNRECOGNIZED(-1), + ; + + /** + * LoginMethodType_None = 0; + */ + public static final int LoginMethodType_None_VALUE = 0; + /** + *
+   * Ŭ̾Ʈ ܵ α
+   * 
+ * + * LoginMethodType_ClientStandalone = 1; + */ + public static final int LoginMethodType_ClientStandalone_VALUE = 1; + /** + *
+   * հ Բ ó α
+   * 
+ * + * LoginMethodType_SsoAccountAuthWithLauncher = 2; + */ + public static final int LoginMethodType_SsoAccountAuthWithLauncher_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LoginMethodType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static LoginMethodType forNumber(int value) { + switch (value) { + case 0: return LoginMethodType_None; + case 1: return LoginMethodType_ClientStandalone; + case 2: return LoginMethodType_SsoAccountAuthWithLauncher; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + LoginMethodType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LoginMethodType findValueByNumber(int number) { + return LoginMethodType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(16); + } + + private static final LoginMethodType[] VALUES = values(); + + public static LoginMethodType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private LoginMethodType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:LoginMethodType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LogoutReasonType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LogoutReasonType.java new file mode 100644 index 0000000..13874c0 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/LogoutReasonType.java @@ -0,0 +1,168 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * α׾ƿ ǹ
+ * 
+ * + * Protobuf enum {@code LogoutReasonType} + */ +public enum LogoutReasonType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * LogoutReasonType_None = 0; + */ + LogoutReasonType_None(0), + /** + *
+   *  
+   * 
+ * + * LogoutReasonType_ExitToService = 1; + */ + LogoutReasonType_ExitToService(1), + /** + *
+   *    
+   * 
+ * + * LogoutReasonType_EnterToGame = 2; + */ + LogoutReasonType_EnterToGame(2), + /** + *
+   *   ̵ ϱ 
+   * 
+ * + * LogoutReasonType_GoToGame = 3; + */ + LogoutReasonType_GoToGame(3), + /** + * LogoutReasonType_DuplicatedLogin = 4; + */ + LogoutReasonType_DuplicatedLogin(4), + UNRECOGNIZED(-1), + ; + + /** + * LogoutReasonType_None = 0; + */ + public static final int LogoutReasonType_None_VALUE = 0; + /** + *
+   *  
+   * 
+ * + * LogoutReasonType_ExitToService = 1; + */ + public static final int LogoutReasonType_ExitToService_VALUE = 1; + /** + *
+   *    
+   * 
+ * + * LogoutReasonType_EnterToGame = 2; + */ + public static final int LogoutReasonType_EnterToGame_VALUE = 2; + /** + *
+   *   ̵ ϱ 
+   * 
+ * + * LogoutReasonType_GoToGame = 3; + */ + public static final int LogoutReasonType_GoToGame_VALUE = 3; + /** + * LogoutReasonType_DuplicatedLogin = 4; + */ + public static final int LogoutReasonType_DuplicatedLogin_VALUE = 4; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LogoutReasonType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static LogoutReasonType forNumber(int value) { + switch (value) { + case 0: return LogoutReasonType_None; + case 1: return LogoutReasonType_ExitToService; + case 2: return LogoutReasonType_EnterToGame; + case 3: return LogoutReasonType_GoToGame; + case 4: return LogoutReasonType_DuplicatedLogin; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + LogoutReasonType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LogoutReasonType findValueByNumber(int number) { + return LogoutReasonType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(18); + } + + private static final LogoutReasonType[] VALUES = values(); + + public static LogoutReasonType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private LogoutReasonType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:LogoutReasonType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailInfo.java new file mode 100644 index 0000000..c304ed9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailInfo.java @@ -0,0 +1,2162 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code MailInfo} + */ +public final class MailInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MailInfo) + MailInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use MailInfo.newBuilder() to construct. + private MailInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MailInfo() { + mailKey_ = ""; + nickName_ = ""; + title_ = ""; + text_ = ""; + isTextByMetaData_ = 0; + itemList_ = java.util.Collections.emptyList(); + guid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MailInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MailInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MailInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MailInfo.class, com.caliverse.admin.domain.RabbitMq.message.MailInfo.Builder.class); + } + + public static final int MAILKEY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object mailKey_ = ""; + /** + * string MailKey = 1; + * @return The mailKey. + */ + @java.lang.Override + public java.lang.String getMailKey() { + java.lang.Object ref = mailKey_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mailKey_ = s; + return s; + } + } + /** + * string MailKey = 1; + * @return The bytes for mailKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMailKeyBytes() { + java.lang.Object ref = mailKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + mailKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ISREAD_FIELD_NUMBER = 2; + private int isRead_ = 0; + /** + * int32 isRead = 2; + * @return The isRead. + */ + @java.lang.Override + public int getIsRead() { + return isRead_; + } + + public static final int ISGETITEM_FIELD_NUMBER = 3; + private int isGetItem_ = 0; + /** + * int32 isGetItem = 3; + * @return The isGetItem. + */ + @java.lang.Override + public int getIsGetItem() { + return isGetItem_; + } + + public static final int NICKNAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object nickName_ = ""; + /** + * string nickName = 4; + * @return The nickName. + */ + @java.lang.Override + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickName_ = s; + return s; + } + } + /** + * string nickName = 4; + * @return The bytes for nickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TITLE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object title_ = ""; + /** + * string title = 5; + * @return The title. + */ + @java.lang.Override + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } + } + /** + * string title = 5; + * @return The bytes for title. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TEXT_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object text_ = ""; + /** + * string text = 6; + * @return The text. + */ + @java.lang.Override + public java.lang.String getText() { + java.lang.Object ref = text_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + text_ = s; + return s; + } + } + /** + * string text = 6; + * @return The bytes for text. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTextBytes() { + java.lang.Object ref = text_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + text_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CREATETIME_FIELD_NUMBER = 7; + private com.google.protobuf.Timestamp createTime_; + /** + * .google.protobuf.Timestamp createTime = 7; + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * .google.protobuf.Timestamp createTime = 7; + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * .google.protobuf.Timestamp createTime = 7; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + public static final int EXPIRETIME_FIELD_NUMBER = 8; + private com.google.protobuf.Timestamp expireTime_; + /** + * .google.protobuf.Timestamp expireTime = 8; + * @return Whether the expireTime field is set. + */ + @java.lang.Override + public boolean hasExpireTime() { + return expireTime_ != null; + } + /** + * .google.protobuf.Timestamp expireTime = 8; + * @return The expireTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getExpireTime() { + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + } + /** + * .google.protobuf.Timestamp expireTime = 8; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + } + + public static final int ISSYSTEMMAIL_FIELD_NUMBER = 9; + private int isSystemMail_ = 0; + /** + * int32 isSystemMail = 9; + * @return The isSystemMail. + */ + @java.lang.Override + public int getIsSystemMail() { + return isSystemMail_; + } + + public static final int MAILTYPE_FIELD_NUMBER = 10; + private int mailType_ = 0; + /** + * int32 mailType = 10; + * @return The mailType. + */ + @java.lang.Override + public int getMailType() { + return mailType_; + } + + public static final int ISTEXTBYMETADATA_FIELD_NUMBER = 11; + private int isTextByMetaData_ = 0; + /** + * .BoolType isTextByMetaData = 11; + * @return The enum numeric value on the wire for isTextByMetaData. + */ + @java.lang.Override public int getIsTextByMetaDataValue() { + return isTextByMetaData_; + } + /** + * .BoolType isTextByMetaData = 11; + * @return The isTextByMetaData. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsTextByMetaData() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isTextByMetaData_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + + public static final int ITEMLIST_FIELD_NUMBER = 12; + @SuppressWarnings("serial") + private java.util.List itemList_; + /** + * repeated .MailItem itemList = 12; + */ + @java.lang.Override + public java.util.List getItemListList() { + return itemList_; + } + /** + * repeated .MailItem itemList = 12; + */ + @java.lang.Override + public java.util.List + getItemListOrBuilderList() { + return itemList_; + } + /** + * repeated .MailItem itemList = 12; + */ + @java.lang.Override + public int getItemListCount() { + return itemList_.size(); + } + /** + * repeated .MailItem itemList = 12; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MailItem getItemList(int index) { + return itemList_.get(index); + } + /** + * repeated .MailItem itemList = 12; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder getItemListOrBuilder( + int index) { + return itemList_.get(index); + } + + public static final int GUID_FIELD_NUMBER = 13; + @SuppressWarnings("serial") + private volatile java.lang.Object guid_ = ""; + /** + * string guid = 13; + * @return The guid. + */ + @java.lang.Override + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } + } + /** + * string guid = 13; + * @return The bytes for guid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mailKey_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, mailKey_); + } + if (isRead_ != 0) { + output.writeInt32(2, isRead_); + } + if (isGetItem_ != 0) { + output.writeInt32(3, isGetItem_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, nickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, title_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, text_); + } + if (createTime_ != null) { + output.writeMessage(7, getCreateTime()); + } + if (expireTime_ != null) { + output.writeMessage(8, getExpireTime()); + } + if (isSystemMail_ != 0) { + output.writeInt32(9, isSystemMail_); + } + if (mailType_ != 0) { + output.writeInt32(10, mailType_); + } + if (isTextByMetaData_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + output.writeEnum(11, isTextByMetaData_); + } + for (int i = 0; i < itemList_.size(); i++) { + output.writeMessage(12, itemList_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, guid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mailKey_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, mailKey_); + } + if (isRead_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, isRead_); + } + if (isGetItem_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, isGetItem_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, title_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, text_); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreateTime()); + } + if (expireTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getExpireTime()); + } + if (isSystemMail_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, isSystemMail_); + } + if (mailType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, mailType_); + } + if (isTextByMetaData_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, isTextByMetaData_); + } + for (int i = 0; i < itemList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, itemList_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, guid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.MailInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.MailInfo other = (com.caliverse.admin.domain.RabbitMq.message.MailInfo) obj; + + if (!getMailKey() + .equals(other.getMailKey())) return false; + if (getIsRead() + != other.getIsRead()) return false; + if (getIsGetItem() + != other.getIsGetItem()) return false; + if (!getNickName() + .equals(other.getNickName())) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getText() + .equals(other.getText())) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime() + .equals(other.getCreateTime())) return false; + } + if (hasExpireTime() != other.hasExpireTime()) return false; + if (hasExpireTime()) { + if (!getExpireTime() + .equals(other.getExpireTime())) return false; + } + if (getIsSystemMail() + != other.getIsSystemMail()) return false; + if (getMailType() + != other.getMailType()) return false; + if (isTextByMetaData_ != other.isTextByMetaData_) return false; + if (!getItemListList() + .equals(other.getItemListList())) return false; + if (!getGuid() + .equals(other.getGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MAILKEY_FIELD_NUMBER; + hash = (53 * hash) + getMailKey().hashCode(); + hash = (37 * hash) + ISREAD_FIELD_NUMBER; + hash = (53 * hash) + getIsRead(); + hash = (37 * hash) + ISGETITEM_FIELD_NUMBER; + hash = (53 * hash) + getIsGetItem(); + hash = (37 * hash) + NICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getNickName().hashCode(); + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); + hash = (37 * hash) + TEXT_FIELD_NUMBER; + hash = (53 * hash) + getText().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATETIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasExpireTime()) { + hash = (37 * hash) + EXPIRETIME_FIELD_NUMBER; + hash = (53 * hash) + getExpireTime().hashCode(); + } + hash = (37 * hash) + ISSYSTEMMAIL_FIELD_NUMBER; + hash = (53 * hash) + getIsSystemMail(); + hash = (37 * hash) + MAILTYPE_FIELD_NUMBER; + hash = (53 * hash) + getMailType(); + hash = (37 * hash) + ISTEXTBYMETADATA_FIELD_NUMBER; + hash = (53 * hash) + isTextByMetaData_; + if (getItemListCount() > 0) { + hash = (37 * hash) + ITEMLIST_FIELD_NUMBER; + hash = (53 * hash) + getItemListList().hashCode(); + } + hash = (37 * hash) + GUID_FIELD_NUMBER; + hash = (53 * hash) + getGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.MailInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code MailInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:MailInfo) + com.caliverse.admin.domain.RabbitMq.message.MailInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MailInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MailInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MailInfo.class, com.caliverse.admin.domain.RabbitMq.message.MailInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.MailInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + mailKey_ = ""; + isRead_ = 0; + isGetItem_ = 0; + nickName_ = ""; + title_ = ""; + text_ = ""; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + expireTime_ = null; + if (expireTimeBuilder_ != null) { + expireTimeBuilder_.dispose(); + expireTimeBuilder_ = null; + } + isSystemMail_ = 0; + mailType_ = 0; + isTextByMetaData_ = 0; + if (itemListBuilder_ == null) { + itemList_ = java.util.Collections.emptyList(); + } else { + itemList_ = null; + itemListBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000800); + guid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MailInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MailInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.MailInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MailInfo build() { + com.caliverse.admin.domain.RabbitMq.message.MailInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MailInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.MailInfo result = new com.caliverse.admin.domain.RabbitMq.message.MailInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.MailInfo result) { + if (itemListBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0)) { + itemList_ = java.util.Collections.unmodifiableList(itemList_); + bitField0_ = (bitField0_ & ~0x00000800); + } + result.itemList_ = itemList_; + } else { + result.itemList_ = itemListBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MailInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.mailKey_ = mailKey_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.isRead_ = isRead_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.isGetItem_ = isGetItem_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.nickName_ = nickName_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.title_ = title_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.text_ = text_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.isSystemMail_ = isSystemMail_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.mailType_ = mailType_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.isTextByMetaData_ = isTextByMetaData_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.guid_ = guid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.MailInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MailInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MailInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.MailInfo.getDefaultInstance()) return this; + if (!other.getMailKey().isEmpty()) { + mailKey_ = other.mailKey_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getIsRead() != 0) { + setIsRead(other.getIsRead()); + } + if (other.getIsGetItem() != 0) { + setIsGetItem(other.getIsGetItem()); + } + if (!other.getNickName().isEmpty()) { + nickName_ = other.nickName_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getTitle().isEmpty()) { + title_ = other.title_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getText().isEmpty()) { + text_ = other.text_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasExpireTime()) { + mergeExpireTime(other.getExpireTime()); + } + if (other.getIsSystemMail() != 0) { + setIsSystemMail(other.getIsSystemMail()); + } + if (other.getMailType() != 0) { + setMailType(other.getMailType()); + } + if (other.isTextByMetaData_ != 0) { + setIsTextByMetaDataValue(other.getIsTextByMetaDataValue()); + } + if (itemListBuilder_ == null) { + if (!other.itemList_.isEmpty()) { + if (itemList_.isEmpty()) { + itemList_ = other.itemList_; + bitField0_ = (bitField0_ & ~0x00000800); + } else { + ensureItemListIsMutable(); + itemList_.addAll(other.itemList_); + } + onChanged(); + } + } else { + if (!other.itemList_.isEmpty()) { + if (itemListBuilder_.isEmpty()) { + itemListBuilder_.dispose(); + itemListBuilder_ = null; + itemList_ = other.itemList_; + bitField0_ = (bitField0_ & ~0x00000800); + itemListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getItemListFieldBuilder() : null; + } else { + itemListBuilder_.addAllMessages(other.itemList_); + } + } + } + if (!other.getGuid().isEmpty()) { + guid_ = other.guid_; + bitField0_ |= 0x00001000; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + mailKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + isRead_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + isGetItem_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + nickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + text_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 72: { + isSystemMail_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: { + mailType_ = input.readInt32(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + isTextByMetaData_ = input.readEnum(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 98: { + com.caliverse.admin.domain.RabbitMq.message.MailItem m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.MailItem.parser(), + extensionRegistry); + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.add(m); + } else { + itemListBuilder_.addMessage(m); + } + break; + } // case 98 + case 106: { + guid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object mailKey_ = ""; + /** + * string MailKey = 1; + * @return The mailKey. + */ + public java.lang.String getMailKey() { + java.lang.Object ref = mailKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mailKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string MailKey = 1; + * @return The bytes for mailKey. + */ + public com.google.protobuf.ByteString + getMailKeyBytes() { + java.lang.Object ref = mailKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + mailKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string MailKey = 1; + * @param value The mailKey to set. + * @return This builder for chaining. + */ + public Builder setMailKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + mailKey_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string MailKey = 1; + * @return This builder for chaining. + */ + public Builder clearMailKey() { + mailKey_ = getDefaultInstance().getMailKey(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string MailKey = 1; + * @param value The bytes for mailKey to set. + * @return This builder for chaining. + */ + public Builder setMailKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + mailKey_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int isRead_ ; + /** + * int32 isRead = 2; + * @return The isRead. + */ + @java.lang.Override + public int getIsRead() { + return isRead_; + } + /** + * int32 isRead = 2; + * @param value The isRead to set. + * @return This builder for chaining. + */ + public Builder setIsRead(int value) { + + isRead_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 isRead = 2; + * @return This builder for chaining. + */ + public Builder clearIsRead() { + bitField0_ = (bitField0_ & ~0x00000002); + isRead_ = 0; + onChanged(); + return this; + } + + private int isGetItem_ ; + /** + * int32 isGetItem = 3; + * @return The isGetItem. + */ + @java.lang.Override + public int getIsGetItem() { + return isGetItem_; + } + /** + * int32 isGetItem = 3; + * @param value The isGetItem to set. + * @return This builder for chaining. + */ + public Builder setIsGetItem(int value) { + + isGetItem_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 isGetItem = 3; + * @return This builder for chaining. + */ + public Builder clearIsGetItem() { + bitField0_ = (bitField0_ & ~0x00000004); + isGetItem_ = 0; + onChanged(); + return this; + } + + private java.lang.Object nickName_ = ""; + /** + * string nickName = 4; + * @return The nickName. + */ + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string nickName = 4; + * @return The bytes for nickName. + */ + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string nickName = 4; + * @param value The nickName to set. + * @return This builder for chaining. + */ + public Builder setNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nickName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string nickName = 4; + * @return This builder for chaining. + */ + public Builder clearNickName() { + nickName_ = getDefaultInstance().getNickName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string nickName = 4; + * @param value The bytes for nickName to set. + * @return This builder for chaining. + */ + public Builder setNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nickName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object title_ = ""; + /** + * string title = 5; + * @return The title. + */ + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string title = 5; + * @return The bytes for title. + */ + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string title = 5; + * @param value The title to set. + * @return This builder for chaining. + */ + public Builder setTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + title_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string title = 5; + * @return This builder for chaining. + */ + public Builder clearTitle() { + title_ = getDefaultInstance().getTitle(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string title = 5; + * @param value The bytes for title to set. + * @return This builder for chaining. + */ + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + title_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object text_ = ""; + /** + * string text = 6; + * @return The text. + */ + public java.lang.String getText() { + java.lang.Object ref = text_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + text_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string text = 6; + * @return The bytes for text. + */ + public com.google.protobuf.ByteString + getTextBytes() { + java.lang.Object ref = text_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + text_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string text = 6; + * @param value The text to set. + * @return This builder for chaining. + */ + public Builder setText( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + text_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string text = 6; + * @return This builder for chaining. + */ + public Builder clearText() { + text_ = getDefaultInstance().getText(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string text = 6; + * @param value The bytes for text to set. + * @return This builder for chaining. + */ + public Builder setTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + text_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + /** + * .google.protobuf.Timestamp createTime = 7; + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * .google.protobuf.Timestamp createTime = 7; + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp createTime = 7; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 7; + */ + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 7; + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 7; + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000040); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 7; + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp createTime = 7; + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + } + /** + * .google.protobuf.Timestamp createTime = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.protobuf.Timestamp expireTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + /** + * .google.protobuf.Timestamp expireTime = 8; + * @return Whether the expireTime field is set. + */ + public boolean hasExpireTime() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * .google.protobuf.Timestamp expireTime = 8; + * @return The expireTime. + */ + public com.google.protobuf.Timestamp getExpireTime() { + if (expireTimeBuilder_ == null) { + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + } else { + return expireTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp expireTime = 8; + */ + public Builder setExpireTime(com.google.protobuf.Timestamp value) { + if (expireTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + expireTime_ = value; + } else { + expireTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp expireTime = 8; + */ + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (expireTimeBuilder_ == null) { + expireTime_ = builderForValue.build(); + } else { + expireTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp expireTime = 8; + */ + public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { + if (expireTimeBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getExpireTimeBuilder().mergeFrom(value); + } else { + expireTime_ = value; + } + } else { + expireTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp expireTime = 8; + */ + public Builder clearExpireTime() { + bitField0_ = (bitField0_ & ~0x00000080); + expireTime_ = null; + if (expireTimeBuilder_ != null) { + expireTimeBuilder_.dispose(); + expireTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp expireTime = 8; + */ + public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getExpireTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp expireTime = 8; + */ + public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { + if (expireTimeBuilder_ != null) { + return expireTimeBuilder_.getMessageOrBuilder(); + } else { + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + } + } + /** + * .google.protobuf.Timestamp expireTime = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getExpireTimeFieldBuilder() { + if (expireTimeBuilder_ == null) { + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); + expireTime_ = null; + } + return expireTimeBuilder_; + } + + private int isSystemMail_ ; + /** + * int32 isSystemMail = 9; + * @return The isSystemMail. + */ + @java.lang.Override + public int getIsSystemMail() { + return isSystemMail_; + } + /** + * int32 isSystemMail = 9; + * @param value The isSystemMail to set. + * @return This builder for chaining. + */ + public Builder setIsSystemMail(int value) { + + isSystemMail_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * int32 isSystemMail = 9; + * @return This builder for chaining. + */ + public Builder clearIsSystemMail() { + bitField0_ = (bitField0_ & ~0x00000100); + isSystemMail_ = 0; + onChanged(); + return this; + } + + private int mailType_ ; + /** + * int32 mailType = 10; + * @return The mailType. + */ + @java.lang.Override + public int getMailType() { + return mailType_; + } + /** + * int32 mailType = 10; + * @param value The mailType to set. + * @return This builder for chaining. + */ + public Builder setMailType(int value) { + + mailType_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * int32 mailType = 10; + * @return This builder for chaining. + */ + public Builder clearMailType() { + bitField0_ = (bitField0_ & ~0x00000200); + mailType_ = 0; + onChanged(); + return this; + } + + private int isTextByMetaData_ = 0; + /** + * .BoolType isTextByMetaData = 11; + * @return The enum numeric value on the wire for isTextByMetaData. + */ + @java.lang.Override public int getIsTextByMetaDataValue() { + return isTextByMetaData_; + } + /** + * .BoolType isTextByMetaData = 11; + * @param value The enum numeric value on the wire for isTextByMetaData to set. + * @return This builder for chaining. + */ + public Builder setIsTextByMetaDataValue(int value) { + isTextByMetaData_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * .BoolType isTextByMetaData = 11; + * @return The isTextByMetaData. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsTextByMetaData() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isTextByMetaData_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + /** + * .BoolType isTextByMetaData = 11; + * @param value The isTextByMetaData to set. + * @return This builder for chaining. + */ + public Builder setIsTextByMetaData(com.caliverse.admin.domain.RabbitMq.message.BoolType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; + isTextByMetaData_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .BoolType isTextByMetaData = 11; + * @return This builder for chaining. + */ + public Builder clearIsTextByMetaData() { + bitField0_ = (bitField0_ & ~0x00000400); + isTextByMetaData_ = 0; + onChanged(); + return this; + } + + private java.util.List itemList_ = + java.util.Collections.emptyList(); + private void ensureItemListIsMutable() { + if (!((bitField0_ & 0x00000800) != 0)) { + itemList_ = new java.util.ArrayList(itemList_); + bitField0_ |= 0x00000800; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MailItem, com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder, com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder> itemListBuilder_; + + /** + * repeated .MailItem itemList = 12; + */ + public java.util.List getItemListList() { + if (itemListBuilder_ == null) { + return java.util.Collections.unmodifiableList(itemList_); + } else { + return itemListBuilder_.getMessageList(); + } + } + /** + * repeated .MailItem itemList = 12; + */ + public int getItemListCount() { + if (itemListBuilder_ == null) { + return itemList_.size(); + } else { + return itemListBuilder_.getCount(); + } + } + /** + * repeated .MailItem itemList = 12; + */ + public com.caliverse.admin.domain.RabbitMq.message.MailItem getItemList(int index) { + if (itemListBuilder_ == null) { + return itemList_.get(index); + } else { + return itemListBuilder_.getMessage(index); + } + } + /** + * repeated .MailItem itemList = 12; + */ + public Builder setItemList( + int index, com.caliverse.admin.domain.RabbitMq.message.MailItem value) { + if (itemListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemListIsMutable(); + itemList_.set(index, value); + onChanged(); + } else { + itemListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .MailItem itemList = 12; + */ + public Builder setItemList( + int index, com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder builderForValue) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.set(index, builderForValue.build()); + onChanged(); + } else { + itemListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .MailItem itemList = 12; + */ + public Builder addItemList(com.caliverse.admin.domain.RabbitMq.message.MailItem value) { + if (itemListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemListIsMutable(); + itemList_.add(value); + onChanged(); + } else { + itemListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .MailItem itemList = 12; + */ + public Builder addItemList( + int index, com.caliverse.admin.domain.RabbitMq.message.MailItem value) { + if (itemListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemListIsMutable(); + itemList_.add(index, value); + onChanged(); + } else { + itemListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .MailItem itemList = 12; + */ + public Builder addItemList( + com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder builderForValue) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.add(builderForValue.build()); + onChanged(); + } else { + itemListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .MailItem itemList = 12; + */ + public Builder addItemList( + int index, com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder builderForValue) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.add(index, builderForValue.build()); + onChanged(); + } else { + itemListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .MailItem itemList = 12; + */ + public Builder addAllItemList( + java.lang.Iterable values) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, itemList_); + onChanged(); + } else { + itemListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .MailItem itemList = 12; + */ + public Builder clearItemList() { + if (itemListBuilder_ == null) { + itemList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + } else { + itemListBuilder_.clear(); + } + return this; + } + /** + * repeated .MailItem itemList = 12; + */ + public Builder removeItemList(int index) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.remove(index); + onChanged(); + } else { + itemListBuilder_.remove(index); + } + return this; + } + /** + * repeated .MailItem itemList = 12; + */ + public com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder getItemListBuilder( + int index) { + return getItemListFieldBuilder().getBuilder(index); + } + /** + * repeated .MailItem itemList = 12; + */ + public com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder getItemListOrBuilder( + int index) { + if (itemListBuilder_ == null) { + return itemList_.get(index); } else { + return itemListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .MailItem itemList = 12; + */ + public java.util.List + getItemListOrBuilderList() { + if (itemListBuilder_ != null) { + return itemListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(itemList_); + } + } + /** + * repeated .MailItem itemList = 12; + */ + public com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder addItemListBuilder() { + return getItemListFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.MailItem.getDefaultInstance()); + } + /** + * repeated .MailItem itemList = 12; + */ + public com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder addItemListBuilder( + int index) { + return getItemListFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.MailItem.getDefaultInstance()); + } + /** + * repeated .MailItem itemList = 12; + */ + public java.util.List + getItemListBuilderList() { + return getItemListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MailItem, com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder, com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder> + getItemListFieldBuilder() { + if (itemListBuilder_ == null) { + itemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MailItem, com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder, com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder>( + itemList_, + ((bitField0_ & 0x00000800) != 0), + getParentForChildren(), + isClean()); + itemList_ = null; + } + return itemListBuilder_; + } + + private java.lang.Object guid_ = ""; + /** + * string guid = 13; + * @return The guid. + */ + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string guid = 13; + * @return The bytes for guid. + */ + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string guid = 13; + * @param value The guid to set. + * @return This builder for chaining. + */ + public Builder setGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + guid_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * string guid = 13; + * @return This builder for chaining. + */ + public Builder clearGuid() { + guid_ = getDefaultInstance().getGuid(); + bitField0_ = (bitField0_ & ~0x00001000); + onChanged(); + return this; + } + /** + * string guid = 13; + * @param value The bytes for guid to set. + * @return This builder for chaining. + */ + public Builder setGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + guid_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:MailInfo) + } + + // @@protoc_insertion_point(class_scope:MailInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.MailInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MailInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.MailInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MailInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MailInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailInfoOrBuilder.java new file mode 100644 index 0000000..2172823 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailInfoOrBuilder.java @@ -0,0 +1,158 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface MailInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:MailInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string MailKey = 1; + * @return The mailKey. + */ + java.lang.String getMailKey(); + /** + * string MailKey = 1; + * @return The bytes for mailKey. + */ + com.google.protobuf.ByteString + getMailKeyBytes(); + + /** + * int32 isRead = 2; + * @return The isRead. + */ + int getIsRead(); + + /** + * int32 isGetItem = 3; + * @return The isGetItem. + */ + int getIsGetItem(); + + /** + * string nickName = 4; + * @return The nickName. + */ + java.lang.String getNickName(); + /** + * string nickName = 4; + * @return The bytes for nickName. + */ + com.google.protobuf.ByteString + getNickNameBytes(); + + /** + * string title = 5; + * @return The title. + */ + java.lang.String getTitle(); + /** + * string title = 5; + * @return The bytes for title. + */ + com.google.protobuf.ByteString + getTitleBytes(); + + /** + * string text = 6; + * @return The text. + */ + java.lang.String getText(); + /** + * string text = 6; + * @return The bytes for text. + */ + com.google.protobuf.ByteString + getTextBytes(); + + /** + * .google.protobuf.Timestamp createTime = 7; + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * .google.protobuf.Timestamp createTime = 7; + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * .google.protobuf.Timestamp createTime = 7; + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * .google.protobuf.Timestamp expireTime = 8; + * @return Whether the expireTime field is set. + */ + boolean hasExpireTime(); + /** + * .google.protobuf.Timestamp expireTime = 8; + * @return The expireTime. + */ + com.google.protobuf.Timestamp getExpireTime(); + /** + * .google.protobuf.Timestamp expireTime = 8; + */ + com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); + + /** + * int32 isSystemMail = 9; + * @return The isSystemMail. + */ + int getIsSystemMail(); + + /** + * int32 mailType = 10; + * @return The mailType. + */ + int getMailType(); + + /** + * .BoolType isTextByMetaData = 11; + * @return The enum numeric value on the wire for isTextByMetaData. + */ + int getIsTextByMetaDataValue(); + /** + * .BoolType isTextByMetaData = 11; + * @return The isTextByMetaData. + */ + com.caliverse.admin.domain.RabbitMq.message.BoolType getIsTextByMetaData(); + + /** + * repeated .MailItem itemList = 12; + */ + java.util.List + getItemListList(); + /** + * repeated .MailItem itemList = 12; + */ + com.caliverse.admin.domain.RabbitMq.message.MailItem getItemList(int index); + /** + * repeated .MailItem itemList = 12; + */ + int getItemListCount(); + /** + * repeated .MailItem itemList = 12; + */ + java.util.List + getItemListOrBuilderList(); + /** + * repeated .MailItem itemList = 12; + */ + com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder getItemListOrBuilder( + int index); + + /** + * string guid = 13; + * @return The guid. + */ + java.lang.String getGuid(); + /** + * string guid = 13; + * @return The bytes for guid. + */ + com.google.protobuf.ByteString + getGuidBytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailItem.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailItem.java new file mode 100644 index 0000000..f02c89f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailItem.java @@ -0,0 +1,540 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code MailItem} + */ +public final class MailItem extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MailItem) + MailItemOrBuilder { +private static final long serialVersionUID = 0L; + // Use MailItem.newBuilder() to construct. + private MailItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MailItem() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MailItem(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MailItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MailItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MailItem.class, com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder.class); + } + + public static final int ITEMID_FIELD_NUMBER = 1; + private int itemId_ = 0; + /** + * int32 itemId = 1; + * @return The itemId. + */ + @java.lang.Override + public int getItemId() { + return itemId_; + } + + public static final int COUNT_FIELD_NUMBER = 2; + private int count_ = 0; + /** + * int32 count = 2; + * @return The count. + */ + @java.lang.Override + public int getCount() { + return count_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (itemId_ != 0) { + output.writeInt32(1, itemId_); + } + if (count_ != 0) { + output.writeInt32(2, count_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (itemId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, itemId_); + } + if (count_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, count_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.MailItem)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.MailItem other = (com.caliverse.admin.domain.RabbitMq.message.MailItem) obj; + + if (getItemId() + != other.getItemId()) return false; + if (getCount() + != other.getCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ITEMID_FIELD_NUMBER; + hash = (53 * hash) + getItemId(); + hash = (37 * hash) + COUNT_FIELD_NUMBER; + hash = (53 * hash) + getCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.MailItem parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailItem parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailItem parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailItem parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailItem parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailItem parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailItem parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailItem parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailItem parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailItem parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailItem parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MailItem parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.MailItem prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code MailItem} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:MailItem) + com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MailItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MailItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MailItem.class, com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.MailItem.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemId_ = 0; + count_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MailItem_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MailItem getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.MailItem.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MailItem build() { + com.caliverse.admin.domain.RabbitMq.message.MailItem result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MailItem buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.MailItem result = new com.caliverse.admin.domain.RabbitMq.message.MailItem(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MailItem result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemId_ = itemId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.count_ = count_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.MailItem) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MailItem)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MailItem other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.MailItem.getDefaultInstance()) return this; + if (other.getItemId() != 0) { + setItemId(other.getItemId()); + } + if (other.getCount() != 0) { + setCount(other.getCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + itemId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + count_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int itemId_ ; + /** + * int32 itemId = 1; + * @return The itemId. + */ + @java.lang.Override + public int getItemId() { + return itemId_; + } + /** + * int32 itemId = 1; + * @param value The itemId to set. + * @return This builder for chaining. + */ + public Builder setItemId(int value) { + + itemId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 itemId = 1; + * @return This builder for chaining. + */ + public Builder clearItemId() { + bitField0_ = (bitField0_ & ~0x00000001); + itemId_ = 0; + onChanged(); + return this; + } + + private int count_ ; + /** + * int32 count = 2; + * @return The count. + */ + @java.lang.Override + public int getCount() { + return count_; + } + /** + * int32 count = 2; + * @param value The count to set. + * @return This builder for chaining. + */ + public Builder setCount(int value) { + + count_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 count = 2; + * @return This builder for chaining. + */ + public Builder clearCount() { + bitField0_ = (bitField0_ & ~0x00000002); + count_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:MailItem) + } + + // @@protoc_insertion_point(class_scope:MailItem) + private static final com.caliverse.admin.domain.RabbitMq.message.MailItem DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MailItem(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.MailItem getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MailItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MailItem getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailItemOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailItemOrBuilder.java new file mode 100644 index 0000000..eea5c38 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailItemOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface MailItemOrBuilder extends + // @@protoc_insertion_point(interface_extends:MailItem) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 itemId = 1; + * @return The itemId. + */ + int getItemId(); + + /** + * int32 count = 2; + * @return The count. + */ + int getCount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailType.java new file mode 100644 index 0000000..1b3e362 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MailType.java @@ -0,0 +1,142 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  
+ * 
+ * + * Protobuf enum {@code MailType} + */ +public enum MailType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * MailType_None = 0; + */ + MailType_None(0), + /** + *
+   *  
+   * 
+ * + * MailType_ReceivedMail = 1; + */ + MailType_ReceivedMail(1), + /** + *
+   *  
+   * 
+ * + * MailType_SentMail = 2; + */ + MailType_SentMail(2), + UNRECOGNIZED(-1), + ; + + /** + * MailType_None = 0; + */ + public static final int MailType_None_VALUE = 0; + /** + *
+   *  
+   * 
+ * + * MailType_ReceivedMail = 1; + */ + public static final int MailType_ReceivedMail_VALUE = 1; + /** + *
+   *  
+   * 
+ * + * MailType_SentMail = 2; + */ + public static final int MailType_SentMail_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MailType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static MailType forNumber(int value) { + switch (value) { + case 0: return MailType_None; + case 1: return MailType_ReceivedMail; + case 2: return MailType_SentMail; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + MailType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MailType findValueByNumber(int number) { + return MailType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(11); + } + + private static final MailType[] VALUES = values(); + + public static MailType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private MailType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:MailType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MeetingRoomInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MeetingRoomInfo.java new file mode 100644 index 0000000..95ee86f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MeetingRoomInfo.java @@ -0,0 +1,490 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code MeetingRoomInfo} + */ +public final class MeetingRoomInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MeetingRoomInfo) + MeetingRoomInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use MeetingRoomInfo.newBuilder() to construct. + private MeetingRoomInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MeetingRoomInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MeetingRoomInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MeetingRoomInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MeetingRoomInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo.class, com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo.Builder.class); + } + + public static final int SCREENPAGENO_FIELD_NUMBER = 1; + private int screenPageNo_ = 0; + /** + *
+   * ũ  ѹ :  - 0
+   * 
+ * + * int32 screenPageNo = 1; + * @return The screenPageNo. + */ + @java.lang.Override + public int getScreenPageNo() { + return screenPageNo_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (screenPageNo_ != 0) { + output.writeInt32(1, screenPageNo_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (screenPageNo_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, screenPageNo_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo other = (com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo) obj; + + if (getScreenPageNo() + != other.getScreenPageNo()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SCREENPAGENO_FIELD_NUMBER; + hash = (53 * hash) + getScreenPageNo(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code MeetingRoomInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:MeetingRoomInfo) + com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MeetingRoomInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MeetingRoomInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo.class, com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + screenPageNo_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MeetingRoomInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo build() { + com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo result = new com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.screenPageNo_ = screenPageNo_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo.getDefaultInstance()) return this; + if (other.getScreenPageNo() != 0) { + setScreenPageNo(other.getScreenPageNo()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + screenPageNo_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int screenPageNo_ ; + /** + *
+     * ũ  ѹ :  - 0
+     * 
+ * + * int32 screenPageNo = 1; + * @return The screenPageNo. + */ + @java.lang.Override + public int getScreenPageNo() { + return screenPageNo_; + } + /** + *
+     * ũ  ѹ :  - 0
+     * 
+ * + * int32 screenPageNo = 1; + * @param value The screenPageNo to set. + * @return This builder for chaining. + */ + public Builder setScreenPageNo(int value) { + + screenPageNo_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * ũ  ѹ :  - 0
+     * 
+ * + * int32 screenPageNo = 1; + * @return This builder for chaining. + */ + public Builder clearScreenPageNo() { + bitField0_ = (bitField0_ & ~0x00000001); + screenPageNo_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:MeetingRoomInfo) + } + + // @@protoc_insertion_point(class_scope:MeetingRoomInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MeetingRoomInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MeetingRoomInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MeetingRoomInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MeetingRoomInfoOrBuilder.java new file mode 100644 index 0000000..86cb5b0 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MeetingRoomInfoOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface MeetingRoomInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:MeetingRoomInfo) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * ũ  ѹ :  - 0
+   * 
+ * + * int32 screenPageNo = 1; + * @return The screenPageNo. + */ + int getScreenPageNo(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyFloorLinkedInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyFloorLinkedInfo.java new file mode 100644 index 0000000..9535e8c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyFloorLinkedInfo.java @@ -0,0 +1,881 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ModifyFloorLinkedInfo} + */ +public final class ModifyFloorLinkedInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ModifyFloorLinkedInfo) + ModifyFloorLinkedInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use ModifyFloorLinkedInfo.newBuilder() to construct. + private ModifyFloorLinkedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ModifyFloorLinkedInfo() { + modifyType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ModifyFloorLinkedInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ModifyFloorLinkedInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ModifyFloorLinkedInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.class, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.Builder.class); + } + + public static final int MODIFYTYPE_FIELD_NUMBER = 1; + private int modifyType_ = 0; + /** + * .ModifyType modifyType = 1; + * @return The enum numeric value on the wire for modifyType. + */ + @java.lang.Override public int getModifyTypeValue() { + return modifyType_; + } + /** + * .ModifyType modifyType = 1; + * @return The modifyType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.ModifyType getModifyType() { + com.caliverse.admin.domain.RabbitMq.message.ModifyType result = com.caliverse.admin.domain.RabbitMq.message.ModifyType.forNumber(modifyType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ModifyType.UNRECOGNIZED : result; + } + + public static final int LANDID_FIELD_NUMBER = 2; + private int landId_ = 0; + /** + * int32 landId = 2; + * @return The landId. + */ + @java.lang.Override + public int getLandId() { + return landId_; + } + + public static final int BUILDINGID_FIELD_NUMBER = 3; + private int buildingId_ = 0; + /** + * int32 buildingId = 3; + * @return The buildingId. + */ + @java.lang.Override + public int getBuildingId() { + return buildingId_; + } + + public static final int FLOOR_FIELD_NUMBER = 4; + private int floor_ = 0; + /** + * int32 floor = 4; + * @return The floor. + */ + @java.lang.Override + public int getFloor() { + return floor_; + } + + public static final int FLOORLINKEDINFO_FIELD_NUMBER = 5; + private com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo floorLinkedInfo_; + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + * @return Whether the floorLinkedInfo field is set. + */ + @java.lang.Override + public boolean hasFloorLinkedInfo() { + return floorLinkedInfo_ != null; + } + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + * @return The floorLinkedInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getFloorLinkedInfo() { + return floorLinkedInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.getDefaultInstance() : floorLinkedInfo_; + } + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfoOrBuilder getFloorLinkedInfoOrBuilder() { + return floorLinkedInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.getDefaultInstance() : floorLinkedInfo_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (modifyType_ != com.caliverse.admin.domain.RabbitMq.message.ModifyType.ModifyType_None.getNumber()) { + output.writeEnum(1, modifyType_); + } + if (landId_ != 0) { + output.writeInt32(2, landId_); + } + if (buildingId_ != 0) { + output.writeInt32(3, buildingId_); + } + if (floor_ != 0) { + output.writeInt32(4, floor_); + } + if (floorLinkedInfo_ != null) { + output.writeMessage(5, getFloorLinkedInfo()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (modifyType_ != com.caliverse.admin.domain.RabbitMq.message.ModifyType.ModifyType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, modifyType_); + } + if (landId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, landId_); + } + if (buildingId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, buildingId_); + } + if (floor_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, floor_); + } + if (floorLinkedInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getFloorLinkedInfo()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo other = (com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo) obj; + + if (modifyType_ != other.modifyType_) return false; + if (getLandId() + != other.getLandId()) return false; + if (getBuildingId() + != other.getBuildingId()) return false; + if (getFloor() + != other.getFloor()) return false; + if (hasFloorLinkedInfo() != other.hasFloorLinkedInfo()) return false; + if (hasFloorLinkedInfo()) { + if (!getFloorLinkedInfo() + .equals(other.getFloorLinkedInfo())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MODIFYTYPE_FIELD_NUMBER; + hash = (53 * hash) + modifyType_; + hash = (37 * hash) + LANDID_FIELD_NUMBER; + hash = (53 * hash) + getLandId(); + hash = (37 * hash) + BUILDINGID_FIELD_NUMBER; + hash = (53 * hash) + getBuildingId(); + hash = (37 * hash) + FLOOR_FIELD_NUMBER; + hash = (53 * hash) + getFloor(); + if (hasFloorLinkedInfo()) { + hash = (37 * hash) + FLOORLINKEDINFO_FIELD_NUMBER; + hash = (53 * hash) + getFloorLinkedInfo().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ModifyFloorLinkedInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ModifyFloorLinkedInfo) + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ModifyFloorLinkedInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ModifyFloorLinkedInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.class, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + modifyType_ = 0; + landId_ = 0; + buildingId_ = 0; + floor_ = 0; + floorLinkedInfo_ = null; + if (floorLinkedInfoBuilder_ != null) { + floorLinkedInfoBuilder_.dispose(); + floorLinkedInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ModifyFloorLinkedInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo build() { + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo result = new com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.modifyType_ = modifyType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.landId_ = landId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.buildingId_ = buildingId_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.floor_ = floor_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.floorLinkedInfo_ = floorLinkedInfoBuilder_ == null + ? floorLinkedInfo_ + : floorLinkedInfoBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.getDefaultInstance()) return this; + if (other.modifyType_ != 0) { + setModifyTypeValue(other.getModifyTypeValue()); + } + if (other.getLandId() != 0) { + setLandId(other.getLandId()); + } + if (other.getBuildingId() != 0) { + setBuildingId(other.getBuildingId()); + } + if (other.getFloor() != 0) { + setFloor(other.getFloor()); + } + if (other.hasFloorLinkedInfo()) { + mergeFloorLinkedInfo(other.getFloorLinkedInfo()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + modifyType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + landId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + buildingId_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + floor_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + input.readMessage( + getFloorLinkedInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int modifyType_ = 0; + /** + * .ModifyType modifyType = 1; + * @return The enum numeric value on the wire for modifyType. + */ + @java.lang.Override public int getModifyTypeValue() { + return modifyType_; + } + /** + * .ModifyType modifyType = 1; + * @param value The enum numeric value on the wire for modifyType to set. + * @return This builder for chaining. + */ + public Builder setModifyTypeValue(int value) { + modifyType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ModifyType modifyType = 1; + * @return The modifyType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ModifyType getModifyType() { + com.caliverse.admin.domain.RabbitMq.message.ModifyType result = com.caliverse.admin.domain.RabbitMq.message.ModifyType.forNumber(modifyType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ModifyType.UNRECOGNIZED : result; + } + /** + * .ModifyType modifyType = 1; + * @param value The modifyType to set. + * @return This builder for chaining. + */ + public Builder setModifyType(com.caliverse.admin.domain.RabbitMq.message.ModifyType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + modifyType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .ModifyType modifyType = 1; + * @return This builder for chaining. + */ + public Builder clearModifyType() { + bitField0_ = (bitField0_ & ~0x00000001); + modifyType_ = 0; + onChanged(); + return this; + } + + private int landId_ ; + /** + * int32 landId = 2; + * @return The landId. + */ + @java.lang.Override + public int getLandId() { + return landId_; + } + /** + * int32 landId = 2; + * @param value The landId to set. + * @return This builder for chaining. + */ + public Builder setLandId(int value) { + + landId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 landId = 2; + * @return This builder for chaining. + */ + public Builder clearLandId() { + bitField0_ = (bitField0_ & ~0x00000002); + landId_ = 0; + onChanged(); + return this; + } + + private int buildingId_ ; + /** + * int32 buildingId = 3; + * @return The buildingId. + */ + @java.lang.Override + public int getBuildingId() { + return buildingId_; + } + /** + * int32 buildingId = 3; + * @param value The buildingId to set. + * @return This builder for chaining. + */ + public Builder setBuildingId(int value) { + + buildingId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 buildingId = 3; + * @return This builder for chaining. + */ + public Builder clearBuildingId() { + bitField0_ = (bitField0_ & ~0x00000004); + buildingId_ = 0; + onChanged(); + return this; + } + + private int floor_ ; + /** + * int32 floor = 4; + * @return The floor. + */ + @java.lang.Override + public int getFloor() { + return floor_; + } + /** + * int32 floor = 4; + * @param value The floor to set. + * @return This builder for chaining. + */ + public Builder setFloor(int value) { + + floor_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 floor = 4; + * @return This builder for chaining. + */ + public Builder clearFloor() { + bitField0_ = (bitField0_ & ~0x00000008); + floor_ = 0; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo floorLinkedInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfoOrBuilder> floorLinkedInfoBuilder_; + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + * @return Whether the floorLinkedInfo field is set. + */ + public boolean hasFloorLinkedInfo() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + * @return The floorLinkedInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getFloorLinkedInfo() { + if (floorLinkedInfoBuilder_ == null) { + return floorLinkedInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.getDefaultInstance() : floorLinkedInfo_; + } else { + return floorLinkedInfoBuilder_.getMessage(); + } + } + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + */ + public Builder setFloorLinkedInfo(com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo value) { + if (floorLinkedInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + floorLinkedInfo_ = value; + } else { + floorLinkedInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + */ + public Builder setFloorLinkedInfo( + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.Builder builderForValue) { + if (floorLinkedInfoBuilder_ == null) { + floorLinkedInfo_ = builderForValue.build(); + } else { + floorLinkedInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + */ + public Builder mergeFloorLinkedInfo(com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo value) { + if (floorLinkedInfoBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + floorLinkedInfo_ != null && + floorLinkedInfo_ != com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.getDefaultInstance()) { + getFloorLinkedInfoBuilder().mergeFrom(value); + } else { + floorLinkedInfo_ = value; + } + } else { + floorLinkedInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + */ + public Builder clearFloorLinkedInfo() { + bitField0_ = (bitField0_ & ~0x00000010); + floorLinkedInfo_ = null; + if (floorLinkedInfoBuilder_ != null) { + floorLinkedInfoBuilder_.dispose(); + floorLinkedInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.Builder getFloorLinkedInfoBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getFloorLinkedInfoFieldBuilder().getBuilder(); + } + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfoOrBuilder getFloorLinkedInfoOrBuilder() { + if (floorLinkedInfoBuilder_ != null) { + return floorLinkedInfoBuilder_.getMessageOrBuilder(); + } else { + return floorLinkedInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.getDefaultInstance() : floorLinkedInfo_; + } + } + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfoOrBuilder> + getFloorLinkedInfoFieldBuilder() { + if (floorLinkedInfoBuilder_ == null) { + floorLinkedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfoOrBuilder>( + getFloorLinkedInfo(), + getParentForChildren(), + isClean()); + floorLinkedInfo_ = null; + } + return floorLinkedInfoBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ModifyFloorLinkedInfo) + } + + // @@protoc_insertion_point(class_scope:ModifyFloorLinkedInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ModifyFloorLinkedInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyFloorLinkedInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyFloorLinkedInfoOrBuilder.java new file mode 100644 index 0000000..e89b04f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyFloorLinkedInfoOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ModifyFloorLinkedInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ModifyFloorLinkedInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * .ModifyType modifyType = 1; + * @return The enum numeric value on the wire for modifyType. + */ + int getModifyTypeValue(); + /** + * .ModifyType modifyType = 1; + * @return The modifyType. + */ + com.caliverse.admin.domain.RabbitMq.message.ModifyType getModifyType(); + + /** + * int32 landId = 2; + * @return The landId. + */ + int getLandId(); + + /** + * int32 buildingId = 3; + * @return The buildingId. + */ + int getBuildingId(); + + /** + * int32 floor = 4; + * @return The floor. + */ + int getFloor(); + + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + * @return Whether the floorLinkedInfo field is set. + */ + boolean hasFloorLinkedInfo(); + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + * @return The floorLinkedInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getFloorLinkedInfo(); + /** + * .FloorLinkedInfo floorLinkedInfo = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfoOrBuilder getFloorLinkedInfoOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyOwnedRentalInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyOwnedRentalInfo.java new file mode 100644 index 0000000..0994855 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyOwnedRentalInfo.java @@ -0,0 +1,683 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ModifyOwnedRentalInfo} + */ +public final class ModifyOwnedRentalInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ModifyOwnedRentalInfo) + ModifyOwnedRentalInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use ModifyOwnedRentalInfo.newBuilder() to construct. + private ModifyOwnedRentalInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ModifyOwnedRentalInfo() { + modifyType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ModifyOwnedRentalInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ModifyOwnedRentalInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ModifyOwnedRentalInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo.class, com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo.Builder.class); + } + + public static final int MODIFYTYPE_FIELD_NUMBER = 1; + private int modifyType_ = 0; + /** + * .ModifyType modifyType = 1; + * @return The enum numeric value on the wire for modifyType. + */ + @java.lang.Override public int getModifyTypeValue() { + return modifyType_; + } + /** + * .ModifyType modifyType = 1; + * @return The modifyType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.ModifyType getModifyType() { + com.caliverse.admin.domain.RabbitMq.message.ModifyType result = com.caliverse.admin.domain.RabbitMq.message.ModifyType.forNumber(modifyType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ModifyType.UNRECOGNIZED : result; + } + + public static final int OWNEDRENTALINFO_FIELD_NUMBER = 2; + private com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo ownedRentalInfo_; + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + * @return Whether the ownedRentalInfo field is set. + */ + @java.lang.Override + public boolean hasOwnedRentalInfo() { + return ownedRentalInfo_ != null; + } + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + * @return The ownedRentalInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo getOwnedRentalInfo() { + return ownedRentalInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.getDefaultInstance() : ownedRentalInfo_; + } + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfoOrBuilder getOwnedRentalInfoOrBuilder() { + return ownedRentalInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.getDefaultInstance() : ownedRentalInfo_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (modifyType_ != com.caliverse.admin.domain.RabbitMq.message.ModifyType.ModifyType_None.getNumber()) { + output.writeEnum(1, modifyType_); + } + if (ownedRentalInfo_ != null) { + output.writeMessage(2, getOwnedRentalInfo()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (modifyType_ != com.caliverse.admin.domain.RabbitMq.message.ModifyType.ModifyType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, modifyType_); + } + if (ownedRentalInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOwnedRentalInfo()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo other = (com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo) obj; + + if (modifyType_ != other.modifyType_) return false; + if (hasOwnedRentalInfo() != other.hasOwnedRentalInfo()) return false; + if (hasOwnedRentalInfo()) { + if (!getOwnedRentalInfo() + .equals(other.getOwnedRentalInfo())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MODIFYTYPE_FIELD_NUMBER; + hash = (53 * hash) + modifyType_; + if (hasOwnedRentalInfo()) { + hash = (37 * hash) + OWNEDRENTALINFO_FIELD_NUMBER; + hash = (53 * hash) + getOwnedRentalInfo().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ModifyOwnedRentalInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ModifyOwnedRentalInfo) + com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ModifyOwnedRentalInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ModifyOwnedRentalInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo.class, com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + modifyType_ = 0; + ownedRentalInfo_ = null; + if (ownedRentalInfoBuilder_ != null) { + ownedRentalInfoBuilder_.dispose(); + ownedRentalInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ModifyOwnedRentalInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo build() { + com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo result = new com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.modifyType_ = modifyType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.ownedRentalInfo_ = ownedRentalInfoBuilder_ == null + ? ownedRentalInfo_ + : ownedRentalInfoBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo.getDefaultInstance()) return this; + if (other.modifyType_ != 0) { + setModifyTypeValue(other.getModifyTypeValue()); + } + if (other.hasOwnedRentalInfo()) { + mergeOwnedRentalInfo(other.getOwnedRentalInfo()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + modifyType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getOwnedRentalInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int modifyType_ = 0; + /** + * .ModifyType modifyType = 1; + * @return The enum numeric value on the wire for modifyType. + */ + @java.lang.Override public int getModifyTypeValue() { + return modifyType_; + } + /** + * .ModifyType modifyType = 1; + * @param value The enum numeric value on the wire for modifyType to set. + * @return This builder for chaining. + */ + public Builder setModifyTypeValue(int value) { + modifyType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ModifyType modifyType = 1; + * @return The modifyType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ModifyType getModifyType() { + com.caliverse.admin.domain.RabbitMq.message.ModifyType result = com.caliverse.admin.domain.RabbitMq.message.ModifyType.forNumber(modifyType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ModifyType.UNRECOGNIZED : result; + } + /** + * .ModifyType modifyType = 1; + * @param value The modifyType to set. + * @return This builder for chaining. + */ + public Builder setModifyType(com.caliverse.admin.domain.RabbitMq.message.ModifyType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + modifyType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .ModifyType modifyType = 1; + * @return This builder for chaining. + */ + public Builder clearModifyType() { + bitField0_ = (bitField0_ & ~0x00000001); + modifyType_ = 0; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo ownedRentalInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo, com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfoOrBuilder> ownedRentalInfoBuilder_; + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + * @return Whether the ownedRentalInfo field is set. + */ + public boolean hasOwnedRentalInfo() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + * @return The ownedRentalInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo getOwnedRentalInfo() { + if (ownedRentalInfoBuilder_ == null) { + return ownedRentalInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.getDefaultInstance() : ownedRentalInfo_; + } else { + return ownedRentalInfoBuilder_.getMessage(); + } + } + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + */ + public Builder setOwnedRentalInfo(com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo value) { + if (ownedRentalInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ownedRentalInfo_ = value; + } else { + ownedRentalInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + */ + public Builder setOwnedRentalInfo( + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.Builder builderForValue) { + if (ownedRentalInfoBuilder_ == null) { + ownedRentalInfo_ = builderForValue.build(); + } else { + ownedRentalInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + */ + public Builder mergeOwnedRentalInfo(com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo value) { + if (ownedRentalInfoBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + ownedRentalInfo_ != null && + ownedRentalInfo_ != com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.getDefaultInstance()) { + getOwnedRentalInfoBuilder().mergeFrom(value); + } else { + ownedRentalInfo_ = value; + } + } else { + ownedRentalInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + */ + public Builder clearOwnedRentalInfo() { + bitField0_ = (bitField0_ & ~0x00000002); + ownedRentalInfo_ = null; + if (ownedRentalInfoBuilder_ != null) { + ownedRentalInfoBuilder_.dispose(); + ownedRentalInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.Builder getOwnedRentalInfoBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getOwnedRentalInfoFieldBuilder().getBuilder(); + } + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfoOrBuilder getOwnedRentalInfoOrBuilder() { + if (ownedRentalInfoBuilder_ != null) { + return ownedRentalInfoBuilder_.getMessageOrBuilder(); + } else { + return ownedRentalInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.getDefaultInstance() : ownedRentalInfo_; + } + } + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo, com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfoOrBuilder> + getOwnedRentalInfoFieldBuilder() { + if (ownedRentalInfoBuilder_ == null) { + ownedRentalInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo, com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfoOrBuilder>( + getOwnedRentalInfo(), + getParentForChildren(), + isClean()); + ownedRentalInfo_ = null; + } + return ownedRentalInfoBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ModifyOwnedRentalInfo) + } + + // @@protoc_insertion_point(class_scope:ModifyOwnedRentalInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ModifyOwnedRentalInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ModifyOwnedRentalInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyOwnedRentalInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyOwnedRentalInfoOrBuilder.java new file mode 100644 index 0000000..47fbad1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyOwnedRentalInfoOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ModifyOwnedRentalInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ModifyOwnedRentalInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * .ModifyType modifyType = 1; + * @return The enum numeric value on the wire for modifyType. + */ + int getModifyTypeValue(); + /** + * .ModifyType modifyType = 1; + * @return The modifyType. + */ + com.caliverse.admin.domain.RabbitMq.message.ModifyType getModifyType(); + + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + * @return Whether the ownedRentalInfo field is set. + */ + boolean hasOwnedRentalInfo(); + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + * @return The ownedRentalInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo getOwnedRentalInfo(); + /** + * .OwnedRentalInfo ownedRentalInfo = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfoOrBuilder getOwnedRentalInfoOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyType.java new file mode 100644 index 0000000..d194355 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ModifyType.java @@ -0,0 +1,131 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf enum {@code ModifyType} + */ +public enum ModifyType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ModifyType_None = 0; + */ + ModifyType_None(0), + /** + * ModifyType_Add = 1; + */ + ModifyType_Add(1), + /** + * ModifyType_Delete = 2; + */ + ModifyType_Delete(2), + /** + * ModifyType_Modify = 3; + */ + ModifyType_Modify(3), + UNRECOGNIZED(-1), + ; + + /** + * ModifyType_None = 0; + */ + public static final int ModifyType_None_VALUE = 0; + /** + * ModifyType_Add = 1; + */ + public static final int ModifyType_Add_VALUE = 1; + /** + * ModifyType_Delete = 2; + */ + public static final int ModifyType_Delete_VALUE = 2; + /** + * ModifyType_Modify = 3; + */ + public static final int ModifyType_Modify_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ModifyType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ModifyType forNumber(int value) { + switch (value) { + case 0: return ModifyType_None; + case 1: return ModifyType_Add; + case 2: return ModifyType_Delete; + case 3: return ModifyType_Modify; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ModifyType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ModifyType findValueByNumber(int number) { + return ModifyType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(6); + } + + private static final ModifyType[] VALUES = values(); + + public static ModifyType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ModifyType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ModifyType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Money.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Money.java new file mode 100644 index 0000000..623285d --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Money.java @@ -0,0 +1,484 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * 
+ * 
+ * + * Protobuf type {@code Money} + */ +public final class Money extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Money) + MoneyOrBuilder { +private static final long serialVersionUID = 0L; + // Use Money.newBuilder() to construct. + private Money(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Money() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Money(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Money_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Money_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Money.class, com.caliverse.admin.domain.RabbitMq.message.Money.Builder.class); + } + + public static final int AMOUNT_FIELD_NUMBER = 1; + private double amount_ = 0D; + /** + * double amount = 1; + * @return The amount. + */ + @java.lang.Override + public double getAmount() { + return amount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (java.lang.Double.doubleToRawLongBits(amount_) != 0) { + output.writeDouble(1, amount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (java.lang.Double.doubleToRawLongBits(amount_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, amount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.Money)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.Money other = (com.caliverse.admin.domain.RabbitMq.message.Money) obj; + + if (java.lang.Double.doubleToLongBits(getAmount()) + != java.lang.Double.doubleToLongBits( + other.getAmount())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AMOUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAmount())); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.Money parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Money parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Money parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Money parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Money parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Money parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Money parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Money parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Money parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Money parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Money parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Money parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.Money prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * 
+   * 
+ * + * Protobuf type {@code Money} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:Money) + com.caliverse.admin.domain.RabbitMq.message.MoneyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Money_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Money_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Money.class, com.caliverse.admin.domain.RabbitMq.message.Money.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.Money.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + amount_ = 0D; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Money_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Money getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.Money.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Money build() { + com.caliverse.admin.domain.RabbitMq.message.Money result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Money buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.Money result = new com.caliverse.admin.domain.RabbitMq.message.Money(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.Money result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.amount_ = amount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.Money) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.Money)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.Money other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.Money.getDefaultInstance()) return this; + if (other.getAmount() != 0D) { + setAmount(other.getAmount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 9: { + amount_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private double amount_ ; + /** + * double amount = 1; + * @return The amount. + */ + @java.lang.Override + public double getAmount() { + return amount_; + } + /** + * double amount = 1; + * @param value The amount to set. + * @return This builder for chaining. + */ + public Builder setAmount(double value) { + + amount_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * double amount = 1; + * @return This builder for chaining. + */ + public Builder clearAmount() { + bitField0_ = (bitField0_ & ~0x00000001); + amount_ = 0D; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Money) + } + + // @@protoc_insertion_point(class_scope:Money) + private static final com.caliverse.admin.domain.RabbitMq.message.Money DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.Money(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.Money getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Money parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Money getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyDeltaAmount.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyDeltaAmount.java new file mode 100644 index 0000000..ead6a0c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyDeltaAmount.java @@ -0,0 +1,578 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  ȭ
+ * 
+ * + * Protobuf type {@code MoneyDeltaAmount} + */ +public final class MoneyDeltaAmount extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MoneyDeltaAmount) + MoneyDeltaAmountOrBuilder { +private static final long serialVersionUID = 0L; + // Use MoneyDeltaAmount.newBuilder() to construct. + private MoneyDeltaAmount(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MoneyDeltaAmount() { + deltaType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MoneyDeltaAmount(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MoneyDeltaAmount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MoneyDeltaAmount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount.class, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount.Builder.class); + } + + public static final int DELTATYPE_FIELD_NUMBER = 1; + private int deltaType_ = 0; + /** + * .AmountDeltaType deltaType = 1; + * @return The enum numeric value on the wire for deltaType. + */ + @java.lang.Override public int getDeltaTypeValue() { + return deltaType_; + } + /** + * .AmountDeltaType deltaType = 1; + * @return The deltaType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType getDeltaType() { + com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType result = com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.forNumber(deltaType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.UNRECOGNIZED : result; + } + + public static final int AMOUNT_FIELD_NUMBER = 2; + private double amount_ = 0D; + /** + * double amount = 2; + * @return The amount. + */ + @java.lang.Override + public double getAmount() { + return amount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (deltaType_ != com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.AmountDeltaType_None.getNumber()) { + output.writeEnum(1, deltaType_); + } + if (java.lang.Double.doubleToRawLongBits(amount_) != 0) { + output.writeDouble(2, amount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (deltaType_ != com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.AmountDeltaType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, deltaType_); + } + if (java.lang.Double.doubleToRawLongBits(amount_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, amount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount other = (com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount) obj; + + if (deltaType_ != other.deltaType_) return false; + if (java.lang.Double.doubleToLongBits(getAmount()) + != java.lang.Double.doubleToLongBits( + other.getAmount())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DELTATYPE_FIELD_NUMBER; + hash = (53 * hash) + deltaType_; + hash = (37 * hash) + AMOUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAmount())); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   *  ȭ
+   * 
+ * + * Protobuf type {@code MoneyDeltaAmount} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:MoneyDeltaAmount) + com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmountOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MoneyDeltaAmount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MoneyDeltaAmount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount.class, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + deltaType_ = 0; + amount_ = 0D; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MoneyDeltaAmount_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount build() { + com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount result = new com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.deltaType_ = deltaType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.amount_ = amount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount.getDefaultInstance()) return this; + if (other.deltaType_ != 0) { + setDeltaTypeValue(other.getDeltaTypeValue()); + } + if (other.getAmount() != 0D) { + setAmount(other.getAmount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + deltaType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 17: { + amount_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int deltaType_ = 0; + /** + * .AmountDeltaType deltaType = 1; + * @return The enum numeric value on the wire for deltaType. + */ + @java.lang.Override public int getDeltaTypeValue() { + return deltaType_; + } + /** + * .AmountDeltaType deltaType = 1; + * @param value The enum numeric value on the wire for deltaType to set. + * @return This builder for chaining. + */ + public Builder setDeltaTypeValue(int value) { + deltaType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .AmountDeltaType deltaType = 1; + * @return The deltaType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType getDeltaType() { + com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType result = com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.forNumber(deltaType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType.UNRECOGNIZED : result; + } + /** + * .AmountDeltaType deltaType = 1; + * @param value The deltaType to set. + * @return This builder for chaining. + */ + public Builder setDeltaType(com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + deltaType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .AmountDeltaType deltaType = 1; + * @return This builder for chaining. + */ + public Builder clearDeltaType() { + bitField0_ = (bitField0_ & ~0x00000001); + deltaType_ = 0; + onChanged(); + return this; + } + + private double amount_ ; + /** + * double amount = 2; + * @return The amount. + */ + @java.lang.Override + public double getAmount() { + return amount_; + } + /** + * double amount = 2; + * @param value The amount to set. + * @return This builder for chaining. + */ + public Builder setAmount(double value) { + + amount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * double amount = 2; + * @return This builder for chaining. + */ + public Builder clearAmount() { + bitField0_ = (bitField0_ & ~0x00000002); + amount_ = 0D; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:MoneyDeltaAmount) + } + + // @@protoc_insertion_point(class_scope:MoneyDeltaAmount) + private static final com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoneyDeltaAmount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyDeltaAmountOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyDeltaAmountOrBuilder.java new file mode 100644 index 0000000..4be4e13 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyDeltaAmountOrBuilder.java @@ -0,0 +1,26 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface MoneyDeltaAmountOrBuilder extends + // @@protoc_insertion_point(interface_extends:MoneyDeltaAmount) + com.google.protobuf.MessageOrBuilder { + + /** + * .AmountDeltaType deltaType = 1; + * @return The enum numeric value on the wire for deltaType. + */ + int getDeltaTypeValue(); + /** + * .AmountDeltaType deltaType = 1; + * @return The deltaType. + */ + com.caliverse.admin.domain.RabbitMq.message.AmountDeltaType getDeltaType(); + + /** + * double amount = 2; + * @return The amount. + */ + double getAmount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyOrBuilder.java new file mode 100644 index 0000000..deabc8f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyOrBuilder.java @@ -0,0 +1,15 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface MoneyOrBuilder extends + // @@protoc_insertion_point(interface_extends:Money) + com.google.protobuf.MessageOrBuilder { + + /** + * double amount = 1; + * @return The amount. + */ + double getAmount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyResult.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyResult.java new file mode 100644 index 0000000..ead6172 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyResult.java @@ -0,0 +1,1034 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *    : Ŷ
+ * 
+ * + * Protobuf type {@code MoneyResult} + */ +public final class MoneyResult extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MoneyResult) + MoneyResultOrBuilder { +private static final long serialVersionUID = 0L; + // Use MoneyResult.newBuilder() to construct. + private MoneyResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MoneyResult() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MoneyResult(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MoneyResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetMoneys(); + case 2: + return internalGetDeltas(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MoneyResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MoneyResult.class, com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder.class); + } + + public static final int MONEYS_FIELD_NUMBER = 1; + private static final class MoneysDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MoneyResult_MoneysEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.INT32, + 0, + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.Money.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> moneys_; + private com.google.protobuf.MapField + internalGetMoneys() { + if (moneys_ == null) { + return com.google.protobuf.MapField.emptyMapField( + MoneysDefaultEntryHolder.defaultEntry); + } + return moneys_; + } + public int getMoneysCount() { + return internalGetMoneys().getMap().size(); + } + /** + *
+   * <CurrencyType, Money> : 
+   * 
+ * + * map<int32, .Money> moneys = 1; + */ + @java.lang.Override + public boolean containsMoneys( + int key) { + + return internalGetMoneys().getMap().containsKey(key); + } + /** + * Use {@link #getMoneysMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getMoneys() { + return getMoneysMap(); + } + /** + *
+   * <CurrencyType, Money> : 
+   * 
+ * + * map<int32, .Money> moneys = 1; + */ + @java.lang.Override + public java.util.Map getMoneysMap() { + return internalGetMoneys().getMap(); + } + /** + *
+   * <CurrencyType, Money> : 
+   * 
+ * + * map<int32, .Money> moneys = 1; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Money getMoneysOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Money defaultValue) { + + java.util.Map map = + internalGetMoneys().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * <CurrencyType, Money> : 
+   * 
+ * + * map<int32, .Money> moneys = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Money getMoneysOrThrow( + int key) { + + java.util.Map map = + internalGetMoneys().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int DELTAS_FIELD_NUMBER = 2; + private static final class DeltasDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MoneyResult_DeltasEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.INT32, + 0, + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> deltas_; + private com.google.protobuf.MapField + internalGetDeltas() { + if (deltas_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DeltasDefaultEntryHolder.defaultEntry); + } + return deltas_; + } + public int getDeltasCount() { + return internalGetDeltas().getMap().size(); + } + /** + *
+   * <CurrencyType, MoneyDeltaAmount> : ȭ
+   * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + @java.lang.Override + public boolean containsDeltas( + int key) { + + return internalGetDeltas().getMap().containsKey(key); + } + /** + * Use {@link #getDeltasMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getDeltas() { + return getDeltasMap(); + } + /** + *
+   * <CurrencyType, MoneyDeltaAmount> : ȭ
+   * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + @java.lang.Override + public java.util.Map getDeltasMap() { + return internalGetDeltas().getMap(); + } + /** + *
+   * <CurrencyType, MoneyDeltaAmount> : ȭ
+   * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDeltasOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount defaultValue) { + + java.util.Map map = + internalGetDeltas().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * <CurrencyType, MoneyDeltaAmount> : ȭ
+   * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDeltasOrThrow( + int key) { + + java.util.Map map = + internalGetDeltas().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeIntegerMapTo( + output, + internalGetMoneys(), + MoneysDefaultEntryHolder.defaultEntry, + 1); + com.google.protobuf.GeneratedMessageV3 + .serializeIntegerMapTo( + output, + internalGetDeltas(), + DeltasDefaultEntryHolder.defaultEntry, + 2); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetMoneys().getMap().entrySet()) { + com.google.protobuf.MapEntry + moneys__ = MoneysDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, moneys__); + } + for (java.util.Map.Entry entry + : internalGetDeltas().getMap().entrySet()) { + com.google.protobuf.MapEntry + deltas__ = DeltasDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, deltas__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.MoneyResult)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.MoneyResult other = (com.caliverse.admin.domain.RabbitMq.message.MoneyResult) obj; + + if (!internalGetMoneys().equals( + other.internalGetMoneys())) return false; + if (!internalGetDeltas().equals( + other.internalGetDeltas())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetMoneys().getMap().isEmpty()) { + hash = (37 * hash) + MONEYS_FIELD_NUMBER; + hash = (53 * hash) + internalGetMoneys().hashCode(); + } + if (!internalGetDeltas().getMap().isEmpty()) { + hash = (37 * hash) + DELTAS_FIELD_NUMBER; + hash = (53 * hash) + internalGetDeltas().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.MoneyResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   *    : Ŷ
+   * 
+ * + * Protobuf type {@code MoneyResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:MoneyResult) + com.caliverse.admin.domain.RabbitMq.message.MoneyResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MoneyResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetMoneys(); + case 2: + return internalGetDeltas(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableMoneys(); + case 2: + return internalGetMutableDeltas(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MoneyResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MoneyResult.class, com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.MoneyResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableMoneys().clear(); + internalGetMutableDeltas().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MoneyResult_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MoneyResult getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MoneyResult build() { + com.caliverse.admin.domain.RabbitMq.message.MoneyResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MoneyResult buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.MoneyResult result = new com.caliverse.admin.domain.RabbitMq.message.MoneyResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MoneyResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.moneys_ = internalGetMoneys(); + result.moneys_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.deltas_ = internalGetDeltas(); + result.deltas_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.MoneyResult) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MoneyResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MoneyResult other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance()) return this; + internalGetMutableMoneys().mergeFrom( + other.internalGetMoneys()); + bitField0_ |= 0x00000001; + internalGetMutableDeltas().mergeFrom( + other.internalGetDeltas()); + bitField0_ |= 0x00000002; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + moneys__ = input.readMessage( + MoneysDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableMoneys().getMutableMap().put( + moneys__.getKey(), moneys__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + deltas__ = input.readMessage( + DeltasDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableDeltas().getMutableMap().put( + deltas__.getKey(), deltas__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> moneys_; + private com.google.protobuf.MapField + internalGetMoneys() { + if (moneys_ == null) { + return com.google.protobuf.MapField.emptyMapField( + MoneysDefaultEntryHolder.defaultEntry); + } + return moneys_; + } + private com.google.protobuf.MapField + internalGetMutableMoneys() { + if (moneys_ == null) { + moneys_ = com.google.protobuf.MapField.newMapField( + MoneysDefaultEntryHolder.defaultEntry); + } + if (!moneys_.isMutable()) { + moneys_ = moneys_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return moneys_; + } + public int getMoneysCount() { + return internalGetMoneys().getMap().size(); + } + /** + *
+     * <CurrencyType, Money> : 
+     * 
+ * + * map<int32, .Money> moneys = 1; + */ + @java.lang.Override + public boolean containsMoneys( + int key) { + + return internalGetMoneys().getMap().containsKey(key); + } + /** + * Use {@link #getMoneysMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getMoneys() { + return getMoneysMap(); + } + /** + *
+     * <CurrencyType, Money> : 
+     * 
+ * + * map<int32, .Money> moneys = 1; + */ + @java.lang.Override + public java.util.Map getMoneysMap() { + return internalGetMoneys().getMap(); + } + /** + *
+     * <CurrencyType, Money> : 
+     * 
+ * + * map<int32, .Money> moneys = 1; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Money getMoneysOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Money defaultValue) { + + java.util.Map map = + internalGetMoneys().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * <CurrencyType, Money> : 
+     * 
+ * + * map<int32, .Money> moneys = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Money getMoneysOrThrow( + int key) { + + java.util.Map map = + internalGetMoneys().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearMoneys() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableMoneys().getMutableMap() + .clear(); + return this; + } + /** + *
+     * <CurrencyType, Money> : 
+     * 
+ * + * map<int32, .Money> moneys = 1; + */ + public Builder removeMoneys( + int key) { + + internalGetMutableMoneys().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableMoneys() { + bitField0_ |= 0x00000001; + return internalGetMutableMoneys().getMutableMap(); + } + /** + *
+     * <CurrencyType, Money> : 
+     * 
+ * + * map<int32, .Money> moneys = 1; + */ + public Builder putMoneys( + int key, + com.caliverse.admin.domain.RabbitMq.message.Money value) { + + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableMoneys().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     * <CurrencyType, Money> : 
+     * 
+ * + * map<int32, .Money> moneys = 1; + */ + public Builder putAllMoneys( + java.util.Map values) { + internalGetMutableMoneys().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> deltas_; + private com.google.protobuf.MapField + internalGetDeltas() { + if (deltas_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DeltasDefaultEntryHolder.defaultEntry); + } + return deltas_; + } + private com.google.protobuf.MapField + internalGetMutableDeltas() { + if (deltas_ == null) { + deltas_ = com.google.protobuf.MapField.newMapField( + DeltasDefaultEntryHolder.defaultEntry); + } + if (!deltas_.isMutable()) { + deltas_ = deltas_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return deltas_; + } + public int getDeltasCount() { + return internalGetDeltas().getMap().size(); + } + /** + *
+     * <CurrencyType, MoneyDeltaAmount> : ȭ
+     * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + @java.lang.Override + public boolean containsDeltas( + int key) { + + return internalGetDeltas().getMap().containsKey(key); + } + /** + * Use {@link #getDeltasMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getDeltas() { + return getDeltasMap(); + } + /** + *
+     * <CurrencyType, MoneyDeltaAmount> : ȭ
+     * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + @java.lang.Override + public java.util.Map getDeltasMap() { + return internalGetDeltas().getMap(); + } + /** + *
+     * <CurrencyType, MoneyDeltaAmount> : ȭ
+     * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDeltasOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount defaultValue) { + + java.util.Map map = + internalGetDeltas().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * <CurrencyType, MoneyDeltaAmount> : ȭ
+     * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDeltasOrThrow( + int key) { + + java.util.Map map = + internalGetDeltas().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearDeltas() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableDeltas().getMutableMap() + .clear(); + return this; + } + /** + *
+     * <CurrencyType, MoneyDeltaAmount> : ȭ
+     * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + public Builder removeDeltas( + int key) { + + internalGetMutableDeltas().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableDeltas() { + bitField0_ |= 0x00000002; + return internalGetMutableDeltas().getMutableMap(); + } + /** + *
+     * <CurrencyType, MoneyDeltaAmount> : ȭ
+     * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + public Builder putDeltas( + int key, + com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount value) { + + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableDeltas().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000002; + return this; + } + /** + *
+     * <CurrencyType, MoneyDeltaAmount> : ȭ
+     * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + public Builder putAllDeltas( + java.util.Map values) { + internalGetMutableDeltas().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000002; + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:MoneyResult) + } + + // @@protoc_insertion_point(class_scope:MoneyResult) + private static final com.caliverse.admin.domain.RabbitMq.message.MoneyResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MoneyResult(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.MoneyResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoneyResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MoneyResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyResultOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyResultOrBuilder.java new file mode 100644 index 0000000..2c012b4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MoneyResultOrBuilder.java @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface MoneyResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:MoneyResult) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * <CurrencyType, Money> : 
+   * 
+ * + * map<int32, .Money> moneys = 1; + */ + int getMoneysCount(); + /** + *
+   * <CurrencyType, Money> : 
+   * 
+ * + * map<int32, .Money> moneys = 1; + */ + boolean containsMoneys( + int key); + /** + * Use {@link #getMoneysMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getMoneys(); + /** + *
+   * <CurrencyType, Money> : 
+   * 
+ * + * map<int32, .Money> moneys = 1; + */ + java.util.Map + getMoneysMap(); + /** + *
+   * <CurrencyType, Money> : 
+   * 
+ * + * map<int32, .Money> moneys = 1; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Money getMoneysOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Money defaultValue); + /** + *
+   * <CurrencyType, Money> : 
+   * 
+ * + * map<int32, .Money> moneys = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.Money getMoneysOrThrow( + int key); + + /** + *
+   * <CurrencyType, MoneyDeltaAmount> : ȭ
+   * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + int getDeltasCount(); + /** + *
+   * <CurrencyType, MoneyDeltaAmount> : ȭ
+   * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + boolean containsDeltas( + int key); + /** + * Use {@link #getDeltasMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getDeltas(); + /** + *
+   * <CurrencyType, MoneyDeltaAmount> : ȭ
+   * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + java.util.Map + getDeltasMap(); + /** + *
+   * <CurrencyType, MoneyDeltaAmount> : ȭ
+   * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDeltasOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount defaultValue); + /** + *
+   * <CurrencyType, MoneyDeltaAmount> : ȭ
+   * 
+ * + * map<int32, .MoneyDeltaAmount> deltas = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDeltasOrThrow( + int key); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyHomeInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyHomeInfo.java new file mode 100644 index 0000000..f45eb43 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyHomeInfo.java @@ -0,0 +1,861 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code MyHomeInfo} + */ +public final class MyHomeInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MyHomeInfo) + MyHomeInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use MyHomeInfo.newBuilder() to construct. + private MyHomeInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MyHomeInfo() { + myhomeGuid_ = ""; + myhomeName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MyHomeInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MyHomeInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MyHomeInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.class, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.Builder.class); + } + + public static final int MYHOMEGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object myhomeGuid_ = ""; + /** + * string myhomeGuid = 1; + * @return The myhomeGuid. + */ + @java.lang.Override + public java.lang.String getMyhomeGuid() { + java.lang.Object ref = myhomeGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + myhomeGuid_ = s; + return s; + } + } + /** + * string myhomeGuid = 1; + * @return The bytes for myhomeGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMyhomeGuidBytes() { + java.lang.Object ref = myhomeGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + myhomeGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MYHOMENAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object myhomeName_ = ""; + /** + * string myhomeName = 2; + * @return The myhomeName. + */ + @java.lang.Override + public java.lang.String getMyhomeName() { + java.lang.Object ref = myhomeName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + myhomeName_ = s; + return s; + } + } + /** + * string myhomeName = 2; + * @return The bytes for myhomeName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMyhomeNameBytes() { + java.lang.Object ref = myhomeName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + myhomeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MYHOMEUGCINFO_FIELD_NUMBER = 3; + private com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo myhomeUgcInfo_; + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + * @return Whether the myhomeUgcInfo field is set. + */ + @java.lang.Override + public boolean hasMyhomeUgcInfo() { + return myhomeUgcInfo_ != null; + } + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + * @return The myhomeUgcInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo getMyhomeUgcInfo() { + return myhomeUgcInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.getDefaultInstance() : myhomeUgcInfo_; + } + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfoOrBuilder getMyhomeUgcInfoOrBuilder() { + return myhomeUgcInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.getDefaultInstance() : myhomeUgcInfo_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(myhomeGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, myhomeGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(myhomeName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, myhomeName_); + } + if (myhomeUgcInfo_ != null) { + output.writeMessage(3, getMyhomeUgcInfo()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(myhomeGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, myhomeGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(myhomeName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, myhomeName_); + } + if (myhomeUgcInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMyhomeUgcInfo()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo other = (com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo) obj; + + if (!getMyhomeGuid() + .equals(other.getMyhomeGuid())) return false; + if (!getMyhomeName() + .equals(other.getMyhomeName())) return false; + if (hasMyhomeUgcInfo() != other.hasMyhomeUgcInfo()) return false; + if (hasMyhomeUgcInfo()) { + if (!getMyhomeUgcInfo() + .equals(other.getMyhomeUgcInfo())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MYHOMEGUID_FIELD_NUMBER; + hash = (53 * hash) + getMyhomeGuid().hashCode(); + hash = (37 * hash) + MYHOMENAME_FIELD_NUMBER; + hash = (53 * hash) + getMyhomeName().hashCode(); + if (hasMyhomeUgcInfo()) { + hash = (37 * hash) + MYHOMEUGCINFO_FIELD_NUMBER; + hash = (53 * hash) + getMyhomeUgcInfo().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code MyHomeInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:MyHomeInfo) + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MyHomeInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MyHomeInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.class, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + myhomeGuid_ = ""; + myhomeName_ = ""; + myhomeUgcInfo_ = null; + if (myhomeUgcInfoBuilder_ != null) { + myhomeUgcInfoBuilder_.dispose(); + myhomeUgcInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MyHomeInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo build() { + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo result = new com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.myhomeGuid_ = myhomeGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.myhomeName_ = myhomeName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.myhomeUgcInfo_ = myhomeUgcInfoBuilder_ == null + ? myhomeUgcInfo_ + : myhomeUgcInfoBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance()) return this; + if (!other.getMyhomeGuid().isEmpty()) { + myhomeGuid_ = other.myhomeGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getMyhomeName().isEmpty()) { + myhomeName_ = other.myhomeName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasMyhomeUgcInfo()) { + mergeMyhomeUgcInfo(other.getMyhomeUgcInfo()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + myhomeGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + myhomeName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getMyhomeUgcInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object myhomeGuid_ = ""; + /** + * string myhomeGuid = 1; + * @return The myhomeGuid. + */ + public java.lang.String getMyhomeGuid() { + java.lang.Object ref = myhomeGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + myhomeGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string myhomeGuid = 1; + * @return The bytes for myhomeGuid. + */ + public com.google.protobuf.ByteString + getMyhomeGuidBytes() { + java.lang.Object ref = myhomeGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + myhomeGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string myhomeGuid = 1; + * @param value The myhomeGuid to set. + * @return This builder for chaining. + */ + public Builder setMyhomeGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + myhomeGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string myhomeGuid = 1; + * @return This builder for chaining. + */ + public Builder clearMyhomeGuid() { + myhomeGuid_ = getDefaultInstance().getMyhomeGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string myhomeGuid = 1; + * @param value The bytes for myhomeGuid to set. + * @return This builder for chaining. + */ + public Builder setMyhomeGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + myhomeGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object myhomeName_ = ""; + /** + * string myhomeName = 2; + * @return The myhomeName. + */ + public java.lang.String getMyhomeName() { + java.lang.Object ref = myhomeName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + myhomeName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string myhomeName = 2; + * @return The bytes for myhomeName. + */ + public com.google.protobuf.ByteString + getMyhomeNameBytes() { + java.lang.Object ref = myhomeName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + myhomeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string myhomeName = 2; + * @param value The myhomeName to set. + * @return This builder for chaining. + */ + public Builder setMyhomeName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + myhomeName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string myhomeName = 2; + * @return This builder for chaining. + */ + public Builder clearMyhomeName() { + myhomeName_ = getDefaultInstance().getMyhomeName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string myhomeName = 2; + * @param value The bytes for myhomeName to set. + * @return This builder for chaining. + */ + public Builder setMyhomeNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + myhomeName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo myhomeUgcInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo, com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfoOrBuilder> myhomeUgcInfoBuilder_; + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + * @return Whether the myhomeUgcInfo field is set. + */ + public boolean hasMyhomeUgcInfo() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + * @return The myhomeUgcInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo getMyhomeUgcInfo() { + if (myhomeUgcInfoBuilder_ == null) { + return myhomeUgcInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.getDefaultInstance() : myhomeUgcInfo_; + } else { + return myhomeUgcInfoBuilder_.getMessage(); + } + } + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + */ + public Builder setMyhomeUgcInfo(com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo value) { + if (myhomeUgcInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + myhomeUgcInfo_ = value; + } else { + myhomeUgcInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + */ + public Builder setMyhomeUgcInfo( + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.Builder builderForValue) { + if (myhomeUgcInfoBuilder_ == null) { + myhomeUgcInfo_ = builderForValue.build(); + } else { + myhomeUgcInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + */ + public Builder mergeMyhomeUgcInfo(com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo value) { + if (myhomeUgcInfoBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + myhomeUgcInfo_ != null && + myhomeUgcInfo_ != com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.getDefaultInstance()) { + getMyhomeUgcInfoBuilder().mergeFrom(value); + } else { + myhomeUgcInfo_ = value; + } + } else { + myhomeUgcInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + */ + public Builder clearMyhomeUgcInfo() { + bitField0_ = (bitField0_ & ~0x00000004); + myhomeUgcInfo_ = null; + if (myhomeUgcInfoBuilder_ != null) { + myhomeUgcInfoBuilder_.dispose(); + myhomeUgcInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.Builder getMyhomeUgcInfoBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getMyhomeUgcInfoFieldBuilder().getBuilder(); + } + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfoOrBuilder getMyhomeUgcInfoOrBuilder() { + if (myhomeUgcInfoBuilder_ != null) { + return myhomeUgcInfoBuilder_.getMessageOrBuilder(); + } else { + return myhomeUgcInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.getDefaultInstance() : myhomeUgcInfo_; + } + } + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo, com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfoOrBuilder> + getMyhomeUgcInfoFieldBuilder() { + if (myhomeUgcInfoBuilder_ == null) { + myhomeUgcInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo, com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfoOrBuilder>( + getMyhomeUgcInfo(), + getParentForChildren(), + isClean()); + myhomeUgcInfo_ = null; + } + return myhomeUgcInfoBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:MyHomeInfo) + } + + // @@protoc_insertion_point(class_scope:MyHomeInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MyHomeInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyHomeInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyHomeInfoOrBuilder.java new file mode 100644 index 0000000..3f772ad --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyHomeInfoOrBuilder.java @@ -0,0 +1,48 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface MyHomeInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:MyHomeInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string myhomeGuid = 1; + * @return The myhomeGuid. + */ + java.lang.String getMyhomeGuid(); + /** + * string myhomeGuid = 1; + * @return The bytes for myhomeGuid. + */ + com.google.protobuf.ByteString + getMyhomeGuidBytes(); + + /** + * string myhomeName = 2; + * @return The myhomeName. + */ + java.lang.String getMyhomeName(); + /** + * string myhomeName = 2; + * @return The bytes for myhomeName. + */ + com.google.protobuf.ByteString + getMyhomeNameBytes(); + + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + * @return Whether the myhomeUgcInfo field is set. + */ + boolean hasMyhomeUgcInfo(); + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + * @return The myhomeUgcInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo getMyhomeUgcInfo(); + /** + * .MyhomeUgcInfo myhomeUgcInfo = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfoOrBuilder getMyhomeUgcInfoOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyHomeObjectSlotInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyHomeObjectSlotInfo.java new file mode 100644 index 0000000..df26545 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyHomeObjectSlotInfo.java @@ -0,0 +1,540 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code MyHomeObjectSlotInfo} + */ +public final class MyHomeObjectSlotInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MyHomeObjectSlotInfo) + MyHomeObjectSlotInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use MyHomeObjectSlotInfo.newBuilder() to construct. + private MyHomeObjectSlotInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MyHomeObjectSlotInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MyHomeObjectSlotInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MyHomeObjectSlotInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MyHomeObjectSlotInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo.class, com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo.Builder.class); + } + + public static final int SLOTNUM_FIELD_NUMBER = 1; + private int slotNum_ = 0; + /** + * int32 slotNum = 1; + * @return The slotNum. + */ + @java.lang.Override + public int getSlotNum() { + return slotNum_; + } + + public static final int OBJECTID_FIELD_NUMBER = 2; + private int objectId_ = 0; + /** + * int32 objectId = 2; + * @return The objectId. + */ + @java.lang.Override + public int getObjectId() { + return objectId_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (slotNum_ != 0) { + output.writeInt32(1, slotNum_); + } + if (objectId_ != 0) { + output.writeInt32(2, objectId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (slotNum_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, slotNum_); + } + if (objectId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, objectId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo other = (com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo) obj; + + if (getSlotNum() + != other.getSlotNum()) return false; + if (getObjectId() + != other.getObjectId()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SLOTNUM_FIELD_NUMBER; + hash = (53 * hash) + getSlotNum(); + hash = (37 * hash) + OBJECTID_FIELD_NUMBER; + hash = (53 * hash) + getObjectId(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code MyHomeObjectSlotInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:MyHomeObjectSlotInfo) + com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MyHomeObjectSlotInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MyHomeObjectSlotInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo.class, com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + slotNum_ = 0; + objectId_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MyHomeObjectSlotInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo build() { + com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo result = new com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.slotNum_ = slotNum_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.objectId_ = objectId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo.getDefaultInstance()) return this; + if (other.getSlotNum() != 0) { + setSlotNum(other.getSlotNum()); + } + if (other.getObjectId() != 0) { + setObjectId(other.getObjectId()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + slotNum_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + objectId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int slotNum_ ; + /** + * int32 slotNum = 1; + * @return The slotNum. + */ + @java.lang.Override + public int getSlotNum() { + return slotNum_; + } + /** + * int32 slotNum = 1; + * @param value The slotNum to set. + * @return This builder for chaining. + */ + public Builder setSlotNum(int value) { + + slotNum_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 slotNum = 1; + * @return This builder for chaining. + */ + public Builder clearSlotNum() { + bitField0_ = (bitField0_ & ~0x00000001); + slotNum_ = 0; + onChanged(); + return this; + } + + private int objectId_ ; + /** + * int32 objectId = 2; + * @return The objectId. + */ + @java.lang.Override + public int getObjectId() { + return objectId_; + } + /** + * int32 objectId = 2; + * @param value The objectId to set. + * @return This builder for chaining. + */ + public Builder setObjectId(int value) { + + objectId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 objectId = 2; + * @return This builder for chaining. + */ + public Builder clearObjectId() { + bitField0_ = (bitField0_ & ~0x00000002); + objectId_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:MyHomeObjectSlotInfo) + } + + // @@protoc_insertion_point(class_scope:MyHomeObjectSlotInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MyHomeObjectSlotInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeObjectSlotInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyHomeObjectSlotInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyHomeObjectSlotInfoOrBuilder.java new file mode 100644 index 0000000..4a3eb82 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyHomeObjectSlotInfoOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface MyHomeObjectSlotInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:MyHomeObjectSlotInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 slotNum = 1; + * @return The slotNum. + */ + int getSlotNum(); + + /** + * int32 objectId = 2; + * @return The objectId. + */ + int getObjectId(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyTattooSlotInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyTattooSlotInfo.java new file mode 100644 index 0000000..6b2ad54 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyTattooSlotInfo.java @@ -0,0 +1,610 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code MyTattooSlotInfo} + */ +public final class MyTattooSlotInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MyTattooSlotInfo) + MyTattooSlotInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use MyTattooSlotInfo.newBuilder() to construct. + private MyTattooSlotInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MyTattooSlotInfo() { + itemGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MyTattooSlotInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MyTattooSlotInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MyTattooSlotInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.class, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.Builder.class); + } + + public static final int ITEMGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object itemGuid_ = ""; + /** + * string ItemGuid = 1; + * @return The itemGuid. + */ + @java.lang.Override + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } + } + /** + * string ItemGuid = 1; + * @return The bytes for itemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ISVISIBLE_FIELD_NUMBER = 2; + private int isVisible_ = 0; + /** + * int32 isVisible = 2; + * @return The isVisible. + */ + @java.lang.Override + public int getIsVisible() { + return isVisible_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, itemGuid_); + } + if (isVisible_ != 0) { + output.writeInt32(2, isVisible_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, itemGuid_); + } + if (isVisible_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, isVisible_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo other = (com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo) obj; + + if (!getItemGuid() + .equals(other.getItemGuid())) return false; + if (getIsVisible() + != other.getIsVisible()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getItemGuid().hashCode(); + hash = (37 * hash) + ISVISIBLE_FIELD_NUMBER; + hash = (53 * hash) + getIsVisible(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code MyTattooSlotInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:MyTattooSlotInfo) + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MyTattooSlotInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MyTattooSlotInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.class, com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemGuid_ = ""; + isVisible_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MyTattooSlotInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo build() { + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo result = new com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemGuid_ = itemGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.isVisible_ = isVisible_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo.getDefaultInstance()) return this; + if (!other.getItemGuid().isEmpty()) { + itemGuid_ = other.itemGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getIsVisible() != 0) { + setIsVisible(other.getIsVisible()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + itemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + isVisible_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object itemGuid_ = ""; + /** + * string ItemGuid = 1; + * @return The itemGuid. + */ + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ItemGuid = 1; + * @return The bytes for itemGuid. + */ + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ItemGuid = 1; + * @param value The itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + itemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string ItemGuid = 1; + * @return This builder for chaining. + */ + public Builder clearItemGuid() { + itemGuid_ = getDefaultInstance().getItemGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string ItemGuid = 1; + * @param value The bytes for itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + itemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int isVisible_ ; + /** + * int32 isVisible = 2; + * @return The isVisible. + */ + @java.lang.Override + public int getIsVisible() { + return isVisible_; + } + /** + * int32 isVisible = 2; + * @param value The isVisible to set. + * @return This builder for chaining. + */ + public Builder setIsVisible(int value) { + + isVisible_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 isVisible = 2; + * @return This builder for chaining. + */ + public Builder clearIsVisible() { + bitField0_ = (bitField0_ & ~0x00000002); + isVisible_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:MyTattooSlotInfo) + } + + // @@protoc_insertion_point(class_scope:MyTattooSlotInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MyTattooSlotInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyTattooSlotInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyTattooSlotInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyTattooSlotInfoOrBuilder.java new file mode 100644 index 0000000..d57cac6 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyTattooSlotInfoOrBuilder.java @@ -0,0 +1,27 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface MyTattooSlotInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:MyTattooSlotInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string ItemGuid = 1; + * @return The itemGuid. + */ + java.lang.String getItemGuid(); + /** + * string ItemGuid = 1; + * @return The bytes for itemGuid. + */ + com.google.protobuf.ByteString + getItemGuidBytes(); + + /** + * int32 isVisible = 2; + * @return The isVisible. + */ + int getIsVisible(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyhomeUgcInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyhomeUgcInfo.java new file mode 100644 index 0000000..87b94eb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyhomeUgcInfo.java @@ -0,0 +1,1594 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code MyhomeUgcInfo} + */ +public final class MyhomeUgcInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MyhomeUgcInfo) + MyhomeUgcInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use MyhomeUgcInfo.newBuilder() to construct. + private MyhomeUgcInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MyhomeUgcInfo() { + frameworkInfos_ = java.util.Collections.emptyList(); + anchorInfos_ = java.util.Collections.emptyList(); + crafterBeaconPos_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MyhomeUgcInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MyhomeUgcInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MyhomeUgcInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.class, com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.Builder.class); + } + + public static final int ROOMTYPE_FIELD_NUMBER = 1; + private int roomType_ = 0; + /** + * int32 roomType = 1; + * @return The roomType. + */ + @java.lang.Override + public int getRoomType() { + return roomType_; + } + + public static final int VERSION_FIELD_NUMBER = 2; + private int version_ = 0; + /** + * int32 version = 2; + * @return The version. + */ + @java.lang.Override + public int getVersion() { + return version_; + } + + public static final int FRAMEWORKINFOS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List frameworkInfos_; + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + @java.lang.Override + public java.util.List getFrameworkInfosList() { + return frameworkInfos_; + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + @java.lang.Override + public java.util.List + getFrameworkInfosOrBuilderList() { + return frameworkInfos_; + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + @java.lang.Override + public int getFrameworkInfosCount() { + return frameworkInfos_.size(); + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo getFrameworkInfos(int index) { + return frameworkInfos_.get(index); + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfoOrBuilder getFrameworkInfosOrBuilder( + int index) { + return frameworkInfos_.get(index); + } + + public static final int ANCHORINFOS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List anchorInfos_; + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + @java.lang.Override + public java.util.List getAnchorInfosList() { + return anchorInfos_; + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + @java.lang.Override + public java.util.List + getAnchorInfosOrBuilderList() { + return anchorInfos_; + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + @java.lang.Override + public int getAnchorInfosCount() { + return anchorInfos_.size(); + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo getAnchorInfos(int index) { + return anchorInfos_.get(index); + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfoOrBuilder getAnchorInfosOrBuilder( + int index) { + return anchorInfos_.get(index); + } + + public static final int CRAFTERBEACONPOS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private java.util.List crafterBeaconPos_; + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + @java.lang.Override + public java.util.List getCrafterBeaconPosList() { + return crafterBeaconPos_; + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + @java.lang.Override + public java.util.List + getCrafterBeaconPosOrBuilderList() { + return crafterBeaconPos_; + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + @java.lang.Override + public int getCrafterBeaconPosCount() { + return crafterBeaconPos_.size(); + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos getCrafterBeaconPos(int index) { + return crafterBeaconPos_.get(index); + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPosOrBuilder getCrafterBeaconPosOrBuilder( + int index) { + return crafterBeaconPos_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (roomType_ != 0) { + output.writeInt32(1, roomType_); + } + if (version_ != 0) { + output.writeInt32(2, version_); + } + for (int i = 0; i < frameworkInfos_.size(); i++) { + output.writeMessage(3, frameworkInfos_.get(i)); + } + for (int i = 0; i < anchorInfos_.size(); i++) { + output.writeMessage(4, anchorInfos_.get(i)); + } + for (int i = 0; i < crafterBeaconPos_.size(); i++) { + output.writeMessage(5, crafterBeaconPos_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (roomType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, roomType_); + } + if (version_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, version_); + } + for (int i = 0; i < frameworkInfos_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, frameworkInfos_.get(i)); + } + for (int i = 0; i < anchorInfos_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, anchorInfos_.get(i)); + } + for (int i = 0; i < crafterBeaconPos_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, crafterBeaconPos_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo other = (com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo) obj; + + if (getRoomType() + != other.getRoomType()) return false; + if (getVersion() + != other.getVersion()) return false; + if (!getFrameworkInfosList() + .equals(other.getFrameworkInfosList())) return false; + if (!getAnchorInfosList() + .equals(other.getAnchorInfosList())) return false; + if (!getCrafterBeaconPosList() + .equals(other.getCrafterBeaconPosList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ROOMTYPE_FIELD_NUMBER; + hash = (53 * hash) + getRoomType(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion(); + if (getFrameworkInfosCount() > 0) { + hash = (37 * hash) + FRAMEWORKINFOS_FIELD_NUMBER; + hash = (53 * hash) + getFrameworkInfosList().hashCode(); + } + if (getAnchorInfosCount() > 0) { + hash = (37 * hash) + ANCHORINFOS_FIELD_NUMBER; + hash = (53 * hash) + getAnchorInfosList().hashCode(); + } + if (getCrafterBeaconPosCount() > 0) { + hash = (37 * hash) + CRAFTERBEACONPOS_FIELD_NUMBER; + hash = (53 * hash) + getCrafterBeaconPosList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code MyhomeUgcInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:MyhomeUgcInfo) + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MyhomeUgcInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MyhomeUgcInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.class, com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + roomType_ = 0; + version_ = 0; + if (frameworkInfosBuilder_ == null) { + frameworkInfos_ = java.util.Collections.emptyList(); + } else { + frameworkInfos_ = null; + frameworkInfosBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + if (anchorInfosBuilder_ == null) { + anchorInfos_ = java.util.Collections.emptyList(); + } else { + anchorInfos_ = null; + anchorInfosBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (crafterBeaconPosBuilder_ == null) { + crafterBeaconPos_ = java.util.Collections.emptyList(); + } else { + crafterBeaconPos_ = null; + crafterBeaconPosBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MyhomeUgcInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo build() { + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo result = new com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo result) { + if (frameworkInfosBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + frameworkInfos_ = java.util.Collections.unmodifiableList(frameworkInfos_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.frameworkInfos_ = frameworkInfos_; + } else { + result.frameworkInfos_ = frameworkInfosBuilder_.build(); + } + if (anchorInfosBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + anchorInfos_ = java.util.Collections.unmodifiableList(anchorInfos_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.anchorInfos_ = anchorInfos_; + } else { + result.anchorInfos_ = anchorInfosBuilder_.build(); + } + if (crafterBeaconPosBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + crafterBeaconPos_ = java.util.Collections.unmodifiableList(crafterBeaconPos_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.crafterBeaconPos_ = crafterBeaconPos_; + } else { + result.crafterBeaconPos_ = crafterBeaconPosBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.roomType_ = roomType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.version_ = version_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo.getDefaultInstance()) return this; + if (other.getRoomType() != 0) { + setRoomType(other.getRoomType()); + } + if (other.getVersion() != 0) { + setVersion(other.getVersion()); + } + if (frameworkInfosBuilder_ == null) { + if (!other.frameworkInfos_.isEmpty()) { + if (frameworkInfos_.isEmpty()) { + frameworkInfos_ = other.frameworkInfos_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureFrameworkInfosIsMutable(); + frameworkInfos_.addAll(other.frameworkInfos_); + } + onChanged(); + } + } else { + if (!other.frameworkInfos_.isEmpty()) { + if (frameworkInfosBuilder_.isEmpty()) { + frameworkInfosBuilder_.dispose(); + frameworkInfosBuilder_ = null; + frameworkInfos_ = other.frameworkInfos_; + bitField0_ = (bitField0_ & ~0x00000004); + frameworkInfosBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFrameworkInfosFieldBuilder() : null; + } else { + frameworkInfosBuilder_.addAllMessages(other.frameworkInfos_); + } + } + } + if (anchorInfosBuilder_ == null) { + if (!other.anchorInfos_.isEmpty()) { + if (anchorInfos_.isEmpty()) { + anchorInfos_ = other.anchorInfos_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureAnchorInfosIsMutable(); + anchorInfos_.addAll(other.anchorInfos_); + } + onChanged(); + } + } else { + if (!other.anchorInfos_.isEmpty()) { + if (anchorInfosBuilder_.isEmpty()) { + anchorInfosBuilder_.dispose(); + anchorInfosBuilder_ = null; + anchorInfos_ = other.anchorInfos_; + bitField0_ = (bitField0_ & ~0x00000008); + anchorInfosBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAnchorInfosFieldBuilder() : null; + } else { + anchorInfosBuilder_.addAllMessages(other.anchorInfos_); + } + } + } + if (crafterBeaconPosBuilder_ == null) { + if (!other.crafterBeaconPos_.isEmpty()) { + if (crafterBeaconPos_.isEmpty()) { + crafterBeaconPos_ = other.crafterBeaconPos_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureCrafterBeaconPosIsMutable(); + crafterBeaconPos_.addAll(other.crafterBeaconPos_); + } + onChanged(); + } + } else { + if (!other.crafterBeaconPos_.isEmpty()) { + if (crafterBeaconPosBuilder_.isEmpty()) { + crafterBeaconPosBuilder_.dispose(); + crafterBeaconPosBuilder_ = null; + crafterBeaconPos_ = other.crafterBeaconPos_; + bitField0_ = (bitField0_ & ~0x00000010); + crafterBeaconPosBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCrafterBeaconPosFieldBuilder() : null; + } else { + crafterBeaconPosBuilder_.addAllMessages(other.crafterBeaconPos_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + roomType_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + version_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.parser(), + extensionRegistry); + if (frameworkInfosBuilder_ == null) { + ensureFrameworkInfosIsMutable(); + frameworkInfos_.add(m); + } else { + frameworkInfosBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.parser(), + extensionRegistry); + if (anchorInfosBuilder_ == null) { + ensureAnchorInfosIsMutable(); + anchorInfos_.add(m); + } else { + anchorInfosBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.parser(), + extensionRegistry); + if (crafterBeaconPosBuilder_ == null) { + ensureCrafterBeaconPosIsMutable(); + crafterBeaconPos_.add(m); + } else { + crafterBeaconPosBuilder_.addMessage(m); + } + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int roomType_ ; + /** + * int32 roomType = 1; + * @return The roomType. + */ + @java.lang.Override + public int getRoomType() { + return roomType_; + } + /** + * int32 roomType = 1; + * @param value The roomType to set. + * @return This builder for chaining. + */ + public Builder setRoomType(int value) { + + roomType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 roomType = 1; + * @return This builder for chaining. + */ + public Builder clearRoomType() { + bitField0_ = (bitField0_ & ~0x00000001); + roomType_ = 0; + onChanged(); + return this; + } + + private int version_ ; + /** + * int32 version = 2; + * @return The version. + */ + @java.lang.Override + public int getVersion() { + return version_; + } + /** + * int32 version = 2; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion(int value) { + + version_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 version = 2; + * @return This builder for chaining. + */ + public Builder clearVersion() { + bitField0_ = (bitField0_ & ~0x00000002); + version_ = 0; + onChanged(); + return this; + } + + private java.util.List frameworkInfos_ = + java.util.Collections.emptyList(); + private void ensureFrameworkInfosIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + frameworkInfos_ = new java.util.ArrayList(frameworkInfos_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfoOrBuilder> frameworkInfosBuilder_; + + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public java.util.List getFrameworkInfosList() { + if (frameworkInfosBuilder_ == null) { + return java.util.Collections.unmodifiableList(frameworkInfos_); + } else { + return frameworkInfosBuilder_.getMessageList(); + } + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public int getFrameworkInfosCount() { + if (frameworkInfosBuilder_ == null) { + return frameworkInfos_.size(); + } else { + return frameworkInfosBuilder_.getCount(); + } + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo getFrameworkInfos(int index) { + if (frameworkInfosBuilder_ == null) { + return frameworkInfos_.get(index); + } else { + return frameworkInfosBuilder_.getMessage(index); + } + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public Builder setFrameworkInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo value) { + if (frameworkInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFrameworkInfosIsMutable(); + frameworkInfos_.set(index, value); + onChanged(); + } else { + frameworkInfosBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public Builder setFrameworkInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.Builder builderForValue) { + if (frameworkInfosBuilder_ == null) { + ensureFrameworkInfosIsMutable(); + frameworkInfos_.set(index, builderForValue.build()); + onChanged(); + } else { + frameworkInfosBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public Builder addFrameworkInfos(com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo value) { + if (frameworkInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFrameworkInfosIsMutable(); + frameworkInfos_.add(value); + onChanged(); + } else { + frameworkInfosBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public Builder addFrameworkInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo value) { + if (frameworkInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFrameworkInfosIsMutable(); + frameworkInfos_.add(index, value); + onChanged(); + } else { + frameworkInfosBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public Builder addFrameworkInfos( + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.Builder builderForValue) { + if (frameworkInfosBuilder_ == null) { + ensureFrameworkInfosIsMutable(); + frameworkInfos_.add(builderForValue.build()); + onChanged(); + } else { + frameworkInfosBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public Builder addFrameworkInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.Builder builderForValue) { + if (frameworkInfosBuilder_ == null) { + ensureFrameworkInfosIsMutable(); + frameworkInfos_.add(index, builderForValue.build()); + onChanged(); + } else { + frameworkInfosBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public Builder addAllFrameworkInfos( + java.lang.Iterable values) { + if (frameworkInfosBuilder_ == null) { + ensureFrameworkInfosIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frameworkInfos_); + onChanged(); + } else { + frameworkInfosBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public Builder clearFrameworkInfos() { + if (frameworkInfosBuilder_ == null) { + frameworkInfos_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + frameworkInfosBuilder_.clear(); + } + return this; + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public Builder removeFrameworkInfos(int index) { + if (frameworkInfosBuilder_ == null) { + ensureFrameworkInfosIsMutable(); + frameworkInfos_.remove(index); + onChanged(); + } else { + frameworkInfosBuilder_.remove(index); + } + return this; + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.Builder getFrameworkInfosBuilder( + int index) { + return getFrameworkInfosFieldBuilder().getBuilder(index); + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfoOrBuilder getFrameworkInfosOrBuilder( + int index) { + if (frameworkInfosBuilder_ == null) { + return frameworkInfos_.get(index); } else { + return frameworkInfosBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public java.util.List + getFrameworkInfosOrBuilderList() { + if (frameworkInfosBuilder_ != null) { + return frameworkInfosBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(frameworkInfos_); + } + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.Builder addFrameworkInfosBuilder() { + return getFrameworkInfosFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.getDefaultInstance()); + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.Builder addFrameworkInfosBuilder( + int index) { + return getFrameworkInfosFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.getDefaultInstance()); + } + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + public java.util.List + getFrameworkInfosBuilderList() { + return getFrameworkInfosFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfoOrBuilder> + getFrameworkInfosFieldBuilder() { + if (frameworkInfosBuilder_ == null) { + frameworkInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfoOrBuilder>( + frameworkInfos_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + frameworkInfos_ = null; + } + return frameworkInfosBuilder_; + } + + private java.util.List anchorInfos_ = + java.util.Collections.emptyList(); + private void ensureAnchorInfosIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + anchorInfos_ = new java.util.ArrayList(anchorInfos_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfoOrBuilder> anchorInfosBuilder_; + + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public java.util.List getAnchorInfosList() { + if (anchorInfosBuilder_ == null) { + return java.util.Collections.unmodifiableList(anchorInfos_); + } else { + return anchorInfosBuilder_.getMessageList(); + } + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public int getAnchorInfosCount() { + if (anchorInfosBuilder_ == null) { + return anchorInfos_.size(); + } else { + return anchorInfosBuilder_.getCount(); + } + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo getAnchorInfos(int index) { + if (anchorInfosBuilder_ == null) { + return anchorInfos_.get(index); + } else { + return anchorInfosBuilder_.getMessage(index); + } + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public Builder setAnchorInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo value) { + if (anchorInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAnchorInfosIsMutable(); + anchorInfos_.set(index, value); + onChanged(); + } else { + anchorInfosBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public Builder setAnchorInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.Builder builderForValue) { + if (anchorInfosBuilder_ == null) { + ensureAnchorInfosIsMutable(); + anchorInfos_.set(index, builderForValue.build()); + onChanged(); + } else { + anchorInfosBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public Builder addAnchorInfos(com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo value) { + if (anchorInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAnchorInfosIsMutable(); + anchorInfos_.add(value); + onChanged(); + } else { + anchorInfosBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public Builder addAnchorInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo value) { + if (anchorInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAnchorInfosIsMutable(); + anchorInfos_.add(index, value); + onChanged(); + } else { + anchorInfosBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public Builder addAnchorInfos( + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.Builder builderForValue) { + if (anchorInfosBuilder_ == null) { + ensureAnchorInfosIsMutable(); + anchorInfos_.add(builderForValue.build()); + onChanged(); + } else { + anchorInfosBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public Builder addAnchorInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.Builder builderForValue) { + if (anchorInfosBuilder_ == null) { + ensureAnchorInfosIsMutable(); + anchorInfos_.add(index, builderForValue.build()); + onChanged(); + } else { + anchorInfosBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public Builder addAllAnchorInfos( + java.lang.Iterable values) { + if (anchorInfosBuilder_ == null) { + ensureAnchorInfosIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, anchorInfos_); + onChanged(); + } else { + anchorInfosBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public Builder clearAnchorInfos() { + if (anchorInfosBuilder_ == null) { + anchorInfos_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + anchorInfosBuilder_.clear(); + } + return this; + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public Builder removeAnchorInfos(int index) { + if (anchorInfosBuilder_ == null) { + ensureAnchorInfosIsMutable(); + anchorInfos_.remove(index); + onChanged(); + } else { + anchorInfosBuilder_.remove(index); + } + return this; + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.Builder getAnchorInfosBuilder( + int index) { + return getAnchorInfosFieldBuilder().getBuilder(index); + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfoOrBuilder getAnchorInfosOrBuilder( + int index) { + if (anchorInfosBuilder_ == null) { + return anchorInfos_.get(index); } else { + return anchorInfosBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public java.util.List + getAnchorInfosOrBuilderList() { + if (anchorInfosBuilder_ != null) { + return anchorInfosBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(anchorInfos_); + } + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.Builder addAnchorInfosBuilder() { + return getAnchorInfosFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.getDefaultInstance()); + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.Builder addAnchorInfosBuilder( + int index) { + return getAnchorInfosFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.getDefaultInstance()); + } + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + public java.util.List + getAnchorInfosBuilderList() { + return getAnchorInfosFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfoOrBuilder> + getAnchorInfosFieldBuilder() { + if (anchorInfosBuilder_ == null) { + anchorInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfoOrBuilder>( + anchorInfos_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + anchorInfos_ = null; + } + return anchorInfosBuilder_; + } + + private java.util.List crafterBeaconPos_ = + java.util.Collections.emptyList(); + private void ensureCrafterBeaconPosIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + crafterBeaconPos_ = new java.util.ArrayList(crafterBeaconPos_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.Builder, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPosOrBuilder> crafterBeaconPosBuilder_; + + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public java.util.List getCrafterBeaconPosList() { + if (crafterBeaconPosBuilder_ == null) { + return java.util.Collections.unmodifiableList(crafterBeaconPos_); + } else { + return crafterBeaconPosBuilder_.getMessageList(); + } + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public int getCrafterBeaconPosCount() { + if (crafterBeaconPosBuilder_ == null) { + return crafterBeaconPos_.size(); + } else { + return crafterBeaconPosBuilder_.getCount(); + } + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos getCrafterBeaconPos(int index) { + if (crafterBeaconPosBuilder_ == null) { + return crafterBeaconPos_.get(index); + } else { + return crafterBeaconPosBuilder_.getMessage(index); + } + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public Builder setCrafterBeaconPos( + int index, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos value) { + if (crafterBeaconPosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCrafterBeaconPosIsMutable(); + crafterBeaconPos_.set(index, value); + onChanged(); + } else { + crafterBeaconPosBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public Builder setCrafterBeaconPos( + int index, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.Builder builderForValue) { + if (crafterBeaconPosBuilder_ == null) { + ensureCrafterBeaconPosIsMutable(); + crafterBeaconPos_.set(index, builderForValue.build()); + onChanged(); + } else { + crafterBeaconPosBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public Builder addCrafterBeaconPos(com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos value) { + if (crafterBeaconPosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCrafterBeaconPosIsMutable(); + crafterBeaconPos_.add(value); + onChanged(); + } else { + crafterBeaconPosBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public Builder addCrafterBeaconPos( + int index, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos value) { + if (crafterBeaconPosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCrafterBeaconPosIsMutable(); + crafterBeaconPos_.add(index, value); + onChanged(); + } else { + crafterBeaconPosBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public Builder addCrafterBeaconPos( + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.Builder builderForValue) { + if (crafterBeaconPosBuilder_ == null) { + ensureCrafterBeaconPosIsMutable(); + crafterBeaconPos_.add(builderForValue.build()); + onChanged(); + } else { + crafterBeaconPosBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public Builder addCrafterBeaconPos( + int index, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.Builder builderForValue) { + if (crafterBeaconPosBuilder_ == null) { + ensureCrafterBeaconPosIsMutable(); + crafterBeaconPos_.add(index, builderForValue.build()); + onChanged(); + } else { + crafterBeaconPosBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public Builder addAllCrafterBeaconPos( + java.lang.Iterable values) { + if (crafterBeaconPosBuilder_ == null) { + ensureCrafterBeaconPosIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, crafterBeaconPos_); + onChanged(); + } else { + crafterBeaconPosBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public Builder clearCrafterBeaconPos() { + if (crafterBeaconPosBuilder_ == null) { + crafterBeaconPos_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + crafterBeaconPosBuilder_.clear(); + } + return this; + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public Builder removeCrafterBeaconPos(int index) { + if (crafterBeaconPosBuilder_ == null) { + ensureCrafterBeaconPosIsMutable(); + crafterBeaconPos_.remove(index); + onChanged(); + } else { + crafterBeaconPosBuilder_.remove(index); + } + return this; + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.Builder getCrafterBeaconPosBuilder( + int index) { + return getCrafterBeaconPosFieldBuilder().getBuilder(index); + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPosOrBuilder getCrafterBeaconPosOrBuilder( + int index) { + if (crafterBeaconPosBuilder_ == null) { + return crafterBeaconPos_.get(index); } else { + return crafterBeaconPosBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public java.util.List + getCrafterBeaconPosOrBuilderList() { + if (crafterBeaconPosBuilder_ != null) { + return crafterBeaconPosBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(crafterBeaconPos_); + } + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.Builder addCrafterBeaconPosBuilder() { + return getCrafterBeaconPosFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.getDefaultInstance()); + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.Builder addCrafterBeaconPosBuilder( + int index) { + return getCrafterBeaconPosFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.getDefaultInstance()); + } + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + public java.util.List + getCrafterBeaconPosBuilderList() { + return getCrafterBeaconPosFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.Builder, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPosOrBuilder> + getCrafterBeaconPosFieldBuilder() { + if (crafterBeaconPosBuilder_ == null) { + crafterBeaconPosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos.Builder, com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPosOrBuilder>( + crafterBeaconPos_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + crafterBeaconPos_ = null; + } + return crafterBeaconPosBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:MyhomeUgcInfo) + } + + // @@protoc_insertion_point(class_scope:MyhomeUgcInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MyhomeUgcInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyhomeUgcInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyhomeUgcInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyhomeUgcInfoOrBuilder.java new file mode 100644 index 0000000..90dbbc9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/MyhomeUgcInfoOrBuilder.java @@ -0,0 +1,93 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface MyhomeUgcInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:MyhomeUgcInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 roomType = 1; + * @return The roomType. + */ + int getRoomType(); + + /** + * int32 version = 2; + * @return The version. + */ + int getVersion(); + + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + java.util.List + getFrameworkInfosList(); + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo getFrameworkInfos(int index); + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + int getFrameworkInfosCount(); + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + java.util.List + getFrameworkInfosOrBuilderList(); + /** + * repeated .UgcFrameworkInfo frameworkInfos = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfoOrBuilder getFrameworkInfosOrBuilder( + int index); + + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + java.util.List + getAnchorInfosList(); + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo getAnchorInfos(int index); + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + int getAnchorInfosCount(); + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + java.util.List + getAnchorInfosOrBuilderList(); + /** + * repeated .UgcAnchorInfo anchorInfos = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfoOrBuilder getAnchorInfosOrBuilder( + int index); + + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + java.util.List + getCrafterBeaconPosList(); + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPos getCrafterBeaconPos(int index); + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + int getCrafterBeaconPosCount(); + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + java.util.List + getCrafterBeaconPosOrBuilderList(); + /** + * repeated .CrafterBeaconPos crafterBeaconPos = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.CrafterBeaconPosOrBuilder getCrafterBeaconPosOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OperationSystemMessage.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OperationSystemMessage.java new file mode 100644 index 0000000..0cf1dbf --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OperationSystemMessage.java @@ -0,0 +1,638 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code OperationSystemMessage} + */ +public final class OperationSystemMessage extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:OperationSystemMessage) + OperationSystemMessageOrBuilder { +private static final long serialVersionUID = 0L; + // Use OperationSystemMessage.newBuilder() to construct. + private OperationSystemMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private OperationSystemMessage() { + languageType_ = 0; + text_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new OperationSystemMessage(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_OperationSystemMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_OperationSystemMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.class, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder.class); + } + + public static final int LANGUAGETYPE_FIELD_NUMBER = 1; + private int languageType_ = 0; + /** + * .LanguageType languageType = 1; + * @return The enum numeric value on the wire for languageType. + */ + @java.lang.Override public int getLanguageTypeValue() { + return languageType_; + } + /** + * .LanguageType languageType = 1; + * @return The languageType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.LanguageType getLanguageType() { + com.caliverse.admin.domain.RabbitMq.message.LanguageType result = com.caliverse.admin.domain.RabbitMq.message.LanguageType.forNumber(languageType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.LanguageType.UNRECOGNIZED : result; + } + + public static final int TEXT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object text_ = ""; + /** + * string text = 2; + * @return The text. + */ + @java.lang.Override + public java.lang.String getText() { + java.lang.Object ref = text_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + text_ = s; + return s; + } + } + /** + * string text = 2; + * @return The bytes for text. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTextBytes() { + java.lang.Object ref = text_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + text_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (languageType_ != com.caliverse.admin.domain.RabbitMq.message.LanguageType.LanguageType_None.getNumber()) { + output.writeEnum(1, languageType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, text_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (languageType_ != com.caliverse.admin.domain.RabbitMq.message.LanguageType.LanguageType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, languageType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, text_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage other = (com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage) obj; + + if (languageType_ != other.languageType_) return false; + if (!getText() + .equals(other.getText())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LANGUAGETYPE_FIELD_NUMBER; + hash = (53 * hash) + languageType_; + hash = (37 * hash) + TEXT_FIELD_NUMBER; + hash = (53 * hash) + getText().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code OperationSystemMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:OperationSystemMessage) + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_OperationSystemMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_OperationSystemMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.class, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + languageType_ = 0; + text_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_OperationSystemMessage_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage build() { + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage result = new com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.languageType_ = languageType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.text_ = text_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.getDefaultInstance()) return this; + if (other.languageType_ != 0) { + setLanguageTypeValue(other.getLanguageTypeValue()); + } + if (!other.getText().isEmpty()) { + text_ = other.text_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + languageType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + text_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int languageType_ = 0; + /** + * .LanguageType languageType = 1; + * @return The enum numeric value on the wire for languageType. + */ + @java.lang.Override public int getLanguageTypeValue() { + return languageType_; + } + /** + * .LanguageType languageType = 1; + * @param value The enum numeric value on the wire for languageType to set. + * @return This builder for chaining. + */ + public Builder setLanguageTypeValue(int value) { + languageType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .LanguageType languageType = 1; + * @return The languageType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LanguageType getLanguageType() { + com.caliverse.admin.domain.RabbitMq.message.LanguageType result = com.caliverse.admin.domain.RabbitMq.message.LanguageType.forNumber(languageType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.LanguageType.UNRECOGNIZED : result; + } + /** + * .LanguageType languageType = 1; + * @param value The languageType to set. + * @return This builder for chaining. + */ + public Builder setLanguageType(com.caliverse.admin.domain.RabbitMq.message.LanguageType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + languageType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .LanguageType languageType = 1; + * @return This builder for chaining. + */ + public Builder clearLanguageType() { + bitField0_ = (bitField0_ & ~0x00000001); + languageType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object text_ = ""; + /** + * string text = 2; + * @return The text. + */ + public java.lang.String getText() { + java.lang.Object ref = text_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + text_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string text = 2; + * @return The bytes for text. + */ + public com.google.protobuf.ByteString + getTextBytes() { + java.lang.Object ref = text_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + text_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string text = 2; + * @param value The text to set. + * @return This builder for chaining. + */ + public Builder setText( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + text_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string text = 2; + * @return This builder for chaining. + */ + public Builder clearText() { + text_ = getDefaultInstance().getText(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string text = 2; + * @param value The bytes for text to set. + * @return This builder for chaining. + */ + public Builder setTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + text_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:OperationSystemMessage) + } + + // @@protoc_insertion_point(class_scope:OperationSystemMessage) + private static final com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationSystemMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OperationSystemMessageOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OperationSystemMessageOrBuilder.java new file mode 100644 index 0000000..e44160d --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OperationSystemMessageOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface OperationSystemMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:OperationSystemMessage) + com.google.protobuf.MessageOrBuilder { + + /** + * .LanguageType languageType = 1; + * @return The enum numeric value on the wire for languageType. + */ + int getLanguageTypeValue(); + /** + * .LanguageType languageType = 1; + * @return The languageType. + */ + com.caliverse.admin.domain.RabbitMq.message.LanguageType getLanguageType(); + + /** + * string text = 2; + * @return The text. + */ + java.lang.String getText(); + /** + * string text = 2; + * @return The bytes for text. + */ + com.google.protobuf.ByteString + getTextBytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OsType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OsType.java new file mode 100644 index 0000000..c40ea21 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OsType.java @@ -0,0 +1,135 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * Os 
+ * 
+ * + * Protobuf enum {@code OsType} + */ +public enum OsType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * OsType_None = 0; + */ + OsType_None(0), + /** + * OsType_MsWindows = 1; + */ + OsType_MsWindows(1), + /** + * OsType_Android = 2; + */ + OsType_Android(2), + /** + * OsType_Ios = 3; + */ + OsType_Ios(3), + UNRECOGNIZED(-1), + ; + + /** + * OsType_None = 0; + */ + public static final int OsType_None_VALUE = 0; + /** + * OsType_MsWindows = 1; + */ + public static final int OsType_MsWindows_VALUE = 1; + /** + * OsType_Android = 2; + */ + public static final int OsType_Android_VALUE = 2; + /** + * OsType_Ios = 3; + */ + public static final int OsType_Ios_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static OsType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static OsType forNumber(int value) { + switch (value) { + case 0: return OsType_None; + case 1: return OsType_MsWindows; + case 2: return OsType_Android; + case 3: return OsType_Ios; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + OsType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public OsType findValueByNumber(int number) { + return OsType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(8); + } + + private static final OsType[] VALUES = values(); + + public static OsType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private OsType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:OsType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OwnedRentalInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OwnedRentalInfo.java new file mode 100644 index 0000000..b777c2e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OwnedRentalInfo.java @@ -0,0 +1,923 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code OwnedRentalInfo} + */ +public final class OwnedRentalInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:OwnedRentalInfo) + OwnedRentalInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use OwnedRentalInfo.newBuilder() to construct. + private OwnedRentalInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private OwnedRentalInfo() { + myhomeGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new OwnedRentalInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_OwnedRentalInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_OwnedRentalInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.class, com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.Builder.class); + } + + public static final int LANDID_FIELD_NUMBER = 1; + private int landId_ = 0; + /** + * int32 landId = 1; + * @return The landId. + */ + @java.lang.Override + public int getLandId() { + return landId_; + } + + public static final int BUILDINGID_FIELD_NUMBER = 2; + private int buildingId_ = 0; + /** + * int32 buildingId = 2; + * @return The buildingId. + */ + @java.lang.Override + public int getBuildingId() { + return buildingId_; + } + + public static final int FLOOR_FIELD_NUMBER = 3; + private int floor_ = 0; + /** + * int32 floor = 3; + * @return The floor. + */ + @java.lang.Override + public int getFloor() { + return floor_; + } + + public static final int MYHOMEGUID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object myhomeGuid_ = ""; + /** + * string myhomeGuid = 4; + * @return The myhomeGuid. + */ + @java.lang.Override + public java.lang.String getMyhomeGuid() { + java.lang.Object ref = myhomeGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + myhomeGuid_ = s; + return s; + } + } + /** + * string myhomeGuid = 4; + * @return The bytes for myhomeGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMyhomeGuidBytes() { + java.lang.Object ref = myhomeGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + myhomeGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RENTALFINISHTIME_FIELD_NUMBER = 5; + private com.google.protobuf.Timestamp rentalFinishTime_; + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + * @return Whether the rentalFinishTime field is set. + */ + @java.lang.Override + public boolean hasRentalFinishTime() { + return rentalFinishTime_ != null; + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + * @return The rentalFinishTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getRentalFinishTime() { + return rentalFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rentalFinishTime_; + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getRentalFinishTimeOrBuilder() { + return rentalFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rentalFinishTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (landId_ != 0) { + output.writeInt32(1, landId_); + } + if (buildingId_ != 0) { + output.writeInt32(2, buildingId_); + } + if (floor_ != 0) { + output.writeInt32(3, floor_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(myhomeGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, myhomeGuid_); + } + if (rentalFinishTime_ != null) { + output.writeMessage(5, getRentalFinishTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (landId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, landId_); + } + if (buildingId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, buildingId_); + } + if (floor_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, floor_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(myhomeGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, myhomeGuid_); + } + if (rentalFinishTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRentalFinishTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo other = (com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo) obj; + + if (getLandId() + != other.getLandId()) return false; + if (getBuildingId() + != other.getBuildingId()) return false; + if (getFloor() + != other.getFloor()) return false; + if (!getMyhomeGuid() + .equals(other.getMyhomeGuid())) return false; + if (hasRentalFinishTime() != other.hasRentalFinishTime()) return false; + if (hasRentalFinishTime()) { + if (!getRentalFinishTime() + .equals(other.getRentalFinishTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LANDID_FIELD_NUMBER; + hash = (53 * hash) + getLandId(); + hash = (37 * hash) + BUILDINGID_FIELD_NUMBER; + hash = (53 * hash) + getBuildingId(); + hash = (37 * hash) + FLOOR_FIELD_NUMBER; + hash = (53 * hash) + getFloor(); + hash = (37 * hash) + MYHOMEGUID_FIELD_NUMBER; + hash = (53 * hash) + getMyhomeGuid().hashCode(); + if (hasRentalFinishTime()) { + hash = (37 * hash) + RENTALFINISHTIME_FIELD_NUMBER; + hash = (53 * hash) + getRentalFinishTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code OwnedRentalInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:OwnedRentalInfo) + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_OwnedRentalInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_OwnedRentalInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.class, com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + landId_ = 0; + buildingId_ = 0; + floor_ = 0; + myhomeGuid_ = ""; + rentalFinishTime_ = null; + if (rentalFinishTimeBuilder_ != null) { + rentalFinishTimeBuilder_.dispose(); + rentalFinishTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_OwnedRentalInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo build() { + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo result = new com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.landId_ = landId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.buildingId_ = buildingId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.floor_ = floor_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.myhomeGuid_ = myhomeGuid_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.rentalFinishTime_ = rentalFinishTimeBuilder_ == null + ? rentalFinishTime_ + : rentalFinishTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo.getDefaultInstance()) return this; + if (other.getLandId() != 0) { + setLandId(other.getLandId()); + } + if (other.getBuildingId() != 0) { + setBuildingId(other.getBuildingId()); + } + if (other.getFloor() != 0) { + setFloor(other.getFloor()); + } + if (!other.getMyhomeGuid().isEmpty()) { + myhomeGuid_ = other.myhomeGuid_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasRentalFinishTime()) { + mergeRentalFinishTime(other.getRentalFinishTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + landId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + buildingId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + floor_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + myhomeGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getRentalFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int landId_ ; + /** + * int32 landId = 1; + * @return The landId. + */ + @java.lang.Override + public int getLandId() { + return landId_; + } + /** + * int32 landId = 1; + * @param value The landId to set. + * @return This builder for chaining. + */ + public Builder setLandId(int value) { + + landId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 landId = 1; + * @return This builder for chaining. + */ + public Builder clearLandId() { + bitField0_ = (bitField0_ & ~0x00000001); + landId_ = 0; + onChanged(); + return this; + } + + private int buildingId_ ; + /** + * int32 buildingId = 2; + * @return The buildingId. + */ + @java.lang.Override + public int getBuildingId() { + return buildingId_; + } + /** + * int32 buildingId = 2; + * @param value The buildingId to set. + * @return This builder for chaining. + */ + public Builder setBuildingId(int value) { + + buildingId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 buildingId = 2; + * @return This builder for chaining. + */ + public Builder clearBuildingId() { + bitField0_ = (bitField0_ & ~0x00000002); + buildingId_ = 0; + onChanged(); + return this; + } + + private int floor_ ; + /** + * int32 floor = 3; + * @return The floor. + */ + @java.lang.Override + public int getFloor() { + return floor_; + } + /** + * int32 floor = 3; + * @param value The floor to set. + * @return This builder for chaining. + */ + public Builder setFloor(int value) { + + floor_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 floor = 3; + * @return This builder for chaining. + */ + public Builder clearFloor() { + bitField0_ = (bitField0_ & ~0x00000004); + floor_ = 0; + onChanged(); + return this; + } + + private java.lang.Object myhomeGuid_ = ""; + /** + * string myhomeGuid = 4; + * @return The myhomeGuid. + */ + public java.lang.String getMyhomeGuid() { + java.lang.Object ref = myhomeGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + myhomeGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string myhomeGuid = 4; + * @return The bytes for myhomeGuid. + */ + public com.google.protobuf.ByteString + getMyhomeGuidBytes() { + java.lang.Object ref = myhomeGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + myhomeGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string myhomeGuid = 4; + * @param value The myhomeGuid to set. + * @return This builder for chaining. + */ + public Builder setMyhomeGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + myhomeGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string myhomeGuid = 4; + * @return This builder for chaining. + */ + public Builder clearMyhomeGuid() { + myhomeGuid_ = getDefaultInstance().getMyhomeGuid(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string myhomeGuid = 4; + * @param value The bytes for myhomeGuid to set. + * @return This builder for chaining. + */ + public Builder setMyhomeGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + myhomeGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp rentalFinishTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> rentalFinishTimeBuilder_; + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + * @return Whether the rentalFinishTime field is set. + */ + public boolean hasRentalFinishTime() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + * @return The rentalFinishTime. + */ + public com.google.protobuf.Timestamp getRentalFinishTime() { + if (rentalFinishTimeBuilder_ == null) { + return rentalFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rentalFinishTime_; + } else { + return rentalFinishTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + */ + public Builder setRentalFinishTime(com.google.protobuf.Timestamp value) { + if (rentalFinishTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rentalFinishTime_ = value; + } else { + rentalFinishTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + */ + public Builder setRentalFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (rentalFinishTimeBuilder_ == null) { + rentalFinishTime_ = builderForValue.build(); + } else { + rentalFinishTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + */ + public Builder mergeRentalFinishTime(com.google.protobuf.Timestamp value) { + if (rentalFinishTimeBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + rentalFinishTime_ != null && + rentalFinishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getRentalFinishTimeBuilder().mergeFrom(value); + } else { + rentalFinishTime_ = value; + } + } else { + rentalFinishTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + */ + public Builder clearRentalFinishTime() { + bitField0_ = (bitField0_ & ~0x00000010); + rentalFinishTime_ = null; + if (rentalFinishTimeBuilder_ != null) { + rentalFinishTimeBuilder_.dispose(); + rentalFinishTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + */ + public com.google.protobuf.Timestamp.Builder getRentalFinishTimeBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getRentalFinishTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + */ + public com.google.protobuf.TimestampOrBuilder getRentalFinishTimeOrBuilder() { + if (rentalFinishTimeBuilder_ != null) { + return rentalFinishTimeBuilder_.getMessageOrBuilder(); + } else { + return rentalFinishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : rentalFinishTime_; + } + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getRentalFinishTimeFieldBuilder() { + if (rentalFinishTimeBuilder_ == null) { + rentalFinishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRentalFinishTime(), + getParentForChildren(), + isClean()); + rentalFinishTime_ = null; + } + return rentalFinishTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:OwnedRentalInfo) + } + + // @@protoc_insertion_point(class_scope:OwnedRentalInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OwnedRentalInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OwnedRentalInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OwnedRentalInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OwnedRentalInfoOrBuilder.java new file mode 100644 index 0000000..f22507e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OwnedRentalInfoOrBuilder.java @@ -0,0 +1,54 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface OwnedRentalInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:OwnedRentalInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 landId = 1; + * @return The landId. + */ + int getLandId(); + + /** + * int32 buildingId = 2; + * @return The buildingId. + */ + int getBuildingId(); + + /** + * int32 floor = 3; + * @return The floor. + */ + int getFloor(); + + /** + * string myhomeGuid = 4; + * @return The myhomeGuid. + */ + java.lang.String getMyhomeGuid(); + /** + * string myhomeGuid = 4; + * @return The bytes for myhomeGuid. + */ + com.google.protobuf.ByteString + getMyhomeGuidBytes(); + + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + * @return Whether the rentalFinishTime field is set. + */ + boolean hasRentalFinishTime(); + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + * @return The rentalFinishTime. + */ + com.google.protobuf.Timestamp getRentalFinishTime(); + /** + * .google.protobuf.Timestamp rentalFinishTime = 5; + */ + com.google.protobuf.TimestampOrBuilder getRentalFinishTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OwnedType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OwnedType.java new file mode 100644 index 0000000..1f464bf --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OwnedType.java @@ -0,0 +1,142 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  
+ * 
+ * + * Protobuf enum {@code OwnedType} + */ +public enum OwnedType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * OwnedType_None = 0; + */ + OwnedType_None(0), + /** + *
+   * 
+   * 
+ * + * OwnedType_Own = 1; + */ + OwnedType_Own(1), + /** + *
+   * 
+   * 
+ * + * OwnedType_Rent = 2; + */ + OwnedType_Rent(2), + UNRECOGNIZED(-1), + ; + + /** + * OwnedType_None = 0; + */ + public static final int OwnedType_None_VALUE = 0; + /** + *
+   * 
+   * 
+ * + * OwnedType_Own = 1; + */ + public static final int OwnedType_Own_VALUE = 1; + /** + *
+   * 
+   * 
+ * + * OwnedType_Rent = 2; + */ + public static final int OwnedType_Rent_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static OwnedType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static OwnedType forNumber(int value) { + switch (value) { + case 0: return OwnedType_None; + case 1: return OwnedType_Own; + case 2: return OwnedType_Rent; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + OwnedType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public OwnedType findValueByNumber(int number) { + return OwnedType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(26); + } + + private static final OwnedType[] VALUES = values(); + + public static OwnedType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private OwnedType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:OwnedType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OwnerEntityType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OwnerEntityType.java new file mode 100644 index 0000000..9970fdc --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/OwnerEntityType.java @@ -0,0 +1,146 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *=============================================================================================
+ * OwnerEntityType 
+ *=============================================================================================
+ * 
+ * + * Protobuf enum {@code OwnerEntityType} + */ +public enum OwnerEntityType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * OwnerEntityType_None = 0; + */ + OwnerEntityType_None(0), + /** + * OwnerEntityType_User = 1; + */ + OwnerEntityType_User(1), + /** + * OwnerEntityType_Character = 2; + */ + OwnerEntityType_Character(2), + /** + * OwnerEntityType_UgcNpc = 3; + */ + OwnerEntityType_UgcNpc(3), + /** + * OwnerEntityType_Myhome = 4; + */ + OwnerEntityType_Myhome(4), + UNRECOGNIZED(-1), + ; + + /** + * OwnerEntityType_None = 0; + */ + public static final int OwnerEntityType_None_VALUE = 0; + /** + * OwnerEntityType_User = 1; + */ + public static final int OwnerEntityType_User_VALUE = 1; + /** + * OwnerEntityType_Character = 2; + */ + public static final int OwnerEntityType_Character_VALUE = 2; + /** + * OwnerEntityType_UgcNpc = 3; + */ + public static final int OwnerEntityType_UgcNpc_VALUE = 3; + /** + * OwnerEntityType_Myhome = 4; + */ + public static final int OwnerEntityType_Myhome_VALUE = 4; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static OwnerEntityType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static OwnerEntityType forNumber(int value) { + switch (value) { + case 0: return OwnerEntityType_None; + case 1: return OwnerEntityType_User; + case 2: return OwnerEntityType_Character; + case 3: return OwnerEntityType_UgcNpc; + case 4: return OwnerEntityType_Myhome; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + OwnerEntityType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public OwnerEntityType findValueByNumber(int number) { + return OwnerEntityType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(3); + } + + private static final OwnerEntityType[] VALUES = values(); + + public static OwnerEntityType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private OwnerEntityType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:OwnerEntityType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/P2PGroupType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/P2PGroupType.java new file mode 100644 index 0000000..d38a205 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/P2PGroupType.java @@ -0,0 +1,490 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code P2PGroupType} + */ +public final class P2PGroupType extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:P2PGroupType) + P2PGroupTypeOrBuilder { +private static final long serialVersionUID = 0L; + // Use P2PGroupType.newBuilder() to construct. + private P2PGroupType(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private P2PGroupType() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new P2PGroupType(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_P2PGroupType_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_P2PGroupType_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.P2PGroupType.class, com.caliverse.admin.domain.RabbitMq.message.P2PGroupType.Builder.class); + } + + public static final int TYPE_FIELD_NUMBER = 1; + private int type_ = 0; + /** + *
+   * 1 Grid, 2 Map
+   * 
+ * + * int32 Type = 1; + * @return The type. + */ + @java.lang.Override + public int getType() { + return type_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != 0) { + output.writeInt32(1, type_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (type_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, type_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.P2PGroupType)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.P2PGroupType other = (com.caliverse.admin.domain.RabbitMq.message.P2PGroupType) obj; + + if (getType() + != other.getType()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.P2PGroupType prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code P2PGroupType} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:P2PGroupType) + com.caliverse.admin.domain.RabbitMq.message.P2PGroupTypeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_P2PGroupType_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_P2PGroupType_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.P2PGroupType.class, com.caliverse.admin.domain.RabbitMq.message.P2PGroupType.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.P2PGroupType.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + type_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_P2PGroupType_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.P2PGroupType getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.P2PGroupType.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.P2PGroupType build() { + com.caliverse.admin.domain.RabbitMq.message.P2PGroupType result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.P2PGroupType buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.P2PGroupType result = new com.caliverse.admin.domain.RabbitMq.message.P2PGroupType(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.P2PGroupType result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.type_ = type_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.P2PGroupType) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.P2PGroupType)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.P2PGroupType other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.P2PGroupType.getDefaultInstance()) return this; + if (other.getType() != 0) { + setType(other.getType()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + type_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int type_ ; + /** + *
+     * 1 Grid, 2 Map
+     * 
+ * + * int32 Type = 1; + * @return The type. + */ + @java.lang.Override + public int getType() { + return type_; + } + /** + *
+     * 1 Grid, 2 Map
+     * 
+ * + * int32 Type = 1; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(int value) { + + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * 1 Grid, 2 Map
+     * 
+ * + * int32 Type = 1; + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000001); + type_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:P2PGroupType) + } + + // @@protoc_insertion_point(class_scope:P2PGroupType) + private static final com.caliverse.admin.domain.RabbitMq.message.P2PGroupType DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.P2PGroupType(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.P2PGroupType getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public P2PGroupType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.P2PGroupType getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/P2PGroupTypeOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/P2PGroupTypeOrBuilder.java new file mode 100644 index 0000000..8077940 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/P2PGroupTypeOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface P2PGroupTypeOrBuilder extends + // @@protoc_insertion_point(interface_extends:P2PGroupType) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * 1 Grid, 2 Map
+   * 
+ * + * int32 Type = 1; + * @return The type. + */ + int getType(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyMemberActionType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyMemberActionType.java new file mode 100644 index 0000000..1490ec9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyMemberActionType.java @@ -0,0 +1,312 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * Ƽ  ׼ Ÿ
+ * 
+ * + * Protobuf enum {@code PartyMemberActionType} + */ +public enum PartyMemberActionType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * PartyMemberActionType_None = 0; + */ + PartyMemberActionType_None(0), + /** + *
+   * ʴ
+   * 
+ * + * PartyMemberActionType_Invite = 1; + */ + PartyMemberActionType_Invite(1), + /** + *
+   * ʴ 
+   * 
+ * + * PartyMemberActionType_InviteAccept = 2; + */ + PartyMemberActionType_InviteAccept(2), + /** + *
+   * ʴ 
+   * 
+ * + * PartyMemberActionType_InviteReject = 3; + */ + PartyMemberActionType_InviteReject(3), + /** + *
+   * ȯ
+   * 
+ * + * PartyMemberActionType_Summon = 4; + */ + PartyMemberActionType_Summon(4), + /** + *
+   * ȯ 
+   * 
+ * + * PartyMemberActionType_SummonAccept = 5; + */ + PartyMemberActionType_SummonAccept(5), + /** + *
+   * ȯ 
+   * 
+ * + * PartyMemberActionType_SummonReject = 6; + */ + PartyMemberActionType_SummonReject(6), + /** + *
+   * Ƽ νϽ 
+   * 
+ * + * PartyMemberActionType_PartyInstance_Join = 7; + */ + PartyMemberActionType_PartyInstance_Join(7), + /** + *
+   * Ƽ νϽ 
+   * 
+ * + * PartyMemberActionType_PartyInstance_Leave = 8; + */ + PartyMemberActionType_PartyInstance_Leave(8), + /** + *
+   * Ƽ  Ӹ
+   * 
+ * + * PartyMemberActionType_PartyLeader = 9; + */ + PartyMemberActionType_PartyLeader(9), + /** + *
+   * Ƽ 
+   * 
+ * + * PartyMemberActionType_JoinParty = 10; + */ + PartyMemberActionType_JoinParty(10), + /** + *
+   * Ƽ Ż
+   * 
+ * + * PartyMemberActionType_LeaveParty = 11; + */ + PartyMemberActionType_LeaveParty(11), + /** + *
+   * Ƽ ߹
+   * 
+ * + * PartyMemberActionType_BanParty = 12; + */ + PartyMemberActionType_BanParty(12), + UNRECOGNIZED(-1), + ; + + /** + * PartyMemberActionType_None = 0; + */ + public static final int PartyMemberActionType_None_VALUE = 0; + /** + *
+   * ʴ
+   * 
+ * + * PartyMemberActionType_Invite = 1; + */ + public static final int PartyMemberActionType_Invite_VALUE = 1; + /** + *
+   * ʴ 
+   * 
+ * + * PartyMemberActionType_InviteAccept = 2; + */ + public static final int PartyMemberActionType_InviteAccept_VALUE = 2; + /** + *
+   * ʴ 
+   * 
+ * + * PartyMemberActionType_InviteReject = 3; + */ + public static final int PartyMemberActionType_InviteReject_VALUE = 3; + /** + *
+   * ȯ
+   * 
+ * + * PartyMemberActionType_Summon = 4; + */ + public static final int PartyMemberActionType_Summon_VALUE = 4; + /** + *
+   * ȯ 
+   * 
+ * + * PartyMemberActionType_SummonAccept = 5; + */ + public static final int PartyMemberActionType_SummonAccept_VALUE = 5; + /** + *
+   * ȯ 
+   * 
+ * + * PartyMemberActionType_SummonReject = 6; + */ + public static final int PartyMemberActionType_SummonReject_VALUE = 6; + /** + *
+   * Ƽ νϽ 
+   * 
+ * + * PartyMemberActionType_PartyInstance_Join = 7; + */ + public static final int PartyMemberActionType_PartyInstance_Join_VALUE = 7; + /** + *
+   * Ƽ νϽ 
+   * 
+ * + * PartyMemberActionType_PartyInstance_Leave = 8; + */ + public static final int PartyMemberActionType_PartyInstance_Leave_VALUE = 8; + /** + *
+   * Ƽ  Ӹ
+   * 
+ * + * PartyMemberActionType_PartyLeader = 9; + */ + public static final int PartyMemberActionType_PartyLeader_VALUE = 9; + /** + *
+   * Ƽ 
+   * 
+ * + * PartyMemberActionType_JoinParty = 10; + */ + public static final int PartyMemberActionType_JoinParty_VALUE = 10; + /** + *
+   * Ƽ Ż
+   * 
+ * + * PartyMemberActionType_LeaveParty = 11; + */ + public static final int PartyMemberActionType_LeaveParty_VALUE = 11; + /** + *
+   * Ƽ ߹
+   * 
+ * + * PartyMemberActionType_BanParty = 12; + */ + public static final int PartyMemberActionType_BanParty_VALUE = 12; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static PartyMemberActionType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static PartyMemberActionType forNumber(int value) { + switch (value) { + case 0: return PartyMemberActionType_None; + case 1: return PartyMemberActionType_Invite; + case 2: return PartyMemberActionType_InviteAccept; + case 3: return PartyMemberActionType_InviteReject; + case 4: return PartyMemberActionType_Summon; + case 5: return PartyMemberActionType_SummonAccept; + case 6: return PartyMemberActionType_SummonReject; + case 7: return PartyMemberActionType_PartyInstance_Join; + case 8: return PartyMemberActionType_PartyInstance_Leave; + case 9: return PartyMemberActionType_PartyLeader; + case 10: return PartyMemberActionType_JoinParty; + case 11: return PartyMemberActionType_LeaveParty; + case 12: return PartyMemberActionType_BanParty; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + PartyMemberActionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PartyMemberActionType findValueByNumber(int number) { + return PartyMemberActionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(26); + } + + private static final PartyMemberActionType[] VALUES = values(); + + public static PartyMemberActionType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private PartyMemberActionType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:PartyMemberActionType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyMemberState.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyMemberState.java new file mode 100644 index 0000000..2d73d6b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyMemberState.java @@ -0,0 +1,1108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code PartyMemberState} + */ +public final class PartyMemberState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PartyMemberState) + PartyMemberStateOrBuilder { +private static final long serialVersionUID = 0L; + // Use PartyMemberState.newBuilder() to construct. + private PartyMemberState(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PartyMemberState() { + memberGuid_ = ""; + memberNickname_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PartyMemberState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PartyMemberState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PartyMemberState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.PartyMemberState.class, com.caliverse.admin.domain.RabbitMq.message.PartyMemberState.Builder.class); + } + + public static final int MEMBERGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object memberGuid_ = ""; + /** + * string memberGuid = 1; + * @return The memberGuid. + */ + @java.lang.Override + public java.lang.String getMemberGuid() { + java.lang.Object ref = memberGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + memberGuid_ = s; + return s; + } + } + /** + * string memberGuid = 1; + * @return The bytes for memberGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMemberGuidBytes() { + java.lang.Object ref = memberGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + memberGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MEMBERNICKNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object memberNickname_ = ""; + /** + * string memberNickname = 2; + * @return The memberNickname. + */ + @java.lang.Override + public java.lang.String getMemberNickname() { + java.lang.Object ref = memberNickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + memberNickname_ = s; + return s; + } + } + /** + * string memberNickname = 2; + * @return The bytes for memberNickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMemberNicknameBytes() { + java.lang.Object ref = memberNickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + memberNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MARKID_FIELD_NUMBER = 3; + private int markId_ = 0; + /** + * int32 markId = 3; + * @return The markId. + */ + @java.lang.Override + public int getMarkId() { + return markId_; + } + + public static final int POS_FIELD_NUMBER = 4; + private com.caliverse.admin.domain.RabbitMq.message.Pos pos_; + /** + * .Pos pos = 4; + * @return Whether the pos field is set. + */ + @java.lang.Override + public boolean hasPos() { + return pos_ != null; + } + /** + * .Pos pos = 4; + * @return The pos. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Pos getPos() { + return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } + /** + * .Pos pos = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder() { + return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } + + public static final int LOCATIONINFO_FIELD_NUMBER = 5; + private com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo locationInfo_; + /** + * .UserLocationInfo locationInfo = 5; + * @return Whether the locationInfo field is set. + */ + @java.lang.Override + public boolean hasLocationInfo() { + return locationInfo_ != null; + } + /** + * .UserLocationInfo locationInfo = 5; + * @return The locationInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getLocationInfo() { + return locationInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_; + } + /** + * .UserLocationInfo locationInfo = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder getLocationInfoOrBuilder() { + return locationInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, memberGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberNickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, memberNickname_); + } + if (markId_ != 0) { + output.writeInt32(3, markId_); + } + if (pos_ != null) { + output.writeMessage(4, getPos()); + } + if (locationInfo_ != null) { + output.writeMessage(5, getLocationInfo()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, memberGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberNickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, memberNickname_); + } + if (markId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, markId_); + } + if (pos_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getPos()); + } + if (locationInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getLocationInfo()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.PartyMemberState)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.PartyMemberState other = (com.caliverse.admin.domain.RabbitMq.message.PartyMemberState) obj; + + if (!getMemberGuid() + .equals(other.getMemberGuid())) return false; + if (!getMemberNickname() + .equals(other.getMemberNickname())) return false; + if (getMarkId() + != other.getMarkId()) return false; + if (hasPos() != other.hasPos()) return false; + if (hasPos()) { + if (!getPos() + .equals(other.getPos())) return false; + } + if (hasLocationInfo() != other.hasLocationInfo()) return false; + if (hasLocationInfo()) { + if (!getLocationInfo() + .equals(other.getLocationInfo())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MEMBERGUID_FIELD_NUMBER; + hash = (53 * hash) + getMemberGuid().hashCode(); + hash = (37 * hash) + MEMBERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getMemberNickname().hashCode(); + hash = (37 * hash) + MARKID_FIELD_NUMBER; + hash = (53 * hash) + getMarkId(); + if (hasPos()) { + hash = (37 * hash) + POS_FIELD_NUMBER; + hash = (53 * hash) + getPos().hashCode(); + } + if (hasLocationInfo()) { + hash = (37 * hash) + LOCATIONINFO_FIELD_NUMBER; + hash = (53 * hash) + getLocationInfo().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.PartyMemberState prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code PartyMemberState} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PartyMemberState) + com.caliverse.admin.domain.RabbitMq.message.PartyMemberStateOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PartyMemberState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PartyMemberState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.PartyMemberState.class, com.caliverse.admin.domain.RabbitMq.message.PartyMemberState.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.PartyMemberState.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + memberGuid_ = ""; + memberNickname_ = ""; + markId_ = 0; + pos_ = null; + if (posBuilder_ != null) { + posBuilder_.dispose(); + posBuilder_ = null; + } + locationInfo_ = null; + if (locationInfoBuilder_ != null) { + locationInfoBuilder_.dispose(); + locationInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PartyMemberState_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PartyMemberState getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.PartyMemberState.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PartyMemberState build() { + com.caliverse.admin.domain.RabbitMq.message.PartyMemberState result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PartyMemberState buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.PartyMemberState result = new com.caliverse.admin.domain.RabbitMq.message.PartyMemberState(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.PartyMemberState result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.memberGuid_ = memberGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.memberNickname_ = memberNickname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.markId_ = markId_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.pos_ = posBuilder_ == null + ? pos_ + : posBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.locationInfo_ = locationInfoBuilder_ == null + ? locationInfo_ + : locationInfoBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.PartyMemberState) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.PartyMemberState)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.PartyMemberState other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.PartyMemberState.getDefaultInstance()) return this; + if (!other.getMemberGuid().isEmpty()) { + memberGuid_ = other.memberGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getMemberNickname().isEmpty()) { + memberNickname_ = other.memberNickname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getMarkId() != 0) { + setMarkId(other.getMarkId()); + } + if (other.hasPos()) { + mergePos(other.getPos()); + } + if (other.hasLocationInfo()) { + mergeLocationInfo(other.getLocationInfo()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + memberGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + memberNickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + markId_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + getPosFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getLocationInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object memberGuid_ = ""; + /** + * string memberGuid = 1; + * @return The memberGuid. + */ + public java.lang.String getMemberGuid() { + java.lang.Object ref = memberGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + memberGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string memberGuid = 1; + * @return The bytes for memberGuid. + */ + public com.google.protobuf.ByteString + getMemberGuidBytes() { + java.lang.Object ref = memberGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + memberGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string memberGuid = 1; + * @param value The memberGuid to set. + * @return This builder for chaining. + */ + public Builder setMemberGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + memberGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string memberGuid = 1; + * @return This builder for chaining. + */ + public Builder clearMemberGuid() { + memberGuid_ = getDefaultInstance().getMemberGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string memberGuid = 1; + * @param value The bytes for memberGuid to set. + * @return This builder for chaining. + */ + public Builder setMemberGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + memberGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object memberNickname_ = ""; + /** + * string memberNickname = 2; + * @return The memberNickname. + */ + public java.lang.String getMemberNickname() { + java.lang.Object ref = memberNickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + memberNickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string memberNickname = 2; + * @return The bytes for memberNickname. + */ + public com.google.protobuf.ByteString + getMemberNicknameBytes() { + java.lang.Object ref = memberNickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + memberNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string memberNickname = 2; + * @param value The memberNickname to set. + * @return This builder for chaining. + */ + public Builder setMemberNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + memberNickname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string memberNickname = 2; + * @return This builder for chaining. + */ + public Builder clearMemberNickname() { + memberNickname_ = getDefaultInstance().getMemberNickname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string memberNickname = 2; + * @param value The bytes for memberNickname to set. + * @return This builder for chaining. + */ + public Builder setMemberNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + memberNickname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int markId_ ; + /** + * int32 markId = 3; + * @return The markId. + */ + @java.lang.Override + public int getMarkId() { + return markId_; + } + /** + * int32 markId = 3; + * @param value The markId to set. + * @return This builder for chaining. + */ + public Builder setMarkId(int value) { + + markId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 markId = 3; + * @return This builder for chaining. + */ + public Builder clearMarkId() { + bitField0_ = (bitField0_ & ~0x00000004); + markId_ = 0; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.Pos pos_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> posBuilder_; + /** + * .Pos pos = 4; + * @return Whether the pos field is set. + */ + public boolean hasPos() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .Pos pos = 4; + * @return The pos. + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos getPos() { + if (posBuilder_ == null) { + return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } else { + return posBuilder_.getMessage(); + } + } + /** + * .Pos pos = 4; + */ + public Builder setPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (posBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + pos_ = value; + } else { + posBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .Pos pos = 4; + */ + public Builder setPos( + com.caliverse.admin.domain.RabbitMq.message.Pos.Builder builderForValue) { + if (posBuilder_ == null) { + pos_ = builderForValue.build(); + } else { + posBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .Pos pos = 4; + */ + public Builder mergePos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (posBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + pos_ != null && + pos_ != com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance()) { + getPosBuilder().mergeFrom(value); + } else { + pos_ = value; + } + } else { + posBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .Pos pos = 4; + */ + public Builder clearPos() { + bitField0_ = (bitField0_ & ~0x00000008); + pos_ = null; + if (posBuilder_ != null) { + posBuilder_.dispose(); + posBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Pos pos = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos.Builder getPosBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getPosFieldBuilder().getBuilder(); + } + /** + * .Pos pos = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder() { + if (posBuilder_ != null) { + return posBuilder_.getMessageOrBuilder(); + } else { + return pos_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } + } + /** + * .Pos pos = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> + getPosFieldBuilder() { + if (posBuilder_ == null) { + posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder>( + getPos(), + getParentForChildren(), + isClean()); + pos_ = null; + } + return posBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo locationInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder> locationInfoBuilder_; + /** + * .UserLocationInfo locationInfo = 5; + * @return Whether the locationInfo field is set. + */ + public boolean hasLocationInfo() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .UserLocationInfo locationInfo = 5; + * @return The locationInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getLocationInfo() { + if (locationInfoBuilder_ == null) { + return locationInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_; + } else { + return locationInfoBuilder_.getMessage(); + } + } + /** + * .UserLocationInfo locationInfo = 5; + */ + public Builder setLocationInfo(com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo value) { + if (locationInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + locationInfo_ = value; + } else { + locationInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .UserLocationInfo locationInfo = 5; + */ + public Builder setLocationInfo( + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder builderForValue) { + if (locationInfoBuilder_ == null) { + locationInfo_ = builderForValue.build(); + } else { + locationInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .UserLocationInfo locationInfo = 5; + */ + public Builder mergeLocationInfo(com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo value) { + if (locationInfoBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + locationInfo_ != null && + locationInfo_ != com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance()) { + getLocationInfoBuilder().mergeFrom(value); + } else { + locationInfo_ = value; + } + } else { + locationInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .UserLocationInfo locationInfo = 5; + */ + public Builder clearLocationInfo() { + bitField0_ = (bitField0_ & ~0x00000010); + locationInfo_ = null; + if (locationInfoBuilder_ != null) { + locationInfoBuilder_.dispose(); + locationInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .UserLocationInfo locationInfo = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder getLocationInfoBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getLocationInfoFieldBuilder().getBuilder(); + } + /** + * .UserLocationInfo locationInfo = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder getLocationInfoOrBuilder() { + if (locationInfoBuilder_ != null) { + return locationInfoBuilder_.getMessageOrBuilder(); + } else { + return locationInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_; + } + } + /** + * .UserLocationInfo locationInfo = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder> + getLocationInfoFieldBuilder() { + if (locationInfoBuilder_ == null) { + locationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder>( + getLocationInfo(), + getParentForChildren(), + isClean()); + locationInfo_ = null; + } + return locationInfoBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:PartyMemberState) + } + + // @@protoc_insertion_point(class_scope:PartyMemberState) + private static final com.caliverse.admin.domain.RabbitMq.message.PartyMemberState DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.PartyMemberState(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.PartyMemberState getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartyMemberState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PartyMemberState getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyMemberStateOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyMemberStateOrBuilder.java new file mode 100644 index 0000000..ca83d0d --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyMemberStateOrBuilder.java @@ -0,0 +1,69 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface PartyMemberStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:PartyMemberState) + com.google.protobuf.MessageOrBuilder { + + /** + * string memberGuid = 1; + * @return The memberGuid. + */ + java.lang.String getMemberGuid(); + /** + * string memberGuid = 1; + * @return The bytes for memberGuid. + */ + com.google.protobuf.ByteString + getMemberGuidBytes(); + + /** + * string memberNickname = 2; + * @return The memberNickname. + */ + java.lang.String getMemberNickname(); + /** + * string memberNickname = 2; + * @return The bytes for memberNickname. + */ + com.google.protobuf.ByteString + getMemberNicknameBytes(); + + /** + * int32 markId = 3; + * @return The markId. + */ + int getMarkId(); + + /** + * .Pos pos = 4; + * @return Whether the pos field is set. + */ + boolean hasPos(); + /** + * .Pos pos = 4; + * @return The pos. + */ + com.caliverse.admin.domain.RabbitMq.message.Pos getPos(); + /** + * .Pos pos = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder(); + + /** + * .UserLocationInfo locationInfo = 5; + * @return Whether the locationInfo field is set. + */ + boolean hasLocationInfo(); + /** + * .UserLocationInfo locationInfo = 5; + * @return The locationInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getLocationInfo(); + /** + * .UserLocationInfo locationInfo = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder getLocationInfoOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyState.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyState.java new file mode 100644 index 0000000..bd9e2fb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyState.java @@ -0,0 +1,865 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code PartyState} + */ +public final class PartyState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PartyState) + PartyStateOrBuilder { +private static final long serialVersionUID = 0L; + // Use PartyState.newBuilder() to construct. + private PartyState(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PartyState() { + partyName_ = ""; + partyLeaderNickname_ = ""; + partyMemberList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PartyState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PartyState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PartyState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.PartyState.class, com.caliverse.admin.domain.RabbitMq.message.PartyState.Builder.class); + } + + public static final int PARTYNAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyName_ = ""; + /** + * string partyName = 1; + * @return The partyName. + */ + @java.lang.Override + public java.lang.String getPartyName() { + java.lang.Object ref = partyName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyName_ = s; + return s; + } + } + /** + * string partyName = 1; + * @return The bytes for partyName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyNameBytes() { + java.lang.Object ref = partyName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARTYLEADERNICKNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object partyLeaderNickname_ = ""; + /** + * string partyLeaderNickname = 2; + * @return The partyLeaderNickname. + */ + @java.lang.Override + public java.lang.String getPartyLeaderNickname() { + java.lang.Object ref = partyLeaderNickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyLeaderNickname_ = s; + return s; + } + } + /** + * string partyLeaderNickname = 2; + * @return The bytes for partyLeaderNickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyLeaderNicknameBytes() { + java.lang.Object ref = partyLeaderNickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyLeaderNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARTYMEMBERLIST_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList partyMemberList_; + /** + * repeated string partyMemberList = 3; + * @return A list containing the partyMemberList. + */ + public com.google.protobuf.ProtocolStringList + getPartyMemberListList() { + return partyMemberList_; + } + /** + * repeated string partyMemberList = 3; + * @return The count of partyMemberList. + */ + public int getPartyMemberListCount() { + return partyMemberList_.size(); + } + /** + * repeated string partyMemberList = 3; + * @param index The index of the element to return. + * @return The partyMemberList at the given index. + */ + public java.lang.String getPartyMemberList(int index) { + return partyMemberList_.get(index); + } + /** + * repeated string partyMemberList = 3; + * @param index The index of the value to return. + * @return The bytes of the partyMemberList at the given index. + */ + public com.google.protobuf.ByteString + getPartyMemberListBytes(int index) { + return partyMemberList_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyLeaderNickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, partyLeaderNickname_); + } + for (int i = 0; i < partyMemberList_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, partyMemberList_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyLeaderNickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, partyLeaderNickname_); + } + { + int dataSize = 0; + for (int i = 0; i < partyMemberList_.size(); i++) { + dataSize += computeStringSizeNoTag(partyMemberList_.getRaw(i)); + } + size += dataSize; + size += 1 * getPartyMemberListList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.PartyState)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.PartyState other = (com.caliverse.admin.domain.RabbitMq.message.PartyState) obj; + + if (!getPartyName() + .equals(other.getPartyName())) return false; + if (!getPartyLeaderNickname() + .equals(other.getPartyLeaderNickname())) return false; + if (!getPartyMemberListList() + .equals(other.getPartyMemberListList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYNAME_FIELD_NUMBER; + hash = (53 * hash) + getPartyName().hashCode(); + hash = (37 * hash) + PARTYLEADERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getPartyLeaderNickname().hashCode(); + if (getPartyMemberListCount() > 0) { + hash = (37 * hash) + PARTYMEMBERLIST_FIELD_NUMBER; + hash = (53 * hash) + getPartyMemberListList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.PartyState parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyState parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyState parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyState parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyState parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyState parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyState parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyState parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyState parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.PartyState parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.PartyState prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code PartyState} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PartyState) + com.caliverse.admin.domain.RabbitMq.message.PartyStateOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PartyState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PartyState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.PartyState.class, com.caliverse.admin.domain.RabbitMq.message.PartyState.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.PartyState.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyName_ = ""; + partyLeaderNickname_ = ""; + partyMemberList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PartyState_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PartyState getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.PartyState.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PartyState build() { + com.caliverse.admin.domain.RabbitMq.message.PartyState result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PartyState buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.PartyState result = new com.caliverse.admin.domain.RabbitMq.message.PartyState(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.PartyState result) { + if (((bitField0_ & 0x00000004) != 0)) { + partyMemberList_ = partyMemberList_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.partyMemberList_ = partyMemberList_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.PartyState result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyName_ = partyName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.partyLeaderNickname_ = partyLeaderNickname_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.PartyState) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.PartyState)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.PartyState other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.PartyState.getDefaultInstance()) return this; + if (!other.getPartyName().isEmpty()) { + partyName_ = other.partyName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getPartyLeaderNickname().isEmpty()) { + partyLeaderNickname_ = other.partyLeaderNickname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.partyMemberList_.isEmpty()) { + if (partyMemberList_.isEmpty()) { + partyMemberList_ = other.partyMemberList_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensurePartyMemberListIsMutable(); + partyMemberList_.addAll(other.partyMemberList_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + partyLeaderNickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePartyMemberListIsMutable(); + partyMemberList_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyName_ = ""; + /** + * string partyName = 1; + * @return The partyName. + */ + public java.lang.String getPartyName() { + java.lang.Object ref = partyName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyName = 1; + * @return The bytes for partyName. + */ + public com.google.protobuf.ByteString + getPartyNameBytes() { + java.lang.Object ref = partyName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyName = 1; + * @param value The partyName to set. + * @return This builder for chaining. + */ + public Builder setPartyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyName = 1; + * @return This builder for chaining. + */ + public Builder clearPartyName() { + partyName_ = getDefaultInstance().getPartyName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyName = 1; + * @param value The bytes for partyName to set. + * @return This builder for chaining. + */ + public Builder setPartyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object partyLeaderNickname_ = ""; + /** + * string partyLeaderNickname = 2; + * @return The partyLeaderNickname. + */ + public java.lang.String getPartyLeaderNickname() { + java.lang.Object ref = partyLeaderNickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyLeaderNickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyLeaderNickname = 2; + * @return The bytes for partyLeaderNickname. + */ + public com.google.protobuf.ByteString + getPartyLeaderNicknameBytes() { + java.lang.Object ref = partyLeaderNickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyLeaderNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyLeaderNickname = 2; + * @param value The partyLeaderNickname to set. + * @return This builder for chaining. + */ + public Builder setPartyLeaderNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyLeaderNickname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string partyLeaderNickname = 2; + * @return This builder for chaining. + */ + public Builder clearPartyLeaderNickname() { + partyLeaderNickname_ = getDefaultInstance().getPartyLeaderNickname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string partyLeaderNickname = 2; + * @param value The bytes for partyLeaderNickname to set. + * @return This builder for chaining. + */ + public Builder setPartyLeaderNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyLeaderNickname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList partyMemberList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePartyMemberListIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + partyMemberList_ = new com.google.protobuf.LazyStringArrayList(partyMemberList_); + bitField0_ |= 0x00000004; + } + } + /** + * repeated string partyMemberList = 3; + * @return A list containing the partyMemberList. + */ + public com.google.protobuf.ProtocolStringList + getPartyMemberListList() { + return partyMemberList_.getUnmodifiableView(); + } + /** + * repeated string partyMemberList = 3; + * @return The count of partyMemberList. + */ + public int getPartyMemberListCount() { + return partyMemberList_.size(); + } + /** + * repeated string partyMemberList = 3; + * @param index The index of the element to return. + * @return The partyMemberList at the given index. + */ + public java.lang.String getPartyMemberList(int index) { + return partyMemberList_.get(index); + } + /** + * repeated string partyMemberList = 3; + * @param index The index of the value to return. + * @return The bytes of the partyMemberList at the given index. + */ + public com.google.protobuf.ByteString + getPartyMemberListBytes(int index) { + return partyMemberList_.getByteString(index); + } + /** + * repeated string partyMemberList = 3; + * @param index The index to set the value at. + * @param value The partyMemberList to set. + * @return This builder for chaining. + */ + public Builder setPartyMemberList( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePartyMemberListIsMutable(); + partyMemberList_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string partyMemberList = 3; + * @param value The partyMemberList to add. + * @return This builder for chaining. + */ + public Builder addPartyMemberList( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePartyMemberListIsMutable(); + partyMemberList_.add(value); + onChanged(); + return this; + } + /** + * repeated string partyMemberList = 3; + * @param values The partyMemberList to add. + * @return This builder for chaining. + */ + public Builder addAllPartyMemberList( + java.lang.Iterable values) { + ensurePartyMemberListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, partyMemberList_); + onChanged(); + return this; + } + /** + * repeated string partyMemberList = 3; + * @return This builder for chaining. + */ + public Builder clearPartyMemberList() { + partyMemberList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * repeated string partyMemberList = 3; + * @param value The bytes of the partyMemberList to add. + * @return This builder for chaining. + */ + public Builder addPartyMemberListBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePartyMemberListIsMutable(); + partyMemberList_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:PartyState) + } + + // @@protoc_insertion_point(class_scope:PartyState) + private static final com.caliverse.admin.domain.RabbitMq.message.PartyState DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.PartyState(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.PartyState getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartyState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PartyState getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyStateOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyStateOrBuilder.java new file mode 100644 index 0000000..49e8657 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PartyStateOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface PartyStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:PartyState) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyName = 1; + * @return The partyName. + */ + java.lang.String getPartyName(); + /** + * string partyName = 1; + * @return The bytes for partyName. + */ + com.google.protobuf.ByteString + getPartyNameBytes(); + + /** + * string partyLeaderNickname = 2; + * @return The partyLeaderNickname. + */ + java.lang.String getPartyLeaderNickname(); + /** + * string partyLeaderNickname = 2; + * @return The bytes for partyLeaderNickname. + */ + com.google.protobuf.ByteString + getPartyLeaderNicknameBytes(); + + /** + * repeated string partyMemberList = 3; + * @return A list containing the partyMemberList. + */ + java.util.List + getPartyMemberListList(); + /** + * repeated string partyMemberList = 3; + * @return The count of partyMemberList. + */ + int getPartyMemberListCount(); + /** + * repeated string partyMemberList = 3; + * @param index The index of the element to return. + * @return The partyMemberList at the given index. + */ + java.lang.String getPartyMemberList(int index); + /** + * repeated string partyMemberList = 3; + * @param index The index of the value to return. + * @return The bytes of the partyMemberList at the given index. + */ + com.google.protobuf.ByteString + getPartyMemberListBytes(int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PlatformType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PlatformType.java new file mode 100644 index 0000000..e02e2af --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PlatformType.java @@ -0,0 +1,144 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ÷ 
+ * 
+ * + * Protobuf enum {@code PlatformType} + */ +public enum PlatformType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * PlatformType_None = 0; + */ + PlatformType_None(0), + /** + * PlatformType_WindowsPc = 1; + */ + PlatformType_WindowsPc(1), + /** + * PlatformType_Google = 2; + */ + PlatformType_Google(2), + /** + * PlatformType_Facebook = 3; + */ + PlatformType_Facebook(3), + /** + * PlatformType_Apple = 4; + */ + PlatformType_Apple(4), + UNRECOGNIZED(-1), + ; + + /** + * PlatformType_None = 0; + */ + public static final int PlatformType_None_VALUE = 0; + /** + * PlatformType_WindowsPc = 1; + */ + public static final int PlatformType_WindowsPc_VALUE = 1; + /** + * PlatformType_Google = 2; + */ + public static final int PlatformType_Google_VALUE = 2; + /** + * PlatformType_Facebook = 3; + */ + public static final int PlatformType_Facebook_VALUE = 3; + /** + * PlatformType_Apple = 4; + */ + public static final int PlatformType_Apple_VALUE = 4; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static PlatformType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static PlatformType forNumber(int value) { + switch (value) { + case 0: return PlatformType_None; + case 1: return PlatformType_WindowsPc; + case 2: return PlatformType_Google; + case 3: return PlatformType_Facebook; + case 4: return PlatformType_Apple; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + PlatformType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PlatformType findValueByNumber(int number) { + return PlatformType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(9); + } + + private static final PlatformType[] VALUES = values(); + + public static PlatformType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private PlatformType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:PlatformType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PlayerStateType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PlayerStateType.java new file mode 100644 index 0000000..0494270 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PlayerStateType.java @@ -0,0 +1,210 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ÷̾  
+ * 
+ * + * Protobuf enum {@code PlayerStateType} + */ +public enum PlayerStateType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * PlayerStateType_None = 0; + */ + PlayerStateType_None(0), + /** + *
+   * ¶
+   * 
+ * + * PlayerStateType_Online = 1; + */ + PlayerStateType_Online(1), + /** + *
+   * ڸ
+   * 
+ * + * PlayerStateType_Sleep = 2; + */ + PlayerStateType_Sleep(2), + /** + *
+   * ر
+   * 
+ * + * PlayerStateType_DontDistrub = 3; + */ + PlayerStateType_DontDistrub(3), + /** + *
+   * 
+   * 
+ * + * PlayerStateType_Offline = 4; + */ + PlayerStateType_Offline(4), + /** + *
+   * ޸ 
+   * 
+ * + * PlayerStateType_Dormant = 5; + */ + PlayerStateType_Dormant(5), + /** + *
+   * ȸ Ż
+   * 
+ * + * PlayerStateType_LeaveMember = 6; + */ + PlayerStateType_LeaveMember(6), + UNRECOGNIZED(-1), + ; + + /** + * PlayerStateType_None = 0; + */ + public static final int PlayerStateType_None_VALUE = 0; + /** + *
+   * ¶
+   * 
+ * + * PlayerStateType_Online = 1; + */ + public static final int PlayerStateType_Online_VALUE = 1; + /** + *
+   * ڸ
+   * 
+ * + * PlayerStateType_Sleep = 2; + */ + public static final int PlayerStateType_Sleep_VALUE = 2; + /** + *
+   * ر
+   * 
+ * + * PlayerStateType_DontDistrub = 3; + */ + public static final int PlayerStateType_DontDistrub_VALUE = 3; + /** + *
+   * 
+   * 
+ * + * PlayerStateType_Offline = 4; + */ + public static final int PlayerStateType_Offline_VALUE = 4; + /** + *
+   * ޸ 
+   * 
+ * + * PlayerStateType_Dormant = 5; + */ + public static final int PlayerStateType_Dormant_VALUE = 5; + /** + *
+   * ȸ Ż
+   * 
+ * + * PlayerStateType_LeaveMember = 6; + */ + public static final int PlayerStateType_LeaveMember_VALUE = 6; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static PlayerStateType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static PlayerStateType forNumber(int value) { + switch (value) { + case 0: return PlayerStateType_None; + case 1: return PlayerStateType_Online; + case 2: return PlayerStateType_Sleep; + case 3: return PlayerStateType_DontDistrub; + case 4: return PlayerStateType_Offline; + case 5: return PlayerStateType_Dormant; + case 6: return PlayerStateType_LeaveMember; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + PlayerStateType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PlayerStateType findValueByNumber(int number) { + return PlayerStateType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(21); + } + + private static final PlayerStateType[] VALUES = values(); + + public static PlayerStateType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private PlayerStateType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:PlayerStateType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Pos.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Pos.java new file mode 100644 index 0000000..b85daac --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Pos.java @@ -0,0 +1,686 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ƼƼ ġ 
+ * 
+ * + * Protobuf type {@code Pos} + */ +public final class Pos extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Pos) + PosOrBuilder { +private static final long serialVersionUID = 0L; + // Use Pos.newBuilder() to construct. + private Pos(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Pos() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Pos(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Pos_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Pos_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Pos.class, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder.class); + } + + public static final int X_FIELD_NUMBER = 1; + private float x_ = 0F; + /** + * float x = 1; + * @return The x. + */ + @java.lang.Override + public float getX() { + return x_; + } + + public static final int Y_FIELD_NUMBER = 2; + private float y_ = 0F; + /** + * float y = 2; + * @return The y. + */ + @java.lang.Override + public float getY() { + return y_; + } + + public static final int Z_FIELD_NUMBER = 3; + private float z_ = 0F; + /** + * float z = 3; + * @return The z. + */ + @java.lang.Override + public float getZ() { + return z_; + } + + public static final int ANGLE_FIELD_NUMBER = 4; + private int angle_ = 0; + /** + * int32 angle = 4; + * @return The angle. + */ + @java.lang.Override + public int getAngle() { + return angle_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (java.lang.Float.floatToRawIntBits(x_) != 0) { + output.writeFloat(1, x_); + } + if (java.lang.Float.floatToRawIntBits(y_) != 0) { + output.writeFloat(2, y_); + } + if (java.lang.Float.floatToRawIntBits(z_) != 0) { + output.writeFloat(3, z_); + } + if (angle_ != 0) { + output.writeInt32(4, angle_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (java.lang.Float.floatToRawIntBits(x_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, x_); + } + if (java.lang.Float.floatToRawIntBits(y_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, y_); + } + if (java.lang.Float.floatToRawIntBits(z_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, z_); + } + if (angle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, angle_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.Pos)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.Pos other = (com.caliverse.admin.domain.RabbitMq.message.Pos) obj; + + if (java.lang.Float.floatToIntBits(getX()) + != java.lang.Float.floatToIntBits( + other.getX())) return false; + if (java.lang.Float.floatToIntBits(getY()) + != java.lang.Float.floatToIntBits( + other.getY())) return false; + if (java.lang.Float.floatToIntBits(getZ()) + != java.lang.Float.floatToIntBits( + other.getZ())) return false; + if (getAngle() + != other.getAngle()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + X_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getX()); + hash = (37 * hash) + Y_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getY()); + hash = (37 * hash) + Z_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getZ()); + hash = (37 * hash) + ANGLE_FIELD_NUMBER; + hash = (53 * hash) + getAngle(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.Pos parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Pos parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Pos parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Pos parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Pos parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Pos parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Pos parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Pos parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Pos parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Pos parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Pos parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Pos parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.Pos prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * ƼƼ ġ 
+   * 
+ * + * Protobuf type {@code Pos} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:Pos) + com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Pos_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Pos_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Pos.class, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.Pos.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + x_ = 0F; + y_ = 0F; + z_ = 0F; + angle_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Pos_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Pos getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Pos build() { + com.caliverse.admin.domain.RabbitMq.message.Pos result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Pos buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.Pos result = new com.caliverse.admin.domain.RabbitMq.message.Pos(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.Pos result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.x_ = x_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.y_ = y_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.z_ = z_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.angle_ = angle_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.Pos) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.Pos)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.Pos other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance()) return this; + if (other.getX() != 0F) { + setX(other.getX()); + } + if (other.getY() != 0F) { + setY(other.getY()); + } + if (other.getZ() != 0F) { + setZ(other.getZ()); + } + if (other.getAngle() != 0) { + setAngle(other.getAngle()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 13: { + x_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 21: { + y_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + case 29: { + z_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 29 + case 32: { + angle_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private float x_ ; + /** + * float x = 1; + * @return The x. + */ + @java.lang.Override + public float getX() { + return x_; + } + /** + * float x = 1; + * @param value The x to set. + * @return This builder for chaining. + */ + public Builder setX(float value) { + + x_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * float x = 1; + * @return This builder for chaining. + */ + public Builder clearX() { + bitField0_ = (bitField0_ & ~0x00000001); + x_ = 0F; + onChanged(); + return this; + } + + private float y_ ; + /** + * float y = 2; + * @return The y. + */ + @java.lang.Override + public float getY() { + return y_; + } + /** + * float y = 2; + * @param value The y to set. + * @return This builder for chaining. + */ + public Builder setY(float value) { + + y_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * float y = 2; + * @return This builder for chaining. + */ + public Builder clearY() { + bitField0_ = (bitField0_ & ~0x00000002); + y_ = 0F; + onChanged(); + return this; + } + + private float z_ ; + /** + * float z = 3; + * @return The z. + */ + @java.lang.Override + public float getZ() { + return z_; + } + /** + * float z = 3; + * @param value The z to set. + * @return This builder for chaining. + */ + public Builder setZ(float value) { + + z_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * float z = 3; + * @return This builder for chaining. + */ + public Builder clearZ() { + bitField0_ = (bitField0_ & ~0x00000004); + z_ = 0F; + onChanged(); + return this; + } + + private int angle_ ; + /** + * int32 angle = 4; + * @return The angle. + */ + @java.lang.Override + public int getAngle() { + return angle_; + } + /** + * int32 angle = 4; + * @param value The angle to set. + * @return This builder for chaining. + */ + public Builder setAngle(int value) { + + angle_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 angle = 4; + * @return This builder for chaining. + */ + public Builder clearAngle() { + bitField0_ = (bitField0_ & ~0x00000008); + angle_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Pos) + } + + // @@protoc_insertion_point(class_scope:Pos) + private static final com.caliverse.admin.domain.RabbitMq.message.Pos DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.Pos(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.Pos getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Pos parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Pos getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PosOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PosOrBuilder.java new file mode 100644 index 0000000..094a9be --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PosOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface PosOrBuilder extends + // @@protoc_insertion_point(interface_extends:Pos) + com.google.protobuf.MessageOrBuilder { + + /** + * float x = 1; + * @return The x. + */ + float getX(); + + /** + * float y = 2; + * @return The y. + */ + float getY(); + + /** + * float z = 3; + * @return The z. + */ + float getZ(); + + /** + * int32 angle = 4; + * @return The angle. + */ + int getAngle(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ProductType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ProductType.java new file mode 100644 index 0000000..b34efde --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ProductType.java @@ -0,0 +1,142 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ǰ 
+ * 
+ * + * Protobuf enum {@code ProductType} + */ +public enum ProductType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ProductType_None = 0; + */ + ProductType_None(0), + /** + *
+   * ȭ
+   * 
+ * + * ProductType_Currency = 1; + */ + ProductType_Currency(1), + /** + *
+   * 
+   * 
+ * + * ProductType_Item = 2; + */ + ProductType_Item(2), + UNRECOGNIZED(-1), + ; + + /** + * ProductType_None = 0; + */ + public static final int ProductType_None_VALUE = 0; + /** + *
+   * ȭ
+   * 
+ * + * ProductType_Currency = 1; + */ + public static final int ProductType_Currency_VALUE = 1; + /** + *
+   * 
+   * 
+ * + * ProductType_Item = 2; + */ + public static final int ProductType_Item_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ProductType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ProductType forNumber(int value) { + switch (value) { + case 0: return ProductType_None; + case 1: return ProductType_Currency; + case 2: return ProductType_Item; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ProductType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ProductType findValueByNumber(int number) { + return ProductType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(15); + } + + private static final ProductType[] VALUES = values(); + + public static ProductType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ProductType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ProductType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ProgramVersionType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ProgramVersionType.java new file mode 100644 index 0000000..9084a3b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ProgramVersionType.java @@ -0,0 +1,171 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * α׷  
+ * 
+ * + * Protobuf enum {@code ProgramVersionType} + */ +public enum ProgramVersionType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ProgramVersionType_None = 0; + */ + ProgramVersionType_None(0), + /** + * ProgramVersionType_MetaSchemaVersion = 1; + */ + ProgramVersionType_MetaSchemaVersion(1), + /** + * ProgramVersionType_MetaDataVersion = 2; + */ + ProgramVersionType_MetaDataVersion(2), + /** + * ProgramVersionType_DbSchemaVersion = 3; + */ + ProgramVersionType_DbSchemaVersion(3), + /** + * ProgramVersionType_PacketVersion = 4; + */ + ProgramVersionType_PacketVersion(4), + /** + * ProgramVersionType_ResourceVersion = 5; + */ + ProgramVersionType_ResourceVersion(5), + /** + * ProgramVersionType_ConfigVersion = 6; + */ + ProgramVersionType_ConfigVersion(6), + /** + * ProgramVersionType_LogicVersion = 7; + */ + ProgramVersionType_LogicVersion(7), + UNRECOGNIZED(-1), + ; + + /** + * ProgramVersionType_None = 0; + */ + public static final int ProgramVersionType_None_VALUE = 0; + /** + * ProgramVersionType_MetaSchemaVersion = 1; + */ + public static final int ProgramVersionType_MetaSchemaVersion_VALUE = 1; + /** + * ProgramVersionType_MetaDataVersion = 2; + */ + public static final int ProgramVersionType_MetaDataVersion_VALUE = 2; + /** + * ProgramVersionType_DbSchemaVersion = 3; + */ + public static final int ProgramVersionType_DbSchemaVersion_VALUE = 3; + /** + * ProgramVersionType_PacketVersion = 4; + */ + public static final int ProgramVersionType_PacketVersion_VALUE = 4; + /** + * ProgramVersionType_ResourceVersion = 5; + */ + public static final int ProgramVersionType_ResourceVersion_VALUE = 5; + /** + * ProgramVersionType_ConfigVersion = 6; + */ + public static final int ProgramVersionType_ConfigVersion_VALUE = 6; + /** + * ProgramVersionType_LogicVersion = 7; + */ + public static final int ProgramVersionType_LogicVersion_VALUE = 7; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ProgramVersionType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ProgramVersionType forNumber(int value) { + switch (value) { + case 0: return ProgramVersionType_None; + case 1: return ProgramVersionType_MetaSchemaVersion; + case 2: return ProgramVersionType_MetaDataVersion; + case 3: return ProgramVersionType_DbSchemaVersion; + case 4: return ProgramVersionType_PacketVersion; + case 5: return ProgramVersionType_ResourceVersion; + case 6: return ProgramVersionType_ConfigVersion; + case 7: return ProgramVersionType_LogicVersion; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ProgramVersionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ProgramVersionType findValueByNumber(int number) { + return ProgramVersionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(25); + } + + private static final ProgramVersionType[] VALUES = values(); + + public static ProgramVersionType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ProgramVersionType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ProgramVersionType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PropInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PropInfo.java new file mode 100644 index 0000000..d6c199a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PropInfo.java @@ -0,0 +1,1802 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code PropInfo} + */ +public final class PropInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PropInfo) + PropInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use PropInfo.newBuilder() to construct. + private PropInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PropInfo() { + anchorGuid_ = ""; + owner_ = ""; + occupiedActorGuid_ = ""; + itemGuid_ = ""; + mannequins_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PropInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PropInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PropInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.PropInfo.class, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder.class); + } + + public static final int ANCHORGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object anchorGuid_ = ""; + /** + * string anchorGuid = 1; + * @return The anchorGuid. + */ + @java.lang.Override + public java.lang.String getAnchorGuid() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorGuid_ = s; + return s; + } + } + /** + * string anchorGuid = 1; + * @return The bytes for anchorGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAnchorGuidBytes() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object owner_ = ""; + /** + * string owner = 2; + * @return The owner. + */ + @java.lang.Override + public java.lang.String getOwner() { + java.lang.Object ref = owner_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + owner_ = s; + return s; + } + } + /** + * string owner = 2; + * @return The bytes for owner. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerBytes() { + java.lang.Object ref = owner_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + owner_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OCCUPIEDACTORGUID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object occupiedActorGuid_ = ""; + /** + * string occupiedActorGuid = 3; + * @return The occupiedActorGuid. + */ + @java.lang.Override + public java.lang.String getOccupiedActorGuid() { + java.lang.Object ref = occupiedActorGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + occupiedActorGuid_ = s; + return s; + } + } + /** + * string occupiedActorGuid = 3; + * @return The bytes for occupiedActorGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOccupiedActorGuidBytes() { + java.lang.Object ref = occupiedActorGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + occupiedActorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TABLEID_FIELD_NUMBER = 4; + private int tableId_ = 0; + /** + * int32 tableId = 4; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + + public static final int ITEMGUID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object itemGuid_ = ""; + /** + * string itemGuid = 5; + * @return The itemGuid. + */ + @java.lang.Override + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } + } + /** + * string itemGuid = 5; + * @return The bytes for itemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MANNEQUINS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList mannequins_; + /** + * repeated int32 mannequins = 6; + * @return A list containing the mannequins. + */ + @java.lang.Override + public java.util.List + getMannequinsList() { + return mannequins_; + } + /** + * repeated int32 mannequins = 6; + * @return The count of mannequins. + */ + public int getMannequinsCount() { + return mannequins_.size(); + } + /** + * repeated int32 mannequins = 6; + * @param index The index of the element to return. + * @return The mannequins at the given index. + */ + public int getMannequins(int index) { + return mannequins_.getInt(index); + } + private int mannequinsMemoizedSerializedSize = -1; + + public static final int ISUSABLE_FIELD_NUMBER = 7; + private int isUsable_ = 0; + /** + * int32 isUsable = 7; + * @return The isUsable. + */ + @java.lang.Override + public int getIsUsable() { + return isUsable_; + } + + public static final int STARTTIME_FIELD_NUMBER = 11; + private com.google.protobuf.Timestamp startTime_; + /** + * .google.protobuf.Timestamp startTime = 11; + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return startTime_ != null; + } + /** + * .google.protobuf.Timestamp startTime = 11; + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + * .google.protobuf.Timestamp startTime = 11; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + + public static final int ENDTIME_FIELD_NUMBER = 12; + private com.google.protobuf.Timestamp endTime_; + /** + * .google.protobuf.Timestamp endTime = 12; + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } + /** + * .google.protobuf.Timestamp endTime = 12; + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + * .google.protobuf.Timestamp endTime = 12; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + + public static final int RESPAWNTIME_FIELD_NUMBER = 13; + private com.google.protobuf.Timestamp respawnTime_; + /** + * .google.protobuf.Timestamp respawnTime = 13; + * @return Whether the respawnTime field is set. + */ + @java.lang.Override + public boolean hasRespawnTime() { + return respawnTime_ != null; + } + /** + * .google.protobuf.Timestamp respawnTime = 13; + * @return The respawnTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getRespawnTime() { + return respawnTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : respawnTime_; + } + /** + * .google.protobuf.Timestamp respawnTime = 13; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getRespawnTimeOrBuilder() { + return respawnTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : respawnTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, anchorGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, owner_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(occupiedActorGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, occupiedActorGuid_); + } + if (tableId_ != 0) { + output.writeInt32(4, tableId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, itemGuid_); + } + if (getMannequinsList().size() > 0) { + output.writeUInt32NoTag(50); + output.writeUInt32NoTag(mannequinsMemoizedSerializedSize); + } + for (int i = 0; i < mannequins_.size(); i++) { + output.writeInt32NoTag(mannequins_.getInt(i)); + } + if (isUsable_ != 0) { + output.writeInt32(7, isUsable_); + } + if (startTime_ != null) { + output.writeMessage(11, getStartTime()); + } + if (endTime_ != null) { + output.writeMessage(12, getEndTime()); + } + if (respawnTime_ != null) { + output.writeMessage(13, getRespawnTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, anchorGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, owner_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(occupiedActorGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, occupiedActorGuid_); + } + if (tableId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, tableId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, itemGuid_); + } + { + int dataSize = 0; + for (int i = 0; i < mannequins_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(mannequins_.getInt(i)); + } + size += dataSize; + if (!getMannequinsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + mannequinsMemoizedSerializedSize = dataSize; + } + if (isUsable_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, isUsable_); + } + if (startTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getStartTime()); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getEndTime()); + } + if (respawnTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getRespawnTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.PropInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.PropInfo other = (com.caliverse.admin.domain.RabbitMq.message.PropInfo) obj; + + if (!getAnchorGuid() + .equals(other.getAnchorGuid())) return false; + if (!getOwner() + .equals(other.getOwner())) return false; + if (!getOccupiedActorGuid() + .equals(other.getOccupiedActorGuid())) return false; + if (getTableId() + != other.getTableId()) return false; + if (!getItemGuid() + .equals(other.getItemGuid())) return false; + if (!getMannequinsList() + .equals(other.getMannequinsList())) return false; + if (getIsUsable() + != other.getIsUsable()) return false; + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime() + .equals(other.getStartTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (hasRespawnTime() != other.hasRespawnTime()) return false; + if (hasRespawnTime()) { + if (!getRespawnTime() + .equals(other.getRespawnTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ANCHORGUID_FIELD_NUMBER; + hash = (53 * hash) + getAnchorGuid().hashCode(); + hash = (37 * hash) + OWNER_FIELD_NUMBER; + hash = (53 * hash) + getOwner().hashCode(); + hash = (37 * hash) + OCCUPIEDACTORGUID_FIELD_NUMBER; + hash = (53 * hash) + getOccupiedActorGuid().hashCode(); + hash = (37 * hash) + TABLEID_FIELD_NUMBER; + hash = (53 * hash) + getTableId(); + hash = (37 * hash) + ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getItemGuid().hashCode(); + if (getMannequinsCount() > 0) { + hash = (37 * hash) + MANNEQUINS_FIELD_NUMBER; + hash = (53 * hash) + getMannequinsList().hashCode(); + } + hash = (37 * hash) + ISUSABLE_FIELD_NUMBER; + hash = (53 * hash) + getIsUsable(); + if (hasStartTime()) { + hash = (37 * hash) + STARTTIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + if (hasEndTime()) { + hash = (37 * hash) + ENDTIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + if (hasRespawnTime()) { + hash = (37 * hash) + RESPAWNTIME_FIELD_NUMBER; + hash = (53 * hash) + getRespawnTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.PropInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code PropInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PropInfo) + com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PropInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PropInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.PropInfo.class, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.PropInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + anchorGuid_ = ""; + owner_ = ""; + occupiedActorGuid_ = ""; + tableId_ = 0; + itemGuid_ = ""; + mannequins_ = emptyIntList(); + isUsable_ = 0; + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + respawnTime_ = null; + if (respawnTimeBuilder_ != null) { + respawnTimeBuilder_.dispose(); + respawnTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_PropInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PropInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.PropInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PropInfo build() { + com.caliverse.admin.domain.RabbitMq.message.PropInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PropInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.PropInfo result = new com.caliverse.admin.domain.RabbitMq.message.PropInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.PropInfo result) { + if (((bitField0_ & 0x00000020) != 0)) { + mannequins_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.mannequins_ = mannequins_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.PropInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.anchorGuid_ = anchorGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.owner_ = owner_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.occupiedActorGuid_ = occupiedActorGuid_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.tableId_ = tableId_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.itemGuid_ = itemGuid_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.isUsable_ = isUsable_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.respawnTime_ = respawnTimeBuilder_ == null + ? respawnTime_ + : respawnTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.PropInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.PropInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.PropInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.PropInfo.getDefaultInstance()) return this; + if (!other.getAnchorGuid().isEmpty()) { + anchorGuid_ = other.anchorGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getOwner().isEmpty()) { + owner_ = other.owner_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getOccupiedActorGuid().isEmpty()) { + occupiedActorGuid_ = other.occupiedActorGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getTableId() != 0) { + setTableId(other.getTableId()); + } + if (!other.getItemGuid().isEmpty()) { + itemGuid_ = other.itemGuid_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.mannequins_.isEmpty()) { + if (mannequins_.isEmpty()) { + mannequins_ = other.mannequins_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureMannequinsIsMutable(); + mannequins_.addAll(other.mannequins_); + } + onChanged(); + } + if (other.getIsUsable() != 0) { + setIsUsable(other.getIsUsable()); + } + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + if (other.hasRespawnTime()) { + mergeRespawnTime(other.getRespawnTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + anchorGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + owner_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + occupiedActorGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + tableId_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + itemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + int v = input.readInt32(); + ensureMannequinsIsMutable(); + mannequins_.addInt(v); + break; + } // case 48 + case 50: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureMannequinsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + mannequins_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 50 + case 56: { + isUsable_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 90: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 90 + case 98: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 98 + case 106: { + input.readMessage( + getRespawnTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 106 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object anchorGuid_ = ""; + /** + * string anchorGuid = 1; + * @return The anchorGuid. + */ + public java.lang.String getAnchorGuid() { + java.lang.Object ref = anchorGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string anchorGuid = 1; + * @return The bytes for anchorGuid. + */ + public com.google.protobuf.ByteString + getAnchorGuidBytes() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string anchorGuid = 1; + * @param value The anchorGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + anchorGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string anchorGuid = 1; + * @return This builder for chaining. + */ + public Builder clearAnchorGuid() { + anchorGuid_ = getDefaultInstance().getAnchorGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string anchorGuid = 1; + * @param value The bytes for anchorGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + anchorGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object owner_ = ""; + /** + * string owner = 2; + * @return The owner. + */ + public java.lang.String getOwner() { + java.lang.Object ref = owner_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + owner_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string owner = 2; + * @return The bytes for owner. + */ + public com.google.protobuf.ByteString + getOwnerBytes() { + java.lang.Object ref = owner_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + owner_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string owner = 2; + * @param value The owner to set. + * @return This builder for chaining. + */ + public Builder setOwner( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + owner_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string owner = 2; + * @return This builder for chaining. + */ + public Builder clearOwner() { + owner_ = getDefaultInstance().getOwner(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string owner = 2; + * @param value The bytes for owner to set. + * @return This builder for chaining. + */ + public Builder setOwnerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + owner_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object occupiedActorGuid_ = ""; + /** + * string occupiedActorGuid = 3; + * @return The occupiedActorGuid. + */ + public java.lang.String getOccupiedActorGuid() { + java.lang.Object ref = occupiedActorGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + occupiedActorGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string occupiedActorGuid = 3; + * @return The bytes for occupiedActorGuid. + */ + public com.google.protobuf.ByteString + getOccupiedActorGuidBytes() { + java.lang.Object ref = occupiedActorGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + occupiedActorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string occupiedActorGuid = 3; + * @param value The occupiedActorGuid to set. + * @return This builder for chaining. + */ + public Builder setOccupiedActorGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + occupiedActorGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string occupiedActorGuid = 3; + * @return This builder for chaining. + */ + public Builder clearOccupiedActorGuid() { + occupiedActorGuid_ = getDefaultInstance().getOccupiedActorGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string occupiedActorGuid = 3; + * @param value The bytes for occupiedActorGuid to set. + * @return This builder for chaining. + */ + public Builder setOccupiedActorGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + occupiedActorGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int tableId_ ; + /** + * int32 tableId = 4; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + /** + * int32 tableId = 4; + * @param value The tableId to set. + * @return This builder for chaining. + */ + public Builder setTableId(int value) { + + tableId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 tableId = 4; + * @return This builder for chaining. + */ + public Builder clearTableId() { + bitField0_ = (bitField0_ & ~0x00000008); + tableId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object itemGuid_ = ""; + /** + * string itemGuid = 5; + * @return The itemGuid. + */ + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string itemGuid = 5; + * @return The bytes for itemGuid. + */ + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string itemGuid = 5; + * @param value The itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + itemGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string itemGuid = 5; + * @return This builder for chaining. + */ + public Builder clearItemGuid() { + itemGuid_ = getDefaultInstance().getItemGuid(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string itemGuid = 5; + * @param value The bytes for itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + itemGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList mannequins_ = emptyIntList(); + private void ensureMannequinsIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + mannequins_ = mutableCopy(mannequins_); + bitField0_ |= 0x00000020; + } + } + /** + * repeated int32 mannequins = 6; + * @return A list containing the mannequins. + */ + public java.util.List + getMannequinsList() { + return ((bitField0_ & 0x00000020) != 0) ? + java.util.Collections.unmodifiableList(mannequins_) : mannequins_; + } + /** + * repeated int32 mannequins = 6; + * @return The count of mannequins. + */ + public int getMannequinsCount() { + return mannequins_.size(); + } + /** + * repeated int32 mannequins = 6; + * @param index The index of the element to return. + * @return The mannequins at the given index. + */ + public int getMannequins(int index) { + return mannequins_.getInt(index); + } + /** + * repeated int32 mannequins = 6; + * @param index The index to set the value at. + * @param value The mannequins to set. + * @return This builder for chaining. + */ + public Builder setMannequins( + int index, int value) { + + ensureMannequinsIsMutable(); + mannequins_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated int32 mannequins = 6; + * @param value The mannequins to add. + * @return This builder for chaining. + */ + public Builder addMannequins(int value) { + + ensureMannequinsIsMutable(); + mannequins_.addInt(value); + onChanged(); + return this; + } + /** + * repeated int32 mannequins = 6; + * @param values The mannequins to add. + * @return This builder for chaining. + */ + public Builder addAllMannequins( + java.lang.Iterable values) { + ensureMannequinsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mannequins_); + onChanged(); + return this; + } + /** + * repeated int32 mannequins = 6; + * @return This builder for chaining. + */ + public Builder clearMannequins() { + mannequins_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + private int isUsable_ ; + /** + * int32 isUsable = 7; + * @return The isUsable. + */ + @java.lang.Override + public int getIsUsable() { + return isUsable_; + } + /** + * int32 isUsable = 7; + * @param value The isUsable to set. + * @return This builder for chaining. + */ + public Builder setIsUsable(int value) { + + isUsable_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * int32 isUsable = 7; + * @return This builder for chaining. + */ + public Builder clearIsUsable() { + bitField0_ = (bitField0_ & ~0x00000040); + isUsable_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + /** + * .google.protobuf.Timestamp startTime = 11; + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * .google.protobuf.Timestamp startTime = 11; + * @return The startTime. + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp startTime = 11; + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + } else { + startTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp startTime = 11; + */ + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp startTime = 11; + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getStartTimeBuilder().mergeFrom(value); + } else { + startTime_ = value; + } + } else { + startTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp startTime = 11; + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000080); + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp startTime = 11; + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp startTime = 11; + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + /** + * .google.protobuf.Timestamp startTime = 11; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + /** + * .google.protobuf.Timestamp endTime = 12; + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * .google.protobuf.Timestamp endTime = 12; + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp endTime = 12; + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + } else { + endTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp endTime = 12; + */ + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp endTime = 12; + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEndTimeBuilder().mergeFrom(value); + } else { + endTime_ = value; + } + } else { + endTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp endTime = 12; + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000100); + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp endTime = 12; + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp endTime = 12; + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + * .google.protobuf.Timestamp endTime = 12; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + + private com.google.protobuf.Timestamp respawnTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> respawnTimeBuilder_; + /** + * .google.protobuf.Timestamp respawnTime = 13; + * @return Whether the respawnTime field is set. + */ + public boolean hasRespawnTime() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * .google.protobuf.Timestamp respawnTime = 13; + * @return The respawnTime. + */ + public com.google.protobuf.Timestamp getRespawnTime() { + if (respawnTimeBuilder_ == null) { + return respawnTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : respawnTime_; + } else { + return respawnTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp respawnTime = 13; + */ + public Builder setRespawnTime(com.google.protobuf.Timestamp value) { + if (respawnTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + respawnTime_ = value; + } else { + respawnTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp respawnTime = 13; + */ + public Builder setRespawnTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (respawnTimeBuilder_ == null) { + respawnTime_ = builderForValue.build(); + } else { + respawnTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp respawnTime = 13; + */ + public Builder mergeRespawnTime(com.google.protobuf.Timestamp value) { + if (respawnTimeBuilder_ == null) { + if (((bitField0_ & 0x00000200) != 0) && + respawnTime_ != null && + respawnTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getRespawnTimeBuilder().mergeFrom(value); + } else { + respawnTime_ = value; + } + } else { + respawnTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp respawnTime = 13; + */ + public Builder clearRespawnTime() { + bitField0_ = (bitField0_ & ~0x00000200); + respawnTime_ = null; + if (respawnTimeBuilder_ != null) { + respawnTimeBuilder_.dispose(); + respawnTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp respawnTime = 13; + */ + public com.google.protobuf.Timestamp.Builder getRespawnTimeBuilder() { + bitField0_ |= 0x00000200; + onChanged(); + return getRespawnTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp respawnTime = 13; + */ + public com.google.protobuf.TimestampOrBuilder getRespawnTimeOrBuilder() { + if (respawnTimeBuilder_ != null) { + return respawnTimeBuilder_.getMessageOrBuilder(); + } else { + return respawnTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : respawnTime_; + } + } + /** + * .google.protobuf.Timestamp respawnTime = 13; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getRespawnTimeFieldBuilder() { + if (respawnTimeBuilder_ == null) { + respawnTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRespawnTime(), + getParentForChildren(), + isClean()); + respawnTime_ = null; + } + return respawnTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:PropInfo) + } + + // @@protoc_insertion_point(class_scope:PropInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.PropInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.PropInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.PropInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PropInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PropInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PropInfoOrBuilder.java new file mode 100644 index 0000000..6991495 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/PropInfoOrBuilder.java @@ -0,0 +1,131 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface PropInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:PropInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string anchorGuid = 1; + * @return The anchorGuid. + */ + java.lang.String getAnchorGuid(); + /** + * string anchorGuid = 1; + * @return The bytes for anchorGuid. + */ + com.google.protobuf.ByteString + getAnchorGuidBytes(); + + /** + * string owner = 2; + * @return The owner. + */ + java.lang.String getOwner(); + /** + * string owner = 2; + * @return The bytes for owner. + */ + com.google.protobuf.ByteString + getOwnerBytes(); + + /** + * string occupiedActorGuid = 3; + * @return The occupiedActorGuid. + */ + java.lang.String getOccupiedActorGuid(); + /** + * string occupiedActorGuid = 3; + * @return The bytes for occupiedActorGuid. + */ + com.google.protobuf.ByteString + getOccupiedActorGuidBytes(); + + /** + * int32 tableId = 4; + * @return The tableId. + */ + int getTableId(); + + /** + * string itemGuid = 5; + * @return The itemGuid. + */ + java.lang.String getItemGuid(); + /** + * string itemGuid = 5; + * @return The bytes for itemGuid. + */ + com.google.protobuf.ByteString + getItemGuidBytes(); + + /** + * repeated int32 mannequins = 6; + * @return A list containing the mannequins. + */ + java.util.List getMannequinsList(); + /** + * repeated int32 mannequins = 6; + * @return The count of mannequins. + */ + int getMannequinsCount(); + /** + * repeated int32 mannequins = 6; + * @param index The index of the element to return. + * @return The mannequins at the given index. + */ + int getMannequins(int index); + + /** + * int32 isUsable = 7; + * @return The isUsable. + */ + int getIsUsable(); + + /** + * .google.protobuf.Timestamp startTime = 11; + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + * .google.protobuf.Timestamp startTime = 11; + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + /** + * .google.protobuf.Timestamp startTime = 11; + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); + + /** + * .google.protobuf.Timestamp endTime = 12; + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + * .google.protobuf.Timestamp endTime = 12; + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + * .google.protobuf.Timestamp endTime = 12; + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); + + /** + * .google.protobuf.Timestamp respawnTime = 13; + * @return Whether the respawnTime field is set. + */ + boolean hasRespawnTime(); + /** + * .google.protobuf.Timestamp respawnTime = 13; + * @return The respawnTime. + */ + com.google.protobuf.Timestamp getRespawnTime(); + /** + * .google.protobuf.Timestamp respawnTime = 13; + */ + com.google.protobuf.TimestampOrBuilder getRespawnTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestAssignMetaInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestAssignMetaInfo.java new file mode 100644 index 0000000..1d8f52c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestAssignMetaInfo.java @@ -0,0 +1,2029 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code QuestAssignMetaInfo} + */ +public final class QuestAssignMetaInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:QuestAssignMetaInfo) + QuestAssignMetaInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use QuestAssignMetaInfo.newBuilder() to construct. + private QuestAssignMetaInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private QuestAssignMetaInfo() { + questType_ = ""; + questName_ = ""; + assignType_ = ""; + requirementType_ = ""; + mailTitle_ = ""; + mailSender_ = ""; + mailDesc_ = ""; + dialogue_ = ""; + dialogueResult_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QuestAssignMetaInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestAssignMetaInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestAssignMetaInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo.class, com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo.Builder.class); + } + + public static final int COMPOSEDQUESTID_FIELD_NUMBER = 1; + private long composedQuestId_ = 0L; + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + + public static final int QUESTTYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object questType_ = ""; + /** + * string questType = 2; + * @return The questType. + */ + @java.lang.Override + public java.lang.String getQuestType() { + java.lang.Object ref = questType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + questType_ = s; + return s; + } + } + /** + * string questType = 2; + * @return The bytes for questType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getQuestTypeBytes() { + java.lang.Object ref = questType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + questType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REVEAL_FIELD_NUMBER = 3; + private int reveal_ = 0; + /** + * int32 reveal = 3; + * @return The reveal. + */ + @java.lang.Override + public int getReveal() { + return reveal_; + } + + public static final int QUESTNAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object questName_ = ""; + /** + * string questName = 4; + * @return The questName. + */ + @java.lang.Override + public java.lang.String getQuestName() { + java.lang.Object ref = questName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + questName_ = s; + return s; + } + } + /** + * string questName = 4; + * @return The bytes for questName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getQuestNameBytes() { + java.lang.Object ref = questName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + questName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ASSIGNTYPE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object assignType_ = ""; + /** + * string assignType = 5; + * @return The assignType. + */ + @java.lang.Override + public java.lang.String getAssignType() { + java.lang.Object ref = assignType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + assignType_ = s; + return s; + } + } + /** + * string assignType = 5; + * @return The bytes for assignType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAssignTypeBytes() { + java.lang.Object ref = assignType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + assignType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUIREMENTTYPE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object requirementType_ = ""; + /** + * string requirementType = 6; + * @return The requirementType. + */ + @java.lang.Override + public java.lang.String getRequirementType() { + java.lang.Object ref = requirementType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requirementType_ = s; + return s; + } + } + /** + * string requirementType = 6; + * @return The bytes for requirementType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequirementTypeBytes() { + java.lang.Object ref = requirementType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requirementType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUIREMENTVALUE_FIELD_NUMBER = 7; + private int requirementValue_ = 0; + /** + * uint32 requirementValue = 7; + * @return The requirementValue. + */ + @java.lang.Override + public int getRequirementValue() { + return requirementValue_; + } + + public static final int FORCEACCEPT_FIELD_NUMBER = 8; + private int forceAccept_ = 0; + /** + * int32 forceAccept = 8; + * @return The forceAccept. + */ + @java.lang.Override + public int getForceAccept() { + return forceAccept_; + } + + public static final int MAILTITLE_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private volatile java.lang.Object mailTitle_ = ""; + /** + * string mailTitle = 9; + * @return The mailTitle. + */ + @java.lang.Override + public java.lang.String getMailTitle() { + java.lang.Object ref = mailTitle_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mailTitle_ = s; + return s; + } + } + /** + * string mailTitle = 9; + * @return The bytes for mailTitle. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMailTitleBytes() { + java.lang.Object ref = mailTitle_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + mailTitle_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MAILSENDER_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private volatile java.lang.Object mailSender_ = ""; + /** + * string mailSender = 10; + * @return The mailSender. + */ + @java.lang.Override + public java.lang.String getMailSender() { + java.lang.Object ref = mailSender_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mailSender_ = s; + return s; + } + } + /** + * string mailSender = 10; + * @return The bytes for mailSender. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMailSenderBytes() { + java.lang.Object ref = mailSender_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + mailSender_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MAILDESC_FIELD_NUMBER = 11; + @SuppressWarnings("serial") + private volatile java.lang.Object mailDesc_ = ""; + /** + * string mailDesc = 11; + * @return The mailDesc. + */ + @java.lang.Override + public java.lang.String getMailDesc() { + java.lang.Object ref = mailDesc_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mailDesc_ = s; + return s; + } + } + /** + * string mailDesc = 11; + * @return The bytes for mailDesc. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMailDescBytes() { + java.lang.Object ref = mailDesc_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + mailDesc_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DIALOGUE_FIELD_NUMBER = 12; + @SuppressWarnings("serial") + private volatile java.lang.Object dialogue_ = ""; + /** + * string dialogue = 12; + * @return The dialogue. + */ + @java.lang.Override + public java.lang.String getDialogue() { + java.lang.Object ref = dialogue_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dialogue_ = s; + return s; + } + } + /** + * string dialogue = 12; + * @return The bytes for dialogue. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDialogueBytes() { + java.lang.Object ref = dialogue_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dialogue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DIALOGUERESULT_FIELD_NUMBER = 13; + @SuppressWarnings("serial") + private volatile java.lang.Object dialogueResult_ = ""; + /** + * string dialogueResult = 13; + * @return The dialogueResult. + */ + @java.lang.Override + public java.lang.String getDialogueResult() { + java.lang.Object ref = dialogueResult_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dialogueResult_ = s; + return s; + } + } + /** + * string dialogueResult = 13; + * @return The bytes for dialogueResult. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDialogueResultBytes() { + java.lang.Object ref = dialogueResult_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dialogueResult_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REWARDGROUPID_FIELD_NUMBER = 14; + private int rewardGroupId_ = 0; + /** + * int32 rewardGroupId = 14; + * @return The rewardGroupId. + */ + @java.lang.Override + public int getRewardGroupId() { + return rewardGroupId_; + } + + public static final int PRIORITY_FIELD_NUMBER = 15; + private int priority_ = 0; + /** + * int32 priority = 15; + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (composedQuestId_ != 0L) { + output.writeInt64(1, composedQuestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(questType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, questType_); + } + if (reveal_ != 0) { + output.writeInt32(3, reveal_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(questName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, questName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assignType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, assignType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requirementType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, requirementType_); + } + if (requirementValue_ != 0) { + output.writeUInt32(7, requirementValue_); + } + if (forceAccept_ != 0) { + output.writeInt32(8, forceAccept_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mailTitle_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, mailTitle_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mailSender_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, mailSender_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mailDesc_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, mailDesc_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogue_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, dialogue_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogueResult_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, dialogueResult_); + } + if (rewardGroupId_ != 0) { + output.writeInt32(14, rewardGroupId_); + } + if (priority_ != 0) { + output.writeInt32(15, priority_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (composedQuestId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, composedQuestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(questType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, questType_); + } + if (reveal_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, reveal_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(questName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, questName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assignType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, assignType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requirementType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, requirementType_); + } + if (requirementValue_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(7, requirementValue_); + } + if (forceAccept_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, forceAccept_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mailTitle_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, mailTitle_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mailSender_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, mailSender_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mailDesc_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, mailDesc_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogue_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, dialogue_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogueResult_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, dialogueResult_); + } + if (rewardGroupId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(14, rewardGroupId_); + } + if (priority_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(15, priority_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo other = (com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo) obj; + + if (getComposedQuestId() + != other.getComposedQuestId()) return false; + if (!getQuestType() + .equals(other.getQuestType())) return false; + if (getReveal() + != other.getReveal()) return false; + if (!getQuestName() + .equals(other.getQuestName())) return false; + if (!getAssignType() + .equals(other.getAssignType())) return false; + if (!getRequirementType() + .equals(other.getRequirementType())) return false; + if (getRequirementValue() + != other.getRequirementValue()) return false; + if (getForceAccept() + != other.getForceAccept()) return false; + if (!getMailTitle() + .equals(other.getMailTitle())) return false; + if (!getMailSender() + .equals(other.getMailSender())) return false; + if (!getMailDesc() + .equals(other.getMailDesc())) return false; + if (!getDialogue() + .equals(other.getDialogue())) return false; + if (!getDialogueResult() + .equals(other.getDialogueResult())) return false; + if (getRewardGroupId() + != other.getRewardGroupId()) return false; + if (getPriority() + != other.getPriority()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getComposedQuestId()); + hash = (37 * hash) + QUESTTYPE_FIELD_NUMBER; + hash = (53 * hash) + getQuestType().hashCode(); + hash = (37 * hash) + REVEAL_FIELD_NUMBER; + hash = (53 * hash) + getReveal(); + hash = (37 * hash) + QUESTNAME_FIELD_NUMBER; + hash = (53 * hash) + getQuestName().hashCode(); + hash = (37 * hash) + ASSIGNTYPE_FIELD_NUMBER; + hash = (53 * hash) + getAssignType().hashCode(); + hash = (37 * hash) + REQUIREMENTTYPE_FIELD_NUMBER; + hash = (53 * hash) + getRequirementType().hashCode(); + hash = (37 * hash) + REQUIREMENTVALUE_FIELD_NUMBER; + hash = (53 * hash) + getRequirementValue(); + hash = (37 * hash) + FORCEACCEPT_FIELD_NUMBER; + hash = (53 * hash) + getForceAccept(); + hash = (37 * hash) + MAILTITLE_FIELD_NUMBER; + hash = (53 * hash) + getMailTitle().hashCode(); + hash = (37 * hash) + MAILSENDER_FIELD_NUMBER; + hash = (53 * hash) + getMailSender().hashCode(); + hash = (37 * hash) + MAILDESC_FIELD_NUMBER; + hash = (53 * hash) + getMailDesc().hashCode(); + hash = (37 * hash) + DIALOGUE_FIELD_NUMBER; + hash = (53 * hash) + getDialogue().hashCode(); + hash = (37 * hash) + DIALOGUERESULT_FIELD_NUMBER; + hash = (53 * hash) + getDialogueResult().hashCode(); + hash = (37 * hash) + REWARDGROUPID_FIELD_NUMBER; + hash = (53 * hash) + getRewardGroupId(); + hash = (37 * hash) + PRIORITY_FIELD_NUMBER; + hash = (53 * hash) + getPriority(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code QuestAssignMetaInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:QuestAssignMetaInfo) + com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestAssignMetaInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestAssignMetaInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo.class, com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + composedQuestId_ = 0L; + questType_ = ""; + reveal_ = 0; + questName_ = ""; + assignType_ = ""; + requirementType_ = ""; + requirementValue_ = 0; + forceAccept_ = 0; + mailTitle_ = ""; + mailSender_ = ""; + mailDesc_ = ""; + dialogue_ = ""; + dialogueResult_ = ""; + rewardGroupId_ = 0; + priority_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestAssignMetaInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo build() { + com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo result = new com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.composedQuestId_ = composedQuestId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.questType_ = questType_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.reveal_ = reveal_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.questName_ = questName_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.assignType_ = assignType_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.requirementType_ = requirementType_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.requirementValue_ = requirementValue_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.forceAccept_ = forceAccept_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.mailTitle_ = mailTitle_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.mailSender_ = mailSender_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.mailDesc_ = mailDesc_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.dialogue_ = dialogue_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.dialogueResult_ = dialogueResult_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.rewardGroupId_ = rewardGroupId_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.priority_ = priority_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo.getDefaultInstance()) return this; + if (other.getComposedQuestId() != 0L) { + setComposedQuestId(other.getComposedQuestId()); + } + if (!other.getQuestType().isEmpty()) { + questType_ = other.questType_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getReveal() != 0) { + setReveal(other.getReveal()); + } + if (!other.getQuestName().isEmpty()) { + questName_ = other.questName_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getAssignType().isEmpty()) { + assignType_ = other.assignType_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getRequirementType().isEmpty()) { + requirementType_ = other.requirementType_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.getRequirementValue() != 0) { + setRequirementValue(other.getRequirementValue()); + } + if (other.getForceAccept() != 0) { + setForceAccept(other.getForceAccept()); + } + if (!other.getMailTitle().isEmpty()) { + mailTitle_ = other.mailTitle_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (!other.getMailSender().isEmpty()) { + mailSender_ = other.mailSender_; + bitField0_ |= 0x00000200; + onChanged(); + } + if (!other.getMailDesc().isEmpty()) { + mailDesc_ = other.mailDesc_; + bitField0_ |= 0x00000400; + onChanged(); + } + if (!other.getDialogue().isEmpty()) { + dialogue_ = other.dialogue_; + bitField0_ |= 0x00000800; + onChanged(); + } + if (!other.getDialogueResult().isEmpty()) { + dialogueResult_ = other.dialogueResult_; + bitField0_ |= 0x00001000; + onChanged(); + } + if (other.getRewardGroupId() != 0) { + setRewardGroupId(other.getRewardGroupId()); + } + if (other.getPriority() != 0) { + setPriority(other.getPriority()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + composedQuestId_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + questType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + reveal_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + questName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + assignType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + requirementType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: { + requirementValue_ = input.readUInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + forceAccept_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 74: { + mailTitle_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + mailSender_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: { + mailDesc_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: { + dialogue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: { + dialogueResult_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: { + rewardGroupId_ = input.readInt32(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: { + priority_ = input.readInt32(); + bitField0_ |= 0x00004000; + break; + } // case 120 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long composedQuestId_ ; + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + /** + * int64 composedQuestId = 1; + * @param value The composedQuestId to set. + * @return This builder for chaining. + */ + public Builder setComposedQuestId(long value) { + + composedQuestId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int64 composedQuestId = 1; + * @return This builder for chaining. + */ + public Builder clearComposedQuestId() { + bitField0_ = (bitField0_ & ~0x00000001); + composedQuestId_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object questType_ = ""; + /** + * string questType = 2; + * @return The questType. + */ + public java.lang.String getQuestType() { + java.lang.Object ref = questType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + questType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string questType = 2; + * @return The bytes for questType. + */ + public com.google.protobuf.ByteString + getQuestTypeBytes() { + java.lang.Object ref = questType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + questType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string questType = 2; + * @param value The questType to set. + * @return This builder for chaining. + */ + public Builder setQuestType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + questType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string questType = 2; + * @return This builder for chaining. + */ + public Builder clearQuestType() { + questType_ = getDefaultInstance().getQuestType(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string questType = 2; + * @param value The bytes for questType to set. + * @return This builder for chaining. + */ + public Builder setQuestTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + questType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int reveal_ ; + /** + * int32 reveal = 3; + * @return The reveal. + */ + @java.lang.Override + public int getReveal() { + return reveal_; + } + /** + * int32 reveal = 3; + * @param value The reveal to set. + * @return This builder for chaining. + */ + public Builder setReveal(int value) { + + reveal_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 reveal = 3; + * @return This builder for chaining. + */ + public Builder clearReveal() { + bitField0_ = (bitField0_ & ~0x00000004); + reveal_ = 0; + onChanged(); + return this; + } + + private java.lang.Object questName_ = ""; + /** + * string questName = 4; + * @return The questName. + */ + public java.lang.String getQuestName() { + java.lang.Object ref = questName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + questName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string questName = 4; + * @return The bytes for questName. + */ + public com.google.protobuf.ByteString + getQuestNameBytes() { + java.lang.Object ref = questName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + questName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string questName = 4; + * @param value The questName to set. + * @return This builder for chaining. + */ + public Builder setQuestName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + questName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string questName = 4; + * @return This builder for chaining. + */ + public Builder clearQuestName() { + questName_ = getDefaultInstance().getQuestName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string questName = 4; + * @param value The bytes for questName to set. + * @return This builder for chaining. + */ + public Builder setQuestNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + questName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object assignType_ = ""; + /** + * string assignType = 5; + * @return The assignType. + */ + public java.lang.String getAssignType() { + java.lang.Object ref = assignType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + assignType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string assignType = 5; + * @return The bytes for assignType. + */ + public com.google.protobuf.ByteString + getAssignTypeBytes() { + java.lang.Object ref = assignType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + assignType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string assignType = 5; + * @param value The assignType to set. + * @return This builder for chaining. + */ + public Builder setAssignType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + assignType_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string assignType = 5; + * @return This builder for chaining. + */ + public Builder clearAssignType() { + assignType_ = getDefaultInstance().getAssignType(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string assignType = 5; + * @param value The bytes for assignType to set. + * @return This builder for chaining. + */ + public Builder setAssignTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + assignType_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object requirementType_ = ""; + /** + * string requirementType = 6; + * @return The requirementType. + */ + public java.lang.String getRequirementType() { + java.lang.Object ref = requirementType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requirementType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string requirementType = 6; + * @return The bytes for requirementType. + */ + public com.google.protobuf.ByteString + getRequirementTypeBytes() { + java.lang.Object ref = requirementType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requirementType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string requirementType = 6; + * @param value The requirementType to set. + * @return This builder for chaining. + */ + public Builder setRequirementType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + requirementType_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string requirementType = 6; + * @return This builder for chaining. + */ + public Builder clearRequirementType() { + requirementType_ = getDefaultInstance().getRequirementType(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string requirementType = 6; + * @param value The bytes for requirementType to set. + * @return This builder for chaining. + */ + public Builder setRequirementTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + requirementType_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private int requirementValue_ ; + /** + * uint32 requirementValue = 7; + * @return The requirementValue. + */ + @java.lang.Override + public int getRequirementValue() { + return requirementValue_; + } + /** + * uint32 requirementValue = 7; + * @param value The requirementValue to set. + * @return This builder for chaining. + */ + public Builder setRequirementValue(int value) { + + requirementValue_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * uint32 requirementValue = 7; + * @return This builder for chaining. + */ + public Builder clearRequirementValue() { + bitField0_ = (bitField0_ & ~0x00000040); + requirementValue_ = 0; + onChanged(); + return this; + } + + private int forceAccept_ ; + /** + * int32 forceAccept = 8; + * @return The forceAccept. + */ + @java.lang.Override + public int getForceAccept() { + return forceAccept_; + } + /** + * int32 forceAccept = 8; + * @param value The forceAccept to set. + * @return This builder for chaining. + */ + public Builder setForceAccept(int value) { + + forceAccept_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * int32 forceAccept = 8; + * @return This builder for chaining. + */ + public Builder clearForceAccept() { + bitField0_ = (bitField0_ & ~0x00000080); + forceAccept_ = 0; + onChanged(); + return this; + } + + private java.lang.Object mailTitle_ = ""; + /** + * string mailTitle = 9; + * @return The mailTitle. + */ + public java.lang.String getMailTitle() { + java.lang.Object ref = mailTitle_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mailTitle_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string mailTitle = 9; + * @return The bytes for mailTitle. + */ + public com.google.protobuf.ByteString + getMailTitleBytes() { + java.lang.Object ref = mailTitle_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + mailTitle_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string mailTitle = 9; + * @param value The mailTitle to set. + * @return This builder for chaining. + */ + public Builder setMailTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + mailTitle_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * string mailTitle = 9; + * @return This builder for chaining. + */ + public Builder clearMailTitle() { + mailTitle_ = getDefaultInstance().getMailTitle(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + * string mailTitle = 9; + * @param value The bytes for mailTitle to set. + * @return This builder for chaining. + */ + public Builder setMailTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + mailTitle_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private java.lang.Object mailSender_ = ""; + /** + * string mailSender = 10; + * @return The mailSender. + */ + public java.lang.String getMailSender() { + java.lang.Object ref = mailSender_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mailSender_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string mailSender = 10; + * @return The bytes for mailSender. + */ + public com.google.protobuf.ByteString + getMailSenderBytes() { + java.lang.Object ref = mailSender_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + mailSender_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string mailSender = 10; + * @param value The mailSender to set. + * @return This builder for chaining. + */ + public Builder setMailSender( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + mailSender_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * string mailSender = 10; + * @return This builder for chaining. + */ + public Builder clearMailSender() { + mailSender_ = getDefaultInstance().getMailSender(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + * string mailSender = 10; + * @param value The bytes for mailSender to set. + * @return This builder for chaining. + */ + public Builder setMailSenderBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + mailSender_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + private java.lang.Object mailDesc_ = ""; + /** + * string mailDesc = 11; + * @return The mailDesc. + */ + public java.lang.String getMailDesc() { + java.lang.Object ref = mailDesc_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mailDesc_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string mailDesc = 11; + * @return The bytes for mailDesc. + */ + public com.google.protobuf.ByteString + getMailDescBytes() { + java.lang.Object ref = mailDesc_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + mailDesc_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string mailDesc = 11; + * @param value The mailDesc to set. + * @return This builder for chaining. + */ + public Builder setMailDesc( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + mailDesc_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * string mailDesc = 11; + * @return This builder for chaining. + */ + public Builder clearMailDesc() { + mailDesc_ = getDefaultInstance().getMailDesc(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; + } + /** + * string mailDesc = 11; + * @param value The bytes for mailDesc to set. + * @return This builder for chaining. + */ + public Builder setMailDescBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + mailDesc_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + private java.lang.Object dialogue_ = ""; + /** + * string dialogue = 12; + * @return The dialogue. + */ + public java.lang.String getDialogue() { + java.lang.Object ref = dialogue_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dialogue_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string dialogue = 12; + * @return The bytes for dialogue. + */ + public com.google.protobuf.ByteString + getDialogueBytes() { + java.lang.Object ref = dialogue_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dialogue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string dialogue = 12; + * @param value The dialogue to set. + * @return This builder for chaining. + */ + public Builder setDialogue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + dialogue_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * string dialogue = 12; + * @return This builder for chaining. + */ + public Builder clearDialogue() { + dialogue_ = getDefaultInstance().getDialogue(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + /** + * string dialogue = 12; + * @param value The bytes for dialogue to set. + * @return This builder for chaining. + */ + public Builder setDialogueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + dialogue_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + + private java.lang.Object dialogueResult_ = ""; + /** + * string dialogueResult = 13; + * @return The dialogueResult. + */ + public java.lang.String getDialogueResult() { + java.lang.Object ref = dialogueResult_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dialogueResult_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string dialogueResult = 13; + * @return The bytes for dialogueResult. + */ + public com.google.protobuf.ByteString + getDialogueResultBytes() { + java.lang.Object ref = dialogueResult_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dialogueResult_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string dialogueResult = 13; + * @param value The dialogueResult to set. + * @return This builder for chaining. + */ + public Builder setDialogueResult( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + dialogueResult_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * string dialogueResult = 13; + * @return This builder for chaining. + */ + public Builder clearDialogueResult() { + dialogueResult_ = getDefaultInstance().getDialogueResult(); + bitField0_ = (bitField0_ & ~0x00001000); + onChanged(); + return this; + } + /** + * string dialogueResult = 13; + * @param value The bytes for dialogueResult to set. + * @return This builder for chaining. + */ + public Builder setDialogueResultBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + dialogueResult_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + + private int rewardGroupId_ ; + /** + * int32 rewardGroupId = 14; + * @return The rewardGroupId. + */ + @java.lang.Override + public int getRewardGroupId() { + return rewardGroupId_; + } + /** + * int32 rewardGroupId = 14; + * @param value The rewardGroupId to set. + * @return This builder for chaining. + */ + public Builder setRewardGroupId(int value) { + + rewardGroupId_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * int32 rewardGroupId = 14; + * @return This builder for chaining. + */ + public Builder clearRewardGroupId() { + bitField0_ = (bitField0_ & ~0x00002000); + rewardGroupId_ = 0; + onChanged(); + return this; + } + + private int priority_ ; + /** + * int32 priority = 15; + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + /** + * int32 priority = 15; + * @param value The priority to set. + * @return This builder for chaining. + */ + public Builder setPriority(int value) { + + priority_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + * int32 priority = 15; + * @return This builder for chaining. + */ + public Builder clearPriority() { + bitField0_ = (bitField0_ & ~0x00004000); + priority_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:QuestAssignMetaInfo) + } + + // @@protoc_insertion_point(class_scope:QuestAssignMetaInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuestAssignMetaInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestAssignMetaInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestAssignMetaInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestAssignMetaInfoOrBuilder.java new file mode 100644 index 0000000..ceff4c3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestAssignMetaInfoOrBuilder.java @@ -0,0 +1,153 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface QuestAssignMetaInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:QuestAssignMetaInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + long getComposedQuestId(); + + /** + * string questType = 2; + * @return The questType. + */ + java.lang.String getQuestType(); + /** + * string questType = 2; + * @return The bytes for questType. + */ + com.google.protobuf.ByteString + getQuestTypeBytes(); + + /** + * int32 reveal = 3; + * @return The reveal. + */ + int getReveal(); + + /** + * string questName = 4; + * @return The questName. + */ + java.lang.String getQuestName(); + /** + * string questName = 4; + * @return The bytes for questName. + */ + com.google.protobuf.ByteString + getQuestNameBytes(); + + /** + * string assignType = 5; + * @return The assignType. + */ + java.lang.String getAssignType(); + /** + * string assignType = 5; + * @return The bytes for assignType. + */ + com.google.protobuf.ByteString + getAssignTypeBytes(); + + /** + * string requirementType = 6; + * @return The requirementType. + */ + java.lang.String getRequirementType(); + /** + * string requirementType = 6; + * @return The bytes for requirementType. + */ + com.google.protobuf.ByteString + getRequirementTypeBytes(); + + /** + * uint32 requirementValue = 7; + * @return The requirementValue. + */ + int getRequirementValue(); + + /** + * int32 forceAccept = 8; + * @return The forceAccept. + */ + int getForceAccept(); + + /** + * string mailTitle = 9; + * @return The mailTitle. + */ + java.lang.String getMailTitle(); + /** + * string mailTitle = 9; + * @return The bytes for mailTitle. + */ + com.google.protobuf.ByteString + getMailTitleBytes(); + + /** + * string mailSender = 10; + * @return The mailSender. + */ + java.lang.String getMailSender(); + /** + * string mailSender = 10; + * @return The bytes for mailSender. + */ + com.google.protobuf.ByteString + getMailSenderBytes(); + + /** + * string mailDesc = 11; + * @return The mailDesc. + */ + java.lang.String getMailDesc(); + /** + * string mailDesc = 11; + * @return The bytes for mailDesc. + */ + com.google.protobuf.ByteString + getMailDescBytes(); + + /** + * string dialogue = 12; + * @return The dialogue. + */ + java.lang.String getDialogue(); + /** + * string dialogue = 12; + * @return The bytes for dialogue. + */ + com.google.protobuf.ByteString + getDialogueBytes(); + + /** + * string dialogueResult = 13; + * @return The dialogueResult. + */ + java.lang.String getDialogueResult(); + /** + * string dialogueResult = 13; + * @return The bytes for dialogueResult. + */ + com.google.protobuf.ByteString + getDialogueResultBytes(); + + /** + * int32 rewardGroupId = 14; + * @return The rewardGroupId. + */ + int getRewardGroupId(); + + /** + * int32 priority = 15; + * @return The priority. + */ + int getPriority(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestEndInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestEndInfo.java new file mode 100644 index 0000000..c2782fb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestEndInfo.java @@ -0,0 +1,770 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code QuestEndInfo} + */ +public final class QuestEndInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:QuestEndInfo) + QuestEndInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use QuestEndInfo.newBuilder() to construct. + private QuestEndInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private QuestEndInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QuestEndInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestEndInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestEndInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo.class, com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo.Builder.class); + } + + public static final int COMPOSEDQUESTID_FIELD_NUMBER = 1; + private long composedQuestId_ = 0L; + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + + public static final int ENDCOUNT_FIELD_NUMBER = 2; + private int endCount_ = 0; + /** + * int32 endCount = 2; + * @return The endCount. + */ + @java.lang.Override + public int getEndCount() { + return endCount_; + } + + public static final int LASTENDTIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp lastEndTime_; + /** + *
+   *int32 questRevision = 4;
+   * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + * @return Whether the lastEndTime field is set. + */ + @java.lang.Override + public boolean hasLastEndTime() { + return lastEndTime_ != null; + } + /** + *
+   *int32 questRevision = 4;
+   * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + * @return The lastEndTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getLastEndTime() { + return lastEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastEndTime_; + } + /** + *
+   *int32 questRevision = 4;
+   * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getLastEndTimeOrBuilder() { + return lastEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastEndTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (composedQuestId_ != 0L) { + output.writeInt64(1, composedQuestId_); + } + if (endCount_ != 0) { + output.writeInt32(2, endCount_); + } + if (lastEndTime_ != null) { + output.writeMessage(3, getLastEndTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (composedQuestId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, composedQuestId_); + } + if (endCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, endCount_); + } + if (lastEndTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLastEndTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo other = (com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo) obj; + + if (getComposedQuestId() + != other.getComposedQuestId()) return false; + if (getEndCount() + != other.getEndCount()) return false; + if (hasLastEndTime() != other.hasLastEndTime()) return false; + if (hasLastEndTime()) { + if (!getLastEndTime() + .equals(other.getLastEndTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getComposedQuestId()); + hash = (37 * hash) + ENDCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getEndCount(); + if (hasLastEndTime()) { + hash = (37 * hash) + LASTENDTIME_FIELD_NUMBER; + hash = (53 * hash) + getLastEndTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code QuestEndInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:QuestEndInfo) + com.caliverse.admin.domain.RabbitMq.message.QuestEndInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestEndInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestEndInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo.class, com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + composedQuestId_ = 0L; + endCount_ = 0; + lastEndTime_ = null; + if (lastEndTimeBuilder_ != null) { + lastEndTimeBuilder_.dispose(); + lastEndTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestEndInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo build() { + com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo result = new com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.composedQuestId_ = composedQuestId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.endCount_ = endCount_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.lastEndTime_ = lastEndTimeBuilder_ == null + ? lastEndTime_ + : lastEndTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo.getDefaultInstance()) return this; + if (other.getComposedQuestId() != 0L) { + setComposedQuestId(other.getComposedQuestId()); + } + if (other.getEndCount() != 0) { + setEndCount(other.getEndCount()); + } + if (other.hasLastEndTime()) { + mergeLastEndTime(other.getLastEndTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + composedQuestId_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + endCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getLastEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long composedQuestId_ ; + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + /** + * int64 composedQuestId = 1; + * @param value The composedQuestId to set. + * @return This builder for chaining. + */ + public Builder setComposedQuestId(long value) { + + composedQuestId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int64 composedQuestId = 1; + * @return This builder for chaining. + */ + public Builder clearComposedQuestId() { + bitField0_ = (bitField0_ & ~0x00000001); + composedQuestId_ = 0L; + onChanged(); + return this; + } + + private int endCount_ ; + /** + * int32 endCount = 2; + * @return The endCount. + */ + @java.lang.Override + public int getEndCount() { + return endCount_; + } + /** + * int32 endCount = 2; + * @param value The endCount to set. + * @return This builder for chaining. + */ + public Builder setEndCount(int value) { + + endCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 endCount = 2; + * @return This builder for chaining. + */ + public Builder clearEndCount() { + bitField0_ = (bitField0_ & ~0x00000002); + endCount_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp lastEndTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastEndTimeBuilder_; + /** + *
+     *int32 questRevision = 4;
+     * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + * @return Whether the lastEndTime field is set. + */ + public boolean hasLastEndTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     *int32 questRevision = 4;
+     * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + * @return The lastEndTime. + */ + public com.google.protobuf.Timestamp getLastEndTime() { + if (lastEndTimeBuilder_ == null) { + return lastEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastEndTime_; + } else { + return lastEndTimeBuilder_.getMessage(); + } + } + /** + *
+     *int32 questRevision = 4;
+     * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + */ + public Builder setLastEndTime(com.google.protobuf.Timestamp value) { + if (lastEndTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + lastEndTime_ = value; + } else { + lastEndTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     *int32 questRevision = 4;
+     * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + */ + public Builder setLastEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (lastEndTimeBuilder_ == null) { + lastEndTime_ = builderForValue.build(); + } else { + lastEndTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     *int32 questRevision = 4;
+     * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + */ + public Builder mergeLastEndTime(com.google.protobuf.Timestamp value) { + if (lastEndTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + lastEndTime_ != null && + lastEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getLastEndTimeBuilder().mergeFrom(value); + } else { + lastEndTime_ = value; + } + } else { + lastEndTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     *int32 questRevision = 4;
+     * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + */ + public Builder clearLastEndTime() { + bitField0_ = (bitField0_ & ~0x00000004); + lastEndTime_ = null; + if (lastEndTimeBuilder_ != null) { + lastEndTimeBuilder_.dispose(); + lastEndTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     *int32 questRevision = 4;
+     * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + */ + public com.google.protobuf.Timestamp.Builder getLastEndTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getLastEndTimeFieldBuilder().getBuilder(); + } + /** + *
+     *int32 questRevision = 4;
+     * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + */ + public com.google.protobuf.TimestampOrBuilder getLastEndTimeOrBuilder() { + if (lastEndTimeBuilder_ != null) { + return lastEndTimeBuilder_.getMessageOrBuilder(); + } else { + return lastEndTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastEndTime_; + } + } + /** + *
+     *int32 questRevision = 4;
+     * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getLastEndTimeFieldBuilder() { + if (lastEndTimeBuilder_ == null) { + lastEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastEndTime(), + getParentForChildren(), + isClean()); + lastEndTime_ = null; + } + return lastEndTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:QuestEndInfo) + } + + // @@protoc_insertion_point(class_scope:QuestEndInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuestEndInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestEndInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestEndInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestEndInfoOrBuilder.java new file mode 100644 index 0000000..33cb02b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestEndInfoOrBuilder.java @@ -0,0 +1,48 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface QuestEndInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:QuestEndInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + long getComposedQuestId(); + + /** + * int32 endCount = 2; + * @return The endCount. + */ + int getEndCount(); + + /** + *
+   *int32 questRevision = 4;
+   * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + * @return Whether the lastEndTime field is set. + */ + boolean hasLastEndTime(); + /** + *
+   *int32 questRevision = 4;
+   * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + * @return The lastEndTime. + */ + com.google.protobuf.Timestamp getLastEndTime(); + /** + *
+   *int32 questRevision = 4;
+   * 
+ * + * .google.protobuf.Timestamp lastEndTime = 3; + */ + com.google.protobuf.TimestampOrBuilder getLastEndTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestInfo.java new file mode 100644 index 0000000..0a0c382 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestInfo.java @@ -0,0 +1,2175 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code QuestInfo} + */ +public final class QuestInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:QuestInfo) + QuestInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use QuestInfo.newBuilder() to construct. + private QuestInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private QuestInfo() { + activeIdxList_ = emptyIntList(); + activeEvents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QuestInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.QuestInfo.class, com.caliverse.admin.domain.RabbitMq.message.QuestInfo.Builder.class); + } + + public static final int COMPOSEDQUESTID_FIELD_NUMBER = 1; + private long composedQuestId_ = 0L; + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + + public static final int QUESTASSIGNTIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp questAssignTime_; + /** + * .google.protobuf.Timestamp questAssignTime = 2; + * @return Whether the questAssignTime field is set. + */ + @java.lang.Override + public boolean hasQuestAssignTime() { + return questAssignTime_ != null; + } + /** + * .google.protobuf.Timestamp questAssignTime = 2; + * @return The questAssignTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getQuestAssignTime() { + return questAssignTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : questAssignTime_; + } + /** + * .google.protobuf.Timestamp questAssignTime = 2; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getQuestAssignTimeOrBuilder() { + return questAssignTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : questAssignTime_; + } + + public static final int CURRENTTASKNUM_FIELD_NUMBER = 3; + private int currentTaskNum_ = 0; + /** + * int32 currentTaskNum = 3; + * @return The currentTaskNum. + */ + @java.lang.Override + public int getCurrentTaskNum() { + return currentTaskNum_; + } + + public static final int TASKSTARTTIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp taskStartTime_; + /** + * .google.protobuf.Timestamp taskStartTime = 4; + * @return Whether the taskStartTime field is set. + */ + @java.lang.Override + public boolean hasTaskStartTime() { + return taskStartTime_ != null; + } + /** + * .google.protobuf.Timestamp taskStartTime = 4; + * @return The taskStartTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getTaskStartTime() { + return taskStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : taskStartTime_; + } + /** + * .google.protobuf.Timestamp taskStartTime = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getTaskStartTimeOrBuilder() { + return taskStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : taskStartTime_; + } + + public static final int QUESTCOMPLETETIME_FIELD_NUMBER = 5; + private com.google.protobuf.Timestamp questCompleteTime_; + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + * @return Whether the questCompleteTime field is set. + */ + @java.lang.Override + public boolean hasQuestCompleteTime() { + return questCompleteTime_ != null; + } + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + * @return The questCompleteTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getQuestCompleteTime() { + return questCompleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : questCompleteTime_; + } + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getQuestCompleteTimeOrBuilder() { + return questCompleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : questCompleteTime_; + } + + public static final int ACTIVEIDXLIST_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList activeIdxList_; + /** + *
+   *activeEvents ȯ     ó
+   * 
+ * + * repeated int32 activeIdxList = 6; + * @return A list containing the activeIdxList. + */ + @java.lang.Override + public java.util.List + getActiveIdxListList() { + return activeIdxList_; + } + /** + *
+   *activeEvents ȯ     ó
+   * 
+ * + * repeated int32 activeIdxList = 6; + * @return The count of activeIdxList. + */ + public int getActiveIdxListCount() { + return activeIdxList_.size(); + } + /** + *
+   *activeEvents ȯ     ó
+   * 
+ * + * repeated int32 activeIdxList = 6; + * @param index The index of the element to return. + * @return The activeIdxList at the given index. + */ + public int getActiveIdxList(int index) { + return activeIdxList_.getInt(index); + } + private int activeIdxListMemoizedSerializedSize = -1; + + public static final int HASCOUNTER_FIELD_NUMBER = 7; + private int hasCounter_ = 0; + /** + * int32 hasCounter = 7; + * @return The hasCounter. + */ + @java.lang.Override + public int getHasCounter() { + return hasCounter_; + } + + public static final int MINCOUNTER_FIELD_NUMBER = 8; + private int minCounter_ = 0; + /** + * int32 minCounter = 8; + * @return The minCounter. + */ + @java.lang.Override + public int getMinCounter() { + return minCounter_; + } + + public static final int MAXCOUNTER_FIELD_NUMBER = 9; + private int maxCounter_ = 0; + /** + * int32 maxCounter = 9; + * @return The maxCounter. + */ + @java.lang.Override + public int getMaxCounter() { + return maxCounter_; + } + + public static final int CURRENTCOUNTER_FIELD_NUMBER = 10; + private int currentCounter_ = 0; + /** + * int32 currentCounter = 10; + * @return The currentCounter. + */ + @java.lang.Override + public int getCurrentCounter() { + return currentCounter_; + } + + public static final int ISCOMPLETE_FIELD_NUMBER = 11; + private int isComplete_ = 0; + /** + * int32 isComplete = 11; + * @return The isComplete. + */ + @java.lang.Override + public int getIsComplete() { + return isComplete_; + } + + public static final int REPLACEDREWARDGROUPID_FIELD_NUMBER = 12; + private int replacedRewardGroupId_ = 0; + /** + * int32 replacedRewardGroupId = 12; + * @return The replacedRewardGroupId. + */ + @java.lang.Override + public int getReplacedRewardGroupId() { + return replacedRewardGroupId_; + } + + public static final int HASTIMER_FIELD_NUMBER = 13; + private int hasTimer_ = 0; + /** + * int32 hasTimer = 13; + * @return The hasTimer. + */ + @java.lang.Override + public int getHasTimer() { + return hasTimer_; + } + + public static final int TIMERCOMPLETETIME_FIELD_NUMBER = 14; + private com.google.protobuf.Timestamp timerCompleteTime_; + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + * @return Whether the timerCompleteTime field is set. + */ + @java.lang.Override + public boolean hasTimerCompleteTime() { + return timerCompleteTime_ != null; + } + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + * @return The timerCompleteTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getTimerCompleteTime() { + return timerCompleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timerCompleteTime_; + } + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getTimerCompleteTimeOrBuilder() { + return timerCompleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timerCompleteTime_; + } + + public static final int ACTIVEEVENTS_FIELD_NUMBER = 15; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList activeEvents_; + /** + *
+   *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+   * 
+ * + * repeated string activeEvents = 15; + * @return A list containing the activeEvents. + */ + public com.google.protobuf.ProtocolStringList + getActiveEventsList() { + return activeEvents_; + } + /** + *
+   *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+   * 
+ * + * repeated string activeEvents = 15; + * @return The count of activeEvents. + */ + public int getActiveEventsCount() { + return activeEvents_.size(); + } + /** + *
+   *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+   * 
+ * + * repeated string activeEvents = 15; + * @param index The index of the element to return. + * @return The activeEvents at the given index. + */ + public java.lang.String getActiveEvents(int index) { + return activeEvents_.get(index); + } + /** + *
+   *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+   * 
+ * + * repeated string activeEvents = 15; + * @param index The index of the value to return. + * @return The bytes of the activeEvents at the given index. + */ + public com.google.protobuf.ByteString + getActiveEventsBytes(int index) { + return activeEvents_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (composedQuestId_ != 0L) { + output.writeInt64(1, composedQuestId_); + } + if (questAssignTime_ != null) { + output.writeMessage(2, getQuestAssignTime()); + } + if (currentTaskNum_ != 0) { + output.writeInt32(3, currentTaskNum_); + } + if (taskStartTime_ != null) { + output.writeMessage(4, getTaskStartTime()); + } + if (questCompleteTime_ != null) { + output.writeMessage(5, getQuestCompleteTime()); + } + if (getActiveIdxListList().size() > 0) { + output.writeUInt32NoTag(50); + output.writeUInt32NoTag(activeIdxListMemoizedSerializedSize); + } + for (int i = 0; i < activeIdxList_.size(); i++) { + output.writeInt32NoTag(activeIdxList_.getInt(i)); + } + if (hasCounter_ != 0) { + output.writeInt32(7, hasCounter_); + } + if (minCounter_ != 0) { + output.writeInt32(8, minCounter_); + } + if (maxCounter_ != 0) { + output.writeInt32(9, maxCounter_); + } + if (currentCounter_ != 0) { + output.writeInt32(10, currentCounter_); + } + if (isComplete_ != 0) { + output.writeInt32(11, isComplete_); + } + if (replacedRewardGroupId_ != 0) { + output.writeInt32(12, replacedRewardGroupId_); + } + if (hasTimer_ != 0) { + output.writeInt32(13, hasTimer_); + } + if (timerCompleteTime_ != null) { + output.writeMessage(14, getTimerCompleteTime()); + } + for (int i = 0; i < activeEvents_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, activeEvents_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (composedQuestId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, composedQuestId_); + } + if (questAssignTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getQuestAssignTime()); + } + if (currentTaskNum_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, currentTaskNum_); + } + if (taskStartTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTaskStartTime()); + } + if (questCompleteTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getQuestCompleteTime()); + } + { + int dataSize = 0; + for (int i = 0; i < activeIdxList_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(activeIdxList_.getInt(i)); + } + size += dataSize; + if (!getActiveIdxListList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + activeIdxListMemoizedSerializedSize = dataSize; + } + if (hasCounter_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, hasCounter_); + } + if (minCounter_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, minCounter_); + } + if (maxCounter_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, maxCounter_); + } + if (currentCounter_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, currentCounter_); + } + if (isComplete_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(11, isComplete_); + } + if (replacedRewardGroupId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(12, replacedRewardGroupId_); + } + if (hasTimer_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(13, hasTimer_); + } + if (timerCompleteTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getTimerCompleteTime()); + } + { + int dataSize = 0; + for (int i = 0; i < activeEvents_.size(); i++) { + dataSize += computeStringSizeNoTag(activeEvents_.getRaw(i)); + } + size += dataSize; + size += 1 * getActiveEventsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.QuestInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.QuestInfo other = (com.caliverse.admin.domain.RabbitMq.message.QuestInfo) obj; + + if (getComposedQuestId() + != other.getComposedQuestId()) return false; + if (hasQuestAssignTime() != other.hasQuestAssignTime()) return false; + if (hasQuestAssignTime()) { + if (!getQuestAssignTime() + .equals(other.getQuestAssignTime())) return false; + } + if (getCurrentTaskNum() + != other.getCurrentTaskNum()) return false; + if (hasTaskStartTime() != other.hasTaskStartTime()) return false; + if (hasTaskStartTime()) { + if (!getTaskStartTime() + .equals(other.getTaskStartTime())) return false; + } + if (hasQuestCompleteTime() != other.hasQuestCompleteTime()) return false; + if (hasQuestCompleteTime()) { + if (!getQuestCompleteTime() + .equals(other.getQuestCompleteTime())) return false; + } + if (!getActiveIdxListList() + .equals(other.getActiveIdxListList())) return false; + if (getHasCounter() + != other.getHasCounter()) return false; + if (getMinCounter() + != other.getMinCounter()) return false; + if (getMaxCounter() + != other.getMaxCounter()) return false; + if (getCurrentCounter() + != other.getCurrentCounter()) return false; + if (getIsComplete() + != other.getIsComplete()) return false; + if (getReplacedRewardGroupId() + != other.getReplacedRewardGroupId()) return false; + if (getHasTimer() + != other.getHasTimer()) return false; + if (hasTimerCompleteTime() != other.hasTimerCompleteTime()) return false; + if (hasTimerCompleteTime()) { + if (!getTimerCompleteTime() + .equals(other.getTimerCompleteTime())) return false; + } + if (!getActiveEventsList() + .equals(other.getActiveEventsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getComposedQuestId()); + if (hasQuestAssignTime()) { + hash = (37 * hash) + QUESTASSIGNTIME_FIELD_NUMBER; + hash = (53 * hash) + getQuestAssignTime().hashCode(); + } + hash = (37 * hash) + CURRENTTASKNUM_FIELD_NUMBER; + hash = (53 * hash) + getCurrentTaskNum(); + if (hasTaskStartTime()) { + hash = (37 * hash) + TASKSTARTTIME_FIELD_NUMBER; + hash = (53 * hash) + getTaskStartTime().hashCode(); + } + if (hasQuestCompleteTime()) { + hash = (37 * hash) + QUESTCOMPLETETIME_FIELD_NUMBER; + hash = (53 * hash) + getQuestCompleteTime().hashCode(); + } + if (getActiveIdxListCount() > 0) { + hash = (37 * hash) + ACTIVEIDXLIST_FIELD_NUMBER; + hash = (53 * hash) + getActiveIdxListList().hashCode(); + } + hash = (37 * hash) + HASCOUNTER_FIELD_NUMBER; + hash = (53 * hash) + getHasCounter(); + hash = (37 * hash) + MINCOUNTER_FIELD_NUMBER; + hash = (53 * hash) + getMinCounter(); + hash = (37 * hash) + MAXCOUNTER_FIELD_NUMBER; + hash = (53 * hash) + getMaxCounter(); + hash = (37 * hash) + CURRENTCOUNTER_FIELD_NUMBER; + hash = (53 * hash) + getCurrentCounter(); + hash = (37 * hash) + ISCOMPLETE_FIELD_NUMBER; + hash = (53 * hash) + getIsComplete(); + hash = (37 * hash) + REPLACEDREWARDGROUPID_FIELD_NUMBER; + hash = (53 * hash) + getReplacedRewardGroupId(); + hash = (37 * hash) + HASTIMER_FIELD_NUMBER; + hash = (53 * hash) + getHasTimer(); + if (hasTimerCompleteTime()) { + hash = (37 * hash) + TIMERCOMPLETETIME_FIELD_NUMBER; + hash = (53 * hash) + getTimerCompleteTime().hashCode(); + } + if (getActiveEventsCount() > 0) { + hash = (37 * hash) + ACTIVEEVENTS_FIELD_NUMBER; + hash = (53 * hash) + getActiveEventsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.QuestInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code QuestInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:QuestInfo) + com.caliverse.admin.domain.RabbitMq.message.QuestInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.QuestInfo.class, com.caliverse.admin.domain.RabbitMq.message.QuestInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.QuestInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + composedQuestId_ = 0L; + questAssignTime_ = null; + if (questAssignTimeBuilder_ != null) { + questAssignTimeBuilder_.dispose(); + questAssignTimeBuilder_ = null; + } + currentTaskNum_ = 0; + taskStartTime_ = null; + if (taskStartTimeBuilder_ != null) { + taskStartTimeBuilder_.dispose(); + taskStartTimeBuilder_ = null; + } + questCompleteTime_ = null; + if (questCompleteTimeBuilder_ != null) { + questCompleteTimeBuilder_.dispose(); + questCompleteTimeBuilder_ = null; + } + activeIdxList_ = emptyIntList(); + hasCounter_ = 0; + minCounter_ = 0; + maxCounter_ = 0; + currentCounter_ = 0; + isComplete_ = 0; + replacedRewardGroupId_ = 0; + hasTimer_ = 0; + timerCompleteTime_ = null; + if (timerCompleteTimeBuilder_ != null) { + timerCompleteTimeBuilder_.dispose(); + timerCompleteTimeBuilder_ = null; + } + activeEvents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00004000); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.QuestInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestInfo build() { + com.caliverse.admin.domain.RabbitMq.message.QuestInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.QuestInfo result = new com.caliverse.admin.domain.RabbitMq.message.QuestInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.QuestInfo result) { + if (((bitField0_ & 0x00000020) != 0)) { + activeIdxList_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.activeIdxList_ = activeIdxList_; + if (((bitField0_ & 0x00004000) != 0)) { + activeEvents_ = activeEvents_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00004000); + } + result.activeEvents_ = activeEvents_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.QuestInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.composedQuestId_ = composedQuestId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.questAssignTime_ = questAssignTimeBuilder_ == null + ? questAssignTime_ + : questAssignTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.currentTaskNum_ = currentTaskNum_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.taskStartTime_ = taskStartTimeBuilder_ == null + ? taskStartTime_ + : taskStartTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.questCompleteTime_ = questCompleteTimeBuilder_ == null + ? questCompleteTime_ + : questCompleteTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.hasCounter_ = hasCounter_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.minCounter_ = minCounter_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.maxCounter_ = maxCounter_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.currentCounter_ = currentCounter_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.isComplete_ = isComplete_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.replacedRewardGroupId_ = replacedRewardGroupId_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.hasTimer_ = hasTimer_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.timerCompleteTime_ = timerCompleteTimeBuilder_ == null + ? timerCompleteTime_ + : timerCompleteTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.QuestInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.QuestInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.QuestInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.QuestInfo.getDefaultInstance()) return this; + if (other.getComposedQuestId() != 0L) { + setComposedQuestId(other.getComposedQuestId()); + } + if (other.hasQuestAssignTime()) { + mergeQuestAssignTime(other.getQuestAssignTime()); + } + if (other.getCurrentTaskNum() != 0) { + setCurrentTaskNum(other.getCurrentTaskNum()); + } + if (other.hasTaskStartTime()) { + mergeTaskStartTime(other.getTaskStartTime()); + } + if (other.hasQuestCompleteTime()) { + mergeQuestCompleteTime(other.getQuestCompleteTime()); + } + if (!other.activeIdxList_.isEmpty()) { + if (activeIdxList_.isEmpty()) { + activeIdxList_ = other.activeIdxList_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureActiveIdxListIsMutable(); + activeIdxList_.addAll(other.activeIdxList_); + } + onChanged(); + } + if (other.getHasCounter() != 0) { + setHasCounter(other.getHasCounter()); + } + if (other.getMinCounter() != 0) { + setMinCounter(other.getMinCounter()); + } + if (other.getMaxCounter() != 0) { + setMaxCounter(other.getMaxCounter()); + } + if (other.getCurrentCounter() != 0) { + setCurrentCounter(other.getCurrentCounter()); + } + if (other.getIsComplete() != 0) { + setIsComplete(other.getIsComplete()); + } + if (other.getReplacedRewardGroupId() != 0) { + setReplacedRewardGroupId(other.getReplacedRewardGroupId()); + } + if (other.getHasTimer() != 0) { + setHasTimer(other.getHasTimer()); + } + if (other.hasTimerCompleteTime()) { + mergeTimerCompleteTime(other.getTimerCompleteTime()); + } + if (!other.activeEvents_.isEmpty()) { + if (activeEvents_.isEmpty()) { + activeEvents_ = other.activeEvents_; + bitField0_ = (bitField0_ & ~0x00004000); + } else { + ensureActiveEventsIsMutable(); + activeEvents_.addAll(other.activeEvents_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + composedQuestId_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getQuestAssignTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + currentTaskNum_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + getTaskStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getQuestCompleteTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + int v = input.readInt32(); + ensureActiveIdxListIsMutable(); + activeIdxList_.addInt(v); + break; + } // case 48 + case 50: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureActiveIdxListIsMutable(); + while (input.getBytesUntilLimit() > 0) { + activeIdxList_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 50 + case 56: { + hasCounter_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + minCounter_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: { + maxCounter_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: { + currentCounter_ = input.readInt32(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + isComplete_ = input.readInt32(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 96: { + replacedRewardGroupId_ = input.readInt32(); + bitField0_ |= 0x00000800; + break; + } // case 96 + case 104: { + hasTimer_ = input.readInt32(); + bitField0_ |= 0x00001000; + break; + } // case 104 + case 114: { + input.readMessage( + getTimerCompleteTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 114 + case 122: { + java.lang.String s = input.readStringRequireUtf8(); + ensureActiveEventsIsMutable(); + activeEvents_.add(s); + break; + } // case 122 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long composedQuestId_ ; + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + /** + * int64 composedQuestId = 1; + * @param value The composedQuestId to set. + * @return This builder for chaining. + */ + public Builder setComposedQuestId(long value) { + + composedQuestId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int64 composedQuestId = 1; + * @return This builder for chaining. + */ + public Builder clearComposedQuestId() { + bitField0_ = (bitField0_ & ~0x00000001); + composedQuestId_ = 0L; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp questAssignTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> questAssignTimeBuilder_; + /** + * .google.protobuf.Timestamp questAssignTime = 2; + * @return Whether the questAssignTime field is set. + */ + public boolean hasQuestAssignTime() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .google.protobuf.Timestamp questAssignTime = 2; + * @return The questAssignTime. + */ + public com.google.protobuf.Timestamp getQuestAssignTime() { + if (questAssignTimeBuilder_ == null) { + return questAssignTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : questAssignTime_; + } else { + return questAssignTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp questAssignTime = 2; + */ + public Builder setQuestAssignTime(com.google.protobuf.Timestamp value) { + if (questAssignTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + questAssignTime_ = value; + } else { + questAssignTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp questAssignTime = 2; + */ + public Builder setQuestAssignTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (questAssignTimeBuilder_ == null) { + questAssignTime_ = builderForValue.build(); + } else { + questAssignTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp questAssignTime = 2; + */ + public Builder mergeQuestAssignTime(com.google.protobuf.Timestamp value) { + if (questAssignTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + questAssignTime_ != null && + questAssignTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getQuestAssignTimeBuilder().mergeFrom(value); + } else { + questAssignTime_ = value; + } + } else { + questAssignTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp questAssignTime = 2; + */ + public Builder clearQuestAssignTime() { + bitField0_ = (bitField0_ & ~0x00000002); + questAssignTime_ = null; + if (questAssignTimeBuilder_ != null) { + questAssignTimeBuilder_.dispose(); + questAssignTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp questAssignTime = 2; + */ + public com.google.protobuf.Timestamp.Builder getQuestAssignTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getQuestAssignTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp questAssignTime = 2; + */ + public com.google.protobuf.TimestampOrBuilder getQuestAssignTimeOrBuilder() { + if (questAssignTimeBuilder_ != null) { + return questAssignTimeBuilder_.getMessageOrBuilder(); + } else { + return questAssignTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : questAssignTime_; + } + } + /** + * .google.protobuf.Timestamp questAssignTime = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getQuestAssignTimeFieldBuilder() { + if (questAssignTimeBuilder_ == null) { + questAssignTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getQuestAssignTime(), + getParentForChildren(), + isClean()); + questAssignTime_ = null; + } + return questAssignTimeBuilder_; + } + + private int currentTaskNum_ ; + /** + * int32 currentTaskNum = 3; + * @return The currentTaskNum. + */ + @java.lang.Override + public int getCurrentTaskNum() { + return currentTaskNum_; + } + /** + * int32 currentTaskNum = 3; + * @param value The currentTaskNum to set. + * @return This builder for chaining. + */ + public Builder setCurrentTaskNum(int value) { + + currentTaskNum_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 currentTaskNum = 3; + * @return This builder for chaining. + */ + public Builder clearCurrentTaskNum() { + bitField0_ = (bitField0_ & ~0x00000004); + currentTaskNum_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp taskStartTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> taskStartTimeBuilder_; + /** + * .google.protobuf.Timestamp taskStartTime = 4; + * @return Whether the taskStartTime field is set. + */ + public boolean hasTaskStartTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .google.protobuf.Timestamp taskStartTime = 4; + * @return The taskStartTime. + */ + public com.google.protobuf.Timestamp getTaskStartTime() { + if (taskStartTimeBuilder_ == null) { + return taskStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : taskStartTime_; + } else { + return taskStartTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp taskStartTime = 4; + */ + public Builder setTaskStartTime(com.google.protobuf.Timestamp value) { + if (taskStartTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + taskStartTime_ = value; + } else { + taskStartTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp taskStartTime = 4; + */ + public Builder setTaskStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (taskStartTimeBuilder_ == null) { + taskStartTime_ = builderForValue.build(); + } else { + taskStartTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp taskStartTime = 4; + */ + public Builder mergeTaskStartTime(com.google.protobuf.Timestamp value) { + if (taskStartTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + taskStartTime_ != null && + taskStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getTaskStartTimeBuilder().mergeFrom(value); + } else { + taskStartTime_ = value; + } + } else { + taskStartTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp taskStartTime = 4; + */ + public Builder clearTaskStartTime() { + bitField0_ = (bitField0_ & ~0x00000008); + taskStartTime_ = null; + if (taskStartTimeBuilder_ != null) { + taskStartTimeBuilder_.dispose(); + taskStartTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp taskStartTime = 4; + */ + public com.google.protobuf.Timestamp.Builder getTaskStartTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getTaskStartTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp taskStartTime = 4; + */ + public com.google.protobuf.TimestampOrBuilder getTaskStartTimeOrBuilder() { + if (taskStartTimeBuilder_ != null) { + return taskStartTimeBuilder_.getMessageOrBuilder(); + } else { + return taskStartTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : taskStartTime_; + } + } + /** + * .google.protobuf.Timestamp taskStartTime = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getTaskStartTimeFieldBuilder() { + if (taskStartTimeBuilder_ == null) { + taskStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getTaskStartTime(), + getParentForChildren(), + isClean()); + taskStartTime_ = null; + } + return taskStartTimeBuilder_; + } + + private com.google.protobuf.Timestamp questCompleteTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> questCompleteTimeBuilder_; + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + * @return Whether the questCompleteTime field is set. + */ + public boolean hasQuestCompleteTime() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + * @return The questCompleteTime. + */ + public com.google.protobuf.Timestamp getQuestCompleteTime() { + if (questCompleteTimeBuilder_ == null) { + return questCompleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : questCompleteTime_; + } else { + return questCompleteTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + */ + public Builder setQuestCompleteTime(com.google.protobuf.Timestamp value) { + if (questCompleteTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + questCompleteTime_ = value; + } else { + questCompleteTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + */ + public Builder setQuestCompleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (questCompleteTimeBuilder_ == null) { + questCompleteTime_ = builderForValue.build(); + } else { + questCompleteTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + */ + public Builder mergeQuestCompleteTime(com.google.protobuf.Timestamp value) { + if (questCompleteTimeBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + questCompleteTime_ != null && + questCompleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getQuestCompleteTimeBuilder().mergeFrom(value); + } else { + questCompleteTime_ = value; + } + } else { + questCompleteTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + */ + public Builder clearQuestCompleteTime() { + bitField0_ = (bitField0_ & ~0x00000010); + questCompleteTime_ = null; + if (questCompleteTimeBuilder_ != null) { + questCompleteTimeBuilder_.dispose(); + questCompleteTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + */ + public com.google.protobuf.Timestamp.Builder getQuestCompleteTimeBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getQuestCompleteTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + */ + public com.google.protobuf.TimestampOrBuilder getQuestCompleteTimeOrBuilder() { + if (questCompleteTimeBuilder_ != null) { + return questCompleteTimeBuilder_.getMessageOrBuilder(); + } else { + return questCompleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : questCompleteTime_; + } + } + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getQuestCompleteTimeFieldBuilder() { + if (questCompleteTimeBuilder_ == null) { + questCompleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getQuestCompleteTime(), + getParentForChildren(), + isClean()); + questCompleteTime_ = null; + } + return questCompleteTimeBuilder_; + } + + private com.google.protobuf.Internal.IntList activeIdxList_ = emptyIntList(); + private void ensureActiveIdxListIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + activeIdxList_ = mutableCopy(activeIdxList_); + bitField0_ |= 0x00000020; + } + } + /** + *
+     *activeEvents ȯ     ó
+     * 
+ * + * repeated int32 activeIdxList = 6; + * @return A list containing the activeIdxList. + */ + public java.util.List + getActiveIdxListList() { + return ((bitField0_ & 0x00000020) != 0) ? + java.util.Collections.unmodifiableList(activeIdxList_) : activeIdxList_; + } + /** + *
+     *activeEvents ȯ     ó
+     * 
+ * + * repeated int32 activeIdxList = 6; + * @return The count of activeIdxList. + */ + public int getActiveIdxListCount() { + return activeIdxList_.size(); + } + /** + *
+     *activeEvents ȯ     ó
+     * 
+ * + * repeated int32 activeIdxList = 6; + * @param index The index of the element to return. + * @return The activeIdxList at the given index. + */ + public int getActiveIdxList(int index) { + return activeIdxList_.getInt(index); + } + /** + *
+     *activeEvents ȯ     ó
+     * 
+ * + * repeated int32 activeIdxList = 6; + * @param index The index to set the value at. + * @param value The activeIdxList to set. + * @return This builder for chaining. + */ + public Builder setActiveIdxList( + int index, int value) { + + ensureActiveIdxListIsMutable(); + activeIdxList_.setInt(index, value); + onChanged(); + return this; + } + /** + *
+     *activeEvents ȯ     ó
+     * 
+ * + * repeated int32 activeIdxList = 6; + * @param value The activeIdxList to add. + * @return This builder for chaining. + */ + public Builder addActiveIdxList(int value) { + + ensureActiveIdxListIsMutable(); + activeIdxList_.addInt(value); + onChanged(); + return this; + } + /** + *
+     *activeEvents ȯ     ó
+     * 
+ * + * repeated int32 activeIdxList = 6; + * @param values The activeIdxList to add. + * @return This builder for chaining. + */ + public Builder addAllActiveIdxList( + java.lang.Iterable values) { + ensureActiveIdxListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, activeIdxList_); + onChanged(); + return this; + } + /** + *
+     *activeEvents ȯ     ó
+     * 
+ * + * repeated int32 activeIdxList = 6; + * @return This builder for chaining. + */ + public Builder clearActiveIdxList() { + activeIdxList_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + private int hasCounter_ ; + /** + * int32 hasCounter = 7; + * @return The hasCounter. + */ + @java.lang.Override + public int getHasCounter() { + return hasCounter_; + } + /** + * int32 hasCounter = 7; + * @param value The hasCounter to set. + * @return This builder for chaining. + */ + public Builder setHasCounter(int value) { + + hasCounter_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * int32 hasCounter = 7; + * @return This builder for chaining. + */ + public Builder clearHasCounter() { + bitField0_ = (bitField0_ & ~0x00000040); + hasCounter_ = 0; + onChanged(); + return this; + } + + private int minCounter_ ; + /** + * int32 minCounter = 8; + * @return The minCounter. + */ + @java.lang.Override + public int getMinCounter() { + return minCounter_; + } + /** + * int32 minCounter = 8; + * @param value The minCounter to set. + * @return This builder for chaining. + */ + public Builder setMinCounter(int value) { + + minCounter_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * int32 minCounter = 8; + * @return This builder for chaining. + */ + public Builder clearMinCounter() { + bitField0_ = (bitField0_ & ~0x00000080); + minCounter_ = 0; + onChanged(); + return this; + } + + private int maxCounter_ ; + /** + * int32 maxCounter = 9; + * @return The maxCounter. + */ + @java.lang.Override + public int getMaxCounter() { + return maxCounter_; + } + /** + * int32 maxCounter = 9; + * @param value The maxCounter to set. + * @return This builder for chaining. + */ + public Builder setMaxCounter(int value) { + + maxCounter_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * int32 maxCounter = 9; + * @return This builder for chaining. + */ + public Builder clearMaxCounter() { + bitField0_ = (bitField0_ & ~0x00000100); + maxCounter_ = 0; + onChanged(); + return this; + } + + private int currentCounter_ ; + /** + * int32 currentCounter = 10; + * @return The currentCounter. + */ + @java.lang.Override + public int getCurrentCounter() { + return currentCounter_; + } + /** + * int32 currentCounter = 10; + * @param value The currentCounter to set. + * @return This builder for chaining. + */ + public Builder setCurrentCounter(int value) { + + currentCounter_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * int32 currentCounter = 10; + * @return This builder for chaining. + */ + public Builder clearCurrentCounter() { + bitField0_ = (bitField0_ & ~0x00000200); + currentCounter_ = 0; + onChanged(); + return this; + } + + private int isComplete_ ; + /** + * int32 isComplete = 11; + * @return The isComplete. + */ + @java.lang.Override + public int getIsComplete() { + return isComplete_; + } + /** + * int32 isComplete = 11; + * @param value The isComplete to set. + * @return This builder for chaining. + */ + public Builder setIsComplete(int value) { + + isComplete_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * int32 isComplete = 11; + * @return This builder for chaining. + */ + public Builder clearIsComplete() { + bitField0_ = (bitField0_ & ~0x00000400); + isComplete_ = 0; + onChanged(); + return this; + } + + private int replacedRewardGroupId_ ; + /** + * int32 replacedRewardGroupId = 12; + * @return The replacedRewardGroupId. + */ + @java.lang.Override + public int getReplacedRewardGroupId() { + return replacedRewardGroupId_; + } + /** + * int32 replacedRewardGroupId = 12; + * @param value The replacedRewardGroupId to set. + * @return This builder for chaining. + */ + public Builder setReplacedRewardGroupId(int value) { + + replacedRewardGroupId_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * int32 replacedRewardGroupId = 12; + * @return This builder for chaining. + */ + public Builder clearReplacedRewardGroupId() { + bitField0_ = (bitField0_ & ~0x00000800); + replacedRewardGroupId_ = 0; + onChanged(); + return this; + } + + private int hasTimer_ ; + /** + * int32 hasTimer = 13; + * @return The hasTimer. + */ + @java.lang.Override + public int getHasTimer() { + return hasTimer_; + } + /** + * int32 hasTimer = 13; + * @param value The hasTimer to set. + * @return This builder for chaining. + */ + public Builder setHasTimer(int value) { + + hasTimer_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * int32 hasTimer = 13; + * @return This builder for chaining. + */ + public Builder clearHasTimer() { + bitField0_ = (bitField0_ & ~0x00001000); + hasTimer_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp timerCompleteTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timerCompleteTimeBuilder_; + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + * @return Whether the timerCompleteTime field is set. + */ + public boolean hasTimerCompleteTime() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + * @return The timerCompleteTime. + */ + public com.google.protobuf.Timestamp getTimerCompleteTime() { + if (timerCompleteTimeBuilder_ == null) { + return timerCompleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timerCompleteTime_; + } else { + return timerCompleteTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + */ + public Builder setTimerCompleteTime(com.google.protobuf.Timestamp value) { + if (timerCompleteTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + timerCompleteTime_ = value; + } else { + timerCompleteTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + */ + public Builder setTimerCompleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (timerCompleteTimeBuilder_ == null) { + timerCompleteTime_ = builderForValue.build(); + } else { + timerCompleteTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + */ + public Builder mergeTimerCompleteTime(com.google.protobuf.Timestamp value) { + if (timerCompleteTimeBuilder_ == null) { + if (((bitField0_ & 0x00002000) != 0) && + timerCompleteTime_ != null && + timerCompleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getTimerCompleteTimeBuilder().mergeFrom(value); + } else { + timerCompleteTime_ = value; + } + } else { + timerCompleteTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + */ + public Builder clearTimerCompleteTime() { + bitField0_ = (bitField0_ & ~0x00002000); + timerCompleteTime_ = null; + if (timerCompleteTimeBuilder_ != null) { + timerCompleteTimeBuilder_.dispose(); + timerCompleteTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + */ + public com.google.protobuf.Timestamp.Builder getTimerCompleteTimeBuilder() { + bitField0_ |= 0x00002000; + onChanged(); + return getTimerCompleteTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + */ + public com.google.protobuf.TimestampOrBuilder getTimerCompleteTimeOrBuilder() { + if (timerCompleteTimeBuilder_ != null) { + return timerCompleteTimeBuilder_.getMessageOrBuilder(); + } else { + return timerCompleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : timerCompleteTime_; + } + } + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getTimerCompleteTimeFieldBuilder() { + if (timerCompleteTimeBuilder_ == null) { + timerCompleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getTimerCompleteTime(), + getParentForChildren(), + isClean()); + timerCompleteTime_ = null; + } + return timerCompleteTimeBuilder_; + } + + private com.google.protobuf.LazyStringList activeEvents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureActiveEventsIsMutable() { + if (!((bitField0_ & 0x00004000) != 0)) { + activeEvents_ = new com.google.protobuf.LazyStringArrayList(activeEvents_); + bitField0_ |= 0x00004000; + } + } + /** + *
+     *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+     * 
+ * + * repeated string activeEvents = 15; + * @return A list containing the activeEvents. + */ + public com.google.protobuf.ProtocolStringList + getActiveEventsList() { + return activeEvents_.getUnmodifiableView(); + } + /** + *
+     *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+     * 
+ * + * repeated string activeEvents = 15; + * @return The count of activeEvents. + */ + public int getActiveEventsCount() { + return activeEvents_.size(); + } + /** + *
+     *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+     * 
+ * + * repeated string activeEvents = 15; + * @param index The index of the element to return. + * @return The activeEvents at the given index. + */ + public java.lang.String getActiveEvents(int index) { + return activeEvents_.get(index); + } + /** + *
+     *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+     * 
+ * + * repeated string activeEvents = 15; + * @param index The index of the value to return. + * @return The bytes of the activeEvents at the given index. + */ + public com.google.protobuf.ByteString + getActiveEventsBytes(int index) { + return activeEvents_.getByteString(index); + } + /** + *
+     *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+     * 
+ * + * repeated string activeEvents = 15; + * @param index The index to set the value at. + * @param value The activeEvents to set. + * @return This builder for chaining. + */ + public Builder setActiveEvents( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureActiveEventsIsMutable(); + activeEvents_.set(index, value); + onChanged(); + return this; + } + /** + *
+     *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+     * 
+ * + * repeated string activeEvents = 15; + * @param value The activeEvents to add. + * @return This builder for chaining. + */ + public Builder addActiveEvents( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureActiveEventsIsMutable(); + activeEvents_.add(value); + onChanged(); + return this; + } + /** + *
+     *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+     * 
+ * + * repeated string activeEvents = 15; + * @param values The activeEvents to add. + * @return This builder for chaining. + */ + public Builder addAllActiveEvents( + java.lang.Iterable values) { + ensureActiveEventsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, activeEvents_); + onChanged(); + return this; + } + /** + *
+     *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+     * 
+ * + * repeated string activeEvents = 15; + * @return This builder for chaining. + */ + public Builder clearActiveEvents() { + activeEvents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00004000); + onChanged(); + return this; + } + /** + *
+     *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+     * 
+ * + * repeated string activeEvents = 15; + * @param value The bytes of the activeEvents to add. + * @return This builder for chaining. + */ + public Builder addActiveEventsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureActiveEventsIsMutable(); + activeEvents_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:QuestInfo) + } + + // @@protoc_insertion_point(class_scope:QuestInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.QuestInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.QuestInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.QuestInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuestInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestInfoOrBuilder.java new file mode 100644 index 0000000..1a99a0f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestInfoOrBuilder.java @@ -0,0 +1,193 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface QuestInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:QuestInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + long getComposedQuestId(); + + /** + * .google.protobuf.Timestamp questAssignTime = 2; + * @return Whether the questAssignTime field is set. + */ + boolean hasQuestAssignTime(); + /** + * .google.protobuf.Timestamp questAssignTime = 2; + * @return The questAssignTime. + */ + com.google.protobuf.Timestamp getQuestAssignTime(); + /** + * .google.protobuf.Timestamp questAssignTime = 2; + */ + com.google.protobuf.TimestampOrBuilder getQuestAssignTimeOrBuilder(); + + /** + * int32 currentTaskNum = 3; + * @return The currentTaskNum. + */ + int getCurrentTaskNum(); + + /** + * .google.protobuf.Timestamp taskStartTime = 4; + * @return Whether the taskStartTime field is set. + */ + boolean hasTaskStartTime(); + /** + * .google.protobuf.Timestamp taskStartTime = 4; + * @return The taskStartTime. + */ + com.google.protobuf.Timestamp getTaskStartTime(); + /** + * .google.protobuf.Timestamp taskStartTime = 4; + */ + com.google.protobuf.TimestampOrBuilder getTaskStartTimeOrBuilder(); + + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + * @return Whether the questCompleteTime field is set. + */ + boolean hasQuestCompleteTime(); + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + * @return The questCompleteTime. + */ + com.google.protobuf.Timestamp getQuestCompleteTime(); + /** + * .google.protobuf.Timestamp questCompleteTime = 5; + */ + com.google.protobuf.TimestampOrBuilder getQuestCompleteTimeOrBuilder(); + + /** + *
+   *activeEvents ȯ     ó
+   * 
+ * + * repeated int32 activeIdxList = 6; + * @return A list containing the activeIdxList. + */ + java.util.List getActiveIdxListList(); + /** + *
+   *activeEvents ȯ     ó
+   * 
+ * + * repeated int32 activeIdxList = 6; + * @return The count of activeIdxList. + */ + int getActiveIdxListCount(); + /** + *
+   *activeEvents ȯ     ó
+   * 
+ * + * repeated int32 activeIdxList = 6; + * @param index The index of the element to return. + * @return The activeIdxList at the given index. + */ + int getActiveIdxList(int index); + + /** + * int32 hasCounter = 7; + * @return The hasCounter. + */ + int getHasCounter(); + + /** + * int32 minCounter = 8; + * @return The minCounter. + */ + int getMinCounter(); + + /** + * int32 maxCounter = 9; + * @return The maxCounter. + */ + int getMaxCounter(); + + /** + * int32 currentCounter = 10; + * @return The currentCounter. + */ + int getCurrentCounter(); + + /** + * int32 isComplete = 11; + * @return The isComplete. + */ + int getIsComplete(); + + /** + * int32 replacedRewardGroupId = 12; + * @return The replacedRewardGroupId. + */ + int getReplacedRewardGroupId(); + + /** + * int32 hasTimer = 13; + * @return The hasTimer. + */ + int getHasTimer(); + + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + * @return Whether the timerCompleteTime field is set. + */ + boolean hasTimerCompleteTime(); + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + * @return The timerCompleteTime. + */ + com.google.protobuf.Timestamp getTimerCompleteTime(); + /** + * .google.protobuf.Timestamp timerCompleteTime = 14; + */ + com.google.protobuf.TimestampOrBuilder getTimerCompleteTimeOrBuilder(); + + /** + *
+   *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+   * 
+ * + * repeated string activeEvents = 15; + * @return A list containing the activeEvents. + */ + java.util.List + getActiveEventsList(); + /** + *
+   *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+   * 
+ * + * repeated string activeEvents = 15; + * @return The count of activeEvents. + */ + int getActiveEventsCount(); + /** + *
+   *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+   * 
+ * + * repeated string activeEvents = 15; + * @param index The index of the element to return. + * @return The activeEvents at the given index. + */ + java.lang.String getActiveEvents(int index); + /** + *
+   *int32 questRevision = 16; //int 64 ٲ ̰ ʿ . 
+   * 
+ * + * repeated string activeEvents = 15; + * @param index The index of the value to return. + * @return The bytes of the activeEvents at the given index. + */ + com.google.protobuf.ByteString + getActiveEventsBytes(int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestMailInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestMailInfo.java new file mode 100644 index 0000000..d86f1be --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestMailInfo.java @@ -0,0 +1,722 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code QuestMailInfo} + */ +public final class QuestMailInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:QuestMailInfo) + QuestMailInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use QuestMailInfo.newBuilder() to construct. + private QuestMailInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private QuestMailInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QuestMailInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestMailInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestMailInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo.class, com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo.Builder.class); + } + + public static final int ISREAD_FIELD_NUMBER = 1; + private int isRead_ = 0; + /** + * int32 isRead = 1; + * @return The isRead. + */ + @java.lang.Override + public int getIsRead() { + return isRead_; + } + + public static final int COMPOSEDQUESTID_FIELD_NUMBER = 2; + private long composedQuestId_ = 0L; + /** + * int64 composedQuestId = 2; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + + public static final int CREATETIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp createTime_; + /** + * .google.protobuf.Timestamp createTime = 3; + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * .google.protobuf.Timestamp createTime = 3; + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (isRead_ != 0) { + output.writeInt32(1, isRead_); + } + if (composedQuestId_ != 0L) { + output.writeInt64(2, composedQuestId_); + } + if (createTime_ != null) { + output.writeMessage(3, getCreateTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (isRead_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, isRead_); + } + if (composedQuestId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, composedQuestId_); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo other = (com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo) obj; + + if (getIsRead() + != other.getIsRead()) return false; + if (getComposedQuestId() + != other.getComposedQuestId()) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime() + .equals(other.getCreateTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ISREAD_FIELD_NUMBER; + hash = (53 * hash) + getIsRead(); + hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getComposedQuestId()); + if (hasCreateTime()) { + hash = (37 * hash) + CREATETIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code QuestMailInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:QuestMailInfo) + com.caliverse.admin.domain.RabbitMq.message.QuestMailInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestMailInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestMailInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo.class, com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + isRead_ = 0; + composedQuestId_ = 0L; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestMailInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo build() { + com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo result = new com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.isRead_ = isRead_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.composedQuestId_ = composedQuestId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo.getDefaultInstance()) return this; + if (other.getIsRead() != 0) { + setIsRead(other.getIsRead()); + } + if (other.getComposedQuestId() != 0L) { + setComposedQuestId(other.getComposedQuestId()); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + isRead_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + composedQuestId_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int isRead_ ; + /** + * int32 isRead = 1; + * @return The isRead. + */ + @java.lang.Override + public int getIsRead() { + return isRead_; + } + /** + * int32 isRead = 1; + * @param value The isRead to set. + * @return This builder for chaining. + */ + public Builder setIsRead(int value) { + + isRead_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 isRead = 1; + * @return This builder for chaining. + */ + public Builder clearIsRead() { + bitField0_ = (bitField0_ & ~0x00000001); + isRead_ = 0; + onChanged(); + return this; + } + + private long composedQuestId_ ; + /** + * int64 composedQuestId = 2; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + /** + * int64 composedQuestId = 2; + * @param value The composedQuestId to set. + * @return This builder for chaining. + */ + public Builder setComposedQuestId(long value) { + + composedQuestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int64 composedQuestId = 2; + * @return This builder for chaining. + */ + public Builder clearComposedQuestId() { + bitField0_ = (bitField0_ & ~0x00000002); + composedQuestId_ = 0L; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + /** + * .google.protobuf.Timestamp createTime = 3; + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .google.protobuf.Timestamp createTime = 3; + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000004); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + } + /** + * .google.protobuf.Timestamp createTime = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:QuestMailInfo) + } + + // @@protoc_insertion_point(class_scope:QuestMailInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuestMailInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestMailInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestMailInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestMailInfoOrBuilder.java new file mode 100644 index 0000000..caa389f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestMailInfoOrBuilder.java @@ -0,0 +1,36 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface QuestMailInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:QuestMailInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 isRead = 1; + * @return The isRead. + */ + int getIsRead(); + + /** + * int64 composedQuestId = 2; + * @return The composedQuestId. + */ + long getComposedQuestId(); + + /** + * .google.protobuf.Timestamp createTime = 3; + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * .google.protobuf.Timestamp createTime = 3; + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * .google.protobuf.Timestamp createTime = 3; + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestMetaInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestMetaInfo.java new file mode 100644 index 0000000..fbd8f0e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestMetaInfo.java @@ -0,0 +1,1901 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code QuestMetaInfo} + */ +public final class QuestMetaInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:QuestMetaInfo) + QuestMetaInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use QuestMetaInfo.newBuilder() to construct. + private QuestMetaInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private QuestMetaInfo() { + eventTarget_ = ""; + eventName_ = ""; + eventCondition1_ = ""; + eventCondition2_ = ""; + eventCondition3_ = ""; + functionTarget_ = ""; + functionName_ = ""; + functionCondition1_ = ""; + functionCondition2_ = ""; + functionCondition3_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QuestMetaInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestMetaInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestMetaInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.class, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.Builder.class); + } + + public static final int INDEX_FIELD_NUMBER = 1; + private int index_ = 0; + /** + * int32 index = 1; + * @return The index. + */ + @java.lang.Override + public int getIndex() { + return index_; + } + + public static final int COMPOSEDQUESTID_FIELD_NUMBER = 2; + private long composedQuestId_ = 0L; + /** + * int64 composedQuestId = 2; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + + public static final int EVENTTARGET_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object eventTarget_ = ""; + /** + * string eventTarget = 3; + * @return The eventTarget. + */ + @java.lang.Override + public java.lang.String getEventTarget() { + java.lang.Object ref = eventTarget_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + eventTarget_ = s; + return s; + } + } + /** + * string eventTarget = 3; + * @return The bytes for eventTarget. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getEventTargetBytes() { + java.lang.Object ref = eventTarget_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventTarget_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EVENTNAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object eventName_ = ""; + /** + * string eventName = 4; + * @return The eventName. + */ + @java.lang.Override + public java.lang.String getEventName() { + java.lang.Object ref = eventName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + eventName_ = s; + return s; + } + } + /** + * string eventName = 4; + * @return The bytes for eventName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getEventNameBytes() { + java.lang.Object ref = eventName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EVENTCONDITION1_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object eventCondition1_ = ""; + /** + * string eventCondition1 = 5; + * @return The eventCondition1. + */ + @java.lang.Override + public java.lang.String getEventCondition1() { + java.lang.Object ref = eventCondition1_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + eventCondition1_ = s; + return s; + } + } + /** + * string eventCondition1 = 5; + * @return The bytes for eventCondition1. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getEventCondition1Bytes() { + java.lang.Object ref = eventCondition1_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventCondition1_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EVENTCONDITION2_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object eventCondition2_ = ""; + /** + * string eventCondition2 = 6; + * @return The eventCondition2. + */ + @java.lang.Override + public java.lang.String getEventCondition2() { + java.lang.Object ref = eventCondition2_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + eventCondition2_ = s; + return s; + } + } + /** + * string eventCondition2 = 6; + * @return The bytes for eventCondition2. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getEventCondition2Bytes() { + java.lang.Object ref = eventCondition2_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventCondition2_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EVENTCONDITION3_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object eventCondition3_ = ""; + /** + * string eventCondition3 = 7; + * @return The eventCondition3. + */ + @java.lang.Override + public java.lang.String getEventCondition3() { + java.lang.Object ref = eventCondition3_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + eventCondition3_ = s; + return s; + } + } + /** + * string eventCondition3 = 7; + * @return The bytes for eventCondition3. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getEventCondition3Bytes() { + java.lang.Object ref = eventCondition3_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventCondition3_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FUNCTIONTARGET_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object functionTarget_ = ""; + /** + * string functionTarget = 8; + * @return The functionTarget. + */ + @java.lang.Override + public java.lang.String getFunctionTarget() { + java.lang.Object ref = functionTarget_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + functionTarget_ = s; + return s; + } + } + /** + * string functionTarget = 8; + * @return The bytes for functionTarget. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFunctionTargetBytes() { + java.lang.Object ref = functionTarget_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + functionTarget_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FUNCTIONNAME_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private volatile java.lang.Object functionName_ = ""; + /** + * string functionName = 9; + * @return The functionName. + */ + @java.lang.Override + public java.lang.String getFunctionName() { + java.lang.Object ref = functionName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + functionName_ = s; + return s; + } + } + /** + * string functionName = 9; + * @return The bytes for functionName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFunctionNameBytes() { + java.lang.Object ref = functionName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + functionName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FUNCTIONCONDITION1_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private volatile java.lang.Object functionCondition1_ = ""; + /** + * string functionCondition1 = 10; + * @return The functionCondition1. + */ + @java.lang.Override + public java.lang.String getFunctionCondition1() { + java.lang.Object ref = functionCondition1_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + functionCondition1_ = s; + return s; + } + } + /** + * string functionCondition1 = 10; + * @return The bytes for functionCondition1. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFunctionCondition1Bytes() { + java.lang.Object ref = functionCondition1_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + functionCondition1_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FUNCTIONCONDITION2_FIELD_NUMBER = 11; + @SuppressWarnings("serial") + private volatile java.lang.Object functionCondition2_ = ""; + /** + * string functionCondition2 = 11; + * @return The functionCondition2. + */ + @java.lang.Override + public java.lang.String getFunctionCondition2() { + java.lang.Object ref = functionCondition2_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + functionCondition2_ = s; + return s; + } + } + /** + * string functionCondition2 = 11; + * @return The bytes for functionCondition2. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFunctionCondition2Bytes() { + java.lang.Object ref = functionCondition2_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + functionCondition2_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FUNCTIONCONDITION3_FIELD_NUMBER = 12; + @SuppressWarnings("serial") + private volatile java.lang.Object functionCondition3_ = ""; + /** + * string functionCondition3 = 12; + * @return The functionCondition3. + */ + @java.lang.Override + public java.lang.String getFunctionCondition3() { + java.lang.Object ref = functionCondition3_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + functionCondition3_ = s; + return s; + } + } + /** + * string functionCondition3 = 12; + * @return The bytes for functionCondition3. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFunctionCondition3Bytes() { + java.lang.Object ref = functionCondition3_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + functionCondition3_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (index_ != 0) { + output.writeInt32(1, index_); + } + if (composedQuestId_ != 0L) { + output.writeInt64(2, composedQuestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventTarget_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, eventTarget_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, eventName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventCondition1_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, eventCondition1_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventCondition2_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, eventCondition2_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventCondition3_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, eventCondition3_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionTarget_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, functionTarget_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, functionName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionCondition1_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, functionCondition1_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionCondition2_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, functionCondition2_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionCondition3_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, functionCondition3_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (index_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, index_); + } + if (composedQuestId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, composedQuestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventTarget_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, eventTarget_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, eventName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventCondition1_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, eventCondition1_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventCondition2_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, eventCondition2_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventCondition3_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, eventCondition3_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionTarget_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, functionTarget_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, functionName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionCondition1_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, functionCondition1_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionCondition2_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, functionCondition2_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionCondition3_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, functionCondition3_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo other = (com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo) obj; + + if (getIndex() + != other.getIndex()) return false; + if (getComposedQuestId() + != other.getComposedQuestId()) return false; + if (!getEventTarget() + .equals(other.getEventTarget())) return false; + if (!getEventName() + .equals(other.getEventName())) return false; + if (!getEventCondition1() + .equals(other.getEventCondition1())) return false; + if (!getEventCondition2() + .equals(other.getEventCondition2())) return false; + if (!getEventCondition3() + .equals(other.getEventCondition3())) return false; + if (!getFunctionTarget() + .equals(other.getFunctionTarget())) return false; + if (!getFunctionName() + .equals(other.getFunctionName())) return false; + if (!getFunctionCondition1() + .equals(other.getFunctionCondition1())) return false; + if (!getFunctionCondition2() + .equals(other.getFunctionCondition2())) return false; + if (!getFunctionCondition3() + .equals(other.getFunctionCondition3())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_FIELD_NUMBER; + hash = (53 * hash) + getIndex(); + hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getComposedQuestId()); + hash = (37 * hash) + EVENTTARGET_FIELD_NUMBER; + hash = (53 * hash) + getEventTarget().hashCode(); + hash = (37 * hash) + EVENTNAME_FIELD_NUMBER; + hash = (53 * hash) + getEventName().hashCode(); + hash = (37 * hash) + EVENTCONDITION1_FIELD_NUMBER; + hash = (53 * hash) + getEventCondition1().hashCode(); + hash = (37 * hash) + EVENTCONDITION2_FIELD_NUMBER; + hash = (53 * hash) + getEventCondition2().hashCode(); + hash = (37 * hash) + EVENTCONDITION3_FIELD_NUMBER; + hash = (53 * hash) + getEventCondition3().hashCode(); + hash = (37 * hash) + FUNCTIONTARGET_FIELD_NUMBER; + hash = (53 * hash) + getFunctionTarget().hashCode(); + hash = (37 * hash) + FUNCTIONNAME_FIELD_NUMBER; + hash = (53 * hash) + getFunctionName().hashCode(); + hash = (37 * hash) + FUNCTIONCONDITION1_FIELD_NUMBER; + hash = (53 * hash) + getFunctionCondition1().hashCode(); + hash = (37 * hash) + FUNCTIONCONDITION2_FIELD_NUMBER; + hash = (53 * hash) + getFunctionCondition2().hashCode(); + hash = (37 * hash) + FUNCTIONCONDITION3_FIELD_NUMBER; + hash = (53 * hash) + getFunctionCondition3().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code QuestMetaInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:QuestMetaInfo) + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestMetaInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestMetaInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.class, com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + index_ = 0; + composedQuestId_ = 0L; + eventTarget_ = ""; + eventName_ = ""; + eventCondition1_ = ""; + eventCondition2_ = ""; + eventCondition3_ = ""; + functionTarget_ = ""; + functionName_ = ""; + functionCondition1_ = ""; + functionCondition2_ = ""; + functionCondition3_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestMetaInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo build() { + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo result = new com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.index_ = index_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.composedQuestId_ = composedQuestId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.eventTarget_ = eventTarget_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.eventName_ = eventName_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.eventCondition1_ = eventCondition1_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.eventCondition2_ = eventCondition2_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.eventCondition3_ = eventCondition3_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.functionTarget_ = functionTarget_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.functionName_ = functionName_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.functionCondition1_ = functionCondition1_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.functionCondition2_ = functionCondition2_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.functionCondition3_ = functionCondition3_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo.getDefaultInstance()) return this; + if (other.getIndex() != 0) { + setIndex(other.getIndex()); + } + if (other.getComposedQuestId() != 0L) { + setComposedQuestId(other.getComposedQuestId()); + } + if (!other.getEventTarget().isEmpty()) { + eventTarget_ = other.eventTarget_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getEventName().isEmpty()) { + eventName_ = other.eventName_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getEventCondition1().isEmpty()) { + eventCondition1_ = other.eventCondition1_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getEventCondition2().isEmpty()) { + eventCondition2_ = other.eventCondition2_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getEventCondition3().isEmpty()) { + eventCondition3_ = other.eventCondition3_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getFunctionTarget().isEmpty()) { + functionTarget_ = other.functionTarget_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (!other.getFunctionName().isEmpty()) { + functionName_ = other.functionName_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (!other.getFunctionCondition1().isEmpty()) { + functionCondition1_ = other.functionCondition1_; + bitField0_ |= 0x00000200; + onChanged(); + } + if (!other.getFunctionCondition2().isEmpty()) { + functionCondition2_ = other.functionCondition2_; + bitField0_ |= 0x00000400; + onChanged(); + } + if (!other.getFunctionCondition3().isEmpty()) { + functionCondition3_ = other.functionCondition3_; + bitField0_ |= 0x00000800; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + index_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + composedQuestId_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + eventTarget_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + eventName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + eventCondition1_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + eventCondition2_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + eventCondition3_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + functionTarget_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + functionName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + functionCondition1_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: { + functionCondition2_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: { + functionCondition3_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int index_ ; + /** + * int32 index = 1; + * @return The index. + */ + @java.lang.Override + public int getIndex() { + return index_; + } + /** + * int32 index = 1; + * @param value The index to set. + * @return This builder for chaining. + */ + public Builder setIndex(int value) { + + index_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 index = 1; + * @return This builder for chaining. + */ + public Builder clearIndex() { + bitField0_ = (bitField0_ & ~0x00000001); + index_ = 0; + onChanged(); + return this; + } + + private long composedQuestId_ ; + /** + * int64 composedQuestId = 2; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + /** + * int64 composedQuestId = 2; + * @param value The composedQuestId to set. + * @return This builder for chaining. + */ + public Builder setComposedQuestId(long value) { + + composedQuestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int64 composedQuestId = 2; + * @return This builder for chaining. + */ + public Builder clearComposedQuestId() { + bitField0_ = (bitField0_ & ~0x00000002); + composedQuestId_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object eventTarget_ = ""; + /** + * string eventTarget = 3; + * @return The eventTarget. + */ + public java.lang.String getEventTarget() { + java.lang.Object ref = eventTarget_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + eventTarget_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string eventTarget = 3; + * @return The bytes for eventTarget. + */ + public com.google.protobuf.ByteString + getEventTargetBytes() { + java.lang.Object ref = eventTarget_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventTarget_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string eventTarget = 3; + * @param value The eventTarget to set. + * @return This builder for chaining. + */ + public Builder setEventTarget( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + eventTarget_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string eventTarget = 3; + * @return This builder for chaining. + */ + public Builder clearEventTarget() { + eventTarget_ = getDefaultInstance().getEventTarget(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string eventTarget = 3; + * @param value The bytes for eventTarget to set. + * @return This builder for chaining. + */ + public Builder setEventTargetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + eventTarget_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object eventName_ = ""; + /** + * string eventName = 4; + * @return The eventName. + */ + public java.lang.String getEventName() { + java.lang.Object ref = eventName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + eventName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string eventName = 4; + * @return The bytes for eventName. + */ + public com.google.protobuf.ByteString + getEventNameBytes() { + java.lang.Object ref = eventName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string eventName = 4; + * @param value The eventName to set. + * @return This builder for chaining. + */ + public Builder setEventName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + eventName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string eventName = 4; + * @return This builder for chaining. + */ + public Builder clearEventName() { + eventName_ = getDefaultInstance().getEventName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string eventName = 4; + * @param value The bytes for eventName to set. + * @return This builder for chaining. + */ + public Builder setEventNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + eventName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object eventCondition1_ = ""; + /** + * string eventCondition1 = 5; + * @return The eventCondition1. + */ + public java.lang.String getEventCondition1() { + java.lang.Object ref = eventCondition1_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + eventCondition1_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string eventCondition1 = 5; + * @return The bytes for eventCondition1. + */ + public com.google.protobuf.ByteString + getEventCondition1Bytes() { + java.lang.Object ref = eventCondition1_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventCondition1_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string eventCondition1 = 5; + * @param value The eventCondition1 to set. + * @return This builder for chaining. + */ + public Builder setEventCondition1( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + eventCondition1_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string eventCondition1 = 5; + * @return This builder for chaining. + */ + public Builder clearEventCondition1() { + eventCondition1_ = getDefaultInstance().getEventCondition1(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string eventCondition1 = 5; + * @param value The bytes for eventCondition1 to set. + * @return This builder for chaining. + */ + public Builder setEventCondition1Bytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + eventCondition1_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object eventCondition2_ = ""; + /** + * string eventCondition2 = 6; + * @return The eventCondition2. + */ + public java.lang.String getEventCondition2() { + java.lang.Object ref = eventCondition2_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + eventCondition2_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string eventCondition2 = 6; + * @return The bytes for eventCondition2. + */ + public com.google.protobuf.ByteString + getEventCondition2Bytes() { + java.lang.Object ref = eventCondition2_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventCondition2_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string eventCondition2 = 6; + * @param value The eventCondition2 to set. + * @return This builder for chaining. + */ + public Builder setEventCondition2( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + eventCondition2_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string eventCondition2 = 6; + * @return This builder for chaining. + */ + public Builder clearEventCondition2() { + eventCondition2_ = getDefaultInstance().getEventCondition2(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string eventCondition2 = 6; + * @param value The bytes for eventCondition2 to set. + * @return This builder for chaining. + */ + public Builder setEventCondition2Bytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + eventCondition2_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object eventCondition3_ = ""; + /** + * string eventCondition3 = 7; + * @return The eventCondition3. + */ + public java.lang.String getEventCondition3() { + java.lang.Object ref = eventCondition3_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + eventCondition3_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string eventCondition3 = 7; + * @return The bytes for eventCondition3. + */ + public com.google.protobuf.ByteString + getEventCondition3Bytes() { + java.lang.Object ref = eventCondition3_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventCondition3_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string eventCondition3 = 7; + * @param value The eventCondition3 to set. + * @return This builder for chaining. + */ + public Builder setEventCondition3( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + eventCondition3_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * string eventCondition3 = 7; + * @return This builder for chaining. + */ + public Builder clearEventCondition3() { + eventCondition3_ = getDefaultInstance().getEventCondition3(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * string eventCondition3 = 7; + * @param value The bytes for eventCondition3 to set. + * @return This builder for chaining. + */ + public Builder setEventCondition3Bytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + eventCondition3_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object functionTarget_ = ""; + /** + * string functionTarget = 8; + * @return The functionTarget. + */ + public java.lang.String getFunctionTarget() { + java.lang.Object ref = functionTarget_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + functionTarget_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string functionTarget = 8; + * @return The bytes for functionTarget. + */ + public com.google.protobuf.ByteString + getFunctionTargetBytes() { + java.lang.Object ref = functionTarget_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + functionTarget_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string functionTarget = 8; + * @param value The functionTarget to set. + * @return This builder for chaining. + */ + public Builder setFunctionTarget( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + functionTarget_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * string functionTarget = 8; + * @return This builder for chaining. + */ + public Builder clearFunctionTarget() { + functionTarget_ = getDefaultInstance().getFunctionTarget(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * string functionTarget = 8; + * @param value The bytes for functionTarget to set. + * @return This builder for chaining. + */ + public Builder setFunctionTargetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + functionTarget_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private java.lang.Object functionName_ = ""; + /** + * string functionName = 9; + * @return The functionName. + */ + public java.lang.String getFunctionName() { + java.lang.Object ref = functionName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + functionName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string functionName = 9; + * @return The bytes for functionName. + */ + public com.google.protobuf.ByteString + getFunctionNameBytes() { + java.lang.Object ref = functionName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + functionName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string functionName = 9; + * @param value The functionName to set. + * @return This builder for chaining. + */ + public Builder setFunctionName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + functionName_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * string functionName = 9; + * @return This builder for chaining. + */ + public Builder clearFunctionName() { + functionName_ = getDefaultInstance().getFunctionName(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + * string functionName = 9; + * @param value The bytes for functionName to set. + * @return This builder for chaining. + */ + public Builder setFunctionNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + functionName_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private java.lang.Object functionCondition1_ = ""; + /** + * string functionCondition1 = 10; + * @return The functionCondition1. + */ + public java.lang.String getFunctionCondition1() { + java.lang.Object ref = functionCondition1_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + functionCondition1_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string functionCondition1 = 10; + * @return The bytes for functionCondition1. + */ + public com.google.protobuf.ByteString + getFunctionCondition1Bytes() { + java.lang.Object ref = functionCondition1_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + functionCondition1_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string functionCondition1 = 10; + * @param value The functionCondition1 to set. + * @return This builder for chaining. + */ + public Builder setFunctionCondition1( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + functionCondition1_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * string functionCondition1 = 10; + * @return This builder for chaining. + */ + public Builder clearFunctionCondition1() { + functionCondition1_ = getDefaultInstance().getFunctionCondition1(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + * string functionCondition1 = 10; + * @param value The bytes for functionCondition1 to set. + * @return This builder for chaining. + */ + public Builder setFunctionCondition1Bytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + functionCondition1_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + private java.lang.Object functionCondition2_ = ""; + /** + * string functionCondition2 = 11; + * @return The functionCondition2. + */ + public java.lang.String getFunctionCondition2() { + java.lang.Object ref = functionCondition2_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + functionCondition2_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string functionCondition2 = 11; + * @return The bytes for functionCondition2. + */ + public com.google.protobuf.ByteString + getFunctionCondition2Bytes() { + java.lang.Object ref = functionCondition2_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + functionCondition2_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string functionCondition2 = 11; + * @param value The functionCondition2 to set. + * @return This builder for chaining. + */ + public Builder setFunctionCondition2( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + functionCondition2_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * string functionCondition2 = 11; + * @return This builder for chaining. + */ + public Builder clearFunctionCondition2() { + functionCondition2_ = getDefaultInstance().getFunctionCondition2(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; + } + /** + * string functionCondition2 = 11; + * @param value The bytes for functionCondition2 to set. + * @return This builder for chaining. + */ + public Builder setFunctionCondition2Bytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + functionCondition2_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + private java.lang.Object functionCondition3_ = ""; + /** + * string functionCondition3 = 12; + * @return The functionCondition3. + */ + public java.lang.String getFunctionCondition3() { + java.lang.Object ref = functionCondition3_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + functionCondition3_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string functionCondition3 = 12; + * @return The bytes for functionCondition3. + */ + public com.google.protobuf.ByteString + getFunctionCondition3Bytes() { + java.lang.Object ref = functionCondition3_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + functionCondition3_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string functionCondition3 = 12; + * @param value The functionCondition3 to set. + * @return This builder for chaining. + */ + public Builder setFunctionCondition3( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + functionCondition3_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * string functionCondition3 = 12; + * @return This builder for chaining. + */ + public Builder clearFunctionCondition3() { + functionCondition3_ = getDefaultInstance().getFunctionCondition3(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + /** + * string functionCondition3 = 12; + * @param value The bytes for functionCondition3 to set. + * @return This builder for chaining. + */ + public Builder setFunctionCondition3Bytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + functionCondition3_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:QuestMetaInfo) + } + + // @@protoc_insertion_point(class_scope:QuestMetaInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuestMetaInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestMetaInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestMetaInfoOrBuilder.java new file mode 100644 index 0000000..cce931e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestMetaInfoOrBuilder.java @@ -0,0 +1,141 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface QuestMetaInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:QuestMetaInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 index = 1; + * @return The index. + */ + int getIndex(); + + /** + * int64 composedQuestId = 2; + * @return The composedQuestId. + */ + long getComposedQuestId(); + + /** + * string eventTarget = 3; + * @return The eventTarget. + */ + java.lang.String getEventTarget(); + /** + * string eventTarget = 3; + * @return The bytes for eventTarget. + */ + com.google.protobuf.ByteString + getEventTargetBytes(); + + /** + * string eventName = 4; + * @return The eventName. + */ + java.lang.String getEventName(); + /** + * string eventName = 4; + * @return The bytes for eventName. + */ + com.google.protobuf.ByteString + getEventNameBytes(); + + /** + * string eventCondition1 = 5; + * @return The eventCondition1. + */ + java.lang.String getEventCondition1(); + /** + * string eventCondition1 = 5; + * @return The bytes for eventCondition1. + */ + com.google.protobuf.ByteString + getEventCondition1Bytes(); + + /** + * string eventCondition2 = 6; + * @return The eventCondition2. + */ + java.lang.String getEventCondition2(); + /** + * string eventCondition2 = 6; + * @return The bytes for eventCondition2. + */ + com.google.protobuf.ByteString + getEventCondition2Bytes(); + + /** + * string eventCondition3 = 7; + * @return The eventCondition3. + */ + java.lang.String getEventCondition3(); + /** + * string eventCondition3 = 7; + * @return The bytes for eventCondition3. + */ + com.google.protobuf.ByteString + getEventCondition3Bytes(); + + /** + * string functionTarget = 8; + * @return The functionTarget. + */ + java.lang.String getFunctionTarget(); + /** + * string functionTarget = 8; + * @return The bytes for functionTarget. + */ + com.google.protobuf.ByteString + getFunctionTargetBytes(); + + /** + * string functionName = 9; + * @return The functionName. + */ + java.lang.String getFunctionName(); + /** + * string functionName = 9; + * @return The bytes for functionName. + */ + com.google.protobuf.ByteString + getFunctionNameBytes(); + + /** + * string functionCondition1 = 10; + * @return The functionCondition1. + */ + java.lang.String getFunctionCondition1(); + /** + * string functionCondition1 = 10; + * @return The bytes for functionCondition1. + */ + com.google.protobuf.ByteString + getFunctionCondition1Bytes(); + + /** + * string functionCondition2 = 11; + * @return The functionCondition2. + */ + java.lang.String getFunctionCondition2(); + /** + * string functionCondition2 = 11; + * @return The bytes for functionCondition2. + */ + com.google.protobuf.ByteString + getFunctionCondition2Bytes(); + + /** + * string functionCondition3 = 12; + * @return The functionCondition3. + */ + java.lang.String getFunctionCondition3(); + /** + * string functionCondition3 = 12; + * @return The bytes for functionCondition3. + */ + com.google.protobuf.ByteString + getFunctionCondition3Bytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestTaskMetaInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestTaskMetaInfo.java new file mode 100644 index 0000000..09ade19 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestTaskMetaInfo.java @@ -0,0 +1,1147 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code QuestTaskMetaInfo} + */ +public final class QuestTaskMetaInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:QuestTaskMetaInfo) + QuestTaskMetaInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use QuestTaskMetaInfo.newBuilder() to construct. + private QuestTaskMetaInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private QuestTaskMetaInfo() { + taskName_ = ""; + taskCondition_ = ""; + taskConditionDesc_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QuestTaskMetaInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestTaskMetaInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestTaskMetaInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo.class, com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo.Builder.class); + } + + public static final int IDX_FIELD_NUMBER = 1; + private int idx_ = 0; + /** + * int32 idx = 1; + * @return The idx. + */ + @java.lang.Override + public int getIdx() { + return idx_; + } + + public static final int COMPOSEDQUESTID_FIELD_NUMBER = 2; + private long composedQuestId_ = 0L; + /** + * int64 composedQuestId = 2; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + + public static final int TASKNUM_FIELD_NUMBER = 3; + private int taskNum_ = 0; + /** + * int32 taskNum = 3; + * @return The taskNum. + */ + @java.lang.Override + public int getTaskNum() { + return taskNum_; + } + + public static final int TASKNAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object taskName_ = ""; + /** + * string taskName = 4; + * @return The taskName. + */ + @java.lang.Override + public java.lang.String getTaskName() { + java.lang.Object ref = taskName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + taskName_ = s; + return s; + } + } + /** + * string taskName = 4; + * @return The bytes for taskName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTaskNameBytes() { + java.lang.Object ref = taskName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TASKCONDITION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object taskCondition_ = ""; + /** + * string taskCondition = 5; + * @return The taskCondition. + */ + @java.lang.Override + public java.lang.String getTaskCondition() { + java.lang.Object ref = taskCondition_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + taskCondition_ = s; + return s; + } + } + /** + * string taskCondition = 5; + * @return The bytes for taskCondition. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTaskConditionBytes() { + java.lang.Object ref = taskCondition_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskCondition_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TASKCONDITIONDESC_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object taskConditionDesc_ = ""; + /** + * string taskConditionDesc = 6; + * @return The taskConditionDesc. + */ + @java.lang.Override + public java.lang.String getTaskConditionDesc() { + java.lang.Object ref = taskConditionDesc_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + taskConditionDesc_ = s; + return s; + } + } + /** + * string taskConditionDesc = 6; + * @return The bytes for taskConditionDesc. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTaskConditionDescBytes() { + java.lang.Object ref = taskConditionDesc_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskConditionDesc_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SETCOUNTER_FIELD_NUMBER = 7; + private int setCounter_ = 0; + /** + * int32 setCounter = 7; + * @return The setCounter. + */ + @java.lang.Override + public int getSetCounter() { + return setCounter_; + } + + public static final int WORLDID_FIELD_NUMBER = 8; + private int worldId_ = 0; + /** + * int32 worldId = 8; + * @return The worldId. + */ + @java.lang.Override + public int getWorldId() { + return worldId_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (idx_ != 0) { + output.writeInt32(1, idx_); + } + if (composedQuestId_ != 0L) { + output.writeInt64(2, composedQuestId_); + } + if (taskNum_ != 0) { + output.writeInt32(3, taskNum_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, taskName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskCondition_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, taskCondition_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskConditionDesc_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, taskConditionDesc_); + } + if (setCounter_ != 0) { + output.writeInt32(7, setCounter_); + } + if (worldId_ != 0) { + output.writeInt32(8, worldId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (idx_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, idx_); + } + if (composedQuestId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, composedQuestId_); + } + if (taskNum_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, taskNum_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, taskName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskCondition_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, taskCondition_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskConditionDesc_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, taskConditionDesc_); + } + if (setCounter_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, setCounter_); + } + if (worldId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, worldId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo other = (com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo) obj; + + if (getIdx() + != other.getIdx()) return false; + if (getComposedQuestId() + != other.getComposedQuestId()) return false; + if (getTaskNum() + != other.getTaskNum()) return false; + if (!getTaskName() + .equals(other.getTaskName())) return false; + if (!getTaskCondition() + .equals(other.getTaskCondition())) return false; + if (!getTaskConditionDesc() + .equals(other.getTaskConditionDesc())) return false; + if (getSetCounter() + != other.getSetCounter()) return false; + if (getWorldId() + != other.getWorldId()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + IDX_FIELD_NUMBER; + hash = (53 * hash) + getIdx(); + hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getComposedQuestId()); + hash = (37 * hash) + TASKNUM_FIELD_NUMBER; + hash = (53 * hash) + getTaskNum(); + hash = (37 * hash) + TASKNAME_FIELD_NUMBER; + hash = (53 * hash) + getTaskName().hashCode(); + hash = (37 * hash) + TASKCONDITION_FIELD_NUMBER; + hash = (53 * hash) + getTaskCondition().hashCode(); + hash = (37 * hash) + TASKCONDITIONDESC_FIELD_NUMBER; + hash = (53 * hash) + getTaskConditionDesc().hashCode(); + hash = (37 * hash) + SETCOUNTER_FIELD_NUMBER; + hash = (53 * hash) + getSetCounter(); + hash = (37 * hash) + WORLDID_FIELD_NUMBER; + hash = (53 * hash) + getWorldId(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code QuestTaskMetaInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:QuestTaskMetaInfo) + com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestTaskMetaInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestTaskMetaInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo.class, com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + idx_ = 0; + composedQuestId_ = 0L; + taskNum_ = 0; + taskName_ = ""; + taskCondition_ = ""; + taskConditionDesc_ = ""; + setCounter_ = 0; + worldId_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_QuestTaskMetaInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo build() { + com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo result = new com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.idx_ = idx_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.composedQuestId_ = composedQuestId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.taskNum_ = taskNum_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.taskName_ = taskName_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.taskCondition_ = taskCondition_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.taskConditionDesc_ = taskConditionDesc_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.setCounter_ = setCounter_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.worldId_ = worldId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo.getDefaultInstance()) return this; + if (other.getIdx() != 0) { + setIdx(other.getIdx()); + } + if (other.getComposedQuestId() != 0L) { + setComposedQuestId(other.getComposedQuestId()); + } + if (other.getTaskNum() != 0) { + setTaskNum(other.getTaskNum()); + } + if (!other.getTaskName().isEmpty()) { + taskName_ = other.taskName_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getTaskCondition().isEmpty()) { + taskCondition_ = other.taskCondition_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getTaskConditionDesc().isEmpty()) { + taskConditionDesc_ = other.taskConditionDesc_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.getSetCounter() != 0) { + setSetCounter(other.getSetCounter()); + } + if (other.getWorldId() != 0) { + setWorldId(other.getWorldId()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + idx_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + composedQuestId_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + taskNum_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + taskName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + taskCondition_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + taskConditionDesc_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: { + setCounter_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + worldId_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int idx_ ; + /** + * int32 idx = 1; + * @return The idx. + */ + @java.lang.Override + public int getIdx() { + return idx_; + } + /** + * int32 idx = 1; + * @param value The idx to set. + * @return This builder for chaining. + */ + public Builder setIdx(int value) { + + idx_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 idx = 1; + * @return This builder for chaining. + */ + public Builder clearIdx() { + bitField0_ = (bitField0_ & ~0x00000001); + idx_ = 0; + onChanged(); + return this; + } + + private long composedQuestId_ ; + /** + * int64 composedQuestId = 2; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + /** + * int64 composedQuestId = 2; + * @param value The composedQuestId to set. + * @return This builder for chaining. + */ + public Builder setComposedQuestId(long value) { + + composedQuestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int64 composedQuestId = 2; + * @return This builder for chaining. + */ + public Builder clearComposedQuestId() { + bitField0_ = (bitField0_ & ~0x00000002); + composedQuestId_ = 0L; + onChanged(); + return this; + } + + private int taskNum_ ; + /** + * int32 taskNum = 3; + * @return The taskNum. + */ + @java.lang.Override + public int getTaskNum() { + return taskNum_; + } + /** + * int32 taskNum = 3; + * @param value The taskNum to set. + * @return This builder for chaining. + */ + public Builder setTaskNum(int value) { + + taskNum_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 taskNum = 3; + * @return This builder for chaining. + */ + public Builder clearTaskNum() { + bitField0_ = (bitField0_ & ~0x00000004); + taskNum_ = 0; + onChanged(); + return this; + } + + private java.lang.Object taskName_ = ""; + /** + * string taskName = 4; + * @return The taskName. + */ + public java.lang.String getTaskName() { + java.lang.Object ref = taskName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + taskName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string taskName = 4; + * @return The bytes for taskName. + */ + public com.google.protobuf.ByteString + getTaskNameBytes() { + java.lang.Object ref = taskName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string taskName = 4; + * @param value The taskName to set. + * @return This builder for chaining. + */ + public Builder setTaskName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + taskName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string taskName = 4; + * @return This builder for chaining. + */ + public Builder clearTaskName() { + taskName_ = getDefaultInstance().getTaskName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string taskName = 4; + * @param value The bytes for taskName to set. + * @return This builder for chaining. + */ + public Builder setTaskNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + taskName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object taskCondition_ = ""; + /** + * string taskCondition = 5; + * @return The taskCondition. + */ + public java.lang.String getTaskCondition() { + java.lang.Object ref = taskCondition_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + taskCondition_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string taskCondition = 5; + * @return The bytes for taskCondition. + */ + public com.google.protobuf.ByteString + getTaskConditionBytes() { + java.lang.Object ref = taskCondition_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskCondition_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string taskCondition = 5; + * @param value The taskCondition to set. + * @return This builder for chaining. + */ + public Builder setTaskCondition( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + taskCondition_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string taskCondition = 5; + * @return This builder for chaining. + */ + public Builder clearTaskCondition() { + taskCondition_ = getDefaultInstance().getTaskCondition(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string taskCondition = 5; + * @param value The bytes for taskCondition to set. + * @return This builder for chaining. + */ + public Builder setTaskConditionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + taskCondition_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object taskConditionDesc_ = ""; + /** + * string taskConditionDesc = 6; + * @return The taskConditionDesc. + */ + public java.lang.String getTaskConditionDesc() { + java.lang.Object ref = taskConditionDesc_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + taskConditionDesc_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string taskConditionDesc = 6; + * @return The bytes for taskConditionDesc. + */ + public com.google.protobuf.ByteString + getTaskConditionDescBytes() { + java.lang.Object ref = taskConditionDesc_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskConditionDesc_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string taskConditionDesc = 6; + * @param value The taskConditionDesc to set. + * @return This builder for chaining. + */ + public Builder setTaskConditionDesc( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + taskConditionDesc_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string taskConditionDesc = 6; + * @return This builder for chaining. + */ + public Builder clearTaskConditionDesc() { + taskConditionDesc_ = getDefaultInstance().getTaskConditionDesc(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string taskConditionDesc = 6; + * @param value The bytes for taskConditionDesc to set. + * @return This builder for chaining. + */ + public Builder setTaskConditionDescBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + taskConditionDesc_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private int setCounter_ ; + /** + * int32 setCounter = 7; + * @return The setCounter. + */ + @java.lang.Override + public int getSetCounter() { + return setCounter_; + } + /** + * int32 setCounter = 7; + * @param value The setCounter to set. + * @return This builder for chaining. + */ + public Builder setSetCounter(int value) { + + setCounter_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * int32 setCounter = 7; + * @return This builder for chaining. + */ + public Builder clearSetCounter() { + bitField0_ = (bitField0_ & ~0x00000040); + setCounter_ = 0; + onChanged(); + return this; + } + + private int worldId_ ; + /** + * int32 worldId = 8; + * @return The worldId. + */ + @java.lang.Override + public int getWorldId() { + return worldId_; + } + /** + * int32 worldId = 8; + * @param value The worldId to set. + * @return This builder for chaining. + */ + public Builder setWorldId(int value) { + + worldId_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * int32 worldId = 8; + * @return This builder for chaining. + */ + public Builder clearWorldId() { + bitField0_ = (bitField0_ & ~0x00000080); + worldId_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:QuestTaskMetaInfo) + } + + // @@protoc_insertion_point(class_scope:QuestTaskMetaInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuestTaskMetaInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestTaskMetaInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestTaskMetaInfoOrBuilder.java new file mode 100644 index 0000000..4a55ce8 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/QuestTaskMetaInfoOrBuilder.java @@ -0,0 +1,75 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface QuestTaskMetaInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:QuestTaskMetaInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 idx = 1; + * @return The idx. + */ + int getIdx(); + + /** + * int64 composedQuestId = 2; + * @return The composedQuestId. + */ + long getComposedQuestId(); + + /** + * int32 taskNum = 3; + * @return The taskNum. + */ + int getTaskNum(); + + /** + * string taskName = 4; + * @return The taskName. + */ + java.lang.String getTaskName(); + /** + * string taskName = 4; + * @return The bytes for taskName. + */ + com.google.protobuf.ByteString + getTaskNameBytes(); + + /** + * string taskCondition = 5; + * @return The taskCondition. + */ + java.lang.String getTaskCondition(); + /** + * string taskCondition = 5; + * @return The bytes for taskCondition. + */ + com.google.protobuf.ByteString + getTaskConditionBytes(); + + /** + * string taskConditionDesc = 6; + * @return The taskConditionDesc. + */ + java.lang.String getTaskConditionDesc(); + /** + * string taskConditionDesc = 6; + * @return The bytes for taskConditionDesc. + */ + com.google.protobuf.ByteString + getTaskConditionDescBytes(); + + /** + * int32 setCounter = 7; + * @return The setCounter. + */ + int getSetCounter(); + + /** + * int32 worldId = 8; + * @return The worldId. + */ + int getWorldId(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentFloorRequestInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentFloorRequestInfo.java new file mode 100644 index 0000000..1b5f149 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentFloorRequestInfo.java @@ -0,0 +1,1640 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code RentFloorRequestInfo} + */ +public final class RentFloorRequestInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:RentFloorRequestInfo) + RentFloorRequestInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use RentFloorRequestInfo.newBuilder() to construct. + private RentFloorRequestInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RentFloorRequestInfo() { + ownerGuid_ = ""; + myhomeGuid_ = ""; + instanceName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RentFloorRequestInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentFloorRequestInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentFloorRequestInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.class, com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.Builder.class); + } + + public static final int LANDID_FIELD_NUMBER = 1; + private int landId_ = 0; + /** + * int32 landId = 1; + * @return The landId. + */ + @java.lang.Override + public int getLandId() { + return landId_; + } + + public static final int BUILDINGID_FIELD_NUMBER = 2; + private int buildingId_ = 0; + /** + * int32 buildingId = 2; + * @return The buildingId. + */ + @java.lang.Override + public int getBuildingId() { + return buildingId_; + } + + public static final int FLOOR_FIELD_NUMBER = 3; + private int floor_ = 0; + /** + * int32 floor = 3; + * @return The floor. + */ + @java.lang.Override + public int getFloor() { + return floor_; + } + + public static final int OWNERGUID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object ownerGuid_ = ""; + /** + * string ownerGuid = 4; + * @return The ownerGuid. + */ + @java.lang.Override + public java.lang.String getOwnerGuid() { + java.lang.Object ref = ownerGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerGuid_ = s; + return s; + } + } + /** + * string ownerGuid = 4; + * @return The bytes for ownerGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerGuidBytes() { + java.lang.Object ref = ownerGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MYHOMEGUID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object myhomeGuid_ = ""; + /** + * string myhomeGuid = 5; + * @return The myhomeGuid. + */ + @java.lang.Override + public java.lang.String getMyhomeGuid() { + java.lang.Object ref = myhomeGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + myhomeGuid_ = s; + return s; + } + } + /** + * string myhomeGuid = 5; + * @return The bytes for myhomeGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMyhomeGuidBytes() { + java.lang.Object ref = myhomeGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + myhomeGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INSTANCENAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object instanceName_ = ""; + /** + * string instanceName = 6; + * @return The instanceName. + */ + @java.lang.Override + public java.lang.String getInstanceName() { + java.lang.Object ref = instanceName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceName_ = s; + return s; + } + } + /** + * string instanceName = 6; + * @return The bytes for instanceName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInstanceNameBytes() { + java.lang.Object ref = instanceName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + instanceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int THUMBNAILIMAGEID_FIELD_NUMBER = 7; + private int thumbnailImageId_ = 0; + /** + * int32 thumbnailImageId = 7; + * @return The thumbnailImageId. + */ + @java.lang.Override + public int getThumbnailImageId() { + return thumbnailImageId_; + } + + public static final int LISTIMAGEID_FIELD_NUMBER = 8; + private int listImageId_ = 0; + /** + * int32 listImageId = 8; + * @return The listImageId. + */ + @java.lang.Override + public int getListImageId() { + return listImageId_; + } + + public static final int ENTERPLAYERCOUNT_FIELD_NUMBER = 9; + private int enterPlayerCount_ = 0; + /** + * int32 enterPlayerCount = 9; + * @return The enterPlayerCount. + */ + @java.lang.Override + public int getEnterPlayerCount() { + return enterPlayerCount_; + } + + public static final int RENTALPERIOD_FIELD_NUMBER = 10; + private int rentalPeriod_ = 0; + /** + * int32 rentalPeriod = 10; + * @return The rentalPeriod. + */ + @java.lang.Override + public int getRentalPeriod() { + return rentalPeriod_; + } + + public static final int RENTALSTARTTIME_FIELD_NUMBER = 11; + private com.google.protobuf.Timestamp rentalStartTime_; + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + * @return Whether the rentalStartTime field is set. + */ + @java.lang.Override + public boolean hasRentalStartTime() { + return rentalStartTime_ != null; + } + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + * @return The rentalStartTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getRentalStartTime() { + return rentalStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rentalStartTime_; + } + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getRentalStartTimeOrBuilder() { + return rentalStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rentalStartTime_; + } + + public static final int RENTALFINISHTIME_FIELD_NUMBER = 12; + private com.google.protobuf.Timestamp rentalFinishTime_; + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + * @return Whether the rentalFinishTime field is set. + */ + @java.lang.Override + public boolean hasRentalFinishTime() { + return rentalFinishTime_ != null; + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + * @return The rentalFinishTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getRentalFinishTime() { + return rentalFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rentalFinishTime_; + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getRentalFinishTimeOrBuilder() { + return rentalFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rentalFinishTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (landId_ != 0) { + output.writeInt32(1, landId_); + } + if (buildingId_ != 0) { + output.writeInt32(2, buildingId_); + } + if (floor_ != 0) { + output.writeInt32(3, floor_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ownerGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(myhomeGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, myhomeGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, instanceName_); + } + if (thumbnailImageId_ != 0) { + output.writeInt32(7, thumbnailImageId_); + } + if (listImageId_ != 0) { + output.writeInt32(8, listImageId_); + } + if (enterPlayerCount_ != 0) { + output.writeInt32(9, enterPlayerCount_); + } + if (rentalPeriod_ != 0) { + output.writeInt32(10, rentalPeriod_); + } + if (rentalStartTime_ != null) { + output.writeMessage(11, getRentalStartTime()); + } + if (rentalFinishTime_ != null) { + output.writeMessage(12, getRentalFinishTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (landId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, landId_); + } + if (buildingId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, buildingId_); + } + if (floor_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, floor_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ownerGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(myhomeGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, myhomeGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, instanceName_); + } + if (thumbnailImageId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, thumbnailImageId_); + } + if (listImageId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, listImageId_); + } + if (enterPlayerCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, enterPlayerCount_); + } + if (rentalPeriod_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, rentalPeriod_); + } + if (rentalStartTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getRentalStartTime()); + } + if (rentalFinishTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getRentalFinishTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo other = (com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo) obj; + + if (getLandId() + != other.getLandId()) return false; + if (getBuildingId() + != other.getBuildingId()) return false; + if (getFloor() + != other.getFloor()) return false; + if (!getOwnerGuid() + .equals(other.getOwnerGuid())) return false; + if (!getMyhomeGuid() + .equals(other.getMyhomeGuid())) return false; + if (!getInstanceName() + .equals(other.getInstanceName())) return false; + if (getThumbnailImageId() + != other.getThumbnailImageId()) return false; + if (getListImageId() + != other.getListImageId()) return false; + if (getEnterPlayerCount() + != other.getEnterPlayerCount()) return false; + if (getRentalPeriod() + != other.getRentalPeriod()) return false; + if (hasRentalStartTime() != other.hasRentalStartTime()) return false; + if (hasRentalStartTime()) { + if (!getRentalStartTime() + .equals(other.getRentalStartTime())) return false; + } + if (hasRentalFinishTime() != other.hasRentalFinishTime()) return false; + if (hasRentalFinishTime()) { + if (!getRentalFinishTime() + .equals(other.getRentalFinishTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LANDID_FIELD_NUMBER; + hash = (53 * hash) + getLandId(); + hash = (37 * hash) + BUILDINGID_FIELD_NUMBER; + hash = (53 * hash) + getBuildingId(); + hash = (37 * hash) + FLOOR_FIELD_NUMBER; + hash = (53 * hash) + getFloor(); + hash = (37 * hash) + OWNERGUID_FIELD_NUMBER; + hash = (53 * hash) + getOwnerGuid().hashCode(); + hash = (37 * hash) + MYHOMEGUID_FIELD_NUMBER; + hash = (53 * hash) + getMyhomeGuid().hashCode(); + hash = (37 * hash) + INSTANCENAME_FIELD_NUMBER; + hash = (53 * hash) + getInstanceName().hashCode(); + hash = (37 * hash) + THUMBNAILIMAGEID_FIELD_NUMBER; + hash = (53 * hash) + getThumbnailImageId(); + hash = (37 * hash) + LISTIMAGEID_FIELD_NUMBER; + hash = (53 * hash) + getListImageId(); + hash = (37 * hash) + ENTERPLAYERCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getEnterPlayerCount(); + hash = (37 * hash) + RENTALPERIOD_FIELD_NUMBER; + hash = (53 * hash) + getRentalPeriod(); + if (hasRentalStartTime()) { + hash = (37 * hash) + RENTALSTARTTIME_FIELD_NUMBER; + hash = (53 * hash) + getRentalStartTime().hashCode(); + } + if (hasRentalFinishTime()) { + hash = (37 * hash) + RENTALFINISHTIME_FIELD_NUMBER; + hash = (53 * hash) + getRentalFinishTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code RentFloorRequestInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:RentFloorRequestInfo) + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentFloorRequestInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentFloorRequestInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.class, com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + landId_ = 0; + buildingId_ = 0; + floor_ = 0; + ownerGuid_ = ""; + myhomeGuid_ = ""; + instanceName_ = ""; + thumbnailImageId_ = 0; + listImageId_ = 0; + enterPlayerCount_ = 0; + rentalPeriod_ = 0; + rentalStartTime_ = null; + if (rentalStartTimeBuilder_ != null) { + rentalStartTimeBuilder_.dispose(); + rentalStartTimeBuilder_ = null; + } + rentalFinishTime_ = null; + if (rentalFinishTimeBuilder_ != null) { + rentalFinishTimeBuilder_.dispose(); + rentalFinishTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentFloorRequestInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo build() { + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo result = new com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.landId_ = landId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.buildingId_ = buildingId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.floor_ = floor_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.ownerGuid_ = ownerGuid_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.myhomeGuid_ = myhomeGuid_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.instanceName_ = instanceName_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.thumbnailImageId_ = thumbnailImageId_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.listImageId_ = listImageId_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.enterPlayerCount_ = enterPlayerCount_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.rentalPeriod_ = rentalPeriod_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.rentalStartTime_ = rentalStartTimeBuilder_ == null + ? rentalStartTime_ + : rentalStartTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.rentalFinishTime_ = rentalFinishTimeBuilder_ == null + ? rentalFinishTime_ + : rentalFinishTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.getDefaultInstance()) return this; + if (other.getLandId() != 0) { + setLandId(other.getLandId()); + } + if (other.getBuildingId() != 0) { + setBuildingId(other.getBuildingId()); + } + if (other.getFloor() != 0) { + setFloor(other.getFloor()); + } + if (!other.getOwnerGuid().isEmpty()) { + ownerGuid_ = other.ownerGuid_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getMyhomeGuid().isEmpty()) { + myhomeGuid_ = other.myhomeGuid_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getInstanceName().isEmpty()) { + instanceName_ = other.instanceName_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.getThumbnailImageId() != 0) { + setThumbnailImageId(other.getThumbnailImageId()); + } + if (other.getListImageId() != 0) { + setListImageId(other.getListImageId()); + } + if (other.getEnterPlayerCount() != 0) { + setEnterPlayerCount(other.getEnterPlayerCount()); + } + if (other.getRentalPeriod() != 0) { + setRentalPeriod(other.getRentalPeriod()); + } + if (other.hasRentalStartTime()) { + mergeRentalStartTime(other.getRentalStartTime()); + } + if (other.hasRentalFinishTime()) { + mergeRentalFinishTime(other.getRentalFinishTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + landId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + buildingId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + floor_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + ownerGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + myhomeGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + instanceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: { + thumbnailImageId_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + listImageId_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: { + enterPlayerCount_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: { + rentalPeriod_ = input.readInt32(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: { + input.readMessage( + getRentalStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: { + input.readMessage( + getRentalFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int landId_ ; + /** + * int32 landId = 1; + * @return The landId. + */ + @java.lang.Override + public int getLandId() { + return landId_; + } + /** + * int32 landId = 1; + * @param value The landId to set. + * @return This builder for chaining. + */ + public Builder setLandId(int value) { + + landId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 landId = 1; + * @return This builder for chaining. + */ + public Builder clearLandId() { + bitField0_ = (bitField0_ & ~0x00000001); + landId_ = 0; + onChanged(); + return this; + } + + private int buildingId_ ; + /** + * int32 buildingId = 2; + * @return The buildingId. + */ + @java.lang.Override + public int getBuildingId() { + return buildingId_; + } + /** + * int32 buildingId = 2; + * @param value The buildingId to set. + * @return This builder for chaining. + */ + public Builder setBuildingId(int value) { + + buildingId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 buildingId = 2; + * @return This builder for chaining. + */ + public Builder clearBuildingId() { + bitField0_ = (bitField0_ & ~0x00000002); + buildingId_ = 0; + onChanged(); + return this; + } + + private int floor_ ; + /** + * int32 floor = 3; + * @return The floor. + */ + @java.lang.Override + public int getFloor() { + return floor_; + } + /** + * int32 floor = 3; + * @param value The floor to set. + * @return This builder for chaining. + */ + public Builder setFloor(int value) { + + floor_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 floor = 3; + * @return This builder for chaining. + */ + public Builder clearFloor() { + bitField0_ = (bitField0_ & ~0x00000004); + floor_ = 0; + onChanged(); + return this; + } + + private java.lang.Object ownerGuid_ = ""; + /** + * string ownerGuid = 4; + * @return The ownerGuid. + */ + public java.lang.String getOwnerGuid() { + java.lang.Object ref = ownerGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ownerGuid = 4; + * @return The bytes for ownerGuid. + */ + public com.google.protobuf.ByteString + getOwnerGuidBytes() { + java.lang.Object ref = ownerGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ownerGuid = 4; + * @param value The ownerGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ownerGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string ownerGuid = 4; + * @return This builder for chaining. + */ + public Builder clearOwnerGuid() { + ownerGuid_ = getDefaultInstance().getOwnerGuid(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string ownerGuid = 4; + * @param value The bytes for ownerGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ownerGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object myhomeGuid_ = ""; + /** + * string myhomeGuid = 5; + * @return The myhomeGuid. + */ + public java.lang.String getMyhomeGuid() { + java.lang.Object ref = myhomeGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + myhomeGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string myhomeGuid = 5; + * @return The bytes for myhomeGuid. + */ + public com.google.protobuf.ByteString + getMyhomeGuidBytes() { + java.lang.Object ref = myhomeGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + myhomeGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string myhomeGuid = 5; + * @param value The myhomeGuid to set. + * @return This builder for chaining. + */ + public Builder setMyhomeGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + myhomeGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string myhomeGuid = 5; + * @return This builder for chaining. + */ + public Builder clearMyhomeGuid() { + myhomeGuid_ = getDefaultInstance().getMyhomeGuid(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string myhomeGuid = 5; + * @param value The bytes for myhomeGuid to set. + * @return This builder for chaining. + */ + public Builder setMyhomeGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + myhomeGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object instanceName_ = ""; + /** + * string instanceName = 6; + * @return The instanceName. + */ + public java.lang.String getInstanceName() { + java.lang.Object ref = instanceName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string instanceName = 6; + * @return The bytes for instanceName. + */ + public com.google.protobuf.ByteString + getInstanceNameBytes() { + java.lang.Object ref = instanceName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + instanceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string instanceName = 6; + * @param value The instanceName to set. + * @return This builder for chaining. + */ + public Builder setInstanceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + instanceName_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string instanceName = 6; + * @return This builder for chaining. + */ + public Builder clearInstanceName() { + instanceName_ = getDefaultInstance().getInstanceName(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string instanceName = 6; + * @param value The bytes for instanceName to set. + * @return This builder for chaining. + */ + public Builder setInstanceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + instanceName_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private int thumbnailImageId_ ; + /** + * int32 thumbnailImageId = 7; + * @return The thumbnailImageId. + */ + @java.lang.Override + public int getThumbnailImageId() { + return thumbnailImageId_; + } + /** + * int32 thumbnailImageId = 7; + * @param value The thumbnailImageId to set. + * @return This builder for chaining. + */ + public Builder setThumbnailImageId(int value) { + + thumbnailImageId_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * int32 thumbnailImageId = 7; + * @return This builder for chaining. + */ + public Builder clearThumbnailImageId() { + bitField0_ = (bitField0_ & ~0x00000040); + thumbnailImageId_ = 0; + onChanged(); + return this; + } + + private int listImageId_ ; + /** + * int32 listImageId = 8; + * @return The listImageId. + */ + @java.lang.Override + public int getListImageId() { + return listImageId_; + } + /** + * int32 listImageId = 8; + * @param value The listImageId to set. + * @return This builder for chaining. + */ + public Builder setListImageId(int value) { + + listImageId_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * int32 listImageId = 8; + * @return This builder for chaining. + */ + public Builder clearListImageId() { + bitField0_ = (bitField0_ & ~0x00000080); + listImageId_ = 0; + onChanged(); + return this; + } + + private int enterPlayerCount_ ; + /** + * int32 enterPlayerCount = 9; + * @return The enterPlayerCount. + */ + @java.lang.Override + public int getEnterPlayerCount() { + return enterPlayerCount_; + } + /** + * int32 enterPlayerCount = 9; + * @param value The enterPlayerCount to set. + * @return This builder for chaining. + */ + public Builder setEnterPlayerCount(int value) { + + enterPlayerCount_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * int32 enterPlayerCount = 9; + * @return This builder for chaining. + */ + public Builder clearEnterPlayerCount() { + bitField0_ = (bitField0_ & ~0x00000100); + enterPlayerCount_ = 0; + onChanged(); + return this; + } + + private int rentalPeriod_ ; + /** + * int32 rentalPeriod = 10; + * @return The rentalPeriod. + */ + @java.lang.Override + public int getRentalPeriod() { + return rentalPeriod_; + } + /** + * int32 rentalPeriod = 10; + * @param value The rentalPeriod to set. + * @return This builder for chaining. + */ + public Builder setRentalPeriod(int value) { + + rentalPeriod_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * int32 rentalPeriod = 10; + * @return This builder for chaining. + */ + public Builder clearRentalPeriod() { + bitField0_ = (bitField0_ & ~0x00000200); + rentalPeriod_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp rentalStartTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> rentalStartTimeBuilder_; + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + * @return Whether the rentalStartTime field is set. + */ + public boolean hasRentalStartTime() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + * @return The rentalStartTime. + */ + public com.google.protobuf.Timestamp getRentalStartTime() { + if (rentalStartTimeBuilder_ == null) { + return rentalStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rentalStartTime_; + } else { + return rentalStartTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + */ + public Builder setRentalStartTime(com.google.protobuf.Timestamp value) { + if (rentalStartTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rentalStartTime_ = value; + } else { + rentalStartTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + */ + public Builder setRentalStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (rentalStartTimeBuilder_ == null) { + rentalStartTime_ = builderForValue.build(); + } else { + rentalStartTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + */ + public Builder mergeRentalStartTime(com.google.protobuf.Timestamp value) { + if (rentalStartTimeBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) && + rentalStartTime_ != null && + rentalStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getRentalStartTimeBuilder().mergeFrom(value); + } else { + rentalStartTime_ = value; + } + } else { + rentalStartTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + */ + public Builder clearRentalStartTime() { + bitField0_ = (bitField0_ & ~0x00000400); + rentalStartTime_ = null; + if (rentalStartTimeBuilder_ != null) { + rentalStartTimeBuilder_.dispose(); + rentalStartTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + */ + public com.google.protobuf.Timestamp.Builder getRentalStartTimeBuilder() { + bitField0_ |= 0x00000400; + onChanged(); + return getRentalStartTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + */ + public com.google.protobuf.TimestampOrBuilder getRentalStartTimeOrBuilder() { + if (rentalStartTimeBuilder_ != null) { + return rentalStartTimeBuilder_.getMessageOrBuilder(); + } else { + return rentalStartTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : rentalStartTime_; + } + } + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getRentalStartTimeFieldBuilder() { + if (rentalStartTimeBuilder_ == null) { + rentalStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRentalStartTime(), + getParentForChildren(), + isClean()); + rentalStartTime_ = null; + } + return rentalStartTimeBuilder_; + } + + private com.google.protobuf.Timestamp rentalFinishTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> rentalFinishTimeBuilder_; + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + * @return Whether the rentalFinishTime field is set. + */ + public boolean hasRentalFinishTime() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + * @return The rentalFinishTime. + */ + public com.google.protobuf.Timestamp getRentalFinishTime() { + if (rentalFinishTimeBuilder_ == null) { + return rentalFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : rentalFinishTime_; + } else { + return rentalFinishTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + */ + public Builder setRentalFinishTime(com.google.protobuf.Timestamp value) { + if (rentalFinishTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rentalFinishTime_ = value; + } else { + rentalFinishTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + */ + public Builder setRentalFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (rentalFinishTimeBuilder_ == null) { + rentalFinishTime_ = builderForValue.build(); + } else { + rentalFinishTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + */ + public Builder mergeRentalFinishTime(com.google.protobuf.Timestamp value) { + if (rentalFinishTimeBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0) && + rentalFinishTime_ != null && + rentalFinishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getRentalFinishTimeBuilder().mergeFrom(value); + } else { + rentalFinishTime_ = value; + } + } else { + rentalFinishTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + */ + public Builder clearRentalFinishTime() { + bitField0_ = (bitField0_ & ~0x00000800); + rentalFinishTime_ = null; + if (rentalFinishTimeBuilder_ != null) { + rentalFinishTimeBuilder_.dispose(); + rentalFinishTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + */ + public com.google.protobuf.Timestamp.Builder getRentalFinishTimeBuilder() { + bitField0_ |= 0x00000800; + onChanged(); + return getRentalFinishTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + */ + public com.google.protobuf.TimestampOrBuilder getRentalFinishTimeOrBuilder() { + if (rentalFinishTimeBuilder_ != null) { + return rentalFinishTimeBuilder_.getMessageOrBuilder(); + } else { + return rentalFinishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : rentalFinishTime_; + } + } + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getRentalFinishTimeFieldBuilder() { + if (rentalFinishTimeBuilder_ == null) { + rentalFinishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRentalFinishTime(), + getParentForChildren(), + isClean()); + rentalFinishTime_ = null; + } + return rentalFinishTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:RentFloorRequestInfo) + } + + // @@protoc_insertion_point(class_scope:RentFloorRequestInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RentFloorRequestInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentFloorRequestInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentFloorRequestInfoOrBuilder.java new file mode 100644 index 0000000..7e159ab --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentFloorRequestInfoOrBuilder.java @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface RentFloorRequestInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:RentFloorRequestInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 landId = 1; + * @return The landId. + */ + int getLandId(); + + /** + * int32 buildingId = 2; + * @return The buildingId. + */ + int getBuildingId(); + + /** + * int32 floor = 3; + * @return The floor. + */ + int getFloor(); + + /** + * string ownerGuid = 4; + * @return The ownerGuid. + */ + java.lang.String getOwnerGuid(); + /** + * string ownerGuid = 4; + * @return The bytes for ownerGuid. + */ + com.google.protobuf.ByteString + getOwnerGuidBytes(); + + /** + * string myhomeGuid = 5; + * @return The myhomeGuid. + */ + java.lang.String getMyhomeGuid(); + /** + * string myhomeGuid = 5; + * @return The bytes for myhomeGuid. + */ + com.google.protobuf.ByteString + getMyhomeGuidBytes(); + + /** + * string instanceName = 6; + * @return The instanceName. + */ + java.lang.String getInstanceName(); + /** + * string instanceName = 6; + * @return The bytes for instanceName. + */ + com.google.protobuf.ByteString + getInstanceNameBytes(); + + /** + * int32 thumbnailImageId = 7; + * @return The thumbnailImageId. + */ + int getThumbnailImageId(); + + /** + * int32 listImageId = 8; + * @return The listImageId. + */ + int getListImageId(); + + /** + * int32 enterPlayerCount = 9; + * @return The enterPlayerCount. + */ + int getEnterPlayerCount(); + + /** + * int32 rentalPeriod = 10; + * @return The rentalPeriod. + */ + int getRentalPeriod(); + + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + * @return Whether the rentalStartTime field is set. + */ + boolean hasRentalStartTime(); + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + * @return The rentalStartTime. + */ + com.google.protobuf.Timestamp getRentalStartTime(); + /** + * .google.protobuf.Timestamp rentalStartTime = 11; + */ + com.google.protobuf.TimestampOrBuilder getRentalStartTimeOrBuilder(); + + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + * @return Whether the rentalFinishTime field is set. + */ + boolean hasRentalFinishTime(); + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + * @return The rentalFinishTime. + */ + com.google.protobuf.Timestamp getRentalFinishTime(); + /** + * .google.protobuf.Timestamp rentalFinishTime = 12; + */ + com.google.protobuf.TimestampOrBuilder getRentalFinishTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentalFloorInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentalFloorInfo.java new file mode 100644 index 0000000..1c89c86 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentalFloorInfo.java @@ -0,0 +1,610 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code RentalFloorInfo} + */ +public final class RentalFloorInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:RentalFloorInfo) + RentalFloorInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use RentalFloorInfo.newBuilder() to construct. + private RentalFloorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RentalFloorInfo() { + instanceName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RentalFloorInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentalFloorInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentalFloorInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo.class, com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo.Builder.class); + } + + public static final int FLOOR_FIELD_NUMBER = 1; + private int floor_ = 0; + /** + * int32 floor = 1; + * @return The floor. + */ + @java.lang.Override + public int getFloor() { + return floor_; + } + + public static final int INSTANCENAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object instanceName_ = ""; + /** + * string instanceName = 2; + * @return The instanceName. + */ + @java.lang.Override + public java.lang.String getInstanceName() { + java.lang.Object ref = instanceName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceName_ = s; + return s; + } + } + /** + * string instanceName = 2; + * @return The bytes for instanceName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInstanceNameBytes() { + java.lang.Object ref = instanceName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + instanceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (floor_ != 0) { + output.writeInt32(1, floor_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, instanceName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (floor_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, floor_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo other = (com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo) obj; + + if (getFloor() + != other.getFloor()) return false; + if (!getInstanceName() + .equals(other.getInstanceName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FLOOR_FIELD_NUMBER; + hash = (53 * hash) + getFloor(); + hash = (37 * hash) + INSTANCENAME_FIELD_NUMBER; + hash = (53 * hash) + getInstanceName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code RentalFloorInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:RentalFloorInfo) + com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentalFloorInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentalFloorInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo.class, com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + floor_ = 0; + instanceName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentalFloorInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo build() { + com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo result = new com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.floor_ = floor_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.instanceName_ = instanceName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo.getDefaultInstance()) return this; + if (other.getFloor() != 0) { + setFloor(other.getFloor()); + } + if (!other.getInstanceName().isEmpty()) { + instanceName_ = other.instanceName_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + floor_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + instanceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int floor_ ; + /** + * int32 floor = 1; + * @return The floor. + */ + @java.lang.Override + public int getFloor() { + return floor_; + } + /** + * int32 floor = 1; + * @param value The floor to set. + * @return This builder for chaining. + */ + public Builder setFloor(int value) { + + floor_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 floor = 1; + * @return This builder for chaining. + */ + public Builder clearFloor() { + bitField0_ = (bitField0_ & ~0x00000001); + floor_ = 0; + onChanged(); + return this; + } + + private java.lang.Object instanceName_ = ""; + /** + * string instanceName = 2; + * @return The instanceName. + */ + public java.lang.String getInstanceName() { + java.lang.Object ref = instanceName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string instanceName = 2; + * @return The bytes for instanceName. + */ + public com.google.protobuf.ByteString + getInstanceNameBytes() { + java.lang.Object ref = instanceName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + instanceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string instanceName = 2; + * @param value The instanceName to set. + * @return This builder for chaining. + */ + public Builder setInstanceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + instanceName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string instanceName = 2; + * @return This builder for chaining. + */ + public Builder clearInstanceName() { + instanceName_ = getDefaultInstance().getInstanceName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string instanceName = 2; + * @param value The bytes for instanceName to set. + * @return This builder for chaining. + */ + public Builder setInstanceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + instanceName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:RentalFloorInfo) + } + + // @@protoc_insertion_point(class_scope:RentalFloorInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RentalFloorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentalFloorInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentalFloorInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentalFloorInfoOrBuilder.java new file mode 100644 index 0000000..60cd643 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentalFloorInfoOrBuilder.java @@ -0,0 +1,27 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface RentalFloorInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:RentalFloorInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 floor = 1; + * @return The floor. + */ + int getFloor(); + + /** + * string instanceName = 2; + * @return The instanceName. + */ + java.lang.String getInstanceName(); + /** + * string instanceName = 2; + * @return The bytes for instanceName. + */ + com.google.protobuf.ByteString + getInstanceNameBytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentalLandInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentalLandInfo.java new file mode 100644 index 0000000..988ebbd --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentalLandInfo.java @@ -0,0 +1,606 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code RentalLandInfo} + */ +public final class RentalLandInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:RentalLandInfo) + RentalLandInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use RentalLandInfo.newBuilder() to construct. + private RentalLandInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RentalLandInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RentalLandInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentalLandInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentalLandInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo.class, com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo.Builder.class); + } + + public static final int LANDID_FIELD_NUMBER = 1; + private int landId_ = 0; + /** + * int32 landId = 1; + * @return The landId. + */ + @java.lang.Override + public int getLandId() { + return landId_; + } + + public static final int BUILDINGID_FIELD_NUMBER = 2; + private int buildingId_ = 0; + /** + * int32 buildingId = 2; + * @return The buildingId. + */ + @java.lang.Override + public int getBuildingId() { + return buildingId_; + } + + public static final int RENTALCOUNT_FIELD_NUMBER = 3; + private int rentalCount_ = 0; + /** + * int32 rentalCount = 3; + * @return The rentalCount. + */ + @java.lang.Override + public int getRentalCount() { + return rentalCount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (landId_ != 0) { + output.writeInt32(1, landId_); + } + if (buildingId_ != 0) { + output.writeInt32(2, buildingId_); + } + if (rentalCount_ != 0) { + output.writeInt32(3, rentalCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (landId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, landId_); + } + if (buildingId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, buildingId_); + } + if (rentalCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, rentalCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo other = (com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo) obj; + + if (getLandId() + != other.getLandId()) return false; + if (getBuildingId() + != other.getBuildingId()) return false; + if (getRentalCount() + != other.getRentalCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LANDID_FIELD_NUMBER; + hash = (53 * hash) + getLandId(); + hash = (37 * hash) + BUILDINGID_FIELD_NUMBER; + hash = (53 * hash) + getBuildingId(); + hash = (37 * hash) + RENTALCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getRentalCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code RentalLandInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:RentalLandInfo) + com.caliverse.admin.domain.RabbitMq.message.RentalLandInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentalLandInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentalLandInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo.class, com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + landId_ = 0; + buildingId_ = 0; + rentalCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RentalLandInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo build() { + com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo result = new com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.landId_ = landId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.buildingId_ = buildingId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.rentalCount_ = rentalCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo.getDefaultInstance()) return this; + if (other.getLandId() != 0) { + setLandId(other.getLandId()); + } + if (other.getBuildingId() != 0) { + setBuildingId(other.getBuildingId()); + } + if (other.getRentalCount() != 0) { + setRentalCount(other.getRentalCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + landId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + buildingId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + rentalCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int landId_ ; + /** + * int32 landId = 1; + * @return The landId. + */ + @java.lang.Override + public int getLandId() { + return landId_; + } + /** + * int32 landId = 1; + * @param value The landId to set. + * @return This builder for chaining. + */ + public Builder setLandId(int value) { + + landId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 landId = 1; + * @return This builder for chaining. + */ + public Builder clearLandId() { + bitField0_ = (bitField0_ & ~0x00000001); + landId_ = 0; + onChanged(); + return this; + } + + private int buildingId_ ; + /** + * int32 buildingId = 2; + * @return The buildingId. + */ + @java.lang.Override + public int getBuildingId() { + return buildingId_; + } + /** + * int32 buildingId = 2; + * @param value The buildingId to set. + * @return This builder for chaining. + */ + public Builder setBuildingId(int value) { + + buildingId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 buildingId = 2; + * @return This builder for chaining. + */ + public Builder clearBuildingId() { + bitField0_ = (bitField0_ & ~0x00000002); + buildingId_ = 0; + onChanged(); + return this; + } + + private int rentalCount_ ; + /** + * int32 rentalCount = 3; + * @return The rentalCount. + */ + @java.lang.Override + public int getRentalCount() { + return rentalCount_; + } + /** + * int32 rentalCount = 3; + * @param value The rentalCount to set. + * @return This builder for chaining. + */ + public Builder setRentalCount(int value) { + + rentalCount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 rentalCount = 3; + * @return This builder for chaining. + */ + public Builder clearRentalCount() { + bitField0_ = (bitField0_ & ~0x00000004); + rentalCount_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:RentalLandInfo) + } + + // @@protoc_insertion_point(class_scope:RentalLandInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RentalLandInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentalLandInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentalLandInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentalLandInfoOrBuilder.java new file mode 100644 index 0000000..dfd9227 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RentalLandInfoOrBuilder.java @@ -0,0 +1,27 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface RentalLandInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:RentalLandInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 landId = 1; + * @return The landId. + */ + int getLandId(); + + /** + * int32 buildingId = 2; + * @return The buildingId. + */ + int getBuildingId(); + + /** + * int32 rentalCount = 3; + * @return The rentalCount. + */ + int getRentalCount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Result.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Result.java new file mode 100644 index 0000000..7e9b558 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Result.java @@ -0,0 +1,646 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Result.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * 각종 결과 전달용 정보 - kangms
+ * 
+ * + * Protobuf type {@code Result} + */ +public final class Result extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Result) + ResultOrBuilder { +private static final long serialVersionUID = 0L; + // Use Result.newBuilder() to construct. + private Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Result() { + errorCode_ = 0; + resultString_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Result(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineResult.internal_static_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineResult.internal_static_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Result.class, com.caliverse.admin.domain.RabbitMq.message.Result.Builder.class); + } + + public static final int ERRORCODE_FIELD_NUMBER = 1; + private int errorCode_ = 0; + /** + * .ServerErrorCode errorCode = 1; + * @return The enum numeric value on the wire for errorCode. + */ + @java.lang.Override public int getErrorCodeValue() { + return errorCode_; + } + /** + * .ServerErrorCode errorCode = 1; + * @return The errorCode. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrorCode() { + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode result = com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.forNumber(errorCode_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.UNRECOGNIZED : result; + } + + public static final int RESULTSTRING_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object resultString_ = ""; + /** + * string resultString = 2; + * @return The resultString. + */ + @java.lang.Override + public java.lang.String getResultString() { + java.lang.Object ref = resultString_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resultString_ = s; + return s; + } + } + /** + * string resultString = 2; + * @return The bytes for resultString. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getResultStringBytes() { + java.lang.Object ref = resultString_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resultString_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (errorCode_ != com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.Success.getNumber()) { + output.writeEnum(1, errorCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resultString_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resultString_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (errorCode_ != com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.Success.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, errorCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resultString_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resultString_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.Result)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.Result other = (com.caliverse.admin.domain.RabbitMq.message.Result) obj; + + if (errorCode_ != other.errorCode_) return false; + if (!getResultString() + .equals(other.getResultString())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ERRORCODE_FIELD_NUMBER; + hash = (53 * hash) + errorCode_; + hash = (37 * hash) + RESULTSTRING_FIELD_NUMBER; + hash = (53 * hash) + getResultString().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.Result parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Result parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Result parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Result parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Result parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Result parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Result parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Result parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Result parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Result parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.Result prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * 각종 결과 전달용 정보 - kangms
+   * 
+ * + * Protobuf type {@code Result} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:Result) + com.caliverse.admin.domain.RabbitMq.message.ResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineResult.internal_static_Result_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineResult.internal_static_Result_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Result.class, com.caliverse.admin.domain.RabbitMq.message.Result.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.Result.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + errorCode_ = 0; + resultString_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineResult.internal_static_Result_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Result getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.Result.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Result build() { + com.caliverse.admin.domain.RabbitMq.message.Result result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Result buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.Result result = new com.caliverse.admin.domain.RabbitMq.message.Result(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.Result result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.errorCode_ = errorCode_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.resultString_ = resultString_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.Result) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.Result)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.Result other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.Result.getDefaultInstance()) return this; + if (other.errorCode_ != 0) { + setErrorCodeValue(other.getErrorCodeValue()); + } + if (!other.getResultString().isEmpty()) { + resultString_ = other.resultString_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + errorCode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + resultString_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int errorCode_ = 0; + /** + * .ServerErrorCode errorCode = 1; + * @return The enum numeric value on the wire for errorCode. + */ + @java.lang.Override public int getErrorCodeValue() { + return errorCode_; + } + /** + * .ServerErrorCode errorCode = 1; + * @param value The enum numeric value on the wire for errorCode to set. + * @return This builder for chaining. + */ + public Builder setErrorCodeValue(int value) { + errorCode_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerErrorCode errorCode = 1; + * @return The errorCode. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrorCode() { + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode result = com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.forNumber(errorCode_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.UNRECOGNIZED : result; + } + /** + * .ServerErrorCode errorCode = 1; + * @param value The errorCode to set. + * @return This builder for chaining. + */ + public Builder setErrorCode(com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + errorCode_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .ServerErrorCode errorCode = 1; + * @return This builder for chaining. + */ + public Builder clearErrorCode() { + bitField0_ = (bitField0_ & ~0x00000001); + errorCode_ = 0; + onChanged(); + return this; + } + + private java.lang.Object resultString_ = ""; + /** + * string resultString = 2; + * @return The resultString. + */ + public java.lang.String getResultString() { + java.lang.Object ref = resultString_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resultString_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string resultString = 2; + * @return The bytes for resultString. + */ + public com.google.protobuf.ByteString + getResultStringBytes() { + java.lang.Object ref = resultString_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resultString_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string resultString = 2; + * @param value The resultString to set. + * @return This builder for chaining. + */ + public Builder setResultString( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + resultString_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string resultString = 2; + * @return This builder for chaining. + */ + public Builder clearResultString() { + resultString_ = getDefaultInstance().getResultString(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string resultString = 2; + * @param value The bytes for resultString to set. + * @return This builder for chaining. + */ + public Builder setResultStringBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + resultString_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Result) + } + + // @@protoc_insertion_point(class_scope:Result) + private static final com.caliverse.admin.domain.RabbitMq.message.Result DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.Result(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.Result getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Result getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ResultOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ResultOrBuilder.java new file mode 100644 index 0000000..119b7a5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ResultOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Result.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:Result) + com.google.protobuf.MessageOrBuilder { + + /** + * .ServerErrorCode errorCode = 1; + * @return The enum numeric value on the wire for errorCode. + */ + int getErrorCodeValue(); + /** + * .ServerErrorCode errorCode = 1; + * @return The errorCode. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrorCode(); + + /** + * string resultString = 2; + * @return The resultString. + */ + java.lang.String getResultString(); + /** + * string resultString = 2; + * @return The bytes for resultString. + */ + com.google.protobuf.ByteString + getResultStringBytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RoomInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RoomInfo.java new file mode 100644 index 0000000..088ae94 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RoomInfo.java @@ -0,0 +1,1236 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code RoomInfo} + */ +public final class RoomInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:RoomInfo) + RoomInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use RoomInfo.newBuilder() to construct. + private RoomInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RoomInfo() { + owner_ = ""; + name_ = ""; + description_ = ""; + propList_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RoomInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RoomInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RoomInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.RoomInfo.class, com.caliverse.admin.domain.RabbitMq.message.RoomInfo.Builder.class); + } + + public static final int ID_FIELD_NUMBER = 1; + private int id_ = 0; + /** + * int32 id = 1; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + + public static final int OWNER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object owner_ = ""; + /** + * string owner = 2; + * @return The owner. + */ + @java.lang.Override + public java.lang.String getOwner() { + java.lang.Object ref = owner_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + owner_ = s; + return s; + } + } + /** + * string owner = 2; + * @return The bytes for owner. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerBytes() { + java.lang.Object ref = owner_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + owner_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * string name = 3; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 3; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + * string description = 4; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + * string description = 4; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROPLIST_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private java.util.List propList_; + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public java.util.List getPropListList() { + return propList_; + } + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public java.util.List + getPropListOrBuilderList() { + return propList_; + } + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public int getPropListCount() { + return propList_.size(); + } + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PropInfo getPropList(int index) { + return propList_.get(index); + } + /** + * repeated .PropInfo propList = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder getPropListOrBuilder( + int index) { + return propList_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (id_ != 0) { + output.writeInt32(1, id_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, owner_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); + } + for (int i = 0; i < propList_.size(); i++) { + output.writeMessage(6, propList_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (id_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, id_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, owner_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); + } + for (int i = 0; i < propList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, propList_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.RoomInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.RoomInfo other = (com.caliverse.admin.domain.RabbitMq.message.RoomInfo) obj; + + if (getId() + != other.getId()) return false; + if (!getOwner() + .equals(other.getOwner())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getPropListList() + .equals(other.getPropListList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + hash = (37 * hash) + OWNER_FIELD_NUMBER; + hash = (53 * hash) + getOwner().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + if (getPropListCount() > 0) { + hash = (37 * hash) + PROPLIST_FIELD_NUMBER; + hash = (53 * hash) + getPropListList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.RoomInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code RoomInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:RoomInfo) + com.caliverse.admin.domain.RabbitMq.message.RoomInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RoomInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RoomInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.RoomInfo.class, com.caliverse.admin.domain.RabbitMq.message.RoomInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.RoomInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + id_ = 0; + owner_ = ""; + name_ = ""; + description_ = ""; + if (propListBuilder_ == null) { + propList_ = java.util.Collections.emptyList(); + } else { + propList_ = null; + propListBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_RoomInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RoomInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.RoomInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RoomInfo build() { + com.caliverse.admin.domain.RabbitMq.message.RoomInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RoomInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.RoomInfo result = new com.caliverse.admin.domain.RabbitMq.message.RoomInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.RoomInfo result) { + if (propListBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + propList_ = java.util.Collections.unmodifiableList(propList_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.propList_ = propList_; + } else { + result.propList_ = propListBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.RoomInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.id_ = id_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.owner_ = owner_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.description_ = description_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.RoomInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.RoomInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.RoomInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.RoomInfo.getDefaultInstance()) return this; + if (other.getId() != 0) { + setId(other.getId()); + } + if (!other.getOwner().isEmpty()) { + owner_ = other.owner_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (propListBuilder_ == null) { + if (!other.propList_.isEmpty()) { + if (propList_.isEmpty()) { + propList_ = other.propList_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensurePropListIsMutable(); + propList_.addAll(other.propList_); + } + onChanged(); + } + } else { + if (!other.propList_.isEmpty()) { + if (propListBuilder_.isEmpty()) { + propListBuilder_.dispose(); + propListBuilder_ = null; + propList_ = other.propList_; + bitField0_ = (bitField0_ & ~0x00000010); + propListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPropListFieldBuilder() : null; + } else { + propListBuilder_.addAllMessages(other.propList_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + id_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + owner_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 50: { + com.caliverse.admin.domain.RabbitMq.message.PropInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.PropInfo.parser(), + extensionRegistry); + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.add(m); + } else { + propListBuilder_.addMessage(m); + } + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int id_ ; + /** + * int32 id = 1; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + /** + * int32 id = 1; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 id = 1; + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000001); + id_ = 0; + onChanged(); + return this; + } + + private java.lang.Object owner_ = ""; + /** + * string owner = 2; + * @return The owner. + */ + public java.lang.String getOwner() { + java.lang.Object ref = owner_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + owner_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string owner = 2; + * @return The bytes for owner. + */ + public com.google.protobuf.ByteString + getOwnerBytes() { + java.lang.Object ref = owner_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + owner_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string owner = 2; + * @param value The owner to set. + * @return This builder for chaining. + */ + public Builder setOwner( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + owner_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string owner = 2; + * @return This builder for chaining. + */ + public Builder clearOwner() { + owner_ = getDefaultInstance().getOwner(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string owner = 2; + * @param value The bytes for owner to set. + * @return This builder for chaining. + */ + public Builder setOwnerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + owner_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 3; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 3; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 3; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string name = 3; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string name = 3; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + * string description = 4; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string description = 4; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string description = 4; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string description = 4; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string description = 4; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.util.List propList_ = + java.util.Collections.emptyList(); + private void ensurePropListIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + propList_ = new java.util.ArrayList(propList_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.PropInfo, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder> propListBuilder_; + + /** + * repeated .PropInfo propList = 6; + */ + public java.util.List getPropListList() { + if (propListBuilder_ == null) { + return java.util.Collections.unmodifiableList(propList_); + } else { + return propListBuilder_.getMessageList(); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public int getPropListCount() { + if (propListBuilder_ == null) { + return propList_.size(); + } else { + return propListBuilder_.getCount(); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfo getPropList(int index) { + if (propListBuilder_ == null) { + return propList_.get(index); + } else { + return propListBuilder_.getMessage(index); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder setPropList( + int index, com.caliverse.admin.domain.RabbitMq.message.PropInfo value) { + if (propListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePropListIsMutable(); + propList_.set(index, value); + onChanged(); + } else { + propListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder setPropList( + int index, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder builderForValue) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.set(index, builderForValue.build()); + onChanged(); + } else { + propListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addPropList(com.caliverse.admin.domain.RabbitMq.message.PropInfo value) { + if (propListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePropListIsMutable(); + propList_.add(value); + onChanged(); + } else { + propListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addPropList( + int index, com.caliverse.admin.domain.RabbitMq.message.PropInfo value) { + if (propListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePropListIsMutable(); + propList_.add(index, value); + onChanged(); + } else { + propListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addPropList( + com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder builderForValue) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.add(builderForValue.build()); + onChanged(); + } else { + propListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addPropList( + int index, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder builderForValue) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.add(index, builderForValue.build()); + onChanged(); + } else { + propListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder addAllPropList( + java.lang.Iterable values) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, propList_); + onChanged(); + } else { + propListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder clearPropList() { + if (propListBuilder_ == null) { + propList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + propListBuilder_.clear(); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public Builder removePropList(int index) { + if (propListBuilder_ == null) { + ensurePropListIsMutable(); + propList_.remove(index); + onChanged(); + } else { + propListBuilder_.remove(index); + } + return this; + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder getPropListBuilder( + int index) { + return getPropListFieldBuilder().getBuilder(index); + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder getPropListOrBuilder( + int index) { + if (propListBuilder_ == null) { + return propList_.get(index); } else { + return propListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public java.util.List + getPropListOrBuilderList() { + if (propListBuilder_ != null) { + return propListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(propList_); + } + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder addPropListBuilder() { + return getPropListFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.PropInfo.getDefaultInstance()); + } + /** + * repeated .PropInfo propList = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder addPropListBuilder( + int index) { + return getPropListFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.PropInfo.getDefaultInstance()); + } + /** + * repeated .PropInfo propList = 6; + */ + public java.util.List + getPropListBuilderList() { + return getPropListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.PropInfo, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder> + getPropListFieldBuilder() { + if (propListBuilder_ == null) { + propListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.PropInfo, com.caliverse.admin.domain.RabbitMq.message.PropInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder>( + propList_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + propList_ = null; + } + return propListBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:RoomInfo) + } + + // @@protoc_insertion_point(class_scope:RoomInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.RoomInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.RoomInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.RoomInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RoomInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RoomInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RoomInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RoomInfoOrBuilder.java new file mode 100644 index 0000000..25b10d0 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RoomInfoOrBuilder.java @@ -0,0 +1,75 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface RoomInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:RoomInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 id = 1; + * @return The id. + */ + int getId(); + + /** + * string owner = 2; + * @return The owner. + */ + java.lang.String getOwner(); + /** + * string owner = 2; + * @return The bytes for owner. + */ + com.google.protobuf.ByteString + getOwnerBytes(); + + /** + * string name = 3; + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 3; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + * string description = 4; + * @return The description. + */ + java.lang.String getDescription(); + /** + * string description = 4; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + * repeated .PropInfo propList = 6; + */ + java.util.List + getPropListList(); + /** + * repeated .PropInfo propList = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.PropInfo getPropList(int index); + /** + * repeated .PropInfo propList = 6; + */ + int getPropListCount(); + /** + * repeated .PropInfo propList = 6; + */ + java.util.List + getPropListOrBuilderList(); + /** + * repeated .PropInfo propList = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder getPropListOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Rotation.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Rotation.java new file mode 100644 index 0000000..19381ec --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/Rotation.java @@ -0,0 +1,612 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code Rotation} + */ +public final class Rotation extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Rotation) + RotationOrBuilder { +private static final long serialVersionUID = 0L; + // Use Rotation.newBuilder() to construct. + private Rotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Rotation() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Rotation(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Rotation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Rotation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Rotation.class, com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder.class); + } + + public static final int PITCH_FIELD_NUMBER = 1; + private float pitch_ = 0F; + /** + * float Pitch = 1; + * @return The pitch. + */ + @java.lang.Override + public float getPitch() { + return pitch_; + } + + public static final int YAW_FIELD_NUMBER = 2; + private float yaw_ = 0F; + /** + * float Yaw = 2; + * @return The yaw. + */ + @java.lang.Override + public float getYaw() { + return yaw_; + } + + public static final int ROLL_FIELD_NUMBER = 3; + private float roll_ = 0F; + /** + * float Roll = 3; + * @return The roll. + */ + @java.lang.Override + public float getRoll() { + return roll_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (java.lang.Float.floatToRawIntBits(pitch_) != 0) { + output.writeFloat(1, pitch_); + } + if (java.lang.Float.floatToRawIntBits(yaw_) != 0) { + output.writeFloat(2, yaw_); + } + if (java.lang.Float.floatToRawIntBits(roll_) != 0) { + output.writeFloat(3, roll_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (java.lang.Float.floatToRawIntBits(pitch_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, pitch_); + } + if (java.lang.Float.floatToRawIntBits(yaw_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, yaw_); + } + if (java.lang.Float.floatToRawIntBits(roll_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, roll_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.Rotation)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.Rotation other = (com.caliverse.admin.domain.RabbitMq.message.Rotation) obj; + + if (java.lang.Float.floatToIntBits(getPitch()) + != java.lang.Float.floatToIntBits( + other.getPitch())) return false; + if (java.lang.Float.floatToIntBits(getYaw()) + != java.lang.Float.floatToIntBits( + other.getYaw())) return false; + if (java.lang.Float.floatToIntBits(getRoll()) + != java.lang.Float.floatToIntBits( + other.getRoll())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PITCH_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getPitch()); + hash = (37 * hash) + YAW_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getYaw()); + hash = (37 * hash) + ROLL_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getRoll()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.Rotation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Rotation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Rotation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Rotation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Rotation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.Rotation parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Rotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Rotation parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Rotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Rotation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.Rotation parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.Rotation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.Rotation prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code Rotation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:Rotation) + com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Rotation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Rotation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.Rotation.class, com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.Rotation.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + pitch_ = 0F; + yaw_ = 0F; + roll_ = 0F; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Rotation_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Rotation getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Rotation build() { + com.caliverse.admin.domain.RabbitMq.message.Rotation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Rotation buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.Rotation result = new com.caliverse.admin.domain.RabbitMq.message.Rotation(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.Rotation result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.pitch_ = pitch_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.yaw_ = yaw_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.roll_ = roll_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.Rotation) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.Rotation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.Rotation other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance()) return this; + if (other.getPitch() != 0F) { + setPitch(other.getPitch()); + } + if (other.getYaw() != 0F) { + setYaw(other.getYaw()); + } + if (other.getRoll() != 0F) { + setRoll(other.getRoll()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 13: { + pitch_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 21: { + yaw_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + case 29: { + roll_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 29 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private float pitch_ ; + /** + * float Pitch = 1; + * @return The pitch. + */ + @java.lang.Override + public float getPitch() { + return pitch_; + } + /** + * float Pitch = 1; + * @param value The pitch to set. + * @return This builder for chaining. + */ + public Builder setPitch(float value) { + + pitch_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * float Pitch = 1; + * @return This builder for chaining. + */ + public Builder clearPitch() { + bitField0_ = (bitField0_ & ~0x00000001); + pitch_ = 0F; + onChanged(); + return this; + } + + private float yaw_ ; + /** + * float Yaw = 2; + * @return The yaw. + */ + @java.lang.Override + public float getYaw() { + return yaw_; + } + /** + * float Yaw = 2; + * @param value The yaw to set. + * @return This builder for chaining. + */ + public Builder setYaw(float value) { + + yaw_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * float Yaw = 2; + * @return This builder for chaining. + */ + public Builder clearYaw() { + bitField0_ = (bitField0_ & ~0x00000002); + yaw_ = 0F; + onChanged(); + return this; + } + + private float roll_ ; + /** + * float Roll = 3; + * @return The roll. + */ + @java.lang.Override + public float getRoll() { + return roll_; + } + /** + * float Roll = 3; + * @param value The roll to set. + * @return This builder for chaining. + */ + public Builder setRoll(float value) { + + roll_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * float Roll = 3; + * @return This builder for chaining. + */ + public Builder clearRoll() { + bitField0_ = (bitField0_ & ~0x00000004); + roll_ = 0F; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Rotation) + } + + // @@protoc_insertion_point(class_scope:Rotation) + private static final com.caliverse.admin.domain.RabbitMq.message.Rotation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.Rotation(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.Rotation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Rotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Rotation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RotationOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RotationOrBuilder.java new file mode 100644 index 0000000..f30bae3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/RotationOrBuilder.java @@ -0,0 +1,27 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface RotationOrBuilder extends + // @@protoc_insertion_point(interface_extends:Rotation) + com.google.protobuf.MessageOrBuilder { + + /** + * float Pitch = 1; + * @return The pitch. + */ + float getPitch(); + + /** + * float Yaw = 2; + * @return The yaw. + */ + float getYaw(); + + /** + * float Roll = 3; + * @return The roll. + */ + float getRoll(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SelledItem.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SelledItem.java new file mode 100644 index 0000000..3b63050 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SelledItem.java @@ -0,0 +1,676 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code SelledItem} + */ +public final class SelledItem extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:SelledItem) + SelledItemOrBuilder { +private static final long serialVersionUID = 0L; + // Use SelledItem.newBuilder() to construct. + private SelledItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SelledItem() { + itemGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SelledItem(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_SelledItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_SelledItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.SelledItem.class, com.caliverse.admin.domain.RabbitMq.message.SelledItem.Builder.class); + } + + public static final int ITEMGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object itemGuid_ = ""; + /** + * string ItemGuid = 1; + * @return The itemGuid. + */ + @java.lang.Override + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } + } + /** + * string ItemGuid = 1; + * @return The bytes for itemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEMID_FIELD_NUMBER = 2; + private int itemId_ = 0; + /** + * int32 ItemId = 2; + * @return The itemId. + */ + @java.lang.Override + public int getItemId() { + return itemId_; + } + + public static final int COUNT_FIELD_NUMBER = 3; + private int count_ = 0; + /** + * int32 Count = 3; + * @return The count. + */ + @java.lang.Override + public int getCount() { + return count_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, itemGuid_); + } + if (itemId_ != 0) { + output.writeInt32(2, itemId_); + } + if (count_ != 0) { + output.writeInt32(3, count_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, itemGuid_); + } + if (itemId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, itemId_); + } + if (count_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, count_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.SelledItem)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.SelledItem other = (com.caliverse.admin.domain.RabbitMq.message.SelledItem) obj; + + if (!getItemGuid() + .equals(other.getItemGuid())) return false; + if (getItemId() + != other.getItemId()) return false; + if (getCount() + != other.getCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getItemGuid().hashCode(); + hash = (37 * hash) + ITEMID_FIELD_NUMBER; + hash = (53 * hash) + getItemId(); + hash = (37 * hash) + COUNT_FIELD_NUMBER; + hash = (53 * hash) + getCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.SelledItem prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code SelledItem} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:SelledItem) + com.caliverse.admin.domain.RabbitMq.message.SelledItemOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_SelledItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_SelledItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.SelledItem.class, com.caliverse.admin.domain.RabbitMq.message.SelledItem.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.SelledItem.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemGuid_ = ""; + itemId_ = 0; + count_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_SelledItem_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.SelledItem getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.SelledItem.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.SelledItem build() { + com.caliverse.admin.domain.RabbitMq.message.SelledItem result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.SelledItem buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.SelledItem result = new com.caliverse.admin.domain.RabbitMq.message.SelledItem(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.SelledItem result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemGuid_ = itemGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.itemId_ = itemId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.count_ = count_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.SelledItem) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.SelledItem)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.SelledItem other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.SelledItem.getDefaultInstance()) return this; + if (!other.getItemGuid().isEmpty()) { + itemGuid_ = other.itemGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getItemId() != 0) { + setItemId(other.getItemId()); + } + if (other.getCount() != 0) { + setCount(other.getCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + itemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + itemId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + count_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object itemGuid_ = ""; + /** + * string ItemGuid = 1; + * @return The itemGuid. + */ + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ItemGuid = 1; + * @return The bytes for itemGuid. + */ + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ItemGuid = 1; + * @param value The itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + itemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string ItemGuid = 1; + * @return This builder for chaining. + */ + public Builder clearItemGuid() { + itemGuid_ = getDefaultInstance().getItemGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string ItemGuid = 1; + * @param value The bytes for itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + itemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int itemId_ ; + /** + * int32 ItemId = 2; + * @return The itemId. + */ + @java.lang.Override + public int getItemId() { + return itemId_; + } + /** + * int32 ItemId = 2; + * @param value The itemId to set. + * @return This builder for chaining. + */ + public Builder setItemId(int value) { + + itemId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 ItemId = 2; + * @return This builder for chaining. + */ + public Builder clearItemId() { + bitField0_ = (bitField0_ & ~0x00000002); + itemId_ = 0; + onChanged(); + return this; + } + + private int count_ ; + /** + * int32 Count = 3; + * @return The count. + */ + @java.lang.Override + public int getCount() { + return count_; + } + /** + * int32 Count = 3; + * @param value The count to set. + * @return This builder for chaining. + */ + public Builder setCount(int value) { + + count_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 Count = 3; + * @return This builder for chaining. + */ + public Builder clearCount() { + bitField0_ = (bitField0_ & ~0x00000004); + count_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:SelledItem) + } + + // @@protoc_insertion_point(class_scope:SelledItem) + private static final com.caliverse.admin.domain.RabbitMq.message.SelledItem DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.SelledItem(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.SelledItem getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SelledItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.SelledItem getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SelledItemOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SelledItemOrBuilder.java new file mode 100644 index 0000000..f94108b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SelledItemOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface SelledItemOrBuilder extends + // @@protoc_insertion_point(interface_extends:SelledItem) + com.google.protobuf.MessageOrBuilder { + + /** + * string ItemGuid = 1; + * @return The itemGuid. + */ + java.lang.String getItemGuid(); + /** + * string ItemGuid = 1; + * @return The bytes for itemGuid. + */ + com.google.protobuf.ByteString + getItemGuidBytes(); + + /** + * int32 ItemId = 2; + * @return The itemId. + */ + int getItemId(); + + /** + * int32 Count = 3; + * @return The count. + */ + int getCount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerConnectInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerConnectInfo.java new file mode 100644 index 0000000..cf97078 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerConnectInfo.java @@ -0,0 +1,1436 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ServerConnectInfo} + */ +public final class ServerConnectInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerConnectInfo) + ServerConnectInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use ServerConnectInfo.newBuilder() to construct. + private ServerConnectInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ServerConnectInfo() { + serverAddr_ = ""; + otp_ = ""; + roomId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ServerConnectInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ServerConnectInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ServerConnectInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo.class, com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo.Builder.class); + } + + private int instanceTypeCase_ = 0; + private java.lang.Object instanceType_; + public enum InstanceTypeCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + INSTANCEID(6), + MYHOMEINFO(7), + INSTANCETYPE_NOT_SET(0); + private final int value; + private InstanceTypeCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static InstanceTypeCase valueOf(int value) { + return forNumber(value); + } + + public static InstanceTypeCase forNumber(int value) { + switch (value) { + case 6: return INSTANCEID; + case 7: return MYHOMEINFO; + case 0: return INSTANCETYPE_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public InstanceTypeCase + getInstanceTypeCase() { + return InstanceTypeCase.forNumber( + instanceTypeCase_); + } + + public static final int SERVERADDR_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object serverAddr_ = ""; + /** + * string serverAddr = 1; + * @return The serverAddr. + */ + @java.lang.Override + public java.lang.String getServerAddr() { + java.lang.Object ref = serverAddr_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serverAddr_ = s; + return s; + } + } + /** + * string serverAddr = 1; + * @return The bytes for serverAddr. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getServerAddrBytes() { + java.lang.Object ref = serverAddr_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + serverAddr_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SERVERPORT_FIELD_NUMBER = 2; + private int serverPort_ = 0; + /** + * int32 serverPort = 2; + * @return The serverPort. + */ + @java.lang.Override + public int getServerPort() { + return serverPort_; + } + + public static final int OTP_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object otp_ = ""; + /** + * string otp = 3; + * @return The otp. + */ + @java.lang.Override + public java.lang.String getOtp() { + java.lang.Object ref = otp_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + otp_ = s; + return s; + } + } + /** + * string otp = 3; + * @return The bytes for otp. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOtpBytes() { + java.lang.Object ref = otp_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + otp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ROOMID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object roomId_ = ""; + /** + * string roomId = 4; + * @return The roomId. + */ + @java.lang.Override + public java.lang.String getRoomId() { + java.lang.Object ref = roomId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + roomId_ = s; + return s; + } + } + /** + * string roomId = 4; + * @return The bytes for roomId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRoomIdBytes() { + java.lang.Object ref = roomId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + roomId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POS_FIELD_NUMBER = 5; + private com.caliverse.admin.domain.RabbitMq.message.Pos pos_; + /** + * .Pos pos = 5; + * @return Whether the pos field is set. + */ + @java.lang.Override + public boolean hasPos() { + return pos_ != null; + } + /** + * .Pos pos = 5; + * @return The pos. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Pos getPos() { + return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } + /** + * .Pos pos = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder() { + return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } + + public static final int INSTANCEID_FIELD_NUMBER = 6; + /** + * int32 instanceId = 6; + * @return Whether the instanceId field is set. + */ + @java.lang.Override + public boolean hasInstanceId() { + return instanceTypeCase_ == 6; + } + /** + * int32 instanceId = 6; + * @return The instanceId. + */ + @java.lang.Override + public int getInstanceId() { + if (instanceTypeCase_ == 6) { + return (java.lang.Integer) instanceType_; + } + return 0; + } + + public static final int MYHOMEINFO_FIELD_NUMBER = 7; + /** + * .MyHomeInfo myhomeInfo = 7; + * @return Whether the myhomeInfo field is set. + */ + @java.lang.Override + public boolean hasMyhomeInfo() { + return instanceTypeCase_ == 7; + } + /** + * .MyHomeInfo myhomeInfo = 7; + * @return The myhomeInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo getMyhomeInfo() { + if (instanceTypeCase_ == 7) { + return (com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo) instanceType_; + } + return com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance(); + } + /** + * .MyHomeInfo myhomeInfo = 7; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder getMyhomeInfoOrBuilder() { + if (instanceTypeCase_ == 7) { + return (com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo) instanceType_; + } + return com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverAddr_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serverAddr_); + } + if (serverPort_ != 0) { + output.writeInt32(2, serverPort_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(otp_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, otp_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roomId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, roomId_); + } + if (pos_ != null) { + output.writeMessage(5, getPos()); + } + if (instanceTypeCase_ == 6) { + output.writeInt32( + 6, (int)((java.lang.Integer) instanceType_)); + } + if (instanceTypeCase_ == 7) { + output.writeMessage(7, (com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo) instanceType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverAddr_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serverAddr_); + } + if (serverPort_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, serverPort_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(otp_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, otp_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roomId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, roomId_); + } + if (pos_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getPos()); + } + if (instanceTypeCase_ == 6) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 6, (int)((java.lang.Integer) instanceType_)); + } + if (instanceTypeCase_ == 7) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo) instanceType_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo other = (com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo) obj; + + if (!getServerAddr() + .equals(other.getServerAddr())) return false; + if (getServerPort() + != other.getServerPort()) return false; + if (!getOtp() + .equals(other.getOtp())) return false; + if (!getRoomId() + .equals(other.getRoomId())) return false; + if (hasPos() != other.hasPos()) return false; + if (hasPos()) { + if (!getPos() + .equals(other.getPos())) return false; + } + if (!getInstanceTypeCase().equals(other.getInstanceTypeCase())) return false; + switch (instanceTypeCase_) { + case 6: + if (getInstanceId() + != other.getInstanceId()) return false; + break; + case 7: + if (!getMyhomeInfo() + .equals(other.getMyhomeInfo())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVERADDR_FIELD_NUMBER; + hash = (53 * hash) + getServerAddr().hashCode(); + hash = (37 * hash) + SERVERPORT_FIELD_NUMBER; + hash = (53 * hash) + getServerPort(); + hash = (37 * hash) + OTP_FIELD_NUMBER; + hash = (53 * hash) + getOtp().hashCode(); + hash = (37 * hash) + ROOMID_FIELD_NUMBER; + hash = (53 * hash) + getRoomId().hashCode(); + if (hasPos()) { + hash = (37 * hash) + POS_FIELD_NUMBER; + hash = (53 * hash) + getPos().hashCode(); + } + switch (instanceTypeCase_) { + case 6: + hash = (37 * hash) + INSTANCEID_FIELD_NUMBER; + hash = (53 * hash) + getInstanceId(); + break; + case 7: + hash = (37 * hash) + MYHOMEINFO_FIELD_NUMBER; + hash = (53 * hash) + getMyhomeInfo().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerConnectInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerConnectInfo) + com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ServerConnectInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ServerConnectInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo.class, com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + serverAddr_ = ""; + serverPort_ = 0; + otp_ = ""; + roomId_ = ""; + pos_ = null; + if (posBuilder_ != null) { + posBuilder_.dispose(); + posBuilder_ = null; + } + if (myhomeInfoBuilder_ != null) { + myhomeInfoBuilder_.clear(); + } + instanceTypeCase_ = 0; + instanceType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ServerConnectInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo build() { + com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo result = new com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.serverAddr_ = serverAddr_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.serverPort_ = serverPort_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.otp_ = otp_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.roomId_ = roomId_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.pos_ = posBuilder_ == null + ? pos_ + : posBuilder_.build(); + } + } + + private void buildPartialOneofs(com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo result) { + result.instanceTypeCase_ = instanceTypeCase_; + result.instanceType_ = this.instanceType_; + if (instanceTypeCase_ == 7 && + myhomeInfoBuilder_ != null) { + result.instanceType_ = myhomeInfoBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo.getDefaultInstance()) return this; + if (!other.getServerAddr().isEmpty()) { + serverAddr_ = other.serverAddr_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getServerPort() != 0) { + setServerPort(other.getServerPort()); + } + if (!other.getOtp().isEmpty()) { + otp_ = other.otp_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getRoomId().isEmpty()) { + roomId_ = other.roomId_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasPos()) { + mergePos(other.getPos()); + } + switch (other.getInstanceTypeCase()) { + case INSTANCEID: { + setInstanceId(other.getInstanceId()); + break; + } + case MYHOMEINFO: { + mergeMyhomeInfo(other.getMyhomeInfo()); + break; + } + case INSTANCETYPE_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + serverAddr_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + serverPort_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + otp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + roomId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getPosFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + instanceType_ = input.readInt32(); + instanceTypeCase_ = 6; + break; + } // case 48 + case 58: { + input.readMessage( + getMyhomeInfoFieldBuilder().getBuilder(), + extensionRegistry); + instanceTypeCase_ = 7; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int instanceTypeCase_ = 0; + private java.lang.Object instanceType_; + public InstanceTypeCase + getInstanceTypeCase() { + return InstanceTypeCase.forNumber( + instanceTypeCase_); + } + + public Builder clearInstanceType() { + instanceTypeCase_ = 0; + instanceType_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private java.lang.Object serverAddr_ = ""; + /** + * string serverAddr = 1; + * @return The serverAddr. + */ + public java.lang.String getServerAddr() { + java.lang.Object ref = serverAddr_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serverAddr_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string serverAddr = 1; + * @return The bytes for serverAddr. + */ + public com.google.protobuf.ByteString + getServerAddrBytes() { + java.lang.Object ref = serverAddr_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + serverAddr_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string serverAddr = 1; + * @param value The serverAddr to set. + * @return This builder for chaining. + */ + public Builder setServerAddr( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + serverAddr_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string serverAddr = 1; + * @return This builder for chaining. + */ + public Builder clearServerAddr() { + serverAddr_ = getDefaultInstance().getServerAddr(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string serverAddr = 1; + * @param value The bytes for serverAddr to set. + * @return This builder for chaining. + */ + public Builder setServerAddrBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + serverAddr_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int serverPort_ ; + /** + * int32 serverPort = 2; + * @return The serverPort. + */ + @java.lang.Override + public int getServerPort() { + return serverPort_; + } + /** + * int32 serverPort = 2; + * @param value The serverPort to set. + * @return This builder for chaining. + */ + public Builder setServerPort(int value) { + + serverPort_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 serverPort = 2; + * @return This builder for chaining. + */ + public Builder clearServerPort() { + bitField0_ = (bitField0_ & ~0x00000002); + serverPort_ = 0; + onChanged(); + return this; + } + + private java.lang.Object otp_ = ""; + /** + * string otp = 3; + * @return The otp. + */ + public java.lang.String getOtp() { + java.lang.Object ref = otp_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + otp_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string otp = 3; + * @return The bytes for otp. + */ + public com.google.protobuf.ByteString + getOtpBytes() { + java.lang.Object ref = otp_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + otp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string otp = 3; + * @param value The otp to set. + * @return This builder for chaining. + */ + public Builder setOtp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + otp_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string otp = 3; + * @return This builder for chaining. + */ + public Builder clearOtp() { + otp_ = getDefaultInstance().getOtp(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string otp = 3; + * @param value The bytes for otp to set. + * @return This builder for chaining. + */ + public Builder setOtpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + otp_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object roomId_ = ""; + /** + * string roomId = 4; + * @return The roomId. + */ + public java.lang.String getRoomId() { + java.lang.Object ref = roomId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + roomId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string roomId = 4; + * @return The bytes for roomId. + */ + public com.google.protobuf.ByteString + getRoomIdBytes() { + java.lang.Object ref = roomId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + roomId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string roomId = 4; + * @param value The roomId to set. + * @return This builder for chaining. + */ + public Builder setRoomId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + roomId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string roomId = 4; + * @return This builder for chaining. + */ + public Builder clearRoomId() { + roomId_ = getDefaultInstance().getRoomId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string roomId = 4; + * @param value The bytes for roomId to set. + * @return This builder for chaining. + */ + public Builder setRoomIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + roomId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.Pos pos_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> posBuilder_; + /** + * .Pos pos = 5; + * @return Whether the pos field is set. + */ + public boolean hasPos() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .Pos pos = 5; + * @return The pos. + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos getPos() { + if (posBuilder_ == null) { + return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } else { + return posBuilder_.getMessage(); + } + } + /** + * .Pos pos = 5; + */ + public Builder setPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (posBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + pos_ = value; + } else { + posBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .Pos pos = 5; + */ + public Builder setPos( + com.caliverse.admin.domain.RabbitMq.message.Pos.Builder builderForValue) { + if (posBuilder_ == null) { + pos_ = builderForValue.build(); + } else { + posBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .Pos pos = 5; + */ + public Builder mergePos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (posBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + pos_ != null && + pos_ != com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance()) { + getPosBuilder().mergeFrom(value); + } else { + pos_ = value; + } + } else { + posBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .Pos pos = 5; + */ + public Builder clearPos() { + bitField0_ = (bitField0_ & ~0x00000010); + pos_ = null; + if (posBuilder_ != null) { + posBuilder_.dispose(); + posBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Pos pos = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos.Builder getPosBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getPosFieldBuilder().getBuilder(); + } + /** + * .Pos pos = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder() { + if (posBuilder_ != null) { + return posBuilder_.getMessageOrBuilder(); + } else { + return pos_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_; + } + } + /** + * .Pos pos = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> + getPosFieldBuilder() { + if (posBuilder_ == null) { + posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder>( + getPos(), + getParentForChildren(), + isClean()); + pos_ = null; + } + return posBuilder_; + } + + /** + * int32 instanceId = 6; + * @return Whether the instanceId field is set. + */ + public boolean hasInstanceId() { + return instanceTypeCase_ == 6; + } + /** + * int32 instanceId = 6; + * @return The instanceId. + */ + public int getInstanceId() { + if (instanceTypeCase_ == 6) { + return (java.lang.Integer) instanceType_; + } + return 0; + } + /** + * int32 instanceId = 6; + * @param value The instanceId to set. + * @return This builder for chaining. + */ + public Builder setInstanceId(int value) { + + instanceTypeCase_ = 6; + instanceType_ = value; + onChanged(); + return this; + } + /** + * int32 instanceId = 6; + * @return This builder for chaining. + */ + public Builder clearInstanceId() { + if (instanceTypeCase_ == 6) { + instanceTypeCase_ = 0; + instanceType_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder> myhomeInfoBuilder_; + /** + * .MyHomeInfo myhomeInfo = 7; + * @return Whether the myhomeInfo field is set. + */ + @java.lang.Override + public boolean hasMyhomeInfo() { + return instanceTypeCase_ == 7; + } + /** + * .MyHomeInfo myhomeInfo = 7; + * @return The myhomeInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo getMyhomeInfo() { + if (myhomeInfoBuilder_ == null) { + if (instanceTypeCase_ == 7) { + return (com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo) instanceType_; + } + return com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance(); + } else { + if (instanceTypeCase_ == 7) { + return myhomeInfoBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance(); + } + } + /** + * .MyHomeInfo myhomeInfo = 7; + */ + public Builder setMyhomeInfo(com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo value) { + if (myhomeInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + instanceType_ = value; + onChanged(); + } else { + myhomeInfoBuilder_.setMessage(value); + } + instanceTypeCase_ = 7; + return this; + } + /** + * .MyHomeInfo myhomeInfo = 7; + */ + public Builder setMyhomeInfo( + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.Builder builderForValue) { + if (myhomeInfoBuilder_ == null) { + instanceType_ = builderForValue.build(); + onChanged(); + } else { + myhomeInfoBuilder_.setMessage(builderForValue.build()); + } + instanceTypeCase_ = 7; + return this; + } + /** + * .MyHomeInfo myhomeInfo = 7; + */ + public Builder mergeMyhomeInfo(com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo value) { + if (myhomeInfoBuilder_ == null) { + if (instanceTypeCase_ == 7 && + instanceType_ != com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance()) { + instanceType_ = com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.newBuilder((com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo) instanceType_) + .mergeFrom(value).buildPartial(); + } else { + instanceType_ = value; + } + onChanged(); + } else { + if (instanceTypeCase_ == 7) { + myhomeInfoBuilder_.mergeFrom(value); + } else { + myhomeInfoBuilder_.setMessage(value); + } + } + instanceTypeCase_ = 7; + return this; + } + /** + * .MyHomeInfo myhomeInfo = 7; + */ + public Builder clearMyhomeInfo() { + if (myhomeInfoBuilder_ == null) { + if (instanceTypeCase_ == 7) { + instanceTypeCase_ = 0; + instanceType_ = null; + onChanged(); + } + } else { + if (instanceTypeCase_ == 7) { + instanceTypeCase_ = 0; + instanceType_ = null; + } + myhomeInfoBuilder_.clear(); + } + return this; + } + /** + * .MyHomeInfo myhomeInfo = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.Builder getMyhomeInfoBuilder() { + return getMyhomeInfoFieldBuilder().getBuilder(); + } + /** + * .MyHomeInfo myhomeInfo = 7; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder getMyhomeInfoOrBuilder() { + if ((instanceTypeCase_ == 7) && (myhomeInfoBuilder_ != null)) { + return myhomeInfoBuilder_.getMessageOrBuilder(); + } else { + if (instanceTypeCase_ == 7) { + return (com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo) instanceType_; + } + return com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance(); + } + } + /** + * .MyHomeInfo myhomeInfo = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder> + getMyhomeInfoFieldBuilder() { + if (myhomeInfoBuilder_ == null) { + if (!(instanceTypeCase_ == 7)) { + instanceType_ = com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance(); + } + myhomeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo) instanceType_, + getParentForChildren(), + isClean()); + instanceType_ = null; + } + instanceTypeCase_ = 7; + onChanged(); + return myhomeInfoBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerConnectInfo) + } + + // @@protoc_insertion_point(class_scope:ServerConnectInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServerConnectInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerConnectInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerConnectInfoOrBuilder.java new file mode 100644 index 0000000..e48ca2b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerConnectInfoOrBuilder.java @@ -0,0 +1,94 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ServerConnectInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerConnectInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string serverAddr = 1; + * @return The serverAddr. + */ + java.lang.String getServerAddr(); + /** + * string serverAddr = 1; + * @return The bytes for serverAddr. + */ + com.google.protobuf.ByteString + getServerAddrBytes(); + + /** + * int32 serverPort = 2; + * @return The serverPort. + */ + int getServerPort(); + + /** + * string otp = 3; + * @return The otp. + */ + java.lang.String getOtp(); + /** + * string otp = 3; + * @return The bytes for otp. + */ + com.google.protobuf.ByteString + getOtpBytes(); + + /** + * string roomId = 4; + * @return The roomId. + */ + java.lang.String getRoomId(); + /** + * string roomId = 4; + * @return The bytes for roomId. + */ + com.google.protobuf.ByteString + getRoomIdBytes(); + + /** + * .Pos pos = 5; + * @return Whether the pos field is set. + */ + boolean hasPos(); + /** + * .Pos pos = 5; + * @return The pos. + */ + com.caliverse.admin.domain.RabbitMq.message.Pos getPos(); + /** + * .Pos pos = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder(); + + /** + * int32 instanceId = 6; + * @return Whether the instanceId field is set. + */ + boolean hasInstanceId(); + /** + * int32 instanceId = 6; + * @return The instanceId. + */ + int getInstanceId(); + + /** + * .MyHomeInfo myhomeInfo = 7; + * @return Whether the myhomeInfo field is set. + */ + boolean hasMyhomeInfo(); + /** + * .MyHomeInfo myhomeInfo = 7; + * @return The myhomeInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo getMyhomeInfo(); + /** + * .MyHomeInfo myhomeInfo = 7; + */ + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder getMyhomeInfoOrBuilder(); + + public com.caliverse.admin.domain.RabbitMq.message.ServerConnectInfo.InstanceTypeCase getInstanceTypeCase(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerErrorCode.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerErrorCode.java new file mode 100644 index 0000000..1836fbe --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerErrorCode.java @@ -0,0 +1,14340 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Result.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * 나중에 Error 카테고리별 범위 구성을 설정 해야 한다. - kangms
+ * 
+ * + * Protobuf enum {@code ServerErrorCode} + */ +public enum ServerErrorCode + implements com.google.protobuf.ProtocolMessageEnum { + /** + * Success = 0; + */ + Success(0), + /** + *
+   *=============================================================================================
+   * 결과 코드 관련 오류
+   *=============================================================================================
+   * 
+ * + * ResultCodeNotSet = -1; + */ + ResultCodeNotSet(-1), + /** + *
+   *=============================================================================================
+   * 시스템 오류 : 10000 ~
+   *=============================================================================================
+   * 
+ * + * TryCatchException = 10001; + */ + TryCatchException(10001), + /** + *
+   * DotNet 예외가 발생 했습니다.
+   * 
+ * + * DotNetException = 10002; + */ + DotNetException(10002), + /** + *
+   * ProudNet 예외가 발생 했습니다.
+   * 
+ * + * ProudNetException = 10003; + */ + ProudNetException(10003), + /** + *
+   * RabbitMQ 예외가 발생 했습니다.
+   * 
+ * + * RabbitMqException = 10004; + */ + RabbitMqException(10004), + /** + *
+   * DynamoDB 예외가 발생 했습니다.
+   * 
+ * + * DynamoDbException = 10005; + */ + DynamoDbException(10005), + /** + *
+   * DynamoDB Transact 예외가 발생 했습니다.
+   * 
+ * + * DynamoDbTransactException = 10006; + */ + DynamoDbTransactException(10006), + /** + *
+   * Redis 예외가 발생 했습니다.
+   * 
+ * + * RedisException = 10007; + */ + RedisException(10007), + /** + *
+   * Meta 스키마 및 데이터 예외가 발생 했습니다.
+   * 
+ * + * MetaInfoException = 10008; + */ + MetaInfoException(10008), + /** + *
+   * MySqlDB 예외가 발생 했습니다.
+   * 
+ * + * MySqlDbException = 10009; + */ + MySqlDbException(10009), + /** + *
+   *=============================================================================================
+   * NLog 관련 오류 : 10030 ~ 
+   *=============================================================================================
+   * 
+ * + * NLogWithAwsCloudWatchSetupFailed = 10031; + */ + NLogWithAwsCloudWatchSetupFailed(10031), + /** + *
+   *=============================================================================================
+   * 비즈니스 로그 관련 오류 : 10050 ~
+   *=============================================================================================
+   * 
+ * + * LogActionIsNull = 10051; + */ + LogActionIsNull(10051), + /** + *
+   * LogAppender 객체가 Null 입니다.
+   * 
+ * + * LogAppenderIsNull = 10052; + */ + LogAppenderIsNull(10052), + /** + *
+   * LogFormatter 객체가 Null 입니다.
+   * 
+ * + * LogFormatterIsNull = 10053; + */ + LogFormatterIsNull(10053), + /** + *
+   * LogActionType 오류 입니다.
+   * 
+ * + * LogActionTypeInvalid = 10054; + */ + LogActionTypeInvalid(10054), + /** + *
+   *=============================================================================================
+   * 네트워크 오류 : 10100 ~
+   *=============================================================================================
+   * ProudNet 오류
+   * 
+ * + * RmiHostIsNull = 10101; + */ + RmiHostIsNull(10101), + /** + *
+   * Rmi Host 핸들러에 바인딩을 실패 했습니다.
+   * 
+ * + * RmiHostHandlerBindFailed = 10102; + */ + RmiHostHandlerBindFailed(10102), + /** + *
+   * Stub 핸들러에 바인딩을 실패 했습니다.
+   * 
+ * + * SubHandlerBindFailed = 10103; + */ + SubHandlerBindFailed(10103), + /** + *
+   * Stub 과 Proxy 연결을 실패 했습니다.
+   * 
+ * + * SutbAndProxyAttachFailed = 10104; + */ + SutbAndProxyAttachFailed(10104), + /** + *
+   * 패킷 최대 사이즈 설정 실패.
+   * 
+ * + * SetMessageMaxLengthFailed = 10105; + */ + SetMessageMaxLengthFailed(10105), + /** + *
+   * 네트워크 모듈 오류
+   * 
+ * + * PacketRecvHandlerRegisterFailed = 10151; + */ + PacketRecvHandlerRegisterFailed(10151), + /** + *
+   * 패킷 송신 핸들러에 등록을 실패 했습니다.
+   * 
+ * + * PacketSendHandlerRegisterFailed = 10152; + */ + PacketSendHandlerRegisterFailed(10152), + /** + *
+   * 패킷 오류
+   * 
+ * + * PacketRecvInvalid = 10153; + */ + PacketRecvInvalid(10153), + /** + *
+   * 수신 패킷 핸들러를 찾지 못했습니다.
+   * 
+ * + * RacketRecvHandlerNotFound = 10154; + */ + RacketRecvHandlerNotFound(10154), + /** + *
+   * 대용량 패킷이 모두 수신되지 않았습니다.
+   * 
+ * + * LargePacketNotAllReceived = 10155; + */ + LargePacketNotAllReceived(10155), + /** + *
+   * 대용량 패킷이 수신 대기 시간이 오래 지났다.
+   * 
+ * + * LargePacketRecvTimeOver = 10156; + */ + LargePacketRecvTimeOver(10156), + /** + *
+   *=============================================================================================
+   * DB 오류 : 10200 ~
+   *=============================================================================================
+   * DynamoDB 오류
+   * 
+ * + * DynamoDbTransactionCanceledException = 10201; + */ + DynamoDbTransactionCanceledException(10201), + /** + *
+   * DynamoDB AmazonDynamoDBException 예외가 발생 했습니다.
+   * 
+ * + * DynamoDbAmazonDynamoDbException = 10202; + */ + DynamoDbAmazonDynamoDbException(10202), + /** + *
+   * DynamoDB AmazonServiceException 예외가 발생 했습니다.
+   * 
+ * + * DynamoDbAmazonServiceException = 10203; + */ + DynamoDbAmazonServiceException(10203), + /** + *
+   * DynamoDB Config 파일 로딩을 실패 했습니다. 
+   * 
+ * + * DynamoDbConfigLoadFailed = 10204; + */ + DynamoDbConfigLoadFailed(10204), + /** + *
+   * DynamoDB 연결을 실패 했습니다.
+   * 
+ * + * DynamoDbConnectFailed = 10205; + */ + DynamoDbConnectFailed(10205), + /** + *
+   * DynamoDB Table 생성을 실패 했습니다.
+   * 
+ * + * DynamoDbTableCreateFailed = 10206; + */ + DynamoDbTableCreateFailed(10206), + /** + *
+   * DynamoDB Table과 연결이 되어있지 않습니다.
+   * 
+ * + * DynamoDbTableNotConnected = 10207; + */ + DynamoDbTableNotConnected(10207), + /** + *
+   * DynamoDB Query를 실패 했습니다.
+   * 
+ * + * DynamoDbQueryFailed = 10208; + */ + DynamoDbQueryFailed(10208), + /** + *
+   * DynamoDB Item 저장 크기를 초과 했습니다.
+   * 
+ * + * DynamoDbItemSizeExceeded = 10209; + */ + DynamoDbItemSizeExceeded(10209), + /** + *
+   * DynamoDB Query와 일치하는 Document가 아닙니다.
+   * 
+ * + * DynamoDbQueryNothingMatchDoc = 10210; + */ + DynamoDbQueryNothingMatchDoc(10210), + /** + *
+   * DynamoDB TransactionConflictException 예외가 발생 했습니다.
+   * 
+ * + * DynamoDbTransactionConflictException = 10211; + */ + DynamoDbTransactionConflictException(10211), + /** + *
+   * DynamoDB Expression 오류 입니다.
+   * 
+ * + * DynamoDbExpressionError = 10212; + */ + DynamoDbExpressionError(10212), + /** + *
+   * DynamoDB PrimaryKey 를 찾을 수 없습니다.
+   * 
+ * + * DynamoDbPrimaryKeyNotFound = 10213; + */ + DynamoDbPrimaryKeyNotFound(10213), + /** + *
+   * DynamoDB 쿼리 오류
+   * 
+ * + * DynamoDbQueryException = 10221; + */ + DynamoDbQueryException(10221), + /** + *
+   * DynamoDbQuery Request를 가지고 있지 않습니다.
+   * 
+ * + * DynamoDbQueryNoRequested = 10222; + */ + DynamoDbQueryNoRequested(10222), + /** + *
+   * DynamoDbQuery Document를 찾을 수 없습니다.
+   * 
+ * + * DynamoDbQueryNotFoundDocumentQuery = 10223; + */ + DynamoDbQueryNotFoundDocumentQuery(10223), + /** + *
+   * DynamoDbQuery ExceptionNotifier를 찾을 수 없습니다.
+   * 
+ * + * DynamoDbQueryExceptionNotifierNotFound = 10224; + */ + DynamoDbQueryExceptionNotifierNotFound(10224), + /** + *
+   * DynamoDB Document 오류
+   * 
+ * + * DynamoDbDocumentIsNullInQueryContext = 10241; + */ + DynamoDbDocumentIsNullInQueryContext(10241), + /** + *
+   * DynamoDbDocument내의 정보에 오류가 있습니다.
+   * 
+ * + * DynamoDbDocumentIsInvalid = 10242; + */ + DynamoDbDocumentIsInvalid(10242), + /** + *
+   * DynamoDbDocumentQueryContext내의 Type 정보 오류 입니다.
+   * 
+ * + * DynamoDbDocumentQueryContextTypeInvalid = 10243; + */ + DynamoDbDocumentQueryContextTypeInvalid(10243), + /** + *
+   * DynamoDbDocument를 Doc에 복사하는 것을 실패 했습니다.
+   * 
+ * + * DynamoDbDocumentCopyFailedToDoc = 10244; + */ + DynamoDbDocumentCopyFailedToDoc(10244), + /** + *
+   * DynamoDbDocument Upsert를 실패 했습니다.
+   * 
+ * + * DynamoDbDocumentUpsertFailed = 10245; + */ + DynamoDbDocumentUpsertFailed(10245), + /** + *
+   * DynamoDB ItemRequest 오류
+   * 
+ * + * DynamoDbItemRequestIsInvalid = 10251; + */ + DynamoDbItemRequestIsInvalid(10251), + /** + *
+   * DynamoDbItemRequestQueryContext내의 Type 정보 오류 입니다.
+   * 
+ * + * DynamoDbItemRequestQueryContextTypeInvalid = 10252; + */ + DynamoDbItemRequestQueryContextTypeInvalid(10252), + /** + *
+   * DynamoDB Custom Doc 오류
+   * 
+ * + * DynamoDbDocPkInvalid = 10261; + */ + DynamoDbDocPkInvalid(10261), + /** + *
+   * DynamoDbDoc의 SK 값이 오류 입니다.
+   * 
+ * + * DynamoDbDocSkInvalid = 10262; + */ + DynamoDbDocSkInvalid(10262), + /** + *
+   * DynamoDbDoc의 AttribType이 중복 되었습니다.
+   * 
+ * + * DynamoDbDocAttribTypeDuplicated = 10263; + */ + DynamoDbDocAttribTypeDuplicated(10263), + /** + *
+   * Doc를 DynamoDbDocument에 복사하는 것을 실패 했습니다.
+   * 
+ * + * DynamoDbDocCopyFailedToDocument = 10264; + */ + DynamoDbDocCopyFailedToDocument(10264), + /** + *
+   * DynamoDbDocument를 Doc에 복사하는 것을 실패 했습니다.
+   * 
+ * + * DynamoDbDocCopyFailedFromDocument = 10265; + */ + DynamoDbDocCopyFailedFromDocument(10265), + /** + *
+   * DynamoDbDocType이 일치하지 않습니다.
+   * 
+ * + * DynamoDbDocTypeNotMatch = 10266; + */ + DynamoDbDocTypeNotMatch(10266), + /** + *
+   * DynamoDbRequest 오류 입니다.
+   * 
+ * + * DynamoDbRequestInvalid = 10267; + */ + DynamoDbRequestInvalid(10267), + /** + *
+   * DynamoDbDoc AttributeState 플래그를 선택하지 않았습니다.
+   * 
+ * + * DynamoDbDocAttributeStateNotSet = 10268; + */ + DynamoDbDocAttributeStateNotSet(10268), + /** + *
+   * DynamoDbDoc AttribWrapper 복사를 실패 했습니다.
+   * 
+ * + * DynamoDbDocAttribWrapperCopyFailed = 10269; + */ + DynamoDbDocAttribWrapperCopyFailed(10269), + /** + *
+   * DynamoDbDoc Attribute 가져오기를 실패 했습니다.	
+   * 
+ * + * DynamoDbDocAttributeGettingFailed = 10270; + */ + DynamoDbDocAttributeGettingFailed(10270), + /** + *
+   * DynamoDbDoc LinkPKSK 값 오류 입니다.
+   * 
+ * + * DynamoDbDocLinkPkSkInvalid = 10271; + */ + DynamoDbDocLinkPkSkInvalid(10271), + /** + *
+   * MySql 오류
+   * 
+ * + * MySqlConnectionCreateFailed = 10281; + */ + MySqlConnectionCreateFailed(10281), + /** + *
+   * MySqlConnection Open을 실패 했습니다.
+   * 
+ * + * MySqlConnectionOpenFailed = 10282; + */ + MySqlConnectionOpenFailed(10282), + /** + *
+   * MySql 쿼리 오류
+   * 
+ * + * MySqlDbQueryException = 10283; + */ + MySqlDbQueryException(10283), + /** + *
+   *=============================================================================================
+   * Cache 오류 : 10300 ~
+   *=============================================================================================
+   * Redis 오류
+   * 
+ * + * RedisServerConnectFailed = 10301; + */ + RedisServerConnectFailed(10301), + /** + *
+   * Redis Strings 자료구조 쓰기를 실패 했습니다.
+   * 
+ * + * RedisStringsWriteFailed = 10302; + */ + RedisStringsWriteFailed(10302), + /** + *
+   * Redis Strings 자료구조 읽기를 실패 했습니다.
+   * 
+ * + * RedisStringsReadFailed = 10303; + */ + RedisStringsReadFailed(10303), + /** + *
+   * Redis Sets 자료구조 쓰기를 실패 했습니다.
+   * 
+ * + * RedisSetsWriteFailed = 10304; + */ + RedisSetsWriteFailed(10304), + /** + *
+   * Redis Sets 자료구조 읽기를 실패 했습니다.
+   * 
+ * + * RedisSetsReadFailed = 10305; + */ + RedisSetsReadFailed(10305), + /** + *
+   * Redis SortedSets 자료구조 쓰기를 실패 했습니다.
+   * 
+ * + * RedisSortedSetsWriteFailed = 10306; + */ + RedisSortedSetsWriteFailed(10306), + /** + *
+   * Redis SortedSets 자료구조 읽기를 실패 했습니다.
+   * 
+ * + * RedisSortedSetsReadFailed = 10307; + */ + RedisSortedSetsReadFailed(10307), + /** + *
+   * Redis Hashes 자료구조 쓰기를 실패 했습니다.
+   * 
+ * + * RedisHashesWriteFailed = 10308; + */ + RedisHashesWriteFailed(10308), + /** + *
+   * Redis Hashes 자료구조 읽기를 실패 했습니다.
+   * 
+ * + * RedisHashesReadFailed = 10309; + */ + RedisHashesReadFailed(10309), + /** + *
+   * Redis Lists 자료구조 쓰기를 실패 했습니다.
+   * 
+ * + * RedisListsWriteFailed = 10310; + */ + RedisListsWriteFailed(10310), + /** + *
+   * Redis Lists 자료구조 읽기를 실패 했습니다.
+   * 
+ * + * RedisListsReadFailed = 10311; + */ + RedisListsReadFailed(10311), + /** + *
+   * Redis Request의 Key 값이 없습니다.
+   * 
+ * + * RedisRequestKeyIsEmpty = 10312; + */ + RedisRequestKeyIsEmpty(10312), + /** + *
+   * Redis에서 LoginCache 정보 조회를 실패했습니다.
+   * 
+ * + * RedisLoginCacheGetFailed = 10313; + */ + RedisLoginCacheGetFailed(10313), + /** + *
+   * Redis에 LoginCache 정보를 저장을 실패했습니다.
+   * 
+ * + * RedisLoginCacheSetFailed = 10314; + */ + RedisLoginCacheSetFailed(10314), + /** + *
+   * RedisPrivateCache가 중복 등록 되었습니다.
+   * 
+ * + * RedisPrivateCacheDuplicated = 10315; + */ + RedisPrivateCacheDuplicated(10315), + /** + *
+   * RedisGlobalSharedCache가 중복 등록 되었습니다.
+   * 
+ * + * RedisGlobalSharedCacheDuplicated = 10316; + */ + RedisGlobalSharedCacheDuplicated(10316), + /** + *
+   * RedisLoginCache Owner UserGuid가 일치하지 않습니다.
+   * 
+ * + * RedisLoginCacheOwnerUserGuidNotMatch = 10317; + */ + RedisLoginCacheOwnerUserGuidNotMatch(10317), + /** + *
+   * Redis PartyCache 읽기를 실패했습니다.
+   * 
+ * + * RedisGlobalPartyCacheGetFailed = 10318; + */ + RedisGlobalPartyCacheGetFailed(10318), + /** + *
+   * Redis PartyCache 쓰기를 실패했습니다.
+   * 
+ * + * RedisGlobalPartyCacheWriteFailed = 10319; + */ + RedisGlobalPartyCacheWriteFailed(10319), + /** + *
+   * Redis PartyMemberCache 쓰기를 실패했습니다.
+   * 
+ * + * RedisGlobalPartyMemberCacheWriteFailed = 10320; + */ + RedisGlobalPartyMemberCacheWriteFailed(10320), + /** + *
+   * Redis PartyServerCache 쓰기를 실패했습니다.
+   * 
+ * + * RedisGlobalPartyServerCacheWriteFailed = 10321; + */ + RedisGlobalPartyServerCacheWriteFailed(10321), + /** + *
+   * Redis PartyInvitePartySendCache 쓰기를 실패했습니다.
+   * 
+ * + * RedisGlobalPartyInvitePartySendCacheWriteFailed = 10322; + */ + RedisGlobalPartyInvitePartySendCacheWriteFailed(10322), + /** + *
+   * Redis에서 InstanceRoomInfoCache 정보 조회를 실패했습니다.
+   * 
+ * + * RedisInstanceRoomInfoCacheGetFailed = 10323; + */ + RedisInstanceRoomInfoCacheGetFailed(10323), + /** + *
+   * Redis 에서 누적 랭킹 데이터 저정에 실패했습니다.
+   * 
+ * + * RedisUgcNpcTotalRankCacheWriteFailed = 10324; + */ + RedisUgcNpcTotalRankCacheWriteFailed(10324), + /** + *
+   *=============================================================================================
+   * Message Queue 오류 : 10400 ~
+   *=============================================================================================
+   * RabbitMQ 오류
+   * 
+ * + * RabbitMqConsumerStartFailed = 10401; + */ + RabbitMqConsumerStartFailed(10401), + /** + *
+   * RabbitMQ 연결을 실패 했습니다.
+   * 
+ * + * RabbitMqConnectFailed = 10402; + */ + RabbitMqConnectFailed(10402), + /** + *
+   * RabbitMQ 메시지 시간이 오래 됐습니다.
+   * 
+ * + * RabbitMessageTimeOld = 10403; + */ + RabbitMessageTimeOld(10403), + /** + *
+   *=============================================================================================
+   * Message Queue 오류 : 10500 ~
+   *=============================================================================================
+   * S3 오류
+   * 
+ * + * S3ClientCreateFailed = 10501; + */ + S3ClientCreateFailed(10501), + /** + *
+   * S3 Bucket 생성을 실패 했습니다. 
+   * 
+ * + * S3BucketCreateFailed = 10502; + */ + S3BucketCreateFailed(10502), + /** + *
+   * S3 File Upload를 실패 했습니다.
+   * 
+ * + * S3FileUploadFailed = 10503; + */ + S3FileUploadFailed(10503), + /** + *
+   * S3 File Delete에 실패 했습니다.
+   * 
+ * + * S3FileDeleteFailed = 10504; + */ + S3FileDeleteFailed(10504), + /** + *
+   * S3 File Get에 실패 했습니다.
+   * 
+ * + * S3FileGetFailed = 10505; + */ + S3FileGetFailed(10505), + /** + *
+   *=============================================================================================
+   * Meta 스키마 및 데이터 기반 오류 : 10550 ~
+   *=============================================================================================
+   * 스키마 오류
+   * 데이터 오류
+   * 
+ * + * MetaDataLoadFailed = 10551; + */ + MetaDataLoadFailed(10551), + /** + *
+   * Meta 데이터 오류 입니다.
+   * 
+ * + * InvalidMetaData = 10552; + */ + InvalidMetaData(10552), + /** + *
+   * Meta Id 오류 입니다.
+   * 
+ * + * MetaIdInvalid = 10553; + */ + MetaIdInvalid(10553), + /** + *
+   *=============================================================================================
+   * 기타 라이브러리 오류 : 10610 ~
+   *=============================================================================================
+   * Json 오류
+   * 
+ * + * JsonTypeInvalid = 10611; + */ + JsonTypeInvalid(10611), + /** + *
+   * JsonConvert Deserialize 오류 입니다.
+   * 
+ * + * JsonConvertDeserializeFailed = 10612; + */ + JsonConvertDeserializeFailed(10612), + /** + *
+   *=============================================================================================
+   * 서버 공통 오류 : 10700 ~
+   *=============================================================================================
+   * 
+ * + * ServerConfigFileNotFound = 10701; + */ + ServerConfigFileNotFound(10701), + /** + *
+   * 서버 타입 오류 입니다.
+   * 
+ * + * ServerTypeInvalid = 10702; + */ + ServerTypeInvalid(10702), + /** + *
+   * 해당 리슨포트로 이미 실행중인 프로세스가 있습니다.
+   * 
+ * + * AlreadyRunningServerWithListenPort = 10703; + */ + AlreadyRunningServerWithListenPort(10703), + /** + *
+   * 캐시 스토리지를 찾을 수 없습니다.
+   * 
+ * + * NotFoundCacheStorage = 10704; + */ + NotFoundCacheStorage(10704), + /** + *
+   * 함수 파라메터중에 Null 값이 있어서 오류 입니다.
+   * 
+ * + * FunctionParamNull = 10705; + */ + FunctionParamNull(10705), + /** + *
+   * 함수 파라메터 오류 입니다.
+   * 
+ * + * FunctionInvalidParam = 10706; + */ + FunctionInvalidParam(10706), + /** + *
+   * 클라이언트 리슨 포트 오류 입니다.
+   * 
+ * + * ClientListenPortInvalid = 10707; + */ + ClientListenPortInvalid(10707), + /** + *
+   * Interface 를 Override 하지 않았습니다.
+   * 
+ * + * NotOverrideInterface = 10708; + */ + NotOverrideInterface(10708), + /** + *
+   * 서버 실행후 대기를 실패 했습니다.
+   * 
+ * + * ServerOnRunningFailed = 10709; + */ + ServerOnRunningFailed(10709), + /** + *
+   * 서비스 타입 오류 입니다.
+   * 
+ * + * ServiceTypeInvalid = 10710; + */ + ServiceTypeInvalid(10710), + /** + *
+   * 함수를 구현하지 않았습니다.
+   * 
+ * + * FunctionNotImplemented = 10711; + */ + FunctionNotImplemented(10711), + /** + *
+   * Interface를 상속받아 구현하지 않았습니다.
+   * 
+ * + * ClassDoesNotImplementInterfaceInheritance = 10712; + */ + ClassDoesNotImplementInterfaceInheritance(10712), + /** + *
+   * 정책 타입이 중복 되었습니다.
+   * 
+ * + * RuleTypeDuplicated = 10713; + */ + RuleTypeDuplicated(10713), + /** + *
+   * ClassType 형변환은 null 입니다.
+   * 
+ * + * ClassTypeCastIsNull = 10714; + */ + ClassTypeCastIsNull(10714), + /** + *
+   * 이미 등록된 PeriodicTask 입니다.
+   * 
+ * + * PeriodicTaskAlreadyRegistered = 10715; + */ + PeriodicTaskAlreadyRegistered(10715), + /** + *
+   * 이미 등록된 EntityTicker 입니다.
+   * 
+ * + * EntityTickerAlreadyRegistered = 10716; + */ + EntityTickerAlreadyRegistered(10716), + /** + *
+   * EntityTicker를 찾을 수 없습니다.
+   * 
+ * + * EntityTickerNotFound = 10717; + */ + EntityTickerNotFound(10717), + /** + *
+   * EntityBase를 찾을 수 없습니다.
+   * 
+ * + * EntityBaseNotFound = 10718; + */ + EntityBaseNotFound(10718), + /** + *
+   * 부합하는 서버가 없습니다.
+   * 
+ * + * ValidServerNotFound = 10719; + */ + ValidServerNotFound(10719), + /** + *
+   * 해당 서버에 유저가 가득찼습니다.
+   * 
+ * + * TargetServerUserCountExceed = 10720; + */ + TargetServerUserCountExceed(10720), + /** + *
+   * 해당 유저를 찾을 수 없습니다.
+   * 
+ * + * TargetUserNotFound = 10721; + */ + TargetUserNotFound(10721), + /** + *
+   * 대상이 접속중이지 않습니다.
+   * 
+ * + * TargetUserNotLogIn = 10722; + */ + TargetUserNotLogIn(10722), + /** + *
+   * 맵에서 찾을 수 없습니다.
+   * 
+ * + * NotExistMap = 10723; + */ + NotExistMap(10723), + /** + *
+   * 조건에 맞지 않아 입장 예약을 실패했습니다.
+   * 
+ * + * FailedToReserveEnterCondition = 10724; + */ + FailedToReserveEnterCondition(10724), + /** + *
+   * 입장 예약에 실패했습니다.
+   * 
+ * + * FailedToReservationEnter = 10725; + */ + FailedToReservationEnter(10725), + /** + *
+   * OwnerEntityType 오류 입니다.
+   * 
+ * + * OwnerEntityTypeInvalid = 10726; + */ + OwnerEntityTypeInvalid(10726), + /** + *
+   * OwnerEntity 정보를 채울 수 없습니다.
+   * 
+ * + * OwnerEntityCannotFillup = 10727; + */ + OwnerEntityCannotFillup(10727), + /** + *
+   * Owner Guid 오류 입니다.
+   * 
+ * + * OwnerGuidInvalid = 10728; + */ + OwnerGuidInvalid(10728), + /** + *
+   * DailyTimeEvent 등록 오류입니다.
+   * 
+ * + * DailyTimeEventAdditionFailed = 10729; + */ + DailyTimeEventAdditionFailed(10729), + /** + *
+   * 프로그램 VersionPath 토큰을 찾을 수 없습니다.
+   * 
+ * + * ProgramVersionPathTokenNotFound = 10730; + */ + ProgramVersionPathTokenNotFound(10730), + /** + *
+   * 현재 처리중 입니다.
+   * 
+ * + * CurrentlyProcessingState = 10731; + */ + CurrentlyProcessingState(10731), + /** + *
+   * ServerUrlType 오류 입니다.
+   * 
+ * + * ServerUrlTypeInvalid = 10732; + */ + ServerUrlTypeInvalid(10732), + /** + *
+   * ServerUrlType 이미 등록되어 있습니다.
+   * 
+ * + * ServerUrlTypeAlreadyRegistered = 10733; + */ + ServerUrlTypeAlreadyRegistered(10733), + /** + *
+   * 서버 Offline 모드가 활성화 상태 입니다.
+   * 
+ * + * ServerOfflineModeEnable = 10734; + */ + ServerOfflineModeEnable(10734), + /** + *
+   *=============================================================================================
+   * 데이터 변환 및 복사 오류 : 10850 ~
+   *=============================================================================================
+   * 
+ * + * MetaDataCopyToDynamoDbDocFailed = 10850; + */ + MetaDataCopyToDynamoDbDocFailed(10850), + /** + *
+   * Meta 데이터를 EntityAttribute에 복사하는 것을 실패 했습니다.
+   * 
+ * + * MetaDataCopyToEntityAttributeFailed = 10851; + */ + MetaDataCopyToEntityAttributeFailed(10851), + /** + *
+   * DynamoDbDoc를 Cache에 복사하는 것을 실패 헀습니다.
+   * 
+ * + * DynamoDbDocCopyToCacheFailed = 10852; + */ + DynamoDbDocCopyToCacheFailed(10852), + /** + *
+   * DynamoDbDoc를 EntityAttribute에 복사하는 것을 실패 헀습니다.
+   * 
+ * + * DynamoDbDocCopyToEntityAttributeFailed = 10853; + */ + DynamoDbDocCopyToEntityAttributeFailed(10853), + /** + *
+   * Cache를 EntityAttrib에 복사하는 것을 실패 했습니다.
+   * 
+ * + * CacheCopyToEntityAttributeFailed = 10854; + */ + CacheCopyToEntityAttributeFailed(10854), + /** + *
+   * Cache를 DynamoDbDoc에 복사하는 것을 실패 했습니다.
+   * 
+ * + * CacheCopyToDynamoDbDocFailed = 10555; + */ + CacheCopyToDynamoDbDocFailed(10555), + /** + *
+   * EntityAttribute를 Cache에 복사하는 것을 실패 했습니다.
+   * 
+ * + * EntityAttributeCopyToCacheFailed = 10556; + */ + EntityAttributeCopyToCacheFailed(10556), + /** + *
+   * EntityAttribute를 DynamoDbDoc에 복사하는 것을 실패 했습니다.
+   * 
+ * + * EntityAttributeCopyToDynamoDbDocFailed = 10557; + */ + EntityAttributeCopyToDynamoDbDocFailed(10557), + /** + *
+   * EntityAttribute를 EntityAttributeTransactor에 복사하는 것을 실패 했습니다.
+   * 
+ * + * EntityAttributeCopyToEntityAttributeTransactorFailed = 10558; + */ + EntityAttributeCopyToEntityAttributeTransactorFailed(10558), + /** + *
+   * EntityAttributeTransactor를 EntityAttribute에 복사하는 것을 실패 했습니다.
+   * 
+ * + * EntityAttributeTransactorCopyToEntityAttributeFailed = 10559; + */ + EntityAttributeTransactorCopyToEntityAttributeFailed(10559), + /** + *
+   * EntityAttributeTransactor를 DynamoDbDoc에 복사하는 것을 실패 했습니다.
+   * 
+ * + * EntityAttributeTransactorCopyToDynamoDbDocFailed = 10560; + */ + EntityAttributeTransactorCopyToDynamoDbDocFailed(10560), + /** + *
+   * Attrib를 찾을 수 없습니다.
+   * 
+ * + * AttribNotFound = 10561; + */ + AttribNotFound(10561), + /** + *
+   * Attrib Path 구성을 실패 했습니다.
+   * 
+ * + * AttribPathMakeFailed = 10562; + */ + AttribPathMakeFailed(10562), + /** + *
+   * EntityAttribute Casting을 실패 했습니다.
+   * 
+ * + * EntityAttributeCastFailed = 10563; + */ + EntityAttributeCastFailed(10563), + /** + *
+   * 문자열을 Enum으로 변환하는 것을 실패 했습니다. 
+   * 
+ * + * StringConvertToEnumFailed = 10564; + */ + StringConvertToEnumFailed(10564), + /** + *
+   *=============================================================================================
+   * 프로그램 버전 오류 : 10900 ~
+   *=============================================================================================
+   * 
+ * + * MetaSchemaVersionNotMatch = 10901; + */ + MetaSchemaVersionNotMatch(10901), + /** + *
+   * 메타 데이터 버전이 일치하지 않습니다.
+   * 
+ * + * MetaDataVersionNotMatch = 10902; + */ + MetaDataVersionNotMatch(10902), + /** + *
+   * 패킷 버전이 일치하지 않습니다.
+   * 
+ * + * PacketVersionNotMatch = 10903; + */ + PacketVersionNotMatch(10903), + /** + *
+   * 클라이언트 로직 버전이 일치하지 않습니다.
+   * 
+ * + * ClientLogicVersionNotMatch = 10904; + */ + ClientLogicVersionNotMatch(10904), + /** + *
+   * 리소스 버전이 일치하지 않습니다.
+   * 
+ * + * ResourceVersionNotMatch = 10905; + */ + ResourceVersionNotMatch(10905), + /** + *
+   * ClientProgramVersion 정보 null 입니다.
+   * 
+ * + * ClientProgramVersionIsNull = 10906; + */ + ClientProgramVersionIsNull(10906), + /** + *
+   *=============================================================================================
+   * 계정 인증 오류 : 11000 ~
+   *=============================================================================================
+   * 
+ * + * TestIdNotAllow = 11001; + */ + TestIdNotAllow(11001), + /** + *
+   * Bot 계정은 허용되지 않습니다.
+   * 
+ * + * BotdNotAllow = 11002; + */ + BotdNotAllow(11002), + /** + *
+   * 계정 id 길이가 짧습니다.
+   * 
+ * + * AccountIdLengthShort = 11003; + */ + AccountIdLengthShort(11003), + /** + *
+   * 통합인증Db에서 Id를 찾을 수 없습니다.
+   * 
+ * + * AccountIdNotFoundInSsoAccountDb = 11004; + */ + AccountIdNotFoundInSsoAccountDb(11004), + /** + *
+   * 테스트 계정으로 Meta 데이터를 찾지 못했습니다.
+   * 
+ * + * MetaDataNotFoundByTestUserId = 11005; + */ + MetaDataNotFoundByTestUserId(11005), + /** + *
+   * 계정 비밀번호가 일치하지 않습니다.
+   * 
+ * + * AccountPasswordNotMatch = 11006; + */ + AccountPasswordNotMatch(11006), + /** + *
+   * UserData 정보를 AccountAttr 정보로 변환을 실패 했습니다.
+   * 
+ * + * UserDataConvertToAccountAttrFailed = 11007; + */ + UserDataConvertToAccountAttrFailed(11007), + /** + *
+   * AccountBaseAttrib 정보를 DB에 추가를 실패 했습니다.
+   * 
+ * + * AccountBaseAttribInsertDbFailed = 11008; + */ + AccountBaseAttribInsertDbFailed(11008), + /** + *
+   * 접속 가능한 서버가 없습니다.
+   * 
+ * + * NoServerConnectable = 11009; + */ + NoServerConnectable(11009), + /** + *
+   * 접속 제재 처리된 계정입니다.
+   * 
+ * + * BlockedAccount = 11010; + */ + BlockedAccount(11010), + /** + *
+   * 통합계정인증과 런처 로그인을 허용하지 않습니다.
+   * 
+ * + * SsoAccountAuthWithLauncherLoginNotAllow = 11011; + */ + SsoAccountAuthWithLauncherLoginNotAllow(11011), + /** + *
+   * 클라이언트 단독 로그인을 허용하지 않습니다.
+   * 
+ * + * ClientStandaloneLoginNotAllow = 11012; + */ + ClientStandaloneLoginNotAllow(11012), + /** + *
+   * 접속 허용이 되지 않는 PlatformType 입니다.
+   * 
+ * + * PlatformTypeNotAllow = 11013; + */ + PlatformTypeNotAllow(11013), + /** + *
+   * 통합계정DB에서 계정 정보를 읽지 못했습니다.
+   * 
+ * + * AccountCanNotReadFromSsoAccountDb = 11014; + */ + AccountCanNotReadFromSsoAccountDb(11014), + /** + *
+   * 통합계정인증 JWT 체크를 실패 했습니다.
+   * 
+ * + * SsoAccountAuthJwtCheckFailed = 11015; + */ + SsoAccountAuthJwtCheckFailed(11015), + /** + *
+   * 통합계정인증 JWT 안에 UserId Key 정보가 없습니다.
+   * 
+ * + * UserIdKeyNotFoundInSsoAccountAuthJwt = 11016; + */ + UserIdKeyNotFoundInSsoAccountAuthJwt(11016), + /** + *
+   * 통합계정인증 JWT 안에 UserId Value 정보가 없습니다.
+   * 
+ * + * UserIdValueEmptyInSsoAccountAuthJwt = 11017; + */ + UserIdValueEmptyInSsoAccountAuthJwt(11017), + /** + *
+   * 통합계정인증 JWT 안에 AccountType Key 정보가 없습니다.
+   * 
+ * + * AccountTypeKeyNotFoundInSsoAccountAuthJwt = 11018; + */ + AccountTypeKeyNotFoundInSsoAccountAuthJwt(11018), + /** + *
+   * 통합계정인증 JWT 안에 AccountType Value 정보가 허용된 AccountType이 아닙니다.
+   * 
+ * + * AccountTypeValueNotAllowInSsoAccountAuthJwt = 11019; + */ + AccountTypeValueNotAllowInSsoAccountAuthJwt(11019), + /** + *
+   * 메타버스Db에서 AccountBaseDoc를 찾을 수 없습니다.
+   * 
+ * + * AccountBaseDocNotFoundInMetaverseDb = 11020; + */ + AccountBaseDocNotFoundInMetaverseDb(11020), + /** + *
+   * 통합계정인증 JWT 안에 AssessToken Key 정보가 없습니다.
+   * 
+ * + * AccessTokenKeyNotAllowInSsoAccountAuthJwt = 11021; + */ + AccessTokenKeyNotAllowInSsoAccountAuthJwt(11021), + /** + *
+   * 통합인증Db의 AccessToken과 일치하지 않습니다.
+   * 
+ * + * AccessTokenNotMatchInSsoAccountDb = 11022; + */ + AccessTokenNotMatchInSsoAccountDb(11022), + /** + *
+   * 현재의 AccountType은 허용되지 않습니다.
+   * 
+ * + * AccountTypeNotAllow = 11023; + */ + AccountTypeNotAllow(11023), + /** + *
+   * AccountBaseDoc가 로드되지 않았습니다.
+   * 
+ * + * AccountBaseDocNotLoad = 11024; + */ + AccountBaseDocNotLoad(11024), + /** + *
+   * 권한이 부족합니다.
+   * 
+ * + * NotEnoughAuthority = 11054; + */ + NotEnoughAuthority(11054), + /** + *
+   * AccountBaseDoc이 null 입니다.
+   * 
+ * + * AccountBaseDocIsNull = 11055; + */ + AccountBaseDocIsNull(11055), + /** + *
+   * Account Id 오류 입니다.
+   * 
+ * + * AccountIdInvalid = 11056; + */ + AccountIdInvalid(11056), + /** + *
+   * Account에 UserGuid가 없습니다.
+   * 
+ * + * AccountWithoutUserGuid = 11057; + */ + AccountWithoutUserGuid(11057), + /** + *
+   * 통합계정인증 JWT 이 기간만료 입니다.
+   * 
+ * + * SsoAccountAuthJwtTokenExpired = 11058; + */ + SsoAccountAuthJwtTokenExpired(11058), + /** + *
+   * 통합계정인증 JWT 예외가 발생 했습니다.
+   * 
+ * + * SsoAccountAuthJwtException = 11059; + */ + SsoAccountAuthJwtException(11059), + /** + *
+   *=============================================================================================
+   * 엔티티 트랜잭션 관련 오류 : 11200 ~
+   *=============================================================================================
+   * 
+ * + * TransactionRunnerAlreadyRunning = 11201; + */ + TransactionRunnerAlreadyRunning(11201), + /** + *
+   * TransactionRunner를 찾을 수 없습니다.
+   * 
+ * + * TransactionRunnerNotFound = 11202; + */ + TransactionRunnerNotFound(11202), + /** + *
+   *=============================================================================================
+   * 엔티티 속성 관련 오류 : 11300 ~
+   *=============================================================================================
+   * 
+ * + * EntityGuidInvalid = 11301; + */ + EntityGuidInvalid(11301), + /** + *
+   * EntityAttrib 중복 등록 되었습니다.
+   * 
+ * + * EntityAttribDuplicated = 11302; + */ + EntityAttribDuplicated(11302), + /** + *
+   * EntityAttribute가 null 입니다.
+   * 
+ * + * EntityAttributeIsNull = 11303; + */ + EntityAttributeIsNull(11303), + /** + *
+   * EntityAttribute 찾을 수 없습니다.
+   * 
+ * + * EntityAttributeNotFound = 11304; + */ + EntityAttributeNotFound(11304), + /** + *
+   * EntityAttribute 상태 오류 입니다.
+   * 
+ * + * EntityAttributeStateInvalid = 11305; + */ + EntityAttributeStateInvalid(11305), + /** + *
+   * EntityType 오류 입니다.
+   * 
+ * + * EntityTypeInvalid = 11306; + */ + EntityTypeInvalid(11306), + /** + *
+   * Entity가 Map에 연결되어 있습니다.
+   * 
+ * + * EntityLinkedToMap = 11307; + */ + EntityLinkedToMap(11307), + /** + *
+   * Entity가 Map에 연결되어 있지 않습니다.
+   * 
+ * + * EntityNotLinkedToMap = 11308; + */ + EntityNotLinkedToMap(11308), + /** + *
+   *현재 dence 상태가 아닙니다. dance end 패킷이 날라올때 처리
+   * 
+ * + * EntityStateNotDancing = 11309; + */ + EntityStateNotDancing(11309), + /** + *
+   *=============================================================================================
+   * 엔티티 얙션 관련 오류 : 11400 ~
+   *=============================================================================================
+   * 
+ * + * EntityActionDuplicated = 11401; + */ + EntityActionDuplicated(11401), + /** + *
+   * EntityAction을 찾을 수 없습니다.
+   * 
+ * + * EntityActionNotFound = 11402; + */ + EntityActionNotFound(11402), + /** + *
+   *=============================================================================================
+   * 엔티티 상태 관련 오류 : 11500 ~
+   *=============================================================================================
+   * 
+ * + * EntityBaseHfsmInitFailed = 11501; + */ + EntityBaseHfsmInitFailed(11501), + /** + *
+   *=============================================================================================
+   * 글로벌 엔티티 오류 : 11600 ~
+   *=============================================================================================
+   * 
+ * + * RedisGlobalEntityDuplicated = 11601; + */ + RedisGlobalEntityDuplicated(11601), + /** + *
+   *=============================================================================================
+   * 접속 서버 변경 관련 오류 : 11700 ~
+   *=============================================================================================
+   * 
+ * + * UserIsSwitchingServer = 11701; + */ + UserIsSwitchingServer(11701), + /** + *
+   * 유저가 다른 서버로 접속을 변경하고 있지 않습니다.
+   * 
+ * + * UserIsNotSwitchingServer = 11702; + */ + UserIsNotSwitchingServer(11702), + /** + *
+   * 접속 서버 변경 Otp 값이 일치하지 않습니다.
+   * 
+ * + * ServerSwitchingOtpNotMatch = 11703; + */ + ServerSwitchingOtpNotMatch(11703), + /** + *
+   * 접속된 서버는 목적지 서버가 아닙니다.
+   * 
+ * + * ConnectedServerIsNotDestServer = 11704; + */ + ConnectedServerIsNotDestServer(11704), + /** + *
+   * 예약된 유저가 아닙니다.
+   * 
+ * + * InvalidReservationUser = 11705; + */ + InvalidReservationUser(11705), + /** + *
+   * 복귀 유저가 아닙니다.
+   * 
+ * + * InvalidReturnUser = 11706; + */ + InvalidReturnUser(11706), + /** + *
+   *=============================================================================================
+   * 유저 관련 오류 : 12000 ~
+   *=============================================================================================
+   * 
+ * + * UserNicknameNotAllowWithSpecialChars = 12001; + */ + UserNicknameNotAllowWithSpecialChars(12001), + /** + *
+   * 유저 닉네임은 한글로 최소2 에서 최대8 글자까지 허용 합니다.
+   * 
+ * + * UserNicknameAllowedMin2ToMax8WithKorean = 12002; + */ + UserNicknameAllowedMin2ToMax8WithKorean(12002), + /** + *
+   * 유저 닉네임은 영어로 최소4 에서 최대16 글자까지 허용 합니다.
+   * 
+ * + * UserNicknameAllowedMin4ToMax16WithEnglish = 12003; + */ + UserNicknameAllowedMin4ToMax16WithEnglish(12003), + /** + *
+   * 유저 닉네임은 첫번째 글자에 숫자를 허용하지 않습니다.
+   * 
+ * + * UserNicknameNotAllowedNumberAtFirstChars = 12004; + */ + UserNicknameNotAllowedNumberAtFirstChars(12004), + /** + *
+   * 유저 닉네임으로 허용되지 않는 문자 입니다.
+   * 
+ * + * UserNicknameNotAllowChars = 12005; + */ + UserNicknameNotAllowChars(12005), + /** + *
+   * 유저 닉네임으로 한글 초성체를 허용하지 않습니다.
+   * 
+ * + * UserNicknameNotAllowWithInitialismKorean = 12006; + */ + UserNicknameNotAllowWithInitialismKorean(12006), + /** + *
+   * 유저 닉네임이 금지어에 해당 합니다.
+   * 
+ * + * UserNicknameBan = 12007; + */ + UserNicknameBan(12007), + /** + *
+   * 유저 중복 로그인 입니다.
+   * 
+ * + * UserDuplicatedLogin = 12008; + */ + UserDuplicatedLogin(12008), + /** + *
+   * 유저가 로그인되어 있지 않습니다.
+   * 
+ * + * UserNotLogin = 12009; + */ + UserNotLogin(12009), + /** + *
+   * 유저 생성을 위한 DynamoDbDoc가 중복 등록 되었습니다.
+   * 
+ * + * UserCreationForDynamoDbDocDuplicated = 12010; + */ + UserCreationForDynamoDbDocDuplicated(12010), + /** + *
+   * UserGuid를 참조하는 모든 Attribute에 Guid를 적용하는 것을 실패했습니다.
+   * 
+ * + * UserGuidApplyToRefAttributeAllFailed = 12011; + */ + UserGuidApplyToRefAttributeAllFailed(12011), + /** + *
+   * TestUserPrepareCreate 단계가 완료되지 않았습니다.
+   * 
+ * + * TestUserPrepareCreateNotCompleted = 12012; + */ + TestUserPrepareCreateNotCompleted(12012), + /** + *
+   * DefaultUserPrepareCreate 단계가 완료되지 않았습니다.
+   * 
+ * + * DefaultUserPrepareCreateNotCompleted = 12013; + */ + DefaultUserPrepareCreateNotCompleted(12013), + /** + *
+   * UserPrepareLoad 단계가 완료되지 않았습니다.
+   * 
+ * + * UserPrepareLoadNotCompleted = 12014; + */ + UserPrepareLoadNotCompleted(12014), + /** + *
+   * 유저 닉네임이 생성되어 있지 않습니다.
+   * 
+ * + * UserNicknameNotCreated = 12015; + */ + UserNicknameNotCreated(12015), + /** + *
+   * 유저 닉네임을 이미 생성 했습니다.
+   * 
+ * + * UserNicknameAlreadyCreated = 12016; + */ + UserNicknameAlreadyCreated(12016), + /** + *
+   * 유저 생성 절차가 완료되지 않았습니다.
+   * 
+ * + * UserCreateStepNotCompleted = 12017; + */ + UserCreateStepNotCompleted(12017), + /** + *
+   * 유저 생성이 완료 되었습니다.
+   * 
+ * + * UserCreateCompleted = 12018; + */ + UserCreateCompleted(12018), + /** + *
+   * 유저 서브키 바인딩을 실패 했습니다.
+   * 
+ * + * UserSubKeyBindToFailed = 12019; + */ + UserSubKeyBindToFailed(12019), + /** + *
+   * 유저 서브키 변경을 실패 했습니다.
+   * 
+ * + * UserSubKeyReplaceFailed = 12020; + */ + UserSubKeyReplaceFailed(12020), + /** + *
+   * 유저 Guid 오류 입니다.
+   * 
+ * + * UserGuidInvalid = 12021; + */ + UserGuidInvalid(12021), + /** + *
+   * UserNicknameDoc이 null 입니다.
+   * 
+ * + * UserNicknameDocIsNull = 12022; + */ + UserNicknameDocIsNull(12022), + /** + *
+   * UserDoc이 null 입니다.
+   * 
+ * + * UserDocIsNull = 12023; + */ + UserDocIsNull(12023), + /** + *
+   * UserGuid가 이미 등록되어 있습니다.
+   * 
+ * + * UserGuidAlreadyAdded = 12024; + */ + UserGuidAlreadyAdded(12024), + /** + *
+   * User 닉네임이 중복 되었습니다.
+   * 
+ * + * UserNicknameDuplicated = 12025; + */ + UserNicknameDuplicated(12025), + /** + *
+   * 유저 닉네임은 최소2 에서 최대12 글자까지 허용 합니다.
+   * 
+ * + * UserNicknameAllowedMin2ToMax12 = 12026; + */ + UserNicknameAllowedMin2ToMax12(12026), + /** + *
+   * UserNickname 검색 페이지가 잘못되었습니다.
+   * 
+ * + * UserNicknameSearchPageWrong = 12027; + */ + UserNicknameSearchPageWrong(12027), + /** + *
+   * 유저 닉네임이 없습니다.
+   * 
+ * + * UserNicknameEmpty = 12028; + */ + UserNicknameEmpty(12028), + /** + *
+   * UserContentsSettingDoc이 null 입니다.
+   * 
+ * + * UserContentsSettingDocIsNull = 12029; + */ + UserContentsSettingDocIsNull(12029), + /** + *
+   * 유저 MoneyDoc이 없습니다.
+   * 
+ * + * UserMoneyDocEmpty = 12030; + */ + UserMoneyDocEmpty(12030), + /** + *
+   *=============================================================================================
+   * 유저 신고하기 관련 오류 : 12100 ~
+   *=============================================================================================
+   * 
+ * + * UserReportInvalidTitleLength = 12101; + */ + UserReportInvalidTitleLength(12101), + /** + *
+   * 유저 신고하기 의 내용 길이 오류입니다.
+   * 
+ * + * UserReportInvalidContentLength = 12102; + */ + UserReportInvalidContentLength(12102), + /** + *
+   *=============================================================================================
+   * 캐릭터 관련 오류 : 13000 ~
+   *=============================================================================================
+   * 
+ * + * TestCharacterPrepareCreateNotCompleted = 13001; + */ + TestCharacterPrepareCreateNotCompleted(13001), + /** + *
+   * DefaultCharacterPrepareCreate 단계가 완료되지 않았습니다.
+   * 
+ * + * DefaultCharacterPrepareCreateNotCompleted = 13012; + */ + DefaultCharacterPrepareCreateNotCompleted(13012), + /** + *
+   * CharacterPrepareLoad 단계가 완료되지 않았습니다.
+   * 
+ * + * CharacterPrepareLoadNotCompleted = 13013; + */ + CharacterPrepareLoadNotCompleted(13013), + /** + *
+   * CharacterBaseDoc 로딩중에 중복된 캐릭터가 발견되었습니다.
+   * 
+ * + * CharacterBaseDocLoadDuplicatedCharacter = 13014; + */ + CharacterBaseDocLoadDuplicatedCharacter(13014), + /** + *
+   * 선택된 캐릭터가 없습니다.
+   * 
+ * + * CharacterNotSelected = 13015; + */ + CharacterNotSelected(13015), + /** + *
+   * 캐릭터를 찾지 못했습니다.
+   * 
+ * + * CharacterNotFound = 13016; + */ + CharacterNotFound(13016), + /** + *
+   * CharacterBaseDoc 읽지 않았습니다.
+   * 
+ * + * CharacterBaseDocNoRead = 13017; + */ + CharacterBaseDocNoRead(13017), + /** + *
+   * 캐릭터 커스터마이징이 완료가 되지 않았습니다.
+   * 
+ * + * CharacterCustomizingNotCompleted = 13018; + */ + CharacterCustomizingNotCompleted(13018), + /** + *
+   * 캐릭터 생성 절차가 완료되지 않았습니다.
+   * 
+ * + * CharacterCreateStepNotCompleted = 13019; + */ + CharacterCreateStepNotCompleted(13019), + /** + *
+   * 캐릭터 커스터마이징이 이미 완료 되었습니다.
+   * 
+ * + * CharacterCustomizingAlreadyCompleted = 13020; + */ + CharacterCustomizingAlreadyCompleted(13020), + /** + *
+   * 캐릭터 준비 단계에서 캐릭터 생성이 되지 않습니다.
+   * 
+ * + * CharacterPrepareNotCreated = 13021; + */ + CharacterPrepareNotCreated(13021), + /** + *
+   * 캐릭터 생성이 완료 되었습니다.
+   * 
+ * + * CharacterCreateCompleted = 13022; + */ + CharacterCreateCompleted(13022), + /** + *
+   * CharacterBaseDoc이 null 입니다.
+   * 
+ * + * CharacterBaseDocIsNull = 13023; + */ + CharacterBaseDocIsNull(13023), + /** + *
+   *=============================================================================================
+   * 능력치 관련 오류 : 13300 ~
+   *=============================================================================================
+   * 
+ * + * AbilityNotEnough = 13301; + */ + AbilityNotEnough(13301), + /** + *
+   *=============================================================================================
+   * 아이템 관련 오류 : 14000 ~
+   *=============================================================================================
+   * 
+ * + * ItemMetaDataNotFound = 14001; + */ + ItemMetaDataNotFound(14001), + /** + *
+   * 아이템 Guid 값 오류 입니다.
+   * 
+ * + * ItemGuidInvalid = 14002; + */ + ItemGuidInvalid(14002), + /** + *
+   * ItemDoc 객체가 null 입니다.
+   * 
+ * + * ItemDocIsNull = 14003; + */ + ItemDocIsNull(14003), + /** + *
+   * 아이템 DefaultAttribute를 관련 메타 데이터에서 찾지 못했습니다.
+   * 
+ * + * ItemDefaultAttributeNotFoundInMeta = 14004; + */ + ItemDefaultAttributeNotFoundInMeta(14004), + /** + *
+   * 아이템 Level Enchant를 관련 메타 데이터에서 찾지 못했습니다.
+   * 
+ * + * ItemLevelEnchantNotFoundInMeta = 14005; + */ + ItemLevelEnchantNotFoundInMeta(14005), + /** + *
+   * 아이템 Enchant를 관련 메타 데이터에서 찾지 못했습니다.
+   * 
+ * + * ItemEnchantNotFoundInMeta = 14006; + */ + ItemEnchantNotFoundInMeta(14006), + /** + *
+   * 아이템 AttributeRandomGroup을 관련 메타 데이터에서 찾지 못했습니다.
+   * 
+ * + * ItemAttributeRandomGroupNotFoundInMeta = 14007; + */ + ItemAttributeRandomGroupNotFoundInMeta(14007), + /** + *
+   * 아이템 AttributeRandomGroup의 TotalWeight 오류 입니다.
+   * 
+ * + * ItemAttributeRandomGroupTotalWeightInvalid = 14008; + */ + ItemAttributeRandomGroupTotalWeightInvalid(14008), + /** + *
+   * 아이템을 찾지 못했습니다.
+   * 
+ * + * ItemNotFound = 14009; + */ + ItemNotFound(14009), + /** + *
+   * 의상 아이템 LargeType 오류 입니다.
+   * 
+ * + * ItemClothInvalidLargeType = 14010; + */ + ItemClothInvalidLargeType(14010), + /** + *
+   * 의상 아이템 SmallType 오류 입니다.
+   * 
+ * + * ItemClothInvalidSmallType = 14011; + */ + ItemClothInvalidSmallType(14011), + /** + *
+   * 아이템 스택 개수 오류 입니다.
+   * 
+ * + * ItemStackCountInvalid = 14012; + */ + ItemStackCountInvalid(14012), + /** + *
+   * 아이템 최대 보유 갯수를 초과 했습니다.
+   * 
+ * + * ItemMaxCountExceed = 14013; + */ + ItemMaxCountExceed(14013), + /** + *
+   * ItemDoc 로딩중에 중복된 아이템이 발견되었습니다.
+   * 
+ * + * ItemDocLoadDuplicatedItem = 14014; + */ + ItemDocLoadDuplicatedItem(14014), + /** + *
+   * ClothSlotType 오류 입니다.
+   * 
+ * + * ClothSlotTypeInvalid = 14015; + */ + ClothSlotTypeInvalid(14015), + /** + *
+   * 아이템 스택 개수가 부족 합니다.
+   * 
+ * + * ItemStackCountNotEnough = 14016; + */ + ItemStackCountNotEnough(14016), + /** + *
+   * 아이템 보유 개수가 부족 합니다.
+   * 
+ * + * ItemCountNotEnough = 14017; + */ + ItemCountNotEnough(14017), + /** + *
+   * ItemType(LargeType, SmallType) 오류입니다.
+   * 
+ * + * ItemInvalidItemType = 14018; + */ + ItemInvalidItemType(14018), + /** + *
+   * 아이템 Tool 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * ItemToolMetaDataNotFound = 14019; + */ + ItemToolMetaDataNotFound(14019), + /** + *
+   * 아이템 Tool을 찾지 못했습니다.
+   * 
+ * + * ItemToolNotFound = 14020; + */ + ItemToolNotFound(14020), + /** + *
+   * 아이템 Tool이 활성화 상태가 아닙니다.
+   * 
+ * + * ItemToolNotActivateState = 14021; + */ + ItemToolNotActivateState(14021), + /** + *
+   * ToolActionDoc이 null 입니다.
+   * 
+ * + * ToolActionDocIsNull = 14022; + */ + ToolActionDocIsNull(14022), + /** + *
+   * ToolAction이 이미 비활성화 상태 입니다.
+   * 
+ * + * ToolActionAlreadyUnactivateState = 14023; + */ + ToolActionAlreadyUnactivateState(14023), + /** + *
+   * ToolAction이 이미 활성화 상태 입니다.
+   * 
+ * + * ToolActionAlreadyActivateState = 14024; + */ + ToolActionAlreadyActivateState(14024), + /** + *
+   * 아이템 Tattoo가 없습니다.
+   * 
+ * + * ItemTattooNotFound = 14025; + */ + ItemTattooNotFound(14025), + /** + *
+   * 아이템 Attribute Enchant 메타가 없습니다.
+   * 
+ * + * ItemAttributeEnchantMetaNotFound = 14026; + */ + ItemAttributeEnchantMetaNotFound(14026), + /** + *
+   * 아이템 Attribute Change가 선택되지 않았습니다.
+   * 
+ * + * ItemAttributeChangeNotSelected = 14027; + */ + ItemAttributeChangeNotSelected(14027), + /** + *
+   * 아이템 문자열을 정수로 변환하는데 오류가 발생했습니다.
+   * 
+ * + * ItemParsingFromStringToIntErorr = 14028; + */ + ItemParsingFromStringToIntErorr(14028), + /** + *
+   * 아이템 개수 문자열을 정수로 변환하는데 오류가 발생했습니다.
+   * 
+ * + * ItemValueParsingFromStringToIntErorr = 14029; + */ + ItemValueParsingFromStringToIntErorr(14029), + /** + *
+   * ItemFirstPurchaseHistoryDoc이 null 입니다.
+   * 
+ * + * ItemFirstPurchaseHistoryDocIsNull = 14030; + */ + ItemFirstPurchaseHistoryDocIsNull(14030), + /** + *
+   * ItemFirstPurchaseHistoryDoc 로딩중에 중복된 아이템이 발견되었습니다.
+   * 
+ * + * ItemFirstPurchaseHistoryDocLoadDuplicatedItem = 14031; + */ + ItemFirstPurchaseHistoryDocLoadDuplicatedItem(14031), + /** + *
+   * ItemFirstPurchaseHistory가 이미 존재합니다.
+   * 
+ * + * ItemFirstPurchaseHistoryAlreadyExist = 14032; + */ + ItemFirstPurchaseHistoryAlreadyExist(14032), + /** + *
+   * 아이템 첫 구매 할인 아이템 개수가 잘못되었습니다.
+   * 
+ * + * ItemFirstPurchaseDiscountItemCountWrong = 14033; + */ + ItemFirstPurchaseDiscountItemCountWrong(14033), + /** + *
+   * 아이템 AttributeIdType 오류 입니다.
+   * 
+ * + * ItemAttributeIdTypeInvalid = 14034; + */ + ItemAttributeIdTypeInvalid(14034), + /** + *
+   * 아이템 할당 오류 입니다.
+   * 
+ * + * ItemAllocFailed = 14035; + */ + ItemAllocFailed(14035), + /** + *
+   * 아이템 Guid 중복 오류 입니다.	
+   * 
+ * + * ItemGuidDuplicated = 14036; + */ + ItemGuidDuplicated(14036), + /** + *
+   * 아이템 레벨이 현재 최대 입니다.
+   * 
+ * + * ItemLevelCurrentMax = 14037; + */ + ItemLevelCurrentMax(14037), + /** + *
+   *=============================================================================================
+   * 아이템 액션 관련 오류 : 14101 ~
+   *=============================================================================================
+   * 
+ * + * ItemUseFunctionNotFound = 14101; + */ + ItemUseFunctionNotFound(14101), + /** + *
+   * 퀘스트 쿨타임 초기화 아이템 사용시 : 퀘스트 메일이 가득차서 아이템 사용 불가.
+   * 
+ * + * ItemUseQuestMailCountMax = 14102; + */ + ItemUseQuestMailCountMax(14102), + /** + *
+   * 퀘스트 쿨타임 초기화 아이템 사용시 : 이미 수행중이거나, 퀘스트메일이 존재해서 할당가능한 퀘스트가 없어서 아이템 사용 불가.
+   * 
+ * + * ItemUseNotExistAssignableQuest = 14103; + */ + ItemUseNotExistAssignableQuest(14103), + /** + *
+   * 퀘스트 할당 아이템 사용시 : 해당 퀘스트는 이미 진행중이어서 아이템 사용 불가.
+   * 
+ * + * ItemUseAlreadyHasQuest = 14104; + */ + ItemUseAlreadyHasQuest(14104), + /** + *
+   * 퀘스트 할당 아이템 사용시 : 해당 퀘스트메일은 이미 존재해서 아이템 사용 불가.
+   * 
+ * + * ItemUseAlreadyHasQuestMail = 14105; + */ + ItemUseAlreadyHasQuestMail(14105), + /** + *
+   *=============================================================================================
+   * 인벤토리 관련 오류 : 15000 ~
+   *=============================================================================================
+   * 
+ * + * BagRuleItemLargeTypeDuplicated = 15001; + */ + BagRuleItemLargeTypeDuplicated(15001), + /** + *
+   * ToolEquipRule에 ItemLargeType이 중복 되었습니다.
+   * 
+ * + * ToolEquipRuleItemLargeTypeDuplicated = 15002; + */ + ToolEquipRuleItemLargeTypeDuplicated(15002), + /** + *
+   * ClosthEquipRule에 ItemLargeType이 중복 되었습니다.
+   * 
+ * + * ClothEquipRuleItemLargeTypeDuplicated = 15003; + */ + ClothEquipRuleItemLargeTypeDuplicated(15003), + /** + *
+   * TattooEquipRule에 ItemLargeType이 중복 되었습니다.
+   * 
+ * + * TattooEquipRuleItemLargeTypeDuplicated = 15004; + */ + TattooEquipRuleItemLargeTypeDuplicated(15004), + /** + *
+   * InventoryRule을 찾을 수 없습니다.
+   * 
+ * + * InventoryRuleNotFound = 15005; + */ + InventoryRuleNotFound(15005), + /** + *
+   * EquipInven을 찾을 수 없습니다.
+   * 
+ * + * EquipInvenNotFound = 15006; + */ + EquipInvenNotFound(15006), + /** + *
+   * 이미 장착된 Slots 입니다.
+   * 
+ * + * SlotsAlreadyEquiped = 15007; + */ + SlotsAlreadyEquiped(15007), + /** + *
+   * 이미 장착 해제된 Slots 입니다.
+   * 
+ * + * SlotsAlreadyUnequiped = 15008; + */ + SlotsAlreadyUnequiped(15008), + /** + *
+   * 가방에 아이템이 가득 찼습니다.
+   * 
+ * + * BagIsItemFull = 15009; + */ + BagIsItemFull(15009), + /** + *
+   * 가방에 아이템이 비어 있습니다.
+   * 
+ * + * BagIsItemEmpty = 15010; + */ + BagIsItemEmpty(15010), + /** + *
+   * 가방에 DeltaItem이 중복 되었습니다.
+   * 
+ * + * BagDeltaItemDupliated = 15011; + */ + BagDeltaItemDupliated(15011), + /** + *
+   * 가방에서 아이템을 찾을 수 없습니다.
+   * 
+ * + * BagItemNotFound = 15012; + */ + BagItemNotFound(15012), + /** + *
+   * ClothEquipRule에서 ClothSlotType을 찾을 수 없습니다.
+   * 
+ * + * ClothEquipRuleClothSlotTypeNotFound = 15013; + */ + ClothEquipRuleClothSlotTypeNotFound(15013), + /** + *
+   * ToolEquipRule에서 ToolSlotType를 찾을 수 없습니다.
+   * 
+ * + * ToolEquipRuleToolSlotTypeNotFound = 15014; + */ + ToolEquipRuleToolSlotTypeNotFound(15014), + /** + *
+   * TattooEquipRule에서 TattooSlotType을 찾을 수 없습니다.
+   * 
+ * + * TattooEquipRuleTattooSlotTypeNotFound = 15015; + */ + TattooEquipRuleTattooSlotTypeNotFound(15015), + /** + *
+   * BagTabType 추가를 실패 했습니다.
+   * 
+ * + * BagTabTypeAddFailed = 15016; + */ + BagTabTypeAddFailed(15016), + /** + *
+   * BagTabType 오류 입니다.
+   * 
+ * + * BagTabTypeInvalid = 15017; + */ + BagTabTypeInvalid(15017), + /** + *
+   * BagTabType을 찾을 수 없습니다.
+   * 
+ * + * BagTabTypeNotFound = 15018; + */ + BagTabTypeNotFound(15018), + /** + *
+   * BagTabCount Merge를 실패 했습니다.
+   * 
+ * + * BagTabCountMergeFailed = 15019; + */ + BagTabCountMergeFailed(15019), + /** + *
+   * Inventory EntityType 오류 입니다.
+   * 
+ * + * InventoryEntityTypeInvalid = 15020; + */ + InventoryEntityTypeInvalid(15020), + /** + *
+   * InvenEquipType 오류 입니다.
+   * 
+ * + * InvenEquipTypeInvalid = 15021; + */ + InvenEquipTypeInvalid(15021), + /** + *
+   * 가방에 예약된 아이템이 가득 찼습니다.
+   * 
+ * + * BagIsReservedItemFull = 15022; + */ + BagIsReservedItemFull(15022), + /** + *
+   * 가방에 예약된 아이템이 없습니다.
+   * 
+ * + * BagIsReservedItemEmpty = 15023; + */ + BagIsReservedItemEmpty(15023), + /** + *
+   * 장착 슬롯이 일치하지 않습니다.
+   * 
+ * + * EquipSlotNotMatch = 15024; + */ + EquipSlotNotMatch(15024), + /** + *
+   * 장착 슬롯 범위를 벗어났습니다.
+   * 
+ * + * EquipSlotOutOfRange = 15025; + */ + EquipSlotOutOfRange(15025), + /** + *
+   * 이미 예약된 장착 Slots 입니다.
+   * 
+ * + * SlotsAlreadyReservedEquip = 15026; + */ + SlotsAlreadyReservedEquip(15026), + /** + *
+   * 이미 예약된 장착 해제 Slots 입니다.
+   * 
+ * + * SlotsAlreadyReservedUnequip = 15027; + */ + SlotsAlreadyReservedUnequip(15027), + /** + *
+   * SlotType을 찾을 수 없습니다.
+   * 
+ * + * SlotTypeNotFound = 15028; + */ + SlotTypeNotFound(15028), + /** + *
+   *=============================================================================================
+   * UgcNpc 관련 오류 : 15101 ~
+   *=============================================================================================
+   * 
+ * + * UgcNpcMetaGuidAlreadyAdded = 15101; + */ + UgcNpcMetaGuidAlreadyAdded(15101), + /** + *
+   * UgcNpcDoc이 null 입니다.
+   * 
+ * + * UgcNpcDocIsNull = 15102; + */ + UgcNpcDocIsNull(15102), + /** + *
+   * UgcNpc 생성 개수를 초과 했습니다.
+   * 
+ * + * UgcNpcMaxCountExceed = 15103; + */ + UgcNpcMaxCountExceed(15103), + /** + *
+   * UgcNpc 의상 아이템이 부족 합니다.
+   * 
+ * + * UgcNpcClothItemNotEnough = 15104; + */ + UgcNpcClothItemNotEnough(15104), + /** + *
+   * UgcNpcDoc 중복 로딩 되었습니다.
+   * 
+ * + * UgcNpcDocLoadDuplicatedUgcNpc = 15105; + */ + UgcNpcDocLoadDuplicatedUgcNpc(15105), + /** + *
+   * UgcNpc 캐릭터 설명 문자열 길이를 초과 했습니다.
+   * 
+ * + * UgcNpcDescriptionLengthExceed = 15106; + */ + UgcNpcDescriptionLengthExceed(15106), + /** + *
+   * UgcNpc 세계관 문자열 길이를 초과 했습니다.
+   * 
+ * + * UgcNpcWordScenarioLengthExceed = 15107; + */ + UgcNpcWordScenarioLengthExceed(15107), + /** + *
+   * UgcNpc 인사말 문자열 길이를 초과 했습니다.
+   * 
+ * + * UgcNpcGreetingLengthExceed = 15108; + */ + UgcNpcGreetingLengthExceed(15108), + /** + *
+   * UgcNpc 타투 아이템이 부족 합니다.
+   * 
+ * + * UgcNpcTattooItemNotEnough = 15109; + */ + UgcNpcTattooItemNotEnough(15109), + /** + *
+   * UgcNpc 자주 사용하는 소셜 액션 개수를 초과 했습니다.
+   * 
+ * + * UgcNpcHabitSocialActionCountExceed = 15110; + */ + UgcNpcHabitSocialActionCountExceed(15110), + /** + *
+   * UgcNpc 대화중 기본 소셜 액션 개수를 초과 했습니다.
+   * 
+ * + * UgcNpcDialogueSocialActionCountExceed = 15111; + */ + UgcNpcDialogueSocialActionCountExceed(15111), + /** + *
+   * UgcNpc 닉네임이 중복 되었습니다.
+   * 
+ * + * UgcNpcNicknameDuplicated = 15112; + */ + UgcNpcNicknameDuplicated(15112), + /** + *
+   * UgcNpc를 찾을 수 없습니다.
+   * 
+ * + * UgcNpcNotFound = 15113; + */ + UgcNpcNotFound(15113), + /** + *
+   * UgcNpc 자기소개 문자열 길이를 초과 했습니다.
+   * 
+ * + * UgcNpcIntroductionLengthExceed = 15114; + */ + UgcNpcIntroductionLengthExceed(15114), + /** + *
+   * UgcNpc Tag 개수를 초과 했습니다.
+   * 
+ * + * UgcNpcMaxTagExceed = 15115; + */ + UgcNpcMaxTagExceed(15115), + /** + *
+   * UgcNpc 닉네임이 없습니다.
+   * 
+ * + * UgcNpcNicknameEmpty = 15116; + */ + UgcNpcNicknameEmpty(15116), + /** + *
+   * UgcNpc가 이미 게임존에 등록되어 있습니다.
+   * 
+ * + * UgcNpcAlreadyRegisteredInGameZone = 15117; + */ + UgcNpcAlreadyRegisteredInGameZone(15117), + /** + *
+   * UgcNpc가 게임존에 등록되어 있지 않습니다.
+   * 
+ * + * UgcNpcNotRegisteredInGameZone = 15118; + */ + UgcNpcNotRegisteredInGameZone(15118), + /** + *
+   * UgcNpcLikeSelecteeCount를 찾을 수 없습니다.
+   * 
+ * + * UgcNpcLikeSelecteeCountNotFound = 15119; + */ + UgcNpcLikeSelecteeCountNotFound(15119), + /** + *
+   * UgcNpcLikeSelectedFlag를 찾을 수 없습니다.
+   * 
+ * + * UgcNpcLikeSelectedFlagNotFound = 15120; + */ + UgcNpcLikeSelectedFlagNotFound(15120), + /** + *
+   * UgcNpc가 마이홈 Ugc에 중복 배치 되었습니다.
+   * 
+ * + * UgcNpcDuplicateInMyhomeUgc = 15121; + */ + UgcNpcDuplicateInMyhomeUgc(15121), + /** + *
+   * UgcNpc가 배치된 상태 입니다.
+   * 
+ * + * UgcNpcLocatedState = 15122; + */ + UgcNpcLocatedState(15122), + /** + *
+   * UgcNpc 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * UgcNpcMetaDataNotFound = 15123; + */ + UgcNpcMetaDataNotFound(15123), + /** + *
+   *=============================================================================================
+   * UgcNpc Ranking 관련 오류 : 15201 ~
+   *=============================================================================================
+   * 
+ * + * UgcNpcRankEntityIsNotFound = 15201; + */ + UgcNpcRankEntityIsNotFound(15201), + /** + *
+   * ugc npc ranking 조회 범위를 초과했습니다.
+   * 
+ * + * UgcNpcRankOutOfRange = 15202; + */ + UgcNpcRankOutOfRange(15202), + /** + *
+   *=============================================================================================
+   * Farming Effect 관련 오류 : 15301 ~
+   *=============================================================================================
+   * 
+ * + * FarmingEffectDocLinkPkSkNotSet = 15301; + */ + FarmingEffectDocLinkPkSkNotSet(15301), + /** + *
+   * FarmingEffect가 이미 게임존에 등록되어 있습니다.
+   * 
+ * + * FarmingEffectAlreadyRegisteredInGameZone = 15302; + */ + FarmingEffectAlreadyRegisteredInGameZone(15302), + /** + *
+   * 이미 진행중인 Farming 입니다.
+   * 
+ * + * FarmingAlready = 15303; + */ + FarmingAlready(15303), + /** + *
+   * 나는 Farming 중입니다.
+   * 
+ * + * FarmingByMe = 15304; + */ + FarmingByMe(15304), + /** + *
+   * FarmingPropMeta 데이터를 찾을 수 없습니다.
+   * 
+ * + * FarmingPropMetaDataNotFound = 15305; + */ + FarmingPropMetaDataNotFound(15305), + /** + *
+   * Farming 시도 횟수 오류 입니다.
+   * 
+ * + * FarmingTryCountInvalid = 15306; + */ + FarmingTryCountInvalid(15306), + /** + *
+   * Farming 상태가 아닙니다.
+   * 
+ * + * FarmingNotState = 15307; + */ + FarmingNotState(15307), + /** + *
+   * Farming 소유자 일치 하지 않습니다.
+   * 
+ * + * FarmingOwnerNotMatch = 15308; + */ + FarmingOwnerNotMatch(15308), + /** + *
+   * FarmingSummonedEntityType 오류 입니다.
+   * 
+ * + * FarmingSummonedEntityTypeInvalid = 15309; + */ + FarmingSummonedEntityTypeInvalid(15309), + /** + *
+   * FarmingEffect가 게임존에 존재하지 않습니다.
+   * 
+ * + * FarmingEffectNotExistInGameZone = 15310; + */ + FarmingEffectNotExistInGameZone(15310), + /** + *
+   * Farming 상태 입니다.
+   * 
+ * + * FarimgState = 15311; + */ + FarimgState(15311), + /** + *
+   * Farming StandBy 상태가 아닙니다.
+   * 
+ * + * FarmingStandByNotState = 15312; + */ + FarmingStandByNotState(15312), + /** + *
+   * Farming Anchor를 찾을 수 없습니다.
+   * 
+ * + * FarmingAnchorNotFound = 15313; + */ + FarmingAnchorNotFound(15313), + /** + *
+   *=============================================================================================
+   * Gacha 관련 오류 : 15401 ~
+   *=============================================================================================
+   * 
+ * + * GachaMetaDataNotFound = 15401; + */ + GachaMetaDataNotFound(15401), + /** + *
+   * Gacha 보상 정보가 없습니다.
+   * 
+ * + * GachaRewardEmpty = 15402; + */ + GachaRewardEmpty(15402), + /** + *
+   *=============================================================================================
+   * Master 관련 오류 : 15800 ~
+   *=============================================================================================
+   * 
+ * + * MasterNotFound = 15801; + */ + MasterNotFound(15801), + /** + *
+   * Master 관계 설정이 없다.
+   * 
+ * + * MasterNotRelated = 15802; + */ + MasterNotRelated(15802), + /** + *
+   *=============================================================================================
+   * 게임존 관련 오류 : 15900 ~
+   *=============================================================================================
+   * 
+ * + * GameZoneNotJoin = 15901; + */ + GameZoneNotJoin(15901), + /** + *
+   * Map 객체가 null 입니다.
+   * 
+ * + * MapIsNull = 15902; + */ + MapIsNull(15902), + /** + *
+   * LOCATION_UNIQUE_ID 값 오류 입니다.
+   * 
+ * + * LocationUniqueIdInvalid = 15903; + */ + LocationUniqueIdInvalid(15903), + /** + *
+   *=============================================================================================
+   * 친구 관련 오류 : 16000 ~
+   *=============================================================================================
+   * 
+ * + * FriendDocIsNull = 16001; + */ + FriendDocIsNull(16001), + /** + *
+   * FriendFolderDoc이 null 입니다.
+   * 
+ * + * FriendFolderDocIsNull = 16002; + */ + FriendFolderDocIsNull(16002), + /** + *
+   *=============================================================================================
+   * 소셜 액션 관련 오류 : 17000 ~
+   *=============================================================================================
+   * 
+ * + * SocialActionMetaDataNotFound = 17001; + */ + SocialActionMetaDataNotFound(17001), + /** + *
+   * 소셜 액션을 찾지 못했습니다.
+   * 
+ * + * SocialActionNotFound = 17002; + */ + SocialActionNotFound(17002), + /** + *
+   * SocialActionDoc 로딩중에 중복된 소셜 액션이 발견되었습니다.
+   * 
+ * + * SocialActionDocLoadDuplicatedSocialAction = 17003; + */ + SocialActionDocLoadDuplicatedSocialAction(17003), + /** + *
+   * 소셜 액션이 이미 존재합니다.
+   * 
+ * + * SocialActionAlreadyExist = 17004; + */ + SocialActionAlreadyExist(17004), + /** + *
+   * 소셜 액션 슬롯의 범위를 벗어났습니다.
+   * 
+ * + * SocialActionSlotOutOfRange = 17005; + */ + SocialActionSlotOutOfRange(17005), + /** + *
+   * 소셜 액션이 슬롯에 존재하지 않습니다.
+   * 
+ * + * SocialActionNotOnSlot = 17006; + */ + SocialActionNotOnSlot(17006), + /** + *
+   * SocialActionDoc이 null 입니다.
+   * 
+ * + * SocialActionDocIsNull = 17007; + */ + SocialActionDocIsNull(17007), + /** + *
+   *=============================================================================================
+   * 채널 관련 오류 : 18000 ~
+   *=============================================================================================
+   * 
+ * + * ChannelMoveSameChannel = 18001; + */ + ChannelMoveSameChannel(18001), + /** + *
+   * 채널 이동 쿨타임이 지나지 않았습니다.
+   * 
+ * + * ChannelInvalidMoveCoolTime = 18002; + */ + ChannelInvalidMoveCoolTime(18002), + /** + *
+   * 채널서버가 아닙니다. ( Indun 서버에서 이동요청시 발생 )
+   * 
+ * + * NotChannelServer = 18003; + */ + NotChannelServer(18003), + /** + *
+   *=============================================================================================
+   * 던전 관련 오류 : 19000 ~
+   *=============================================================================================
+   * 
+ * + * OwnedRoomDocIsNull = 19001; + */ + OwnedRoomDocIsNull(19001), + /** + *
+   * RoomDoc이 null 입니다.
+   * 
+ * + * RoomDocIsNull = 19002; + */ + RoomDocIsNull(19002), + /** + *
+   * Room이 마이홈이 아닙니다.
+   * 
+ * + * RoomIsNotMyHome = 19003; + */ + RoomIsNotMyHome(19003), + /** + *
+   *=============================================================================================
+   * 메일 관련 오류 : 20000 ~
+   *=============================================================================================
+   * 
+ * + * MailNotFound = 20001; + */ + MailNotFound(20001), + /** + *
+   * 이미 아이템을 받았습니다.
+   * 
+ * + * MailAlreadyTaken = 20002; + */ + MailAlreadyTaken(20002), + /** + *
+   * 메일 MailType 오류 입니다.
+   * 
+ * + * MailInvalidMailType = 20003; + */ + MailInvalidMailType(20003), + /** + *
+   * 보낼 수 있는 메일의 갯수를 초과 했습니다.
+   * 
+ * + * MailMaxSendCountExceed = 20004; + */ + MailMaxSendCountExceed(20004), + /** + *
+   * 메일 Doc이 null 입니다.
+   * 
+ * + * MailDocIsNull = 20005; + */ + MailDocIsNull(20005), + /** + *
+   * 메일 블락한 유저에게 보낼 수 없습니다.
+   * 
+ * + * MailBlockUserCannotSend = 20006; + */ + MailBlockUserCannotSend(20006), + /** + *
+   * 타겟의 받을 수 있는 메일의 갯수를 초과 했습니다.
+   * 
+ * + * MailMaxTargetReceivedCountExceed = 20007; + */ + MailMaxTargetReceivedCountExceed(20007), + /** + *
+   * 나에게 메일을 보낼 수 없습니다.
+   * 
+ * + * MailCantSendSelf = 20008; + */ + MailCantSendSelf(20008), + /** + *
+   * 아이템이 있는 상태의 메일은 삭제할 수 없습니다.
+   * 
+ * + * MailCantDeleteIfItemExists = 20009; + */ + MailCantDeleteIfItemExists(20009), + /** + *
+   *=============================================================================================
+   * 메일 프로필 관련 오류 : 20300 ~
+   *=============================================================================================
+   * 
+ * + * MailProfileDocIsNull = 20301; + */ + MailProfileDocIsNull(20301), + /** + *
+   *=============================================================================================
+   * 시스템 메일 관련 오류 : 20500 ~
+   *=============================================================================================
+   * 
+ * + * SystemMailDocIsNull = 20501; + */ + SystemMailDocIsNull(20501), + /** + *
+   *=============================================================================================
+   * 파티 관련 오류 : 21000 ~
+   *=============================================================================================
+   * 
+ * + * PartyCannotSetGuid = 21001; + */ + PartyCannotSetGuid(21001), + /** + *
+   * Party Member 정보 생성 실패입니다.
+   * 
+ * + * PartyFailedMakePartyMember = 21002; + */ + PartyFailedMakePartyMember(21002), + /** + *
+   * 파티 인원이 초과되었습니다.
+   * 
+ * + * PartyIsFull = 21003; + */ + PartyIsFull(21003), + /** + *
+   * 이미 초대를 보냈습니다.
+   * 
+ * + * AlreadyInviteParty = 21004; + */ + AlreadyInviteParty(21004), + /** + *
+   * 초대 정보를 확인할 수 없습니다.
+   * 
+ * + * NotFoundPartyInvite = 21005; + */ + NotFoundPartyInvite(21005), + /** + *
+   * 파티 정보를 확인할 수 없습니다.
+   * 
+ * + * NotFoundParty = 21006; + */ + NotFoundParty(21006), + /** + *
+   * 파티 상태가 아닙니다.
+   * 
+ * + * NotParty = 21007; + */ + NotParty(21007), + /** + *
+   * 파티 리더가 아닙니다.
+   * 
+ * + * NotPartyLeader = 21008; + */ + NotPartyLeader(21008), + /** + *
+   * 파티에 입장 중입니다.
+   * 
+ * + * JoiningParty = 21009; + */ + JoiningParty(21009), + /** + *
+   * 파티원이 아닙니다.
+   * 
+ * + * NotPartyMember = 21010; + */ + NotPartyMember(21010), + /** + *
+   * 이미 소환된 상태입니다.
+   * 
+ * + * AlreadySummon = 21011; + */ + AlreadySummon(21011), + /** + *
+   * 파티 리더의 서버 허용인원이 초과되었습니다.
+   * 
+ * + * PartyLeaderServerIsFull = 21012; + */ + PartyLeaderServerIsFull(21012), + /** + *
+   * 초대할 유저가 콘서트에 있습니다.
+   * 
+ * + * InviteMemberIsConcert = 21013; + */ + InviteMemberIsConcert(21013), + /** + *
+   * 파티 초대 발송에 실패했습니다.
+   * 
+ * + * FailToSendInviteMember = 21014; + */ + FailToSendInviteMember(21014), + /** + *
+   * 이미 파티에 소속되어 있습니다.
+   * 
+ * + * AlreadyPartyMember = 21015; + */ + AlreadyPartyMember(21015), + /** + *
+   * 소환할 수 없는 서버에 있습니다.
+   * 
+ * + * InvalidSummonServerType = 21016; + */ + InvalidSummonServerType(21016), + /** + *
+   * 소환 대상의 거리가 짧습니다.
+   * 
+ * + * SummonUserLimitDistance = 21017; + */ + SummonUserLimitDistance(21017), + /** + *
+   * 소환 대상자가 아닙니다.
+   * 
+ * + * InvalidSummonMember = 21018; + */ + InvalidSummonMember(21018), + /** + *
+   * 파티 리더가 logout 상태입니다.
+   * 
+ * + * PartyLeaderLoggedOut = 21019; + */ + PartyLeaderLoggedOut(21019), + /** + *
+   * 진행 중인 Vote 가 있습니다.
+   * 
+ * + * AlreadyStartPartyVote = 21020; + */ + AlreadyStartPartyVote(21020), + /** + *
+   * 진행 중인 Vote 가 없습니다.
+   * 
+ * + * NoStartPartyVote = 21021; + */ + NoStartPartyVote(21021), + /** + *
+   * 투표 가능 시간이 지났습니다.
+   * 
+ * + * AlreadyPassPartyVoteTime = 21022; + */ + AlreadyPassPartyVoteTime(21022), + /** + *
+   * 투표 시작 가능 시간이 지나지 않았습니다.
+   * 
+ * + * InvalidPartyVoteTime = 21023; + */ + InvalidPartyVoteTime(21023), + /** + *
+   * 이미 투표를 하였습니다.
+   * 
+ * + * AlreadyReplyPartyVote = 21024; + */ + AlreadyReplyPartyVote(21024), + /** + *
+   * 파티 인스턴스 가 없습니다.
+   * 
+ * + * EmptyPartyInstanceId = 21025; + */ + EmptyPartyInstanceId(21025), + /** + *
+   * 초대할 수 없는 장소입니다.
+   * 
+ * + * InvalidInvitePlace = 21026; + */ + InvalidInvitePlace(21026), + /** + *
+   * 초대 유저의 정보가 잘못되었습니다.
+   * 
+ * + * InvitePartyInvalidUsers = 21027; + */ + InvitePartyInvalidUsers(21027), + /** + *
+   * 파티원 소환에 실패했습니다.
+   * 
+ * + * SummonPartyMemberFail = 21028; + */ + SummonPartyMemberFail(21028), + /** + *
+   * 입력 글자수 최대 길이가 잘못되었습니다.
+   * 
+ * + * InvalidPartyStringLength = 21029; + */ + InvalidPartyStringLength(21029), + /** + *
+   * 파티명에 금칙어가 있습니다.
+   * 
+ * + * IncludeBanWordFromPartyName = 21030; + */ + IncludeBanWordFromPartyName(21030), + /** + *
+   * 파티원 정보가 없습니다.
+   * 
+ * + * JoiningPartyMemberInfoIsNull = 21031; + */ + JoiningPartyMemberInfoIsNull(21031), + /** + *
+   * 서로 다른 월드에 있습니다.
+   * 
+ * + * InvalidSummonWorldServer = 21032; + */ + InvalidSummonWorldServer(21032), + /** + * NotExistPartyInstance = 21999; + */ + NotExistPartyInstance(21999), + /** + *
+   *=============================================================================================
+   * 버프 관련 오류 : 22000 ~
+   *=============================================================================================
+   * 
+ * + * BuffMetaDataNotFound = 22001; + */ + BuffMetaDataNotFound(22001), + /** + *
+   * 등록되지 않은 버프 카테고리 입니다.
+   * 
+ * + * BuffNotRegistryCategory = 22002; + */ + BuffNotRegistryCategory(22002), + /** + *
+   * 버프를 찾지 못했습니다.
+   * 
+ * + * BuffNotFound = 22003; + */ + BuffNotFound(22003), + /** + *
+   * 버프 BuffCategoryType 오류 입니다.
+   * 
+ * + * BuffInvalidBuffCategoryType = 22004; + */ + BuffInvalidBuffCategoryType(22004), + /** + *
+   * BuffCache 로딩중에 중복된 버프가 발견되었습니다.
+   * 
+ * + * BuffCacheLoadDuplicatedBuff = 22005; + */ + BuffCacheLoadDuplicatedBuff(22005), + /** + *
+   * 버프 AttributeType 오류 입니다.
+   * 
+ * + * BuffInvalidAttributeType = 22006; + */ + BuffInvalidAttributeType(22006), + /** + *
+   *=============================================================================================
+   * 퀘스트 관련 오류 : 23000 ~
+   *=============================================================================================
+   * 
+ * + * QuestAssingDataNotExist = 23000; + */ + QuestAssingDataNotExist(23000), + /** + *
+   * 퀘스트 메일이 없습니다.
+   * 
+ * + * QuestMailNotExist = 23001; + */ + QuestMailNotExist(23001), + /** + *
+   * 이미 완료된 퀘스트
+   * 
+ * + * QuestAlreadyEnded = 23002; + */ + QuestAlreadyEnded(23002), + /** + *
+   * 할당 가능한 퀘스트 수 맥스
+   * 
+ * + * QuestCountMax = 23003; + */ + QuestCountMax(23003), + /** + *
+   * 타입별로 할당 가능한 퀘스트 수 맥스
+   * 
+ * + * QuestTypeAssignCountMax = 23004; + */ + QuestTypeAssignCountMax(23004), + /** + *
+   * 퀘스트 타입 오류
+   * 
+ * + * QuestInvalidType = 23005; + */ + QuestInvalidType(23005), + /** + *
+   * 퀘스트 값 오류
+   * 
+ * + * QuestInvalidValue = 23006; + */ + QuestInvalidValue(23006), + /** + *
+   * 퀘스트 아이디 없음
+   * 
+ * + * QuestIdNotFound = 23007; + */ + QuestIdNotFound(23007), + /** + *
+   * 잘못된 태스트 진행 번호
+   * 
+ * + * QuestInvalidTaskNum = 23008; + */ + QuestInvalidTaskNum(23008), + /** + *
+   * 퀘스트 거절은 일반 퀘스트만 가능
+   * 
+ * + * QuestRefuseOnlyNormal = 23009; + */ + QuestRefuseOnlyNormal(23009), + /** + *
+   * 포기하려는 퀘스트 정보 존재하지 않습니다.
+   * 
+ * + * QuestAbadonNotExistQuest = 23010; + */ + QuestAbadonNotExistQuest(23010), + /** + *
+   * 이미 달성한 퀘스트
+   * 
+ * + * QuestAlreadyComplete = 23011; + */ + QuestAlreadyComplete(23011), + /** + *
+   * 퀘스트 미달성
+   * 
+ * + * QuestNotComplete = 23012; + */ + QuestNotComplete(23012), + /** + *
+   * 퀘스트 포기는 일반 퀘스트만 가능
+   * 
+ * + * QuestAbandonOnlyNormal = 23013; + */ + QuestAbandonOnlyNormal(23013), + /** + *
+   * QuestMailDoc이 null 입니다.
+   * 
+ * + * QuestMailDocIsNull = 23014; + */ + QuestMailDocIsNull(23014), + /** + *
+   * QuestDoc이 null 입니다.
+   * 
+ * + * QuestDocIsNull = 23015; + */ + QuestDocIsNull(23015), + /** + *
+   * EndQuestDoc이 null 입니다.
+   * 
+ * + * EndQuestDocIsNull = 23016; + */ + EndQuestDocIsNull(23016), + /** + *
+   * QuestMetaBase가 구현되지 않았습니다.
+   * 
+ * + * QuestMetaBaseNotImplement = 23017; + */ + QuestMetaBaseNotImplement(23017), + /** + *
+   * Quest notify 레디스에 등록 실패
+   * 
+ * + * QuestNotifyRedisRegistFail = 23018; + */ + QuestNotifyRedisRegistFail(23018), + /** + *
+   *=============================================================================================
+   * 월드 관련 오류 : 24000 ~
+   *=============================================================================================
+   * 
+ * + * WorldMetaDataNotFound = 24001; + */ + WorldMetaDataNotFound(24001), + /** + *
+   * 월드 입장 아이템 수량이 부족합니다.
+   * 
+ * + * LackOfWorldEnterItem = 24002; + */ + LackOfWorldEnterItem(24002), + /** + *
+   * 월드 맵트리 데이터를 찾지 못했습니다.
+   * 
+ * + * WorldMapTreeDataNotFound = 24003; + */ + WorldMapTreeDataNotFound(24003), + /** + *
+   * 월드 맵트리 하위 랜드를 찾지 못했습니다.
+   * 
+ * + * WorldMapTreeChildLandNotFound = 24004; + */ + WorldMapTreeChildLandNotFound(24004), + /** + *
+   * 룸 맵 데이터를 찾지 못했습니다.
+   * 
+ * + * RoomMapDataNotFound = 24005; + */ + RoomMapDataNotFound(24005), + /** + *
+   *=============================================================================================
+   * 랜드 관련 오류 : 24500 ~
+   *=============================================================================================
+   * 
+ * + * LandMetaDataNotFound = 24501; + */ + LandMetaDataNotFound(24501), + /** + *
+   * 랜드를 찾지 못했습니다.
+   * 
+ * + * LandNotFound = 24502; + */ + LandNotFound(24502), + /** + *
+   * LandDoc 로딩중에 중복된 랜드가 발견되었습니다.
+   * 
+ * + * LandDocLoadDuplicatedLand = 24503; + */ + LandDocLoadDuplicatedLand(24503), + /** + *
+   * LandDoc이 null 입니다.
+   * 
+ * + * LandDocIsNull = 24504; + */ + LandDocIsNull(24504), + /** + *
+   * 소유 랜드를 찾지 못했습니다.
+   * 
+ * + * OwnedLandNotFound = 24505; + */ + OwnedLandNotFound(24505), + /** + *
+   * OwnedLandDoc 로딩중에 중복된 랜드가 발견되었습니다.
+   * 
+ * + * OwnedLandDocLoadDuplicatedOwnedLand = 24506; + */ + OwnedLandDocLoadDuplicatedOwnedLand(24506), + /** + *
+   * OwnedLandDoc이 null 입니다.
+   * 
+ * + * OwnedLandDocIsNull = 24507; + */ + OwnedLandDocIsNull(24507), + /** + *
+   * 랜드 맵트리 데이터를 찾지 못했습니다.
+   * 
+ * + * LandMapTreeDataNotFound = 24508; + */ + LandMapTreeDataNotFound(24508), + /** + *
+   * 랜드 맵트리 하위 빌딩을 찾지 못했습니다.
+   * 
+ * + * LandMapTreeChildBuildingNotFound = 24509; + */ + LandMapTreeChildBuildingNotFound(24509), + /** + *
+   * 랜드 빌딩이 비어 있지 않습니다.
+   * 
+ * + * LandBuildingIsNotEmpty = 24510; + */ + LandBuildingIsNotEmpty(24510), + /** + *
+   * 랜드 맵 데이터를 찾지 못했습니다.
+   * 
+ * + * LandMapDataNotFound = 24511; + */ + LandMapDataNotFound(24511), + /** + *
+   *=============================================================================================
+   * 빌딩 관련 오류 : 25000 ~
+   *=============================================================================================
+   * 
+ * + * BuildingMetaDataNotFound = 25001; + */ + BuildingMetaDataNotFound(25001), + /** + *
+   * 빌딩을 찾지 못했습니다.
+   * 
+ * + * BuildingNotFound = 25002; + */ + BuildingNotFound(25002), + /** + *
+   * BuildingDoc 로딩중에 중복된 빌딩이 발견되었습니다.
+   * 
+ * + * BuildingDocLoadDuplicatedBuilding = 25003; + */ + BuildingDocLoadDuplicatedBuilding(25003), + /** + *
+   * BuildingDoc이 null 입니다.
+   * 
+ * + * BuildingDocIsNull = 25004; + */ + BuildingDocIsNull(25004), + /** + *
+   * 소유 빌딩을 찾지 못했습니다.
+   * 
+ * + * OwnedBuildingNotFound = 25005; + */ + OwnedBuildingNotFound(25005), + /** + *
+   * OwnedBuildingDoc 로딩중에 중복된 빌딩이 발견되었습니다.
+   * 
+ * + * OwnedBuildingDocLoadDuplicatedOwnedBuilding = 25006; + */ + OwnedBuildingDocLoadDuplicatedOwnedBuilding(25006), + /** + *
+   * OwnedBuildingDoc이 null 입니다.
+   * 
+ * + * OwnedBuildingDocIsNull = 25007; + */ + OwnedBuildingDocIsNull(25007), + /** + *
+   * 빌딩 맵트리 데이터를 찾지 못했습니다.
+   * 
+ * + * BuildingMapTreeDataNotFound = 25008; + */ + BuildingMapTreeDataNotFound(25008), + /** + *
+   * 빌딩 맵트리 하위 룸을 찾지 못했습니다.
+   * 
+ * + * BuildingMapTreeChildRoomNotFound = 25009; + */ + BuildingMapTreeChildRoomNotFound(25009), + /** + *
+   * 빌딩 층이 비어 있지 않습니다.
+   * 
+ * + * BuildingFloorIsNotEmpty = 25010; + */ + BuildingFloorIsNotEmpty(25010), + /** + *
+   * 빌딩 맵 데이터를 찾지 못했습니다.
+   * 
+ * + * BuildingMapDataNotFound = 25011; + */ + BuildingMapDataNotFound(25011), + /** + *
+   *=============================================================================================
+   * 마이홈 관련 오류 : 25500 ~
+   *=============================================================================================
+   * 
+ * + * MyHomeMetaDataNotFound = 25501; + */ + MyHomeMetaDataNotFound(25501), + /** + *
+   * 마이홈을 찾지 못했습니다.
+   * 
+ * + * MyHomeNotFound = 25502; + */ + MyHomeNotFound(25502), + /** + *
+   * MyHomeDoc 로딩중에 중복된 마이홈이 발견되었습니다.
+   * 
+ * + * MyHomeDocLoadDuplicatedMyHome = 25503; + */ + MyHomeDocLoadDuplicatedMyHome(25503), + /** + *
+   * 마이홈이 이미 존재합니다.
+   * 
+ * + * MyHomeAlreadyExist = 25504; + */ + MyHomeAlreadyExist(25504), + /** + *
+   * MyHomeDoc이 null 입니다.
+   * 
+ * + * MyHomeDocIsNull = 25505; + */ + MyHomeDocIsNull(25505), + /** + *
+   * 마이홈이 내 것이 아닙니다.
+   * 
+ * + * MyHomeIsNotMine = 25506; + */ + MyHomeIsNotMine(25506), + /** + *
+   * 제작중일때는 마이홈을 변경할수 없습니다.
+   * 
+ * + * MyHomeCantExchangeWhenCrafting = 25507; + */ + MyHomeCantExchangeWhenCrafting(25507), + /** + *
+   * EditableRoom 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * EditableRoomMetaDataNotFound = 25508; + */ + EditableRoomMetaDataNotFound(25508), + /** + *
+   * EditableFramework 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * EditableFrameworkMetaDataNotFound = 25509; + */ + EditableFrameworkMetaDataNotFound(25509), + /** + *
+   * 사용 가능한  InteriorPoint를 초과 하였습니다.
+   * 
+ * + * InteriorPointExceed = 25510; + */ + InteriorPointExceed(25510), + /** + *
+   * 마이홈 슬롯이 부족 합니다.
+   * 
+ * + * MyhomeNotEnoughSlot = 25511; + */ + MyhomeNotEnoughSlot(25511), + /** + *
+   * 마이홈이 선택되어 있습니다.
+   * 
+ * + * MyhomeIsSelected = 25512; + */ + MyhomeIsSelected(25512), + /** + *
+   * 마이홈 이름 문자열 길이가 짧습니다
+   * 
+ * + * MyhomeNameLengthShort = 25513; + */ + MyhomeNameLengthShort(25513), + /** + *
+   * 마이홈 이름 문자열 길이가 깁니다.
+   * 
+ * + * MyhomeNameLengthLong = 25514; + */ + MyhomeNameLengthLong(25514), + /** + *
+   * 마이홈 이름이 중복 되었습니다.
+   * 
+ * + * MyhomeNameDuplicated = 25515; + */ + MyhomeNameDuplicated(25515), + /** + *
+   * 마이홈 인터폰이 없습니다. 
+   * 
+ * + * MyhomeInterphoneNotExist = 25516; + */ + MyhomeInterphoneNotExist(25516), + /** + *
+   * 마이홈 시작 지점이 없습니다. 
+   * 
+ * + * MyhomeStartPointNotExist = 25517; + */ + MyhomeStartPointNotExist(25517), + /** + *
+   * 마이홈 인터폰이 허용 갯수를 초과 하였습니다.
+   * 
+ * + * MyhomeInterphoneExceed = 25518; + */ + MyhomeInterphoneExceed(25518), + /** + *
+   * 마이홈 시작 지점이 허용 갯수를 초과 하였습니다.
+   * 
+ * + * MyhomeStartPointExceed = 25519; + */ + MyhomeStartPointExceed(25519), + /** + *
+   * 의상 제작대 허용 갯수를 초과 하였습니다. 
+   * 
+ * + * CraftingClothesExceed = 25520; + */ + CraftingClothesExceed(25520), + /** + *
+   * 요리 제작대 허용 갯수를 초과 하였습니다.
+   * 
+ * + * CraftingCookingExceed = 25521; + */ + CraftingCookingExceed(25521), + /** + *
+   * 가구 제작대 허용 갯수를 초과 하였습니다.
+   * 
+ * + * CraftingFurnitureExceed = 25522; + */ + CraftingFurnitureExceed(25522), + /** + *
+   * 앵커가 마이홈에 배치되어 있지 않습니다.
+   * 
+ * + * AnchorIsNotInMyhome = 25523; + */ + AnchorIsNotInMyhome(25523), + /** + *
+   * 제작 진행중인 제작대를 제거 할 수 없습니다.
+   * 
+ * + * DoNotRemoveProcessCraftingAnchor = 25524; + */ + DoNotRemoveProcessCraftingAnchor(25524), + /** + *
+   * 앵커 Guid가 중복 되었습니다.
+   * 
+ * + * AnchorGuidDuplicate = 25525; + */ + AnchorGuidDuplicate(25525), + /** + *
+   * 마이홈이 편집 중 입니다.
+   * 
+ * + * MyhomeIsEditting = 25526; + */ + MyhomeIsEditting(25526), + /** + *
+   * 마이홈이 렌탈 중 입니다.
+   * 
+ * + * MyhomeIsOnRental = 25527; + */ + MyhomeIsOnRental(25527), + /** + *
+   *=============================================================================================
+   * 미니맵 마커 관련 오류 : 26000 ~
+   *=============================================================================================
+   * 
+ * + * MinimapMarkerNotFound = 26001; + */ + MinimapMarkerNotFound(26001), + /** + *
+   * MinimapMarkerDoc 로딩중에 중복된 미니맵 마커가 발견되었습니다.
+   * 
+ * + * MinimapMarkerDocLoadDuplicatedMinimapMarker = 26002; + */ + MinimapMarkerDocLoadDuplicatedMinimapMarker(26002), + /** + *
+   * MinimapMarkerDoc이 null 입니다.
+   * 
+ * + * MinimapMarkerDocIsNull = 26003; + */ + MinimapMarkerDocIsNull(26003), + /** + *
+   *=============================================================================================
+   * 카트 관련 오류 : 26500 ~
+   *=============================================================================================
+   * 
+ * + * CartMetaDataNotFound = 26501; + */ + CartMetaDataNotFound(26501), + /** + *
+   * 카트 용량이 가득 찼습니다.
+   * 
+ * + * CartMaxCountExceed = 26502; + */ + CartMaxCountExceed(26502), + /** + *
+   * 카트에 아이템 스텍이 가득 찼습니다.
+   * 
+ * + * CartStackCountInvalid = 26503; + */ + CartStackCountInvalid(26503), + /** + *
+   * 카트의 아이템 갯수가 요청값보다 낮습니다.
+   * 
+ * + * CartStackCountNotEnough = 26504; + */ + CartStackCountNotEnough(26504), + /** + *
+   * 카트에서 아이템을 찾지 못했습니다.
+   * 
+ * + * CartItemNotFound = 26505; + */ + CartItemNotFound(26505), + /** + *
+   * 등록되지 않은 재화타입 입니다.
+   * 
+ * + * CartNotRegistryCurrencyType = 26506; + */ + CartNotRegistryCurrencyType(26506), + /** + *
+   * 카트 CurrencyType 오류 입니다.
+   * 
+ * + * CartInvalidCurrencyType = 26507; + */ + CartInvalidCurrencyType(26507), + /** + *
+   * CartDoc이 null 입니다.
+   * 
+ * + * CartDocIsNull = 26508; + */ + CartDocIsNull(26508), + /** + *
+   *=============================================================================================
+   * 채팅 관련 오류 : 27000 ~
+   *=============================================================================================
+   * 
+ * + * ChatSendSelfFailed = 27001; + */ + ChatSendSelfFailed(27001), + /** + *
+   * 채팅 ChatType 오류 입니다.
+   * 
+ * + * ChatInvalidChatType = 27002; + */ + ChatInvalidChatType(27002), + /** + *
+   * 귓속말을 블락한 유저에게 보낼 수 없습니다.
+   * 
+ * + * ChatBlockUserCannotWhisper = 27003; + */ + ChatBlockUserCannotWhisper(27003), + /** + *
+   * 채팅 메시지 길이를 초과했습니다.
+   * 
+ * + * ChatInvalidMessageLength = 27004; + */ + ChatInvalidMessageLength(27004), + /** + *
+   * 금칙어가 포함되어 있습니다.
+   * 
+ * + * ChatIncludeBanWord = 27005; + */ + ChatIncludeBanWord(27005), + /** + *
+   * NoticeChatDoc이 null 입니다.
+   * 
+ * + * NoticeChatDocIsNull = 27501; + */ + NoticeChatDocIsNull(27501), + /** + *
+   *=============================================================================================
+   * 탈출 관련 오류 : 28000 ~
+   *=============================================================================================
+   * 
+ * + * EscapePositionNotAvailableTime = 28001; + */ + EscapePositionNotAvailableTime(28001), + /** + *
+   * EscapePositionDoc이 null 입니다.
+   * 
+ * + * EscapePositionDocIsNull = 28002; + */ + EscapePositionDocIsNull(28002), + /** + *
+   *=============================================================================================
+   * 블록 유저 관련 오류 : 28500 ~
+   *=============================================================================================
+   * 
+ * + * BlockUserDocIsNull = 28501; + */ + BlockUserDocIsNull(28501), + /** + *
+   *=============================================================================================
+   * 캐릭터 프로필 관련 오류 : 29000 ~
+   *=============================================================================================
+   * 
+ * + * CharacterProfileDocIsNull = 29001; + */ + CharacterProfileDocIsNull(29001), + /** + *
+   *=============================================================================================
+   * 커스텀 디파인 Data 관련 오류 : 29300 ~
+   *=============================================================================================
+   * 
+ * + * CustomDefinedDataDocIsNull = 29301; + */ + CustomDefinedDataDocIsNull(29301), + /** + *
+   *=============================================================================================
+   * 커스텀 디파인 UI 관련 오류 : 29500 ~
+   *=============================================================================================
+   * 
+ * + * CustomDefinedUiDocIsNull = 29501; + */ + CustomDefinedUiDocIsNull(29501), + /** + *
+   *=============================================================================================
+   * 게임 옵션 관련 오류 : 30000 ~
+   *=============================================================================================
+   * 
+ * + * GameOptionDocIsNull = 30001; + */ + GameOptionDocIsNull(30001), + /** + *
+   *=============================================================================================
+   * 레벨 관련 오류 : 30500 ~
+   *=============================================================================================
+   * 
+ * + * LevelDocIsNull = 30501; + */ + LevelDocIsNull(30501), + /** + *
+   *=============================================================================================
+   * 위치 관련 오류 : 31000 ~
+   *=============================================================================================
+   * 
+ * + * LocationDocIsNull = 31001; + */ + LocationDocIsNull(31001), + /** + *
+   * 사용 할 수 없는 장소 입니다.
+   * 
+ * + * NotUsablePlace = 31002; + */ + NotUsablePlace(31002), + /** + *
+   * Redis에 LocationCache 정보 저장을 실패했습니다.
+   * 
+ * + * RedisLocationCacheSetFailed = 31003; + */ + RedisLocationCacheSetFailed(31003), + /** + *
+   *=============================================================================================
+   * 재화 관련 오류 : 32000 ~
+   *=============================================================================================
+   * 
+ * + * MoneyDocIsNull = 32001; + */ + MoneyDocIsNull(32001), + /** + *
+   * CurrencyControl이 초기화되지 않았습니다.
+   * 
+ * + * MoneyControlNotInitialize = 32002; + */ + MoneyControlNotInitialize(32002), + /** + *
+   * 금전이 부족합니다.
+   * 
+ * + * MoneyNotEnough = 32003; + */ + MoneyNotEnough(32003), + /** + *
+   * 금전 최대 보유량을 초과 했습니다.
+   * 
+ * + * MoneyMaxCountExceeded = 32004; + */ + MoneyMaxCountExceeded(32004), + /** + *
+   * 재화 메타 데이터를 찾을 수 없습니다.
+   * 
+ * + * CurrencyMetaDataNotFound = 32005; + */ + CurrencyMetaDataNotFound(32005), + /** + *
+   *=============================================================================================
+   * 상점 관련 오류 : 33000 ~
+   *=============================================================================================
+   * 
+ * + * ShopProductTradingMeterDocIsNull = 33001; + */ + ShopProductTradingMeterDocIsNull(33001), + /** + *
+   * MyHome 에 설치된 Item 입니다.
+   * 
+ * + * ShopIsMyHomeItem = 33002; + */ + ShopIsMyHomeItem(33002), + /** + *
+   * ShopProduct 에 Shop Buy Type 이 잘못되었습니다.
+   * 
+ * + * InvalidShopBuyType = 33003; + */ + InvalidShopBuyType(33003), + /** + *
+   *리뉴얼 할 수 없는 상점입니다.
+   * 
+ * + * ShopProductCannotRenwal = 33004; + */ + ShopProductCannotRenwal(33004), + /** + *
+   *자동 갱신시간 전 후 1분 동안은 갱신 할 수 없다.
+   * 
+ * + * ShopProductNotRenwalTime = 33005; + */ + ShopProductNotRenwalTime(33005), + /** + *
+   *갱신 가능한 횟수를 이미 다 사용했습니다.
+   * 
+ * + * ShopProductRenewalCountAlreadyMax = 33006; + */ + ShopProductRenewalCountAlreadyMax(33006), + /** + *
+   *=============================================================================================
+   * 보상 관련 오류 : 34000 ~
+   *=============================================================================================
+   * 
+ * + * RewardInfoNotExist = 34000; + */ + RewardInfoNotExist(34000), + /** + *
+   * 보상 타입 오류
+   * 
+ * + * RewardInvalidType = 34001; + */ + RewardInvalidType(34001), + /** + *
+   * 보상 타입 값 오류
+   * 
+ * + * RewardInvalidTypeValue = 34002; + */ + RewardInvalidTypeValue(34002), + /** + *
+   * 
+   * 
+ * + * NotRequireAttributeValue = 34003; + */ + NotRequireAttributeValue(34003), + /** + *
+   * 보상 그룹 아이디 문자열을 정수로 변환하는데 오류가 발생했습니다.
+   * 
+ * + * RewardGroupIdParsingFromStringToIntErorr = 34004; + */ + RewardGroupIdParsingFromStringToIntErorr(34004), + /** + *
+   *=============================================================================================
+   * Claime 관련 오류 : 35000 ~
+   *=============================================================================================
+   * 
+ * + * ClaimInvalidType = 35000; + */ + ClaimInvalidType(35000), + /** + *
+   *클레임 멤버십 없음
+   * 
+ * + * ClaimMembershipNotExist = 35001; + */ + ClaimMembershipNotExist(35001), + /** + *
+   *클레임 정보 없음
+   * 
+ * + * ClaimInfoNotExist = 35002; + */ + ClaimInfoNotExist(35002), + /** + *
+   *클레임 보상시간이 안됐다
+   * 
+ * + * ClaimRewardNotEnoughTime = 35003; + */ + ClaimRewardNotEnoughTime(35003), + /** + *
+   *클레임	보상 이벤트 종료
+   * 
+ * + * ClaimRewardEventEnd = 35004; + */ + ClaimRewardEventEnd(35004), + /** + *
+   *ClaimDoc	존재하지 않음
+   * 
+ * + * ClaimDocIsNull = 35005; + */ + ClaimDocIsNull(35005), + /** + *
+   *=============================================================================================
+   * 제작 관련 오류 : 36000 ~
+   *=============================================================================================
+   * 
+ * + * CraftRecipeDocIsNull = 36001; + */ + CraftRecipeDocIsNull(36001), + /** + *
+   * CraftHelpDoc이 null 입니다.
+   * 
+ * + * CraftHelpDocIsNull = 36002; + */ + CraftHelpDocIsNull(36002), + /** + *
+   * CraftDoc이 null 입니다.
+   * 
+ * + * CraftDocIsNull = 36003; + */ + CraftDocIsNull(36003), + /** + *
+   * Crafting 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * CraftingMetaDataNotFound = 36004; + */ + CraftingMetaDataNotFound(36004), + /** + *
+   * 제작이 완료되지 않았습니다.
+   * 
+ * + * CraftingNotFinish = 36005; + */ + CraftingNotFinish(36005), + /** + *
+   * 제작중이지 않은 제작대 입니다.
+   * 
+ * + * CraftingNotCraftingAnchor = 36006; + */ + CraftingNotCraftingAnchor(36006), + /** + *
+   * 제작대가 이미 사용중입니다.
+   * 
+ * + * CraftingAlreadyCrafting = 36007; + */ + CraftingAlreadyCrafting(36007), + /** + *
+   * 제작대 프랍이 배치되어 있지 않습니다.
+   * 
+ * + * CraftingAnchorIsNotPlaced = 36008; + */ + CraftingAnchorIsNotPlaced(36008), + /** + *
+   * 제작대 레시피가 등록되어 있지 않습니다.
+   * 
+ * + * CraftingRecipeIsNotRegister = 36009; + */ + CraftingRecipeIsNotRegister(36009), + /** + *
+   * 레시피와 해당하지 않는 제작대 입니다.
+   * 
+ * + * CraftingAnchorIsNotMatchWithRecipe = 36010; + */ + CraftingAnchorIsNotMatchWithRecipe(36010), + /** + *
+   * 도움 줄수 있는 횟수가 초과했습니다.
+   * 
+ * + * CraftingHelpCountOver = 36011; + */ + CraftingHelpCountOver(36011), + /** + *
+   * 같은 유저에게 도움줄 횟수가 초과했습니다.
+   * 
+ * + * CraftingHelpSameUserCountOver = 36012; + */ + CraftingHelpSameUserCountOver(36012), + /** + *
+   * 도움 받을수 있는 횟수가 초과했습니다.
+   * 
+ * + * CraftingHelpReceivedCountOver = 36013; + */ + CraftingHelpReceivedCountOver(36013), + /** + *
+   * CraftHelpDoc이 비어있습니다.
+   * 
+ * + * CraftHelpDocIsEmpty = 36014; + */ + CraftHelpDocIsEmpty(36014), + /** + *
+   * CraftDoc이 비어있습니다.
+   * 
+ * + * CraftDocIsEmpty = 36015; + */ + CraftDocIsEmpty(36015), + /** + *
+   * 이미 제작이 완료되어 도움을 줄수 없습니다.
+   * 
+ * + * CraftingAlreadyFinish = 36016; + */ + CraftingAlreadyFinish(36016), + /** + *
+   * 제작대 레시피가 이미 등록되어 있습니다.
+   * 
+ * + * CraftingRecipeIsAlreadyRegister = 36017; + */ + CraftingRecipeIsAlreadyRegister(36017), + /** + *
+   *=============================================================================================
+   * UGQ 관련 오류 : 37000 ~
+   *=============================================================================================
+   * 
+ * + * UgqApiServerRequestFailed = 37001; + */ + UgqApiServerRequestFailed(37001), + /** + *
+   * API Server와의 통신 후 객체 변환 중 오류발생
+   * 
+ * + * UgqApiServerConvertToObjectFailed = 37002; + */ + UgqApiServerConvertToObjectFailed(37002), + /** + *
+   * API Server검색 카테고리가 유효하지 않습니다.
+   * 
+ * + * UgqApiServerInvaildSearchCategoryType = 37003; + */ + UgqApiServerInvaildSearchCategoryType(37003), + /** + *
+   * ugc 신고하기의 내용 길이가 맞지 않습니다.
+   * 
+ * + * UgqReportInvalidTextLength = 37004; + */ + UgqReportInvalidTextLength(37004), + /** + *
+   * UGQ 메타 정보가 없습니다.
+   * 
+ * + * UgqQuestMetaNotExist = 37005; + */ + UgqQuestMetaNotExist(37005), + /** + *
+   * UGQ 재화를 차감하기 위한 request 요청이 실패
+   * 
+ * + * UgqBeginCreatorPointFail = 37006; + */ + UgqBeginCreatorPointFail(37006), + /** + *
+   * shutdown 된 Ugq Revision 입니다.
+   * 
+ * + * UgqQuestShutdowned = 37007; + */ + UgqQuestShutdowned(37007), + /** + *
+   * 이미 Test Complete 한 단계입니다.
+   * 
+ * + * UgqTestQuestAlreadyCompleted = 37008; + */ + UgqTestQuestAlreadyCompleted(37008), + /** + *
+   * 아이템 사용해서 UGQ를 재 할당 받으려고 했으나, 해당 퀘스트에 대해서 완료한 기록이 없어서 에러
+   * 
+ * + * UgqReassignUsingItemErrorCauseQuestNotComplete = 37009; + */ + UgqReassignUsingItemErrorCauseQuestNotComplete(37009), + /** + *
+   * 아이템 사용해서 UGQ를 재 할당 받으려고 했으나, 이미 진행중인 퀘스트 존재
+   * 
+ * + * UgqReassignUsingItemErrorCauseQuestAlreadyExist = 37010; + */ + UgqReassignUsingItemErrorCauseQuestAlreadyExist(37010), + /** + *
+   * 아이템 사용해서 UGQ를 재 할당 받으려고 했으나, 새로운 리비전이 업데이트 되었음
+   * 
+ * + * UgqReassignUsingItemErrorCauseNewRevisionUpdated = 37011; + */ + UgqReassignUsingItemErrorCauseNewRevisionUpdated(37011), + /** + *
+   * UGQ데이터의 리비전 정보가 유효하지 않습니다.
+   * 
+ * + * UgqQuestDataInvalidRevision = 37012; + */ + UgqQuestDataInvalidRevision(37012), + /** + *
+   * UGQ state가 유효하지 않아 포기할수 없다.
+   * 
+ * + * UgqAbortCannotCauseInvalidState = 37013; + */ + UgqAbortCannotCauseInvalidState(37013), + /** + *
+   * UGQ Meta 생성 클래스가 존재 하지 않습니다. 
+   * 
+ * + * UgqMetaGeneratorNotExist = 37014; + */ + UgqMetaGeneratorNotExist(37014), + /** + *
+   * UGQ Revision이 업데이트가 되었습니다.
+   * 
+ * + * UgqQuestDataRevisionUpdated = 37015; + */ + UgqQuestDataRevisionUpdated(37015), + /** + *
+   * UGQ 최신 리비전은 요청한 리비전보다 작을 수 없습니다.
+   * 
+ * + * UgqRevisionCannotSmallerThanRequestedRevision = 37016; + */ + UgqRevisionCannotSmallerThanRequestedRevision(37016), + /** + *
+   * UGQ 리비전의 상태가 Live가 아닙니다.
+   * 
+ * + * UgqRevisionStateNotLive = 37017; + */ + UgqRevisionStateNotLive(37017), + /** + *
+   * UGQ 리비전의 상태가 Live 혹은 Test 상태인경우만 ugq 데이터 호출이 가능
+   * 
+ * + * UgqRevisionStateOnlyLivenAndTest = 37018; + */ + UgqRevisionStateOnlyLivenAndTest(37018), + /** + *
+   * api 서버를 못찾을 경우
+   * 
+ * + * UgqApiServerHttpRequestException = 37019; + */ + UgqApiServerHttpRequestException(37019), + /** + *
+   * 리비전이 변경됐습니다.
+   * 
+ * + * UgqQuestRevisionChanged = 37020; + */ + UgqQuestRevisionChanged(37020), + /** + *
+   * 본인 소유의 ugq는 본인이 받을수 없습니다.
+   * 
+ * + * UgqAssignCannotOwnedQuest = 37021; + */ + UgqAssignCannotOwnedQuest(37021), + /** + *
+   * 이미 이전 리비전의 퀘스트를 소유중입니다.
+   * 
+ * + * UgqAlreadyOwnedOldRevisionQuest = 37022; + */ + UgqAlreadyOwnedOldRevisionQuest(37022), + /** + *
+   *=============================================================================================
+   * 시즌 패스 관련 오류 : 38000 ~
+   *=============================================================================================
+   * 
+ * + * SeasonPassDocIsNull = 38001; + */ + SeasonPassDocIsNull(38001), + /** + *
+   * SeasonPass 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * SeasonPassMetaDataNotFound = 38002; + */ + SeasonPassMetaDataNotFound(38002), + /** + *
+   * SeasonPassReward 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * SeasonPassRewardMetaDataNotFound = 38003; + */ + SeasonPassRewardMetaDataNotFound(38003), + /** + *
+   * 최대 등급에 도달해 더이상 경험치 획득할수 없습니다.
+   * 
+ * + * SeasonPassMaxGrade = 38004; + */ + SeasonPassMaxGrade(38004), + /** + *
+   * 시즌 패스 기간이 아닙니다.
+   * 
+ * + * SeasonPassNotAblePeriod = 38005; + */ + SeasonPassNotAblePeriod(38005), + /** + *
+   * 유료 시즌 패스를 이미 구입 했습니다.
+   * 
+ * + * SeasonPassAlreadyBuyCharged = 38006; + */ + SeasonPassAlreadyBuyCharged(38006), + /** + *
+   * 이미 수령한 보상입니다.
+   * 
+ * + * SeasonPassAlreadyTakenReward = 38007; + */ + SeasonPassAlreadyTakenReward(38007), + /** + *
+   * 해당 등급에 도달하지 못한 보상입니다.
+   * 
+ * + * SeasonPassNotEnoughGrade = 38008; + */ + SeasonPassNotEnoughGrade(38008), + /** + *
+   * 해당 보상은 유료 시즌 패스가 필요합니다.
+   * 
+ * + * SeasonPassNeedChargedPass = 38009; + */ + SeasonPassNeedChargedPass(38009), + /** + *
+   * 경험치 획득이 양수가 아닙니다.
+   * 
+ * + * SeasonPassInvalidExp = 38010; + */ + SeasonPassInvalidExp(38010), + /** + *
+   *=============================================================================================
+   * Meta 데이터 오류 : 40000 ~
+   *=============================================================================================
+   * 
+ * + * GameConfigMetaDataNotFound = 40001; + */ + GameConfigMetaDataNotFound(40001), + /** + *
+   * AttributeDefineition 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * AttributeDefineitionMetaDataNotFound = 40002; + */ + AttributeDefineitionMetaDataNotFound(40002), + /** + *
+   * Requirement 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * RequirementMetaDataNotFound = 40003; + */ + RequirementMetaDataNotFound(40003), + /** + *
+   * SystemMail 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * SystemMailMetaDataNotFound = 40004; + */ + SystemMailMetaDataNotFound(40004), + /** + *
+   * Interior 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * InteriorMetaDataNotFound = 40005; + */ + InteriorMetaDataNotFound(40005), + /** + *
+   * PropGroup 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * PropGroupMetaDataNotFound = 40006; + */ + PropGroupMetaDataNotFound(40006), + /** + *
+   *=============================================================================================
+   * Ai Chat 서버 오류 : 41000 ~
+   *=============================================================================================
+   * 
+ * + * AiChatServerStart = 41001; + */ + AiChatServerStart(41001), + /** + *
+   * AI Chat 서버 요청이 실패했습니다.
+   * 
+ * + * AiChatServerReqFailed = 41002; + */ + AiChatServerReqFailed(41002), + /** + *
+   * Request가 잘못되었습니다.
+   * 
+ * + * AiChatServerBadrequest = 41003; + */ + AiChatServerBadrequest(41003), + /** + *
+   * 
+   * 
+ * + * AiChatServerForbidden = 41004; + */ + AiChatServerForbidden(41004), + /** + *
+   * 인증되지 않은 사용자입니다.
+   * 
+ * + * AiChatServerUnauthorized = 41005; + */ + AiChatServerUnauthorized(41005), + /** + *
+   * 사용자를 찾지 못했습니다.
+   * 
+ * + * AiChatServerUserNotFound = 41006; + */ + AiChatServerUserNotFound(41006), + /** + *
+   * 캐릭터를 찾지 못했습니다.
+   * 
+ * + * AiChatServerCharacterNotFound = 41007; + */ + AiChatServerCharacterNotFound(41007), + /** + *
+   * 리액션를 찾지 못했습니다.
+   * 
+ * + * AiChatServerReactionNotFound = 41008; + */ + AiChatServerReactionNotFound(41008), + /** + *
+   * 예시문구를 찾지 못했습니다.
+   * 
+ * + * AiChatServerExampleDialongNotFound = 41009; + */ + AiChatServerExampleDialongNotFound(41009), + /** + *
+   * 세션을 찾지 못했습니다.
+   * 
+ * + * AiChatServerSessionNotFound = 41010; + */ + AiChatServerSessionNotFound(41010), + /** + *
+   * 모델을 찾지 못했습니다.
+   * 
+ * + * AiChatServerModelNotFound = 41011; + */ + AiChatServerModelNotFound(41011), + /** + *
+   * 포인트가 충분하지 않습니다.
+   * 
+ * + * AiChatServerNotEnoughPoint = 41012; + */ + AiChatServerNotEnoughPoint(41012), + /** + *
+   * 인자가 잘못되었습니다.
+   * 
+ * + * AiChatServerInvalidParameters = 41013; + */ + AiChatServerInvalidParameters(41013), + /** + *
+   * 세션 리미트를 초과하였습니다.
+   * 
+ * + * AiChatServerSessionLimitExceeded = 41014; + */ + AiChatServerSessionLimitExceeded(41014), + /** + *
+   * 서명이 잘못되었습니다.
+   * 
+ * + * AiChatServerInvalidSignature = 41015; + */ + AiChatServerInvalidSignature(41015), + /** + *
+   * 유저가 이미 존재합니다.
+   * 
+ * + * AiChatServerUserAlreadyExists = 41016; + */ + AiChatServerUserAlreadyExists(41016), + /** + *
+   * 삭제에 실패했습니다.
+   * 
+ * + * AiChatServerRemoveFailed = 41017; + */ + AiChatServerRemoveFailed(41017), + /** + *
+   * 중복된 Guid입니다.
+   * 
+ * + * AiChatServerDuplicateGuid = 41018; + */ + AiChatServerDuplicateGuid(41018), + /** + *
+   * 중복된 Id입니다.
+   * 
+ * + * AiChatServerDuplicateId = 41019; + */ + AiChatServerDuplicateId(41019), + /** + *
+   * 채팅을 찾지 못했습니다.
+   * 
+ * + * AiChatServerChatNotFound = 41020; + */ + AiChatServerChatNotFound(41020), + /** + *
+   * JWT 사용 기간이 만료 되었습니다.
+   * 
+ * + * AiChatServerTokenExpired = 41021; + */ + AiChatServerTokenExpired(41021), + /** + *
+   * 서버 내부 오류입니다.
+   * 
+ * + * AiChatServerInternalServer = 41022; + */ + AiChatServerInternalServer(41022), + /** + *
+   * 잘못된 메시지입니다.
+   * 
+ * + * AiChatServerInvalidMessage = 41023; + */ + AiChatServerInvalidMessage(41023), + /** + *
+   * 유저만 사용 가능한 API 입니다. 현재 JWT 의 role 이 user가 아닙니다.
+   * 
+ * + * AiChatServerUserOnlyFeature = 41024; + */ + AiChatServerUserOnlyFeature(41024), + /** + *
+   * 해당 API에 접근 할 권한이 없습니다. 해당 리소스의 소유자 또는 운영자만 접근 가능합니다.
+   * 
+ * + * AiChatServerOwnershipError = 41025; + */ + AiChatServerOwnershipError(41025), + /** + *
+   * 오더를 찾지 못했습니다.
+   * 
+ * + * AiChatServerChargeOrderNotFoundError = 41026; + */ + AiChatServerChargeOrderNotFoundError(41026), + /** + *
+   * 클라이언트용 Ai Chat Error Code EndPoint
+   * 
+ * + * AiChatServerEnd = 41100; + */ + AiChatServerEnd(41100), + /** + *
+   * 포인트 충전 재시도
+   * 
+ * + * AiChatServerRetryChargePoint = 41101; + */ + AiChatServerRetryChargePoint(41101), + /** + *
+   * Aichat 비활성화 상태입니다.
+   * 
+ * + * AiChatServerInactive = 41102; + */ + AiChatServerInactive(41102), + /** + *
+   *=============================================================================================
+   * Npc State 관련 오류
+   *=============================================================================================
+   * 
+ * + * NpcIsBusy = 42001; + */ + NpcIsBusy(42001), + /** + *
+   *=============================================================================================
+   * 칼리움 컨버터 관련 오류 : 43000 ~
+   *=============================================================================================
+   * 
+ * + * LackOfDailyCalium = 43001; + */ + LackOfDailyCalium(43001), + /** + *
+   * 전체 변환 제공 Calium 이 부족합니다.
+   * 
+ * + * LackOfTotalCalium = 43002; + */ + LackOfTotalCalium(43002), + /** + *
+   * Calium 변환에 필요한 재화가 부족합니다.
+   * 
+ * + * LackOfCommissionCurrency = 43003; + */ + LackOfCommissionCurrency(43003), + /** + *
+   * 인벤토리에 요청한 변환 Material 수량이 부족합니다.
+   * 
+ * + * LackOfCommissionMaterials = 43004; + */ + LackOfCommissionMaterials(43004), + /** + *
+   * 입력한 SlotId 가 잘못되었습니다.
+   * 
+ * + * InvalidMaterialSlotId = 43005; + */ + InvalidMaterialSlotId(43005), + /** + *
+   * Calium Data 로딩에 실패했습니다.
+   * 
+ * + * FailToLoadCalium = 43006; + */ + FailToLoadCalium(43006), + /** + *
+   * Calium Data 저장에 실패했습니다.
+   * 
+ * + * FailToSaveCaliumDynamo = 43007; + */ + FailToSaveCaliumDynamo(43007), + /** + *
+   *=============================================================================================
+   * 서비스 관련 오류
+   *=============================================================================================
+   * 
+ * + * AccountLoginBlockEnable = 50001; + */ + AccountLoginBlockEnable(50001), + /** + *
+   *=============================================================================================
+   * 인스턴스룸 관련 오류 : 51000 ~
+   *=============================================================================================
+   * 
+ * + * InstanceRoomException = 51001; + */ + InstanceRoomException(51001), + /** + *
+   * 인스턴스 룸 추가 데이터 저장 오류입니다.
+   * 
+ * + * InstanceRoomCannotWriteExtraInfo = 51002; + */ + InstanceRoomCannotWriteExtraInfo(51002), + /** + *
+   * 인스턴스 룸을 위한 시즌패스 구매를 하지 않았습니다.
+   * 
+ * + * InstanceRoomNotChargedSeasonPass = 51003; + */ + InstanceRoomNotChargedSeasonPass(51003), + /** + *
+   * 인스턴스 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * InstanceMetaDataNotFound = 51004; + */ + InstanceMetaDataNotFound(51004), + /** + *
+   * 인스턴스 메타 데이타 OverLimit 가 잘못되었습니다.
+   * 
+ * + * InstanceMetaDataOverLimitWrong = 51005; + */ + InstanceMetaDataOverLimitWrong(51005), + /** + *
+   * AccessType 오류 입니다.
+   * 
+ * + * InstanceAccessTypeInvalid = 51006; + */ + InstanceAccessTypeInvalid(51006), + /** + *
+   * 인스턴스 입장에 필요한 아이템이 충분하지 않습니다.
+   * 
+ * + * InstanceAccessItemNotEnough = 51007; + */ + InstanceAccessItemNotEnough(51007), + /** + *
+   * 인스턴스 입장에 필요한 시즌패스를 구매 하지 않았습니다.
+   * 
+ * + * InstanceAccessSeasonPassNotCharged = 51008; + */ + InstanceAccessSeasonPassNotCharged(51008), + /** + *
+   * 인스턴스 룸이 가득 찼습니다.
+   * 
+ * + * InstanceRoomIsFull = 51009; + */ + InstanceRoomIsFull(51009), + /** + *
+   * 인스턴스 룸 Id 가 중복 되었습니다.
+   * 
+ * + * InstanceRoomIdDuplicated = 51010; + */ + InstanceRoomIdDuplicated(51010), + /** + *
+   * 인스턴스 룸이 레디스에 존재하지 않습니다.
+   * 
+ * + * InstanceRoomNotExistAtRedis = 51011; + */ + InstanceRoomNotExistAtRedis(51011), + /** + *
+   *=============================================================================================
+   * Task Reservation 관련 오류 : 52000 ~
+   *=============================================================================================
+   * 
+ * + * TaskReservationDocIsNull = 52001; + */ + TaskReservationDocIsNull(52001), + /** + *
+   *=============================================================================================
+   * Billing 관련 오류. Web api : 53000 ~
+   *=============================================================================================
+   * 
+ * + * BillingGetPurchaseInfoFailed = 53001; + */ + BillingGetPurchaseInfoFailed(53001), + /** + *
+   * billing 상태 업데이트 실패 입니다.
+   * 
+ * + * BillingUpdateStateFailed = 53002; + */ + BillingUpdateStateFailed(53002), + /** + *
+   * billing 확인되지 않은 상태 입니다.
+   * 
+ * + * BillingInvalidStateType = 53003; + */ + BillingInvalidStateType(53003), + /** + *
+   * billing productMetaId의 타입 변환에 실패했습니다.
+   * 
+ * + * BillingFailedParseProductMetaIdType = 53004; + */ + BillingFailedParseProductMetaIdType(53004), + /** + *
+   * billing 정의되어 있지 않은 stateType입니다.
+   * 
+ * + * BillingStateTypeInvalid = 53005; + */ + BillingStateTypeInvalid(53005), + /** + *
+   * billing 변환 할수 없는 stateType입니다.
+   * 
+ * + * BillingStateTypeCantBeChanged = 53006; + */ + BillingStateTypeCantBeChanged(53006), + /** + *
+   * billing 환불 처리중 입니다.
+   * 
+ * + * BillingStateTypeRefund = 53007; + */ + BillingStateTypeRefund(53007), + /** + *
+   * billing 환불 처리가 완료된 상품입니다.
+   * 
+ * + * BillingStateTypeRefundComplete = 53008; + */ + BillingStateTypeRefundComplete(53008), + /** + *
+   *=============================================================================================
+   * 이동 관련 오류 : 54000 ~
+   *=============================================================================================
+   * 
+ * + * TaxiMetaDataNotFound = 54001; + */ + TaxiMetaDataNotFound(54001), + /** + *
+   * TaxiType 오류 입니다.
+   * 
+ * + * TaxiTypeInvalid = 54002; + */ + TaxiTypeInvalid(54002), + /** + *
+   * 워프 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * WarpMetaDataNotFound = 54003; + */ + WarpMetaDataNotFound(54003), + /** + *
+   * WarpTyoe 오류 입니다.
+   * 
+ * + * WarpTypeInvalid = 54004; + */ + WarpTypeInvalid(54004), + /** + *
+   *=============================================================================================
+   * 렌탈 관련 오류 : 54000 ~
+   *=============================================================================================
+   * 
+ * + * RentalNotFound = 55001; + */ + RentalNotFound(55001), + /** + *
+   * RentalDoc 로딩중에 중복된 미니맵 마커가 발견되었습니다.
+   * 
+ * + * RentalDocLoadDuplicatedRental = 55002; + */ + RentalDocLoadDuplicatedRental(55002), + /** + *
+   * RentalDoc이 null 입니다.
+   * 
+ * + * RentalDocIsNull = 55003; + */ + RentalDocIsNull(55003), + /** + *
+   * 렌탈이 불가능한 랜드 입니다.
+   * 
+ * + * RentalNotAvailableLand = 55004; + */ + RentalNotAvailableLand(55004), + /** + *
+   * 렌탈 주소가 유효하지 않습니다.
+   * 
+ * + * RentalAddressInvalid = 55005; + */ + RentalAddressInvalid(55005), + /** + *
+   * 렌탈 주소가 비어 있지 않습니다.
+   * 
+ * + * RentalAddressIsNotEmpty = 55006; + */ + RentalAddressIsNotEmpty(55006), + /** + *
+   * 렌탈비용 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * RentalfeeMetaDataNotFound = 55007; + */ + RentalfeeMetaDataNotFound(55007), + /** + *
+   * 없는 task
+   * 
+ * + * UgqInvalidTaskAction = 60001; + */ + UgqInvalidTaskAction(60001), + /** + *
+   * disable 된 task
+   * 
+ * + * UgqTaskActionDisabled = 60002; + */ + UgqTaskActionDisabled(60002), + /** + *
+   * 없는 dialog type
+   * 
+ * + * UgqInvalidDialogType = 60003; + */ + UgqInvalidDialogType(60003), + /** + *
+   * 없는 dialog 조건
+   * 
+ * + * UgqInvalidDialogCondition = 60004; + */ + UgqInvalidDialogCondition(60004), + /** + *
+   * Validation 에러
+   * 
+ * + * UgqValidationError = 60005; + */ + UgqValidationError(60005), + /** + *
+   * 엔티티 없음
+   * 
+ * + * UgqNullEntity = 60006; + */ + UgqNullEntity(60006), + /** + *
+   * 상태 변경 실패
+   * 
+ * + * UgqStateChangeError = 60007; + */ + UgqStateChangeError(60007), + /** + *
+   * 퀘스트 슬롯 부족
+   * 
+ * + * UgqNotEnoughQuestSlot = 60008; + */ + UgqNotEnoughQuestSlot(60008), + /** + *
+   * 편집 불가 상태
+   * 
+ * + * UgqNotAllowEdit = 60009; + */ + UgqNotAllowEdit(60009), + /** + *
+   * Dialog가 Task에 없음
+   * 
+ * + * UgqDialogIsNotInTask = 60010; + */ + UgqDialogIsNotInTask(60010), + /** + *
+   * 이미지 입력 없음
+   * 
+ * + * UgqRequireImage = 60011; + */ + UgqRequireImage(60011), + /** + *
+   * 비컨 입력 필요
+   * 
+ * + * UgqRequireBeacon = 60012; + */ + UgqRequireBeacon(60012), + /** + *
+   * 하나의 비컨만 입력해야 함
+   * 
+ * + * UgqBeaconInputError = 60013; + */ + UgqBeaconInputError(60013), + /** + *
+   * 게임 DB 접근 에러
+   * 
+ * + * UgqGameDBAccessError = 60014; + */ + UgqGameDBAccessError(60014), + /** + *
+   * 내 소유 UgcNpc가 아님
+   * 
+ * + * UgqNotOwnUgcNpc = 60015; + */ + UgqNotOwnUgcNpc(60015), + /** + *
+   * 이미 계정이 존재함
+   * 
+ * + * UgqAlreadyExistsAccount = 60016; + */ + UgqAlreadyExistsAccount(60016), + /** + *
+   * 예외 발생
+   * 
+ * + * UgqServerException = 60017; + */ + UgqServerException(60017), + /** + *
+   * 유효하지 않은 웹포탈 인증 토큰
+   * 
+ * + * UgqInvalidWebPortalToken = 60018; + */ + UgqInvalidWebPortalToken(60018), + /** + *
+   * 유효하지 않은 토큰
+   * 
+ * + * UgqInvalidToken = 60019; + */ + UgqInvalidToken(60019), + /** + *
+   * 메타버스 계정이 필요함
+   * 
+ * + * UgqRequireAccount = 60020; + */ + UgqRequireAccount(60020), + /** + *
+   * 포인트 부족함
+   * 
+ * + * UgqNotEnoughCreatorPoint = 60021; + */ + UgqNotEnoughCreatorPoint(60021), + /** + *
+   * 최대 슬롯 수 제한
+   * 
+ * + * UgqSlotLimit = 60022; + */ + UgqSlotLimit(60022), + /** + *
+   * 트랜잭션 재시도 횟수 초과
+   * 
+ * + * UgqExceedTransactionRetry = 60023; + */ + UgqExceedTransactionRetry(60023), + /** + *
+   * 메타버스에 온라인 상태임
+   * 
+ * + * UgqMetaverseOnline = 60024; + */ + UgqMetaverseOnline(60024), + /** + *
+   * 인증 상태가 제거됨
+   * 
+ * + * UgqAuthRemoved = 60025; + */ + UgqAuthRemoved(60025), + /** + *
+   * 잘못된 프리셋 이미지
+   * 
+ * + * UgqInvalidPresetImage = 60026; + */ + UgqInvalidPresetImage(60026), + /** + *
+   * 재화 부족
+   * 
+ * + * UgqNotEnoughCurrency = 60027; + */ + UgqNotEnoughCurrency(60027), + /** + *
+   * 재화 사용 오류 발생
+   * 
+ * + * UgqCurrencyError = 60028; + */ + UgqCurrencyError(60028), + /** + *
+   * 이미 등급 변경 예약이 존재함
+   * 
+ * + * UgqAlreadyExistsReserveGrade = 60029; + */ + UgqAlreadyExistsReserveGrade(60029), + /** + *
+   * 유효하지 않은 예약 시간
+   * 
+ * + * UgqInvalidReserveTime = 60030; + */ + UgqInvalidReserveTime(60030), + /** + *
+   * 같은 등급으로 변경이 불가능.
+   * 
+ * + * UgqSameGradeReserve = 60031; + */ + UgqSameGradeReserve(60031), + /** + *
+   *=============================================================================================
+   * UGQ 관련 오류. InGame Api 오류
+   *=============================================================================================
+   * 
+ * + * UgqAlreadyBookmarked = 61001; + */ + UgqAlreadyBookmarked(61001), + /** + *
+   * 북마크 안되어 있음
+   * 
+ * + * UgqNotBookmarked = 61002; + */ + UgqNotBookmarked(61002), + /** + *
+   * 이미 종아요
+   * 
+ * + * UgqAlreadyLiked = 61003; + */ + UgqAlreadyLiked(61003), + /** + *
+   * 좋아요 안되어 있음
+   * 
+ * + * UgqNotLiked = 61004; + */ + UgqNotLiked(61004), + /** + *
+   * 이미 신고함
+   * 
+ * + * UgqAlreadyReported = 61005; + */ + UgqAlreadyReported(61005), + /** + *
+   * 내 퀘스트가 아님
+   * 
+ * + * UgqNotOwnQuest = 61006; + */ + UgqNotOwnQuest(61006), + /** + *
+   * 잘못된 상태
+   * 
+ * + * UgqInvalidState = 61007; + */ + UgqInvalidState(61007), + /** + *
+   *=============================================================================================
+   * NFT 관련 오류 : 62000 ~ 
+   *=============================================================================================
+   * 
+ * + * NftForOwnerAllGetFailed = 62001; + */ + NftForOwnerAllGetFailed(62001), + /** + *
+   *=============================================================================================
+   * Bot 관련 오류.
+   *=============================================================================================
+   * 
+ * + * BotPlayerIsNull = 962001; + */ + BotPlayerIsNull(962001), + /** + *
+   * ClientToLoginRes가 null 입니다.
+   * 
+ * + * ClientToLoginResIsNull = 962002; + */ + ClientToLoginResIsNull(962002), + /** + *
+   * ClientToLoginMessage가 null 입니다.
+   * 
+ * + * ClientToLoginMessageIsNull = 962003; + */ + ClientToLoginMessageIsNull(962003), + /** + *
+   * ClientToGameRes가 null 입니다.
+   * 
+ * + * ClientToGameResIsNull = 962004; + */ + ClientToGameResIsNull(962004), + /** + *
+   * ClientToGameMessage가 null 입니다.
+   * 
+ * + * ClientToGameMessageIsNull = 962005; + */ + ClientToGameMessageIsNull(962005), + /** + *
+   * Server 연결 실패
+   * 
+ * + * ConnectedToServerFail = 962006; + */ + ConnectedToServerFail(962006), + /** + *
+   * 시나리오에 param 설정이 필요합니다.
+   * 
+ * + * ScenarionParamIsNull = 962007; + */ + ScenarionParamIsNull(962007), + /** + * DupLogin = 1; + */ + DupLogin(1), + /** + * Moving = 2; + */ + Moving(2), + /** + * DbError = 3; + */ + DbError(3), + /** + * KickFail = 4; + */ + KickFail(4), + /** + * NotCorrectPassword = 5; + */ + NotCorrectPassword(5), + /** + * NotFoundUser = 6; + */ + NotFoundUser(6), + /** + * NoGameServer = 7; + */ + NoGameServer(7), + /** + * LoginPending = 8; + */ + LoginPending(8), + /** + * NotImplemented = 9; + */ + NotImplemented(9), + /** + * NotExistSelectedCharacter = 10; + */ + NotExistSelectedCharacter(10), + /** + * NotExistCharacter = 11; + */ + NotExistCharacter(11), + /** + * ServerLogicError = 12; + */ + ServerLogicError(12), + /** + * NoPermissions = 14; + */ + NoPermissions(14), + /** + * RedisFail = 15; + */ + RedisFail(15), + /** + * LoginFail = 1000; + */ + LoginFail(1000), + /** + * DuplicatedUser = 1001; + */ + DuplicatedUser(1001), + /** + * InvalidToken = 1002; + */ + InvalidToken(1002), + /** + * NotCorrectServer = 1003; + */ + NotCorrectServer(1003), + /** + * Inspection = 1004; + */ + Inspection(1004), + /** + * BlackList = 1005; + */ + BlackList(1005), + /** + * ServerFull = 1006; + */ + ServerFull(1006), + /** + * NotFoundServer = 1007; + */ + NotFoundServer(1007), + /** + * NotFoundTable = 1008; + */ + NotFoundTable(1008), + /** + * TableError = 1009; + */ + TableError(1009), + /** + * InvalidCondition = 1100; + */ + InvalidCondition(1100), + /** + * CharCreateFail = 2000; + */ + CharCreateFail(2000), + /** + * CharSelectFail = 2100; + */ + CharSelectFail(2100), + /** + * CreateRoomFail = 3000; + */ + CreateRoomFail(3000), + /** + * JoinRoomFail = 3100; + */ + JoinRoomFail(3100), + /** + * JoinInstanceFail = 3200; + */ + JoinInstanceFail(3200), + /** + * NotExistInstanceTicket = 3201; + */ + NotExistInstanceTicket(3201), + /** + * LeaveInstanceFail = 3300; + */ + LeaveInstanceFail(3300), + /** + * NotExistInstanceRoom = 3400; + */ + NotExistInstanceRoom(3400), + /** + * NotCorrectInstanceRoom = 3401; + */ + NotCorrectInstanceRoom(3401), + /** + * PosIsEmpty = 3402; + */ + PosIsEmpty(3402), + /** + * EnterMyHomeFail = 3800; + */ + EnterMyHomeFail(3800), + /** + * LeaveMyHomeFail = 3900; + */ + LeaveMyHomeFail(3900), + /** + * ExchangeMyHomeFail = 4000; + */ + ExchangeMyHomeFail(4000), + /** + * NotFoundMyHomeData = 4001; + */ + NotFoundMyHomeData(4001), + /** + * NotMyHomeOwner = 4002; + */ + NotMyHomeOwner(4002), + /** + * AlreadyHaveMyHome = 4003; + */ + AlreadyHaveMyHome(4003), + /** + * ExchangeMyHomePropFail = 4100; + */ + ExchangeMyHomePropFail(4100), + /** + * ExchangeLandPropFail = 4200; + */ + ExchangeLandPropFail(4200), + /** + * ExchangeBuildingFail = 4300; + */ + ExchangeBuildingFail(4300), + /** + * ExchangeBuildingLFPropFail = 4400; + */ + ExchangeBuildingLFPropFail(4400), + /** + * ExchangeInstanceFail = 4500; + */ + ExchangeInstanceFail(4500), + /** + * ExchangeSocialActionSlotFail = 4600; + */ + ExchangeSocialActionSlotFail(4600), + /** + * NotFoundSocialActionData = 4602; + */ + NotFoundSocialActionData(4602), + /** + * NotInSocialActionSlot = 4603; + */ + NotInSocialActionSlot(4603), + /** + * AlreadyHaveSocialAction = 4604; + */ + AlreadyHaveSocialAction(4604), + /** + * NotFoundLandData = 4651; + */ + NotFoundLandData(4651), + /** + * NotFoundBuildingData = 4652; + */ + NotFoundBuildingData(4652), + /** + * NotFoundFloorInfo = 4653; + */ + NotFoundFloorInfo(4653), + /** + * NotFoundIndunData = 4655; + */ + NotFoundIndunData(4655), + /** + * EnterFittingRoomFail = 4700; + */ + EnterFittingRoomFail(4700), + /** + * NotEntetedFittingRoom = 4701; + */ + NotEntetedFittingRoom(4701), + /** + * MakeFailOtp = 4702; + */ + MakeFailOtp(4702), + /** + * NotExistRoomInfoForEnter = 4703; + */ + NotExistRoomInfoForEnter(4703), + /** + * NotExistGameServerForEnter = 4704; + */ + NotExistGameServerForEnter(4704), + /** + * PositionSaveFail = 4705; + */ + PositionSaveFail(4705), + /** + * ExchangeEmotionSlotFail = 4800; + */ + ExchangeEmotionSlotFail(4800), + /** + * EmotionSlotOutOfRange = 4801; + */ + EmotionSlotOutOfRange(4801), + /** + * NotFoundAnchorGuidInMap = 4899; + */ + NotFoundAnchorGuidInMap(4899), + /** + * NotFoundAnchorGuid = 4900; + */ + NotFoundAnchorGuid(4900), + /** + * PropIsOccupied = 4901; + */ + PropIsOccupied(4901), + /** + * PropIsUsed = 4902; + */ + PropIsUsed(4902), + /** + * PropTypeisWrong = 4903; + */ + PropTypeisWrong(4903), + /** + * NotFoundEmotionData = 4920; + */ + NotFoundEmotionData(4920), + /** + * NotInEmotionSlot = 4921; + */ + NotInEmotionSlot(4921), + /** + * CreateItemFail = 4996; + */ + CreateItemFail(4996), + /** + * AddItemFail = 4997; + */ + AddItemFail(4997), + /** + * DeleteItemFail = 4998; + */ + DeleteItemFail(4998), + /** + * NoMoreAddItem = 4999; + */ + NoMoreAddItem(4999), + /** + * NotFoundItem = 5000; + */ + NotFoundItem(5000), + /** + * NotEnoughItem = 5001; + */ + NotEnoughItem(5001), + /** + * InvalidSlotIndex = 5002; + */ + InvalidSlotIndex(5002), + /** + * DuplicatedItemGuid = 5003; + */ + DuplicatedItemGuid(5003), + /** + * NotFoundItemTableId = 5004; + */ + NotFoundItemTableId(5004), + /** + * NotSelectedChar = 5005; + */ + NotSelectedChar(5005), + /** + * NotFoundMap = 5006; + */ + NotFoundMap(5006), + /** + * NotEmptySlot = 5007; + */ + NotEmptySlot(5007), + /** + * EmptySlot = 5008; + */ + EmptySlot(5008), + /** + * NotFoundBuffTableId = 5009; + */ + NotFoundBuffTableId(5009), + /** + * NotFoundBuff = 5010; + */ + NotFoundBuff(5010), + /** + * NotExistForecedMoveInfo = 5011; + */ + NotExistForecedMoveInfo(5011), + /** + * DuplicatedNickName = 5013; + */ + DuplicatedNickName(5013), + /** + * AlreadySetNickName = 5014; + */ + AlreadySetNickName(5014), + /** + * DisallowedCharacters = 5015; + */ + DisallowedCharacters(5015), + /** + * DbUpdateFailed = 5016; + */ + DbUpdateFailed(5016), + /** + * InvalidArgument = 5017; + */ + InvalidArgument(5017), + /** + * MailSystemError = 5030; + */ + MailSystemError(5030), + /** + * InvalidTarget = 5031; + */ + InvalidTarget(5031), + /** + * NotFoundMail = 5032; + */ + NotFoundMail(5032), + /** + * EmptyItemInMail = 5033; + */ + EmptyItemInMail(5033), + /** + * MailSendCountOver = 5034; + */ + MailSendCountOver(5034), + /** + * ChangedNickName = 5035; + */ + ChangedNickName(5035), + /** + * StateChangeFailed = 5040; + */ + StateChangeFailed(5040), + /** + * NotFoundTarget = 5050; + */ + NotFoundTarget(5050), + /** + * BlockedFromTarget = 5051; + */ + BlockedFromTarget(5051), + /** + * LogOffTarget = 5052; + */ + LogOffTarget(5052), + /** + * CantSendToSelf = 5053; + */ + CantSendToSelf(5053), + /** + * BuffTypeIsWrong = 5070; + */ + BuffTypeIsWrong(5070), + /** + * RegisterToolSlotFail = 5080; + */ + RegisterToolSlotFail(5080), + /** + * DeregisterToolSlotFail = 5081; + */ + DeregisterToolSlotFail(5081), + /** + * ToolSlotOutOfRange = 5082; + */ + ToolSlotOutOfRange(5082), + /** + * NotFoundToolSlot = 5083; + */ + NotFoundToolSlot(5083), + /** + * EmptyToolSlot = 5084; + */ + EmptyToolSlot(5084), + /** + * FolderNameExceededLength = 5090; + */ + FolderNameExceededLength(5090), + /** + * FolderNameAlreadyExist = 5091; + */ + FolderNameAlreadyExist(5091), + /** + * FolderNameNotExist = 5092; + */ + FolderNameNotExist(5092), + /** + * FolderNameAlreadyMaxHoldCount = 5093; + */ + FolderNameAlreadyMaxHoldCount(5093), + /** + * FolderCountExceed = 5094; + */ + FolderCountExceed(5094), + /** + * FolderCreateFail = 5095; + */ + FolderCreateFail(5095), + /** + * FolderReNameCannotDefault = 5096; + */ + FolderReNameCannotDefault(5096), + /** + * FolderOdertypeInvalid = 5097; + */ + FolderOdertypeInvalid(5097), + /** + * FriendRequestNotExistInfo = 5100; + */ + FriendRequestNotExistInfo(5100), + /** + * FriendRequestAlreadySend = 5101; + */ + FriendRequestAlreadySend(5101), + /** + * FriendRequestAlreadyReceive = 5102; + */ + FriendRequestAlreadyReceive(5102), + /** + * FriendRequestCantSendToSelf = 5103; + */ + FriendRequestCantSendToSelf(5103), + /** + * FriendRequestNotExistReceivedInfo = 5104; + */ + FriendRequestNotExistReceivedInfo(5104), + /** + * FriendRequestAlreadyFriend = 5105; + */ + FriendRequestAlreadyFriend(5105), + /** + * InvalidType = 5106; + */ + InvalidType(5106), + /** + * InvalidAttributeSlot = 5107; + */ + InvalidAttributeSlot(5107), + /** + * FriendRequestCannotSendBlockUser = 5119; + */ + FriendRequestCannotSendBlockUser(5119), + /** + * AddFriendAlreadyBlockUser = 5120; + */ + AddFriendAlreadyBlockUser(5120), + /** + * AddFriendNotExistCharacter = 5121; + */ + AddFriendNotExistCharacter(5121), + /** + * AddFriendAlreadyFriend = 5122; + */ + AddFriendAlreadyFriend(5122), + /** + * AddFriendAlreadyCancelRequest = 5123; + */ + AddFriendAlreadyCancelRequest(5123), + /** + * AddFriendAlreadyExpired = 5124; + */ + AddFriendAlreadyExpired(5124), + /** + * FriendInfoNotExist = 5130; + */ + FriendInfoNotExist(5130), + /** + * FriendInfoMyCountAlreadyMaxCount = 5131; + */ + FriendInfoMyCountAlreadyMaxCount(5131), + /** + * FriendInfoOthersCountAlreadyMaxCount = 5132; + */ + FriendInfoOthersCountAlreadyMaxCount(5132), + /** + * FriendInfoOffline = 5133; + */ + FriendInfoOffline(5133), + /** + * FriendInfoAlreadyExist = 5134; + */ + FriendInfoAlreadyExist(5134), + /** + * FriendInviteMyPosIsNotMyHome = 5140; + */ + FriendInviteMyPosIsNotMyHome(5140), + /** + * FriendInviteDontDisturbState = 5141; + */ + FriendInviteDontDisturbState(5141), + /** + * FriendInviteExpireTimeRemain = 5142; + */ + FriendInviteExpireTimeRemain(5142), + /** + * FriendInviteWaitingOtherInvite = 5143; + */ + FriendInviteWaitingOtherInvite(5143), + /** + * FriendInviteAlreadyExpire = 5144; + */ + FriendInviteAlreadyExpire(5144), + /** + * FriendKickMyPosIsNotMyHome = 5145; + */ + FriendKickMyPosIsNotMyHome(5145), + /** + * FriendKickMemberNotExist = 5146; + */ + FriendKickMemberNotExist(5146), + /** + * FriendIsInAnotherMyhome = 5147; + */ + FriendIsInAnotherMyhome(5147), + /** + * BlockUserMaxCount = 5150; + */ + BlockUserMaxCount(5150), + /** + * BlockUserAlreadyBlock = 5151; + */ + BlockUserAlreadyBlock(5151), + /** + * BlockUserCannotSendMailTo = 5152; + */ + BlockUserCannotSendMailTo(5152), + /** + * BlockedByOther = 5153; + */ + BlockedByOther(5153), + /** + * BlockUserCannotWhisperTo = 5154; + */ + BlockUserCannotWhisperTo(5154), + /** + * BlockInfoEmpty = 5155; + */ + BlockInfoEmpty(5155), + /** + * BlockUserCannotInviteParty = 5156; + */ + BlockUserCannotInviteParty(5156), + /** + * CartSellTypeMissMatchWithTable = 5200; + */ + CartSellTypeMissMatchWithTable(5200), + /** + * CartFullStackofItem = 5201; + */ + CartFullStackofItem(5201), + /** + * CartisFull = 5202; + */ + CartisFull(5202), + /** + * BanNickName = 5203; + */ + BanNickName(5203), + /** + * CurrencyNotFoundData = 5400; + */ + CurrencyNotFoundData(5400), + /** + * CurrencyNotEnough = 5401; + */ + CurrencyNotEnough(5401), + /** + * CurrencyInvalidValue = 5402; + */ + CurrencyInvalidValue(5402), + /** + * StartBuffFailed = 5500; + */ + StartBuffFailed(5500), + /** + * StopBuffFailed = 5501; + */ + StopBuffFailed(5501), + /** + * NotFoundNickName = 5600; + */ + NotFoundNickName(5600), + /** + * NotFoundTattooAttributeData = 5800; + */ + NotFoundTattooAttributeData(5800), + /** + * NotFoundShopId = 5900; + */ + NotFoundShopId(5900), + /** + * TimeOverForPurchase = 5901; + */ + TimeOverForPurchase(5901), + /** + * NotEnoughAttribute = 5902; + */ + NotEnoughAttribute(5902), + /** + * InvalidGender = 5903; + */ + InvalidGender(5903), + /** + * IsEquipItem = 5904; + */ + IsEquipItem(5904), + /** + * InvalidItem = 5905; + */ + InvalidItem(5905), + /** + * AlreadyRegistered = 5906; + */ + AlreadyRegistered(5906), + /** + * NotFoundShopItem = 5907; + */ + NotFoundShopItem(5907), + /** + * NotEnoughShopItem = 5908; + */ + NotEnoughShopItem(5908), + /** + * InvalidItemCount = 5909; + */ + InvalidItemCount(5909), + /** + * InventoryFull = 5910; + */ + InventoryFull(5910), + /** + * NotFoundProductId = 5911; + */ + NotFoundProductId(5911), + /** + * RandomBoxItemDataInvalid = 6100; + */ + RandomBoxItemDataInvalid(6100), + /** + * NotExistGachaData = 6101; + */ + NotExistGachaData(6101), + UNRECOGNIZED(-1), + ; + + /** + * Success = 0; + */ + public static final int Success_VALUE = 0; + /** + *
+   *=============================================================================================
+   * 결과 코드 관련 오류
+   *=============================================================================================
+   * 
+ * + * ResultCodeNotSet = -1; + */ + public static final int ResultCodeNotSet_VALUE = -1; + /** + *
+   *=============================================================================================
+   * 시스템 오류 : 10000 ~
+   *=============================================================================================
+   * 
+ * + * TryCatchException = 10001; + */ + public static final int TryCatchException_VALUE = 10001; + /** + *
+   * DotNet 예외가 발생 했습니다.
+   * 
+ * + * DotNetException = 10002; + */ + public static final int DotNetException_VALUE = 10002; + /** + *
+   * ProudNet 예외가 발생 했습니다.
+   * 
+ * + * ProudNetException = 10003; + */ + public static final int ProudNetException_VALUE = 10003; + /** + *
+   * RabbitMQ 예외가 발생 했습니다.
+   * 
+ * + * RabbitMqException = 10004; + */ + public static final int RabbitMqException_VALUE = 10004; + /** + *
+   * DynamoDB 예외가 발생 했습니다.
+   * 
+ * + * DynamoDbException = 10005; + */ + public static final int DynamoDbException_VALUE = 10005; + /** + *
+   * DynamoDB Transact 예외가 발생 했습니다.
+   * 
+ * + * DynamoDbTransactException = 10006; + */ + public static final int DynamoDbTransactException_VALUE = 10006; + /** + *
+   * Redis 예외가 발생 했습니다.
+   * 
+ * + * RedisException = 10007; + */ + public static final int RedisException_VALUE = 10007; + /** + *
+   * Meta 스키마 및 데이터 예외가 발생 했습니다.
+   * 
+ * + * MetaInfoException = 10008; + */ + public static final int MetaInfoException_VALUE = 10008; + /** + *
+   * MySqlDB 예외가 발생 했습니다.
+   * 
+ * + * MySqlDbException = 10009; + */ + public static final int MySqlDbException_VALUE = 10009; + /** + *
+   *=============================================================================================
+   * NLog 관련 오류 : 10030 ~ 
+   *=============================================================================================
+   * 
+ * + * NLogWithAwsCloudWatchSetupFailed = 10031; + */ + public static final int NLogWithAwsCloudWatchSetupFailed_VALUE = 10031; + /** + *
+   *=============================================================================================
+   * 비즈니스 로그 관련 오류 : 10050 ~
+   *=============================================================================================
+   * 
+ * + * LogActionIsNull = 10051; + */ + public static final int LogActionIsNull_VALUE = 10051; + /** + *
+   * LogAppender 객체가 Null 입니다.
+   * 
+ * + * LogAppenderIsNull = 10052; + */ + public static final int LogAppenderIsNull_VALUE = 10052; + /** + *
+   * LogFormatter 객체가 Null 입니다.
+   * 
+ * + * LogFormatterIsNull = 10053; + */ + public static final int LogFormatterIsNull_VALUE = 10053; + /** + *
+   * LogActionType 오류 입니다.
+   * 
+ * + * LogActionTypeInvalid = 10054; + */ + public static final int LogActionTypeInvalid_VALUE = 10054; + /** + *
+   *=============================================================================================
+   * 네트워크 오류 : 10100 ~
+   *=============================================================================================
+   * ProudNet 오류
+   * 
+ * + * RmiHostIsNull = 10101; + */ + public static final int RmiHostIsNull_VALUE = 10101; + /** + *
+   * Rmi Host 핸들러에 바인딩을 실패 했습니다.
+   * 
+ * + * RmiHostHandlerBindFailed = 10102; + */ + public static final int RmiHostHandlerBindFailed_VALUE = 10102; + /** + *
+   * Stub 핸들러에 바인딩을 실패 했습니다.
+   * 
+ * + * SubHandlerBindFailed = 10103; + */ + public static final int SubHandlerBindFailed_VALUE = 10103; + /** + *
+   * Stub 과 Proxy 연결을 실패 했습니다.
+   * 
+ * + * SutbAndProxyAttachFailed = 10104; + */ + public static final int SutbAndProxyAttachFailed_VALUE = 10104; + /** + *
+   * 패킷 최대 사이즈 설정 실패.
+   * 
+ * + * SetMessageMaxLengthFailed = 10105; + */ + public static final int SetMessageMaxLengthFailed_VALUE = 10105; + /** + *
+   * 네트워크 모듈 오류
+   * 
+ * + * PacketRecvHandlerRegisterFailed = 10151; + */ + public static final int PacketRecvHandlerRegisterFailed_VALUE = 10151; + /** + *
+   * 패킷 송신 핸들러에 등록을 실패 했습니다.
+   * 
+ * + * PacketSendHandlerRegisterFailed = 10152; + */ + public static final int PacketSendHandlerRegisterFailed_VALUE = 10152; + /** + *
+   * 패킷 오류
+   * 
+ * + * PacketRecvInvalid = 10153; + */ + public static final int PacketRecvInvalid_VALUE = 10153; + /** + *
+   * 수신 패킷 핸들러를 찾지 못했습니다.
+   * 
+ * + * RacketRecvHandlerNotFound = 10154; + */ + public static final int RacketRecvHandlerNotFound_VALUE = 10154; + /** + *
+   * 대용량 패킷이 모두 수신되지 않았습니다.
+   * 
+ * + * LargePacketNotAllReceived = 10155; + */ + public static final int LargePacketNotAllReceived_VALUE = 10155; + /** + *
+   * 대용량 패킷이 수신 대기 시간이 오래 지났다.
+   * 
+ * + * LargePacketRecvTimeOver = 10156; + */ + public static final int LargePacketRecvTimeOver_VALUE = 10156; + /** + *
+   *=============================================================================================
+   * DB 오류 : 10200 ~
+   *=============================================================================================
+   * DynamoDB 오류
+   * 
+ * + * DynamoDbTransactionCanceledException = 10201; + */ + public static final int DynamoDbTransactionCanceledException_VALUE = 10201; + /** + *
+   * DynamoDB AmazonDynamoDBException 예외가 발생 했습니다.
+   * 
+ * + * DynamoDbAmazonDynamoDbException = 10202; + */ + public static final int DynamoDbAmazonDynamoDbException_VALUE = 10202; + /** + *
+   * DynamoDB AmazonServiceException 예외가 발생 했습니다.
+   * 
+ * + * DynamoDbAmazonServiceException = 10203; + */ + public static final int DynamoDbAmazonServiceException_VALUE = 10203; + /** + *
+   * DynamoDB Config 파일 로딩을 실패 했습니다. 
+   * 
+ * + * DynamoDbConfigLoadFailed = 10204; + */ + public static final int DynamoDbConfigLoadFailed_VALUE = 10204; + /** + *
+   * DynamoDB 연결을 실패 했습니다.
+   * 
+ * + * DynamoDbConnectFailed = 10205; + */ + public static final int DynamoDbConnectFailed_VALUE = 10205; + /** + *
+   * DynamoDB Table 생성을 실패 했습니다.
+   * 
+ * + * DynamoDbTableCreateFailed = 10206; + */ + public static final int DynamoDbTableCreateFailed_VALUE = 10206; + /** + *
+   * DynamoDB Table과 연결이 되어있지 않습니다.
+   * 
+ * + * DynamoDbTableNotConnected = 10207; + */ + public static final int DynamoDbTableNotConnected_VALUE = 10207; + /** + *
+   * DynamoDB Query를 실패 했습니다.
+   * 
+ * + * DynamoDbQueryFailed = 10208; + */ + public static final int DynamoDbQueryFailed_VALUE = 10208; + /** + *
+   * DynamoDB Item 저장 크기를 초과 했습니다.
+   * 
+ * + * DynamoDbItemSizeExceeded = 10209; + */ + public static final int DynamoDbItemSizeExceeded_VALUE = 10209; + /** + *
+   * DynamoDB Query와 일치하는 Document가 아닙니다.
+   * 
+ * + * DynamoDbQueryNothingMatchDoc = 10210; + */ + public static final int DynamoDbQueryNothingMatchDoc_VALUE = 10210; + /** + *
+   * DynamoDB TransactionConflictException 예외가 발생 했습니다.
+   * 
+ * + * DynamoDbTransactionConflictException = 10211; + */ + public static final int DynamoDbTransactionConflictException_VALUE = 10211; + /** + *
+   * DynamoDB Expression 오류 입니다.
+   * 
+ * + * DynamoDbExpressionError = 10212; + */ + public static final int DynamoDbExpressionError_VALUE = 10212; + /** + *
+   * DynamoDB PrimaryKey 를 찾을 수 없습니다.
+   * 
+ * + * DynamoDbPrimaryKeyNotFound = 10213; + */ + public static final int DynamoDbPrimaryKeyNotFound_VALUE = 10213; + /** + *
+   * DynamoDB 쿼리 오류
+   * 
+ * + * DynamoDbQueryException = 10221; + */ + public static final int DynamoDbQueryException_VALUE = 10221; + /** + *
+   * DynamoDbQuery Request를 가지고 있지 않습니다.
+   * 
+ * + * DynamoDbQueryNoRequested = 10222; + */ + public static final int DynamoDbQueryNoRequested_VALUE = 10222; + /** + *
+   * DynamoDbQuery Document를 찾을 수 없습니다.
+   * 
+ * + * DynamoDbQueryNotFoundDocumentQuery = 10223; + */ + public static final int DynamoDbQueryNotFoundDocumentQuery_VALUE = 10223; + /** + *
+   * DynamoDbQuery ExceptionNotifier를 찾을 수 없습니다.
+   * 
+ * + * DynamoDbQueryExceptionNotifierNotFound = 10224; + */ + public static final int DynamoDbQueryExceptionNotifierNotFound_VALUE = 10224; + /** + *
+   * DynamoDB Document 오류
+   * 
+ * + * DynamoDbDocumentIsNullInQueryContext = 10241; + */ + public static final int DynamoDbDocumentIsNullInQueryContext_VALUE = 10241; + /** + *
+   * DynamoDbDocument내의 정보에 오류가 있습니다.
+   * 
+ * + * DynamoDbDocumentIsInvalid = 10242; + */ + public static final int DynamoDbDocumentIsInvalid_VALUE = 10242; + /** + *
+   * DynamoDbDocumentQueryContext내의 Type 정보 오류 입니다.
+   * 
+ * + * DynamoDbDocumentQueryContextTypeInvalid = 10243; + */ + public static final int DynamoDbDocumentQueryContextTypeInvalid_VALUE = 10243; + /** + *
+   * DynamoDbDocument를 Doc에 복사하는 것을 실패 했습니다.
+   * 
+ * + * DynamoDbDocumentCopyFailedToDoc = 10244; + */ + public static final int DynamoDbDocumentCopyFailedToDoc_VALUE = 10244; + /** + *
+   * DynamoDbDocument Upsert를 실패 했습니다.
+   * 
+ * + * DynamoDbDocumentUpsertFailed = 10245; + */ + public static final int DynamoDbDocumentUpsertFailed_VALUE = 10245; + /** + *
+   * DynamoDB ItemRequest 오류
+   * 
+ * + * DynamoDbItemRequestIsInvalid = 10251; + */ + public static final int DynamoDbItemRequestIsInvalid_VALUE = 10251; + /** + *
+   * DynamoDbItemRequestQueryContext내의 Type 정보 오류 입니다.
+   * 
+ * + * DynamoDbItemRequestQueryContextTypeInvalid = 10252; + */ + public static final int DynamoDbItemRequestQueryContextTypeInvalid_VALUE = 10252; + /** + *
+   * DynamoDB Custom Doc 오류
+   * 
+ * + * DynamoDbDocPkInvalid = 10261; + */ + public static final int DynamoDbDocPkInvalid_VALUE = 10261; + /** + *
+   * DynamoDbDoc의 SK 값이 오류 입니다.
+   * 
+ * + * DynamoDbDocSkInvalid = 10262; + */ + public static final int DynamoDbDocSkInvalid_VALUE = 10262; + /** + *
+   * DynamoDbDoc의 AttribType이 중복 되었습니다.
+   * 
+ * + * DynamoDbDocAttribTypeDuplicated = 10263; + */ + public static final int DynamoDbDocAttribTypeDuplicated_VALUE = 10263; + /** + *
+   * Doc를 DynamoDbDocument에 복사하는 것을 실패 했습니다.
+   * 
+ * + * DynamoDbDocCopyFailedToDocument = 10264; + */ + public static final int DynamoDbDocCopyFailedToDocument_VALUE = 10264; + /** + *
+   * DynamoDbDocument를 Doc에 복사하는 것을 실패 했습니다.
+   * 
+ * + * DynamoDbDocCopyFailedFromDocument = 10265; + */ + public static final int DynamoDbDocCopyFailedFromDocument_VALUE = 10265; + /** + *
+   * DynamoDbDocType이 일치하지 않습니다.
+   * 
+ * + * DynamoDbDocTypeNotMatch = 10266; + */ + public static final int DynamoDbDocTypeNotMatch_VALUE = 10266; + /** + *
+   * DynamoDbRequest 오류 입니다.
+   * 
+ * + * DynamoDbRequestInvalid = 10267; + */ + public static final int DynamoDbRequestInvalid_VALUE = 10267; + /** + *
+   * DynamoDbDoc AttributeState 플래그를 선택하지 않았습니다.
+   * 
+ * + * DynamoDbDocAttributeStateNotSet = 10268; + */ + public static final int DynamoDbDocAttributeStateNotSet_VALUE = 10268; + /** + *
+   * DynamoDbDoc AttribWrapper 복사를 실패 했습니다.
+   * 
+ * + * DynamoDbDocAttribWrapperCopyFailed = 10269; + */ + public static final int DynamoDbDocAttribWrapperCopyFailed_VALUE = 10269; + /** + *
+   * DynamoDbDoc Attribute 가져오기를 실패 했습니다.	
+   * 
+ * + * DynamoDbDocAttributeGettingFailed = 10270; + */ + public static final int DynamoDbDocAttributeGettingFailed_VALUE = 10270; + /** + *
+   * DynamoDbDoc LinkPKSK 값 오류 입니다.
+   * 
+ * + * DynamoDbDocLinkPkSkInvalid = 10271; + */ + public static final int DynamoDbDocLinkPkSkInvalid_VALUE = 10271; + /** + *
+   * MySql 오류
+   * 
+ * + * MySqlConnectionCreateFailed = 10281; + */ + public static final int MySqlConnectionCreateFailed_VALUE = 10281; + /** + *
+   * MySqlConnection Open을 실패 했습니다.
+   * 
+ * + * MySqlConnectionOpenFailed = 10282; + */ + public static final int MySqlConnectionOpenFailed_VALUE = 10282; + /** + *
+   * MySql 쿼리 오류
+   * 
+ * + * MySqlDbQueryException = 10283; + */ + public static final int MySqlDbQueryException_VALUE = 10283; + /** + *
+   *=============================================================================================
+   * Cache 오류 : 10300 ~
+   *=============================================================================================
+   * Redis 오류
+   * 
+ * + * RedisServerConnectFailed = 10301; + */ + public static final int RedisServerConnectFailed_VALUE = 10301; + /** + *
+   * Redis Strings 자료구조 쓰기를 실패 했습니다.
+   * 
+ * + * RedisStringsWriteFailed = 10302; + */ + public static final int RedisStringsWriteFailed_VALUE = 10302; + /** + *
+   * Redis Strings 자료구조 읽기를 실패 했습니다.
+   * 
+ * + * RedisStringsReadFailed = 10303; + */ + public static final int RedisStringsReadFailed_VALUE = 10303; + /** + *
+   * Redis Sets 자료구조 쓰기를 실패 했습니다.
+   * 
+ * + * RedisSetsWriteFailed = 10304; + */ + public static final int RedisSetsWriteFailed_VALUE = 10304; + /** + *
+   * Redis Sets 자료구조 읽기를 실패 했습니다.
+   * 
+ * + * RedisSetsReadFailed = 10305; + */ + public static final int RedisSetsReadFailed_VALUE = 10305; + /** + *
+   * Redis SortedSets 자료구조 쓰기를 실패 했습니다.
+   * 
+ * + * RedisSortedSetsWriteFailed = 10306; + */ + public static final int RedisSortedSetsWriteFailed_VALUE = 10306; + /** + *
+   * Redis SortedSets 자료구조 읽기를 실패 했습니다.
+   * 
+ * + * RedisSortedSetsReadFailed = 10307; + */ + public static final int RedisSortedSetsReadFailed_VALUE = 10307; + /** + *
+   * Redis Hashes 자료구조 쓰기를 실패 했습니다.
+   * 
+ * + * RedisHashesWriteFailed = 10308; + */ + public static final int RedisHashesWriteFailed_VALUE = 10308; + /** + *
+   * Redis Hashes 자료구조 읽기를 실패 했습니다.
+   * 
+ * + * RedisHashesReadFailed = 10309; + */ + public static final int RedisHashesReadFailed_VALUE = 10309; + /** + *
+   * Redis Lists 자료구조 쓰기를 실패 했습니다.
+   * 
+ * + * RedisListsWriteFailed = 10310; + */ + public static final int RedisListsWriteFailed_VALUE = 10310; + /** + *
+   * Redis Lists 자료구조 읽기를 실패 했습니다.
+   * 
+ * + * RedisListsReadFailed = 10311; + */ + public static final int RedisListsReadFailed_VALUE = 10311; + /** + *
+   * Redis Request의 Key 값이 없습니다.
+   * 
+ * + * RedisRequestKeyIsEmpty = 10312; + */ + public static final int RedisRequestKeyIsEmpty_VALUE = 10312; + /** + *
+   * Redis에서 LoginCache 정보 조회를 실패했습니다.
+   * 
+ * + * RedisLoginCacheGetFailed = 10313; + */ + public static final int RedisLoginCacheGetFailed_VALUE = 10313; + /** + *
+   * Redis에 LoginCache 정보를 저장을 실패했습니다.
+   * 
+ * + * RedisLoginCacheSetFailed = 10314; + */ + public static final int RedisLoginCacheSetFailed_VALUE = 10314; + /** + *
+   * RedisPrivateCache가 중복 등록 되었습니다.
+   * 
+ * + * RedisPrivateCacheDuplicated = 10315; + */ + public static final int RedisPrivateCacheDuplicated_VALUE = 10315; + /** + *
+   * RedisGlobalSharedCache가 중복 등록 되었습니다.
+   * 
+ * + * RedisGlobalSharedCacheDuplicated = 10316; + */ + public static final int RedisGlobalSharedCacheDuplicated_VALUE = 10316; + /** + *
+   * RedisLoginCache Owner UserGuid가 일치하지 않습니다.
+   * 
+ * + * RedisLoginCacheOwnerUserGuidNotMatch = 10317; + */ + public static final int RedisLoginCacheOwnerUserGuidNotMatch_VALUE = 10317; + /** + *
+   * Redis PartyCache 읽기를 실패했습니다.
+   * 
+ * + * RedisGlobalPartyCacheGetFailed = 10318; + */ + public static final int RedisGlobalPartyCacheGetFailed_VALUE = 10318; + /** + *
+   * Redis PartyCache 쓰기를 실패했습니다.
+   * 
+ * + * RedisGlobalPartyCacheWriteFailed = 10319; + */ + public static final int RedisGlobalPartyCacheWriteFailed_VALUE = 10319; + /** + *
+   * Redis PartyMemberCache 쓰기를 실패했습니다.
+   * 
+ * + * RedisGlobalPartyMemberCacheWriteFailed = 10320; + */ + public static final int RedisGlobalPartyMemberCacheWriteFailed_VALUE = 10320; + /** + *
+   * Redis PartyServerCache 쓰기를 실패했습니다.
+   * 
+ * + * RedisGlobalPartyServerCacheWriteFailed = 10321; + */ + public static final int RedisGlobalPartyServerCacheWriteFailed_VALUE = 10321; + /** + *
+   * Redis PartyInvitePartySendCache 쓰기를 실패했습니다.
+   * 
+ * + * RedisGlobalPartyInvitePartySendCacheWriteFailed = 10322; + */ + public static final int RedisGlobalPartyInvitePartySendCacheWriteFailed_VALUE = 10322; + /** + *
+   * Redis에서 InstanceRoomInfoCache 정보 조회를 실패했습니다.
+   * 
+ * + * RedisInstanceRoomInfoCacheGetFailed = 10323; + */ + public static final int RedisInstanceRoomInfoCacheGetFailed_VALUE = 10323; + /** + *
+   * Redis 에서 누적 랭킹 데이터 저정에 실패했습니다.
+   * 
+ * + * RedisUgcNpcTotalRankCacheWriteFailed = 10324; + */ + public static final int RedisUgcNpcTotalRankCacheWriteFailed_VALUE = 10324; + /** + *
+   *=============================================================================================
+   * Message Queue 오류 : 10400 ~
+   *=============================================================================================
+   * RabbitMQ 오류
+   * 
+ * + * RabbitMqConsumerStartFailed = 10401; + */ + public static final int RabbitMqConsumerStartFailed_VALUE = 10401; + /** + *
+   * RabbitMQ 연결을 실패 했습니다.
+   * 
+ * + * RabbitMqConnectFailed = 10402; + */ + public static final int RabbitMqConnectFailed_VALUE = 10402; + /** + *
+   * RabbitMQ 메시지 시간이 오래 됐습니다.
+   * 
+ * + * RabbitMessageTimeOld = 10403; + */ + public static final int RabbitMessageTimeOld_VALUE = 10403; + /** + *
+   *=============================================================================================
+   * Message Queue 오류 : 10500 ~
+   *=============================================================================================
+   * S3 오류
+   * 
+ * + * S3ClientCreateFailed = 10501; + */ + public static final int S3ClientCreateFailed_VALUE = 10501; + /** + *
+   * S3 Bucket 생성을 실패 했습니다. 
+   * 
+ * + * S3BucketCreateFailed = 10502; + */ + public static final int S3BucketCreateFailed_VALUE = 10502; + /** + *
+   * S3 File Upload를 실패 했습니다.
+   * 
+ * + * S3FileUploadFailed = 10503; + */ + public static final int S3FileUploadFailed_VALUE = 10503; + /** + *
+   * S3 File Delete에 실패 했습니다.
+   * 
+ * + * S3FileDeleteFailed = 10504; + */ + public static final int S3FileDeleteFailed_VALUE = 10504; + /** + *
+   * S3 File Get에 실패 했습니다.
+   * 
+ * + * S3FileGetFailed = 10505; + */ + public static final int S3FileGetFailed_VALUE = 10505; + /** + *
+   *=============================================================================================
+   * Meta 스키마 및 데이터 기반 오류 : 10550 ~
+   *=============================================================================================
+   * 스키마 오류
+   * 데이터 오류
+   * 
+ * + * MetaDataLoadFailed = 10551; + */ + public static final int MetaDataLoadFailed_VALUE = 10551; + /** + *
+   * Meta 데이터 오류 입니다.
+   * 
+ * + * InvalidMetaData = 10552; + */ + public static final int InvalidMetaData_VALUE = 10552; + /** + *
+   * Meta Id 오류 입니다.
+   * 
+ * + * MetaIdInvalid = 10553; + */ + public static final int MetaIdInvalid_VALUE = 10553; + /** + *
+   *=============================================================================================
+   * 기타 라이브러리 오류 : 10610 ~
+   *=============================================================================================
+   * Json 오류
+   * 
+ * + * JsonTypeInvalid = 10611; + */ + public static final int JsonTypeInvalid_VALUE = 10611; + /** + *
+   * JsonConvert Deserialize 오류 입니다.
+   * 
+ * + * JsonConvertDeserializeFailed = 10612; + */ + public static final int JsonConvertDeserializeFailed_VALUE = 10612; + /** + *
+   *=============================================================================================
+   * 서버 공통 오류 : 10700 ~
+   *=============================================================================================
+   * 
+ * + * ServerConfigFileNotFound = 10701; + */ + public static final int ServerConfigFileNotFound_VALUE = 10701; + /** + *
+   * 서버 타입 오류 입니다.
+   * 
+ * + * ServerTypeInvalid = 10702; + */ + public static final int ServerTypeInvalid_VALUE = 10702; + /** + *
+   * 해당 리슨포트로 이미 실행중인 프로세스가 있습니다.
+   * 
+ * + * AlreadyRunningServerWithListenPort = 10703; + */ + public static final int AlreadyRunningServerWithListenPort_VALUE = 10703; + /** + *
+   * 캐시 스토리지를 찾을 수 없습니다.
+   * 
+ * + * NotFoundCacheStorage = 10704; + */ + public static final int NotFoundCacheStorage_VALUE = 10704; + /** + *
+   * 함수 파라메터중에 Null 값이 있어서 오류 입니다.
+   * 
+ * + * FunctionParamNull = 10705; + */ + public static final int FunctionParamNull_VALUE = 10705; + /** + *
+   * 함수 파라메터 오류 입니다.
+   * 
+ * + * FunctionInvalidParam = 10706; + */ + public static final int FunctionInvalidParam_VALUE = 10706; + /** + *
+   * 클라이언트 리슨 포트 오류 입니다.
+   * 
+ * + * ClientListenPortInvalid = 10707; + */ + public static final int ClientListenPortInvalid_VALUE = 10707; + /** + *
+   * Interface 를 Override 하지 않았습니다.
+   * 
+ * + * NotOverrideInterface = 10708; + */ + public static final int NotOverrideInterface_VALUE = 10708; + /** + *
+   * 서버 실행후 대기를 실패 했습니다.
+   * 
+ * + * ServerOnRunningFailed = 10709; + */ + public static final int ServerOnRunningFailed_VALUE = 10709; + /** + *
+   * 서비스 타입 오류 입니다.
+   * 
+ * + * ServiceTypeInvalid = 10710; + */ + public static final int ServiceTypeInvalid_VALUE = 10710; + /** + *
+   * 함수를 구현하지 않았습니다.
+   * 
+ * + * FunctionNotImplemented = 10711; + */ + public static final int FunctionNotImplemented_VALUE = 10711; + /** + *
+   * Interface를 상속받아 구현하지 않았습니다.
+   * 
+ * + * ClassDoesNotImplementInterfaceInheritance = 10712; + */ + public static final int ClassDoesNotImplementInterfaceInheritance_VALUE = 10712; + /** + *
+   * 정책 타입이 중복 되었습니다.
+   * 
+ * + * RuleTypeDuplicated = 10713; + */ + public static final int RuleTypeDuplicated_VALUE = 10713; + /** + *
+   * ClassType 형변환은 null 입니다.
+   * 
+ * + * ClassTypeCastIsNull = 10714; + */ + public static final int ClassTypeCastIsNull_VALUE = 10714; + /** + *
+   * 이미 등록된 PeriodicTask 입니다.
+   * 
+ * + * PeriodicTaskAlreadyRegistered = 10715; + */ + public static final int PeriodicTaskAlreadyRegistered_VALUE = 10715; + /** + *
+   * 이미 등록된 EntityTicker 입니다.
+   * 
+ * + * EntityTickerAlreadyRegistered = 10716; + */ + public static final int EntityTickerAlreadyRegistered_VALUE = 10716; + /** + *
+   * EntityTicker를 찾을 수 없습니다.
+   * 
+ * + * EntityTickerNotFound = 10717; + */ + public static final int EntityTickerNotFound_VALUE = 10717; + /** + *
+   * EntityBase를 찾을 수 없습니다.
+   * 
+ * + * EntityBaseNotFound = 10718; + */ + public static final int EntityBaseNotFound_VALUE = 10718; + /** + *
+   * 부합하는 서버가 없습니다.
+   * 
+ * + * ValidServerNotFound = 10719; + */ + public static final int ValidServerNotFound_VALUE = 10719; + /** + *
+   * 해당 서버에 유저가 가득찼습니다.
+   * 
+ * + * TargetServerUserCountExceed = 10720; + */ + public static final int TargetServerUserCountExceed_VALUE = 10720; + /** + *
+   * 해당 유저를 찾을 수 없습니다.
+   * 
+ * + * TargetUserNotFound = 10721; + */ + public static final int TargetUserNotFound_VALUE = 10721; + /** + *
+   * 대상이 접속중이지 않습니다.
+   * 
+ * + * TargetUserNotLogIn = 10722; + */ + public static final int TargetUserNotLogIn_VALUE = 10722; + /** + *
+   * 맵에서 찾을 수 없습니다.
+   * 
+ * + * NotExistMap = 10723; + */ + public static final int NotExistMap_VALUE = 10723; + /** + *
+   * 조건에 맞지 않아 입장 예약을 실패했습니다.
+   * 
+ * + * FailedToReserveEnterCondition = 10724; + */ + public static final int FailedToReserveEnterCondition_VALUE = 10724; + /** + *
+   * 입장 예약에 실패했습니다.
+   * 
+ * + * FailedToReservationEnter = 10725; + */ + public static final int FailedToReservationEnter_VALUE = 10725; + /** + *
+   * OwnerEntityType 오류 입니다.
+   * 
+ * + * OwnerEntityTypeInvalid = 10726; + */ + public static final int OwnerEntityTypeInvalid_VALUE = 10726; + /** + *
+   * OwnerEntity 정보를 채울 수 없습니다.
+   * 
+ * + * OwnerEntityCannotFillup = 10727; + */ + public static final int OwnerEntityCannotFillup_VALUE = 10727; + /** + *
+   * Owner Guid 오류 입니다.
+   * 
+ * + * OwnerGuidInvalid = 10728; + */ + public static final int OwnerGuidInvalid_VALUE = 10728; + /** + *
+   * DailyTimeEvent 등록 오류입니다.
+   * 
+ * + * DailyTimeEventAdditionFailed = 10729; + */ + public static final int DailyTimeEventAdditionFailed_VALUE = 10729; + /** + *
+   * 프로그램 VersionPath 토큰을 찾을 수 없습니다.
+   * 
+ * + * ProgramVersionPathTokenNotFound = 10730; + */ + public static final int ProgramVersionPathTokenNotFound_VALUE = 10730; + /** + *
+   * 현재 처리중 입니다.
+   * 
+ * + * CurrentlyProcessingState = 10731; + */ + public static final int CurrentlyProcessingState_VALUE = 10731; + /** + *
+   * ServerUrlType 오류 입니다.
+   * 
+ * + * ServerUrlTypeInvalid = 10732; + */ + public static final int ServerUrlTypeInvalid_VALUE = 10732; + /** + *
+   * ServerUrlType 이미 등록되어 있습니다.
+   * 
+ * + * ServerUrlTypeAlreadyRegistered = 10733; + */ + public static final int ServerUrlTypeAlreadyRegistered_VALUE = 10733; + /** + *
+   * 서버 Offline 모드가 활성화 상태 입니다.
+   * 
+ * + * ServerOfflineModeEnable = 10734; + */ + public static final int ServerOfflineModeEnable_VALUE = 10734; + /** + *
+   *=============================================================================================
+   * 데이터 변환 및 복사 오류 : 10850 ~
+   *=============================================================================================
+   * 
+ * + * MetaDataCopyToDynamoDbDocFailed = 10850; + */ + public static final int MetaDataCopyToDynamoDbDocFailed_VALUE = 10850; + /** + *
+   * Meta 데이터를 EntityAttribute에 복사하는 것을 실패 했습니다.
+   * 
+ * + * MetaDataCopyToEntityAttributeFailed = 10851; + */ + public static final int MetaDataCopyToEntityAttributeFailed_VALUE = 10851; + /** + *
+   * DynamoDbDoc를 Cache에 복사하는 것을 실패 헀습니다.
+   * 
+ * + * DynamoDbDocCopyToCacheFailed = 10852; + */ + public static final int DynamoDbDocCopyToCacheFailed_VALUE = 10852; + /** + *
+   * DynamoDbDoc를 EntityAttribute에 복사하는 것을 실패 헀습니다.
+   * 
+ * + * DynamoDbDocCopyToEntityAttributeFailed = 10853; + */ + public static final int DynamoDbDocCopyToEntityAttributeFailed_VALUE = 10853; + /** + *
+   * Cache를 EntityAttrib에 복사하는 것을 실패 했습니다.
+   * 
+ * + * CacheCopyToEntityAttributeFailed = 10854; + */ + public static final int CacheCopyToEntityAttributeFailed_VALUE = 10854; + /** + *
+   * Cache를 DynamoDbDoc에 복사하는 것을 실패 했습니다.
+   * 
+ * + * CacheCopyToDynamoDbDocFailed = 10555; + */ + public static final int CacheCopyToDynamoDbDocFailed_VALUE = 10555; + /** + *
+   * EntityAttribute를 Cache에 복사하는 것을 실패 했습니다.
+   * 
+ * + * EntityAttributeCopyToCacheFailed = 10556; + */ + public static final int EntityAttributeCopyToCacheFailed_VALUE = 10556; + /** + *
+   * EntityAttribute를 DynamoDbDoc에 복사하는 것을 실패 했습니다.
+   * 
+ * + * EntityAttributeCopyToDynamoDbDocFailed = 10557; + */ + public static final int EntityAttributeCopyToDynamoDbDocFailed_VALUE = 10557; + /** + *
+   * EntityAttribute를 EntityAttributeTransactor에 복사하는 것을 실패 했습니다.
+   * 
+ * + * EntityAttributeCopyToEntityAttributeTransactorFailed = 10558; + */ + public static final int EntityAttributeCopyToEntityAttributeTransactorFailed_VALUE = 10558; + /** + *
+   * EntityAttributeTransactor를 EntityAttribute에 복사하는 것을 실패 했습니다.
+   * 
+ * + * EntityAttributeTransactorCopyToEntityAttributeFailed = 10559; + */ + public static final int EntityAttributeTransactorCopyToEntityAttributeFailed_VALUE = 10559; + /** + *
+   * EntityAttributeTransactor를 DynamoDbDoc에 복사하는 것을 실패 했습니다.
+   * 
+ * + * EntityAttributeTransactorCopyToDynamoDbDocFailed = 10560; + */ + public static final int EntityAttributeTransactorCopyToDynamoDbDocFailed_VALUE = 10560; + /** + *
+   * Attrib를 찾을 수 없습니다.
+   * 
+ * + * AttribNotFound = 10561; + */ + public static final int AttribNotFound_VALUE = 10561; + /** + *
+   * Attrib Path 구성을 실패 했습니다.
+   * 
+ * + * AttribPathMakeFailed = 10562; + */ + public static final int AttribPathMakeFailed_VALUE = 10562; + /** + *
+   * EntityAttribute Casting을 실패 했습니다.
+   * 
+ * + * EntityAttributeCastFailed = 10563; + */ + public static final int EntityAttributeCastFailed_VALUE = 10563; + /** + *
+   * 문자열을 Enum으로 변환하는 것을 실패 했습니다. 
+   * 
+ * + * StringConvertToEnumFailed = 10564; + */ + public static final int StringConvertToEnumFailed_VALUE = 10564; + /** + *
+   *=============================================================================================
+   * 프로그램 버전 오류 : 10900 ~
+   *=============================================================================================
+   * 
+ * + * MetaSchemaVersionNotMatch = 10901; + */ + public static final int MetaSchemaVersionNotMatch_VALUE = 10901; + /** + *
+   * 메타 데이터 버전이 일치하지 않습니다.
+   * 
+ * + * MetaDataVersionNotMatch = 10902; + */ + public static final int MetaDataVersionNotMatch_VALUE = 10902; + /** + *
+   * 패킷 버전이 일치하지 않습니다.
+   * 
+ * + * PacketVersionNotMatch = 10903; + */ + public static final int PacketVersionNotMatch_VALUE = 10903; + /** + *
+   * 클라이언트 로직 버전이 일치하지 않습니다.
+   * 
+ * + * ClientLogicVersionNotMatch = 10904; + */ + public static final int ClientLogicVersionNotMatch_VALUE = 10904; + /** + *
+   * 리소스 버전이 일치하지 않습니다.
+   * 
+ * + * ResourceVersionNotMatch = 10905; + */ + public static final int ResourceVersionNotMatch_VALUE = 10905; + /** + *
+   * ClientProgramVersion 정보 null 입니다.
+   * 
+ * + * ClientProgramVersionIsNull = 10906; + */ + public static final int ClientProgramVersionIsNull_VALUE = 10906; + /** + *
+   *=============================================================================================
+   * 계정 인증 오류 : 11000 ~
+   *=============================================================================================
+   * 
+ * + * TestIdNotAllow = 11001; + */ + public static final int TestIdNotAllow_VALUE = 11001; + /** + *
+   * Bot 계정은 허용되지 않습니다.
+   * 
+ * + * BotdNotAllow = 11002; + */ + public static final int BotdNotAllow_VALUE = 11002; + /** + *
+   * 계정 id 길이가 짧습니다.
+   * 
+ * + * AccountIdLengthShort = 11003; + */ + public static final int AccountIdLengthShort_VALUE = 11003; + /** + *
+   * 통합인증Db에서 Id를 찾을 수 없습니다.
+   * 
+ * + * AccountIdNotFoundInSsoAccountDb = 11004; + */ + public static final int AccountIdNotFoundInSsoAccountDb_VALUE = 11004; + /** + *
+   * 테스트 계정으로 Meta 데이터를 찾지 못했습니다.
+   * 
+ * + * MetaDataNotFoundByTestUserId = 11005; + */ + public static final int MetaDataNotFoundByTestUserId_VALUE = 11005; + /** + *
+   * 계정 비밀번호가 일치하지 않습니다.
+   * 
+ * + * AccountPasswordNotMatch = 11006; + */ + public static final int AccountPasswordNotMatch_VALUE = 11006; + /** + *
+   * UserData 정보를 AccountAttr 정보로 변환을 실패 했습니다.
+   * 
+ * + * UserDataConvertToAccountAttrFailed = 11007; + */ + public static final int UserDataConvertToAccountAttrFailed_VALUE = 11007; + /** + *
+   * AccountBaseAttrib 정보를 DB에 추가를 실패 했습니다.
+   * 
+ * + * AccountBaseAttribInsertDbFailed = 11008; + */ + public static final int AccountBaseAttribInsertDbFailed_VALUE = 11008; + /** + *
+   * 접속 가능한 서버가 없습니다.
+   * 
+ * + * NoServerConnectable = 11009; + */ + public static final int NoServerConnectable_VALUE = 11009; + /** + *
+   * 접속 제재 처리된 계정입니다.
+   * 
+ * + * BlockedAccount = 11010; + */ + public static final int BlockedAccount_VALUE = 11010; + /** + *
+   * 통합계정인증과 런처 로그인을 허용하지 않습니다.
+   * 
+ * + * SsoAccountAuthWithLauncherLoginNotAllow = 11011; + */ + public static final int SsoAccountAuthWithLauncherLoginNotAllow_VALUE = 11011; + /** + *
+   * 클라이언트 단독 로그인을 허용하지 않습니다.
+   * 
+ * + * ClientStandaloneLoginNotAllow = 11012; + */ + public static final int ClientStandaloneLoginNotAllow_VALUE = 11012; + /** + *
+   * 접속 허용이 되지 않는 PlatformType 입니다.
+   * 
+ * + * PlatformTypeNotAllow = 11013; + */ + public static final int PlatformTypeNotAllow_VALUE = 11013; + /** + *
+   * 통합계정DB에서 계정 정보를 읽지 못했습니다.
+   * 
+ * + * AccountCanNotReadFromSsoAccountDb = 11014; + */ + public static final int AccountCanNotReadFromSsoAccountDb_VALUE = 11014; + /** + *
+   * 통합계정인증 JWT 체크를 실패 했습니다.
+   * 
+ * + * SsoAccountAuthJwtCheckFailed = 11015; + */ + public static final int SsoAccountAuthJwtCheckFailed_VALUE = 11015; + /** + *
+   * 통합계정인증 JWT 안에 UserId Key 정보가 없습니다.
+   * 
+ * + * UserIdKeyNotFoundInSsoAccountAuthJwt = 11016; + */ + public static final int UserIdKeyNotFoundInSsoAccountAuthJwt_VALUE = 11016; + /** + *
+   * 통합계정인증 JWT 안에 UserId Value 정보가 없습니다.
+   * 
+ * + * UserIdValueEmptyInSsoAccountAuthJwt = 11017; + */ + public static final int UserIdValueEmptyInSsoAccountAuthJwt_VALUE = 11017; + /** + *
+   * 통합계정인증 JWT 안에 AccountType Key 정보가 없습니다.
+   * 
+ * + * AccountTypeKeyNotFoundInSsoAccountAuthJwt = 11018; + */ + public static final int AccountTypeKeyNotFoundInSsoAccountAuthJwt_VALUE = 11018; + /** + *
+   * 통합계정인증 JWT 안에 AccountType Value 정보가 허용된 AccountType이 아닙니다.
+   * 
+ * + * AccountTypeValueNotAllowInSsoAccountAuthJwt = 11019; + */ + public static final int AccountTypeValueNotAllowInSsoAccountAuthJwt_VALUE = 11019; + /** + *
+   * 메타버스Db에서 AccountBaseDoc를 찾을 수 없습니다.
+   * 
+ * + * AccountBaseDocNotFoundInMetaverseDb = 11020; + */ + public static final int AccountBaseDocNotFoundInMetaverseDb_VALUE = 11020; + /** + *
+   * 통합계정인증 JWT 안에 AssessToken Key 정보가 없습니다.
+   * 
+ * + * AccessTokenKeyNotAllowInSsoAccountAuthJwt = 11021; + */ + public static final int AccessTokenKeyNotAllowInSsoAccountAuthJwt_VALUE = 11021; + /** + *
+   * 통합인증Db의 AccessToken과 일치하지 않습니다.
+   * 
+ * + * AccessTokenNotMatchInSsoAccountDb = 11022; + */ + public static final int AccessTokenNotMatchInSsoAccountDb_VALUE = 11022; + /** + *
+   * 현재의 AccountType은 허용되지 않습니다.
+   * 
+ * + * AccountTypeNotAllow = 11023; + */ + public static final int AccountTypeNotAllow_VALUE = 11023; + /** + *
+   * AccountBaseDoc가 로드되지 않았습니다.
+   * 
+ * + * AccountBaseDocNotLoad = 11024; + */ + public static final int AccountBaseDocNotLoad_VALUE = 11024; + /** + *
+   * 권한이 부족합니다.
+   * 
+ * + * NotEnoughAuthority = 11054; + */ + public static final int NotEnoughAuthority_VALUE = 11054; + /** + *
+   * AccountBaseDoc이 null 입니다.
+   * 
+ * + * AccountBaseDocIsNull = 11055; + */ + public static final int AccountBaseDocIsNull_VALUE = 11055; + /** + *
+   * Account Id 오류 입니다.
+   * 
+ * + * AccountIdInvalid = 11056; + */ + public static final int AccountIdInvalid_VALUE = 11056; + /** + *
+   * Account에 UserGuid가 없습니다.
+   * 
+ * + * AccountWithoutUserGuid = 11057; + */ + public static final int AccountWithoutUserGuid_VALUE = 11057; + /** + *
+   * 통합계정인증 JWT 이 기간만료 입니다.
+   * 
+ * + * SsoAccountAuthJwtTokenExpired = 11058; + */ + public static final int SsoAccountAuthJwtTokenExpired_VALUE = 11058; + /** + *
+   * 통합계정인증 JWT 예외가 발생 했습니다.
+   * 
+ * + * SsoAccountAuthJwtException = 11059; + */ + public static final int SsoAccountAuthJwtException_VALUE = 11059; + /** + *
+   *=============================================================================================
+   * 엔티티 트랜잭션 관련 오류 : 11200 ~
+   *=============================================================================================
+   * 
+ * + * TransactionRunnerAlreadyRunning = 11201; + */ + public static final int TransactionRunnerAlreadyRunning_VALUE = 11201; + /** + *
+   * TransactionRunner를 찾을 수 없습니다.
+   * 
+ * + * TransactionRunnerNotFound = 11202; + */ + public static final int TransactionRunnerNotFound_VALUE = 11202; + /** + *
+   *=============================================================================================
+   * 엔티티 속성 관련 오류 : 11300 ~
+   *=============================================================================================
+   * 
+ * + * EntityGuidInvalid = 11301; + */ + public static final int EntityGuidInvalid_VALUE = 11301; + /** + *
+   * EntityAttrib 중복 등록 되었습니다.
+   * 
+ * + * EntityAttribDuplicated = 11302; + */ + public static final int EntityAttribDuplicated_VALUE = 11302; + /** + *
+   * EntityAttribute가 null 입니다.
+   * 
+ * + * EntityAttributeIsNull = 11303; + */ + public static final int EntityAttributeIsNull_VALUE = 11303; + /** + *
+   * EntityAttribute 찾을 수 없습니다.
+   * 
+ * + * EntityAttributeNotFound = 11304; + */ + public static final int EntityAttributeNotFound_VALUE = 11304; + /** + *
+   * EntityAttribute 상태 오류 입니다.
+   * 
+ * + * EntityAttributeStateInvalid = 11305; + */ + public static final int EntityAttributeStateInvalid_VALUE = 11305; + /** + *
+   * EntityType 오류 입니다.
+   * 
+ * + * EntityTypeInvalid = 11306; + */ + public static final int EntityTypeInvalid_VALUE = 11306; + /** + *
+   * Entity가 Map에 연결되어 있습니다.
+   * 
+ * + * EntityLinkedToMap = 11307; + */ + public static final int EntityLinkedToMap_VALUE = 11307; + /** + *
+   * Entity가 Map에 연결되어 있지 않습니다.
+   * 
+ * + * EntityNotLinkedToMap = 11308; + */ + public static final int EntityNotLinkedToMap_VALUE = 11308; + /** + *
+   *현재 dence 상태가 아닙니다. dance end 패킷이 날라올때 처리
+   * 
+ * + * EntityStateNotDancing = 11309; + */ + public static final int EntityStateNotDancing_VALUE = 11309; + /** + *
+   *=============================================================================================
+   * 엔티티 얙션 관련 오류 : 11400 ~
+   *=============================================================================================
+   * 
+ * + * EntityActionDuplicated = 11401; + */ + public static final int EntityActionDuplicated_VALUE = 11401; + /** + *
+   * EntityAction을 찾을 수 없습니다.
+   * 
+ * + * EntityActionNotFound = 11402; + */ + public static final int EntityActionNotFound_VALUE = 11402; + /** + *
+   *=============================================================================================
+   * 엔티티 상태 관련 오류 : 11500 ~
+   *=============================================================================================
+   * 
+ * + * EntityBaseHfsmInitFailed = 11501; + */ + public static final int EntityBaseHfsmInitFailed_VALUE = 11501; + /** + *
+   *=============================================================================================
+   * 글로벌 엔티티 오류 : 11600 ~
+   *=============================================================================================
+   * 
+ * + * RedisGlobalEntityDuplicated = 11601; + */ + public static final int RedisGlobalEntityDuplicated_VALUE = 11601; + /** + *
+   *=============================================================================================
+   * 접속 서버 변경 관련 오류 : 11700 ~
+   *=============================================================================================
+   * 
+ * + * UserIsSwitchingServer = 11701; + */ + public static final int UserIsSwitchingServer_VALUE = 11701; + /** + *
+   * 유저가 다른 서버로 접속을 변경하고 있지 않습니다.
+   * 
+ * + * UserIsNotSwitchingServer = 11702; + */ + public static final int UserIsNotSwitchingServer_VALUE = 11702; + /** + *
+   * 접속 서버 변경 Otp 값이 일치하지 않습니다.
+   * 
+ * + * ServerSwitchingOtpNotMatch = 11703; + */ + public static final int ServerSwitchingOtpNotMatch_VALUE = 11703; + /** + *
+   * 접속된 서버는 목적지 서버가 아닙니다.
+   * 
+ * + * ConnectedServerIsNotDestServer = 11704; + */ + public static final int ConnectedServerIsNotDestServer_VALUE = 11704; + /** + *
+   * 예약된 유저가 아닙니다.
+   * 
+ * + * InvalidReservationUser = 11705; + */ + public static final int InvalidReservationUser_VALUE = 11705; + /** + *
+   * 복귀 유저가 아닙니다.
+   * 
+ * + * InvalidReturnUser = 11706; + */ + public static final int InvalidReturnUser_VALUE = 11706; + /** + *
+   *=============================================================================================
+   * 유저 관련 오류 : 12000 ~
+   *=============================================================================================
+   * 
+ * + * UserNicknameNotAllowWithSpecialChars = 12001; + */ + public static final int UserNicknameNotAllowWithSpecialChars_VALUE = 12001; + /** + *
+   * 유저 닉네임은 한글로 최소2 에서 최대8 글자까지 허용 합니다.
+   * 
+ * + * UserNicknameAllowedMin2ToMax8WithKorean = 12002; + */ + public static final int UserNicknameAllowedMin2ToMax8WithKorean_VALUE = 12002; + /** + *
+   * 유저 닉네임은 영어로 최소4 에서 최대16 글자까지 허용 합니다.
+   * 
+ * + * UserNicknameAllowedMin4ToMax16WithEnglish = 12003; + */ + public static final int UserNicknameAllowedMin4ToMax16WithEnglish_VALUE = 12003; + /** + *
+   * 유저 닉네임은 첫번째 글자에 숫자를 허용하지 않습니다.
+   * 
+ * + * UserNicknameNotAllowedNumberAtFirstChars = 12004; + */ + public static final int UserNicknameNotAllowedNumberAtFirstChars_VALUE = 12004; + /** + *
+   * 유저 닉네임으로 허용되지 않는 문자 입니다.
+   * 
+ * + * UserNicknameNotAllowChars = 12005; + */ + public static final int UserNicknameNotAllowChars_VALUE = 12005; + /** + *
+   * 유저 닉네임으로 한글 초성체를 허용하지 않습니다.
+   * 
+ * + * UserNicknameNotAllowWithInitialismKorean = 12006; + */ + public static final int UserNicknameNotAllowWithInitialismKorean_VALUE = 12006; + /** + *
+   * 유저 닉네임이 금지어에 해당 합니다.
+   * 
+ * + * UserNicknameBan = 12007; + */ + public static final int UserNicknameBan_VALUE = 12007; + /** + *
+   * 유저 중복 로그인 입니다.
+   * 
+ * + * UserDuplicatedLogin = 12008; + */ + public static final int UserDuplicatedLogin_VALUE = 12008; + /** + *
+   * 유저가 로그인되어 있지 않습니다.
+   * 
+ * + * UserNotLogin = 12009; + */ + public static final int UserNotLogin_VALUE = 12009; + /** + *
+   * 유저 생성을 위한 DynamoDbDoc가 중복 등록 되었습니다.
+   * 
+ * + * UserCreationForDynamoDbDocDuplicated = 12010; + */ + public static final int UserCreationForDynamoDbDocDuplicated_VALUE = 12010; + /** + *
+   * UserGuid를 참조하는 모든 Attribute에 Guid를 적용하는 것을 실패했습니다.
+   * 
+ * + * UserGuidApplyToRefAttributeAllFailed = 12011; + */ + public static final int UserGuidApplyToRefAttributeAllFailed_VALUE = 12011; + /** + *
+   * TestUserPrepareCreate 단계가 완료되지 않았습니다.
+   * 
+ * + * TestUserPrepareCreateNotCompleted = 12012; + */ + public static final int TestUserPrepareCreateNotCompleted_VALUE = 12012; + /** + *
+   * DefaultUserPrepareCreate 단계가 완료되지 않았습니다.
+   * 
+ * + * DefaultUserPrepareCreateNotCompleted = 12013; + */ + public static final int DefaultUserPrepareCreateNotCompleted_VALUE = 12013; + /** + *
+   * UserPrepareLoad 단계가 완료되지 않았습니다.
+   * 
+ * + * UserPrepareLoadNotCompleted = 12014; + */ + public static final int UserPrepareLoadNotCompleted_VALUE = 12014; + /** + *
+   * 유저 닉네임이 생성되어 있지 않습니다.
+   * 
+ * + * UserNicknameNotCreated = 12015; + */ + public static final int UserNicknameNotCreated_VALUE = 12015; + /** + *
+   * 유저 닉네임을 이미 생성 했습니다.
+   * 
+ * + * UserNicknameAlreadyCreated = 12016; + */ + public static final int UserNicknameAlreadyCreated_VALUE = 12016; + /** + *
+   * 유저 생성 절차가 완료되지 않았습니다.
+   * 
+ * + * UserCreateStepNotCompleted = 12017; + */ + public static final int UserCreateStepNotCompleted_VALUE = 12017; + /** + *
+   * 유저 생성이 완료 되었습니다.
+   * 
+ * + * UserCreateCompleted = 12018; + */ + public static final int UserCreateCompleted_VALUE = 12018; + /** + *
+   * 유저 서브키 바인딩을 실패 했습니다.
+   * 
+ * + * UserSubKeyBindToFailed = 12019; + */ + public static final int UserSubKeyBindToFailed_VALUE = 12019; + /** + *
+   * 유저 서브키 변경을 실패 했습니다.
+   * 
+ * + * UserSubKeyReplaceFailed = 12020; + */ + public static final int UserSubKeyReplaceFailed_VALUE = 12020; + /** + *
+   * 유저 Guid 오류 입니다.
+   * 
+ * + * UserGuidInvalid = 12021; + */ + public static final int UserGuidInvalid_VALUE = 12021; + /** + *
+   * UserNicknameDoc이 null 입니다.
+   * 
+ * + * UserNicknameDocIsNull = 12022; + */ + public static final int UserNicknameDocIsNull_VALUE = 12022; + /** + *
+   * UserDoc이 null 입니다.
+   * 
+ * + * UserDocIsNull = 12023; + */ + public static final int UserDocIsNull_VALUE = 12023; + /** + *
+   * UserGuid가 이미 등록되어 있습니다.
+   * 
+ * + * UserGuidAlreadyAdded = 12024; + */ + public static final int UserGuidAlreadyAdded_VALUE = 12024; + /** + *
+   * User 닉네임이 중복 되었습니다.
+   * 
+ * + * UserNicknameDuplicated = 12025; + */ + public static final int UserNicknameDuplicated_VALUE = 12025; + /** + *
+   * 유저 닉네임은 최소2 에서 최대12 글자까지 허용 합니다.
+   * 
+ * + * UserNicknameAllowedMin2ToMax12 = 12026; + */ + public static final int UserNicknameAllowedMin2ToMax12_VALUE = 12026; + /** + *
+   * UserNickname 검색 페이지가 잘못되었습니다.
+   * 
+ * + * UserNicknameSearchPageWrong = 12027; + */ + public static final int UserNicknameSearchPageWrong_VALUE = 12027; + /** + *
+   * 유저 닉네임이 없습니다.
+   * 
+ * + * UserNicknameEmpty = 12028; + */ + public static final int UserNicknameEmpty_VALUE = 12028; + /** + *
+   * UserContentsSettingDoc이 null 입니다.
+   * 
+ * + * UserContentsSettingDocIsNull = 12029; + */ + public static final int UserContentsSettingDocIsNull_VALUE = 12029; + /** + *
+   * 유저 MoneyDoc이 없습니다.
+   * 
+ * + * UserMoneyDocEmpty = 12030; + */ + public static final int UserMoneyDocEmpty_VALUE = 12030; + /** + *
+   *=============================================================================================
+   * 유저 신고하기 관련 오류 : 12100 ~
+   *=============================================================================================
+   * 
+ * + * UserReportInvalidTitleLength = 12101; + */ + public static final int UserReportInvalidTitleLength_VALUE = 12101; + /** + *
+   * 유저 신고하기 의 내용 길이 오류입니다.
+   * 
+ * + * UserReportInvalidContentLength = 12102; + */ + public static final int UserReportInvalidContentLength_VALUE = 12102; + /** + *
+   *=============================================================================================
+   * 캐릭터 관련 오류 : 13000 ~
+   *=============================================================================================
+   * 
+ * + * TestCharacterPrepareCreateNotCompleted = 13001; + */ + public static final int TestCharacterPrepareCreateNotCompleted_VALUE = 13001; + /** + *
+   * DefaultCharacterPrepareCreate 단계가 완료되지 않았습니다.
+   * 
+ * + * DefaultCharacterPrepareCreateNotCompleted = 13012; + */ + public static final int DefaultCharacterPrepareCreateNotCompleted_VALUE = 13012; + /** + *
+   * CharacterPrepareLoad 단계가 완료되지 않았습니다.
+   * 
+ * + * CharacterPrepareLoadNotCompleted = 13013; + */ + public static final int CharacterPrepareLoadNotCompleted_VALUE = 13013; + /** + *
+   * CharacterBaseDoc 로딩중에 중복된 캐릭터가 발견되었습니다.
+   * 
+ * + * CharacterBaseDocLoadDuplicatedCharacter = 13014; + */ + public static final int CharacterBaseDocLoadDuplicatedCharacter_VALUE = 13014; + /** + *
+   * 선택된 캐릭터가 없습니다.
+   * 
+ * + * CharacterNotSelected = 13015; + */ + public static final int CharacterNotSelected_VALUE = 13015; + /** + *
+   * 캐릭터를 찾지 못했습니다.
+   * 
+ * + * CharacterNotFound = 13016; + */ + public static final int CharacterNotFound_VALUE = 13016; + /** + *
+   * CharacterBaseDoc 읽지 않았습니다.
+   * 
+ * + * CharacterBaseDocNoRead = 13017; + */ + public static final int CharacterBaseDocNoRead_VALUE = 13017; + /** + *
+   * 캐릭터 커스터마이징이 완료가 되지 않았습니다.
+   * 
+ * + * CharacterCustomizingNotCompleted = 13018; + */ + public static final int CharacterCustomizingNotCompleted_VALUE = 13018; + /** + *
+   * 캐릭터 생성 절차가 완료되지 않았습니다.
+   * 
+ * + * CharacterCreateStepNotCompleted = 13019; + */ + public static final int CharacterCreateStepNotCompleted_VALUE = 13019; + /** + *
+   * 캐릭터 커스터마이징이 이미 완료 되었습니다.
+   * 
+ * + * CharacterCustomizingAlreadyCompleted = 13020; + */ + public static final int CharacterCustomizingAlreadyCompleted_VALUE = 13020; + /** + *
+   * 캐릭터 준비 단계에서 캐릭터 생성이 되지 않습니다.
+   * 
+ * + * CharacterPrepareNotCreated = 13021; + */ + public static final int CharacterPrepareNotCreated_VALUE = 13021; + /** + *
+   * 캐릭터 생성이 완료 되었습니다.
+   * 
+ * + * CharacterCreateCompleted = 13022; + */ + public static final int CharacterCreateCompleted_VALUE = 13022; + /** + *
+   * CharacterBaseDoc이 null 입니다.
+   * 
+ * + * CharacterBaseDocIsNull = 13023; + */ + public static final int CharacterBaseDocIsNull_VALUE = 13023; + /** + *
+   *=============================================================================================
+   * 능력치 관련 오류 : 13300 ~
+   *=============================================================================================
+   * 
+ * + * AbilityNotEnough = 13301; + */ + public static final int AbilityNotEnough_VALUE = 13301; + /** + *
+   *=============================================================================================
+   * 아이템 관련 오류 : 14000 ~
+   *=============================================================================================
+   * 
+ * + * ItemMetaDataNotFound = 14001; + */ + public static final int ItemMetaDataNotFound_VALUE = 14001; + /** + *
+   * 아이템 Guid 값 오류 입니다.
+   * 
+ * + * ItemGuidInvalid = 14002; + */ + public static final int ItemGuidInvalid_VALUE = 14002; + /** + *
+   * ItemDoc 객체가 null 입니다.
+   * 
+ * + * ItemDocIsNull = 14003; + */ + public static final int ItemDocIsNull_VALUE = 14003; + /** + *
+   * 아이템 DefaultAttribute를 관련 메타 데이터에서 찾지 못했습니다.
+   * 
+ * + * ItemDefaultAttributeNotFoundInMeta = 14004; + */ + public static final int ItemDefaultAttributeNotFoundInMeta_VALUE = 14004; + /** + *
+   * 아이템 Level Enchant를 관련 메타 데이터에서 찾지 못했습니다.
+   * 
+ * + * ItemLevelEnchantNotFoundInMeta = 14005; + */ + public static final int ItemLevelEnchantNotFoundInMeta_VALUE = 14005; + /** + *
+   * 아이템 Enchant를 관련 메타 데이터에서 찾지 못했습니다.
+   * 
+ * + * ItemEnchantNotFoundInMeta = 14006; + */ + public static final int ItemEnchantNotFoundInMeta_VALUE = 14006; + /** + *
+   * 아이템 AttributeRandomGroup을 관련 메타 데이터에서 찾지 못했습니다.
+   * 
+ * + * ItemAttributeRandomGroupNotFoundInMeta = 14007; + */ + public static final int ItemAttributeRandomGroupNotFoundInMeta_VALUE = 14007; + /** + *
+   * 아이템 AttributeRandomGroup의 TotalWeight 오류 입니다.
+   * 
+ * + * ItemAttributeRandomGroupTotalWeightInvalid = 14008; + */ + public static final int ItemAttributeRandomGroupTotalWeightInvalid_VALUE = 14008; + /** + *
+   * 아이템을 찾지 못했습니다.
+   * 
+ * + * ItemNotFound = 14009; + */ + public static final int ItemNotFound_VALUE = 14009; + /** + *
+   * 의상 아이템 LargeType 오류 입니다.
+   * 
+ * + * ItemClothInvalidLargeType = 14010; + */ + public static final int ItemClothInvalidLargeType_VALUE = 14010; + /** + *
+   * 의상 아이템 SmallType 오류 입니다.
+   * 
+ * + * ItemClothInvalidSmallType = 14011; + */ + public static final int ItemClothInvalidSmallType_VALUE = 14011; + /** + *
+   * 아이템 스택 개수 오류 입니다.
+   * 
+ * + * ItemStackCountInvalid = 14012; + */ + public static final int ItemStackCountInvalid_VALUE = 14012; + /** + *
+   * 아이템 최대 보유 갯수를 초과 했습니다.
+   * 
+ * + * ItemMaxCountExceed = 14013; + */ + public static final int ItemMaxCountExceed_VALUE = 14013; + /** + *
+   * ItemDoc 로딩중에 중복된 아이템이 발견되었습니다.
+   * 
+ * + * ItemDocLoadDuplicatedItem = 14014; + */ + public static final int ItemDocLoadDuplicatedItem_VALUE = 14014; + /** + *
+   * ClothSlotType 오류 입니다.
+   * 
+ * + * ClothSlotTypeInvalid = 14015; + */ + public static final int ClothSlotTypeInvalid_VALUE = 14015; + /** + *
+   * 아이템 스택 개수가 부족 합니다.
+   * 
+ * + * ItemStackCountNotEnough = 14016; + */ + public static final int ItemStackCountNotEnough_VALUE = 14016; + /** + *
+   * 아이템 보유 개수가 부족 합니다.
+   * 
+ * + * ItemCountNotEnough = 14017; + */ + public static final int ItemCountNotEnough_VALUE = 14017; + /** + *
+   * ItemType(LargeType, SmallType) 오류입니다.
+   * 
+ * + * ItemInvalidItemType = 14018; + */ + public static final int ItemInvalidItemType_VALUE = 14018; + /** + *
+   * 아이템 Tool 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * ItemToolMetaDataNotFound = 14019; + */ + public static final int ItemToolMetaDataNotFound_VALUE = 14019; + /** + *
+   * 아이템 Tool을 찾지 못했습니다.
+   * 
+ * + * ItemToolNotFound = 14020; + */ + public static final int ItemToolNotFound_VALUE = 14020; + /** + *
+   * 아이템 Tool이 활성화 상태가 아닙니다.
+   * 
+ * + * ItemToolNotActivateState = 14021; + */ + public static final int ItemToolNotActivateState_VALUE = 14021; + /** + *
+   * ToolActionDoc이 null 입니다.
+   * 
+ * + * ToolActionDocIsNull = 14022; + */ + public static final int ToolActionDocIsNull_VALUE = 14022; + /** + *
+   * ToolAction이 이미 비활성화 상태 입니다.
+   * 
+ * + * ToolActionAlreadyUnactivateState = 14023; + */ + public static final int ToolActionAlreadyUnactivateState_VALUE = 14023; + /** + *
+   * ToolAction이 이미 활성화 상태 입니다.
+   * 
+ * + * ToolActionAlreadyActivateState = 14024; + */ + public static final int ToolActionAlreadyActivateState_VALUE = 14024; + /** + *
+   * 아이템 Tattoo가 없습니다.
+   * 
+ * + * ItemTattooNotFound = 14025; + */ + public static final int ItemTattooNotFound_VALUE = 14025; + /** + *
+   * 아이템 Attribute Enchant 메타가 없습니다.
+   * 
+ * + * ItemAttributeEnchantMetaNotFound = 14026; + */ + public static final int ItemAttributeEnchantMetaNotFound_VALUE = 14026; + /** + *
+   * 아이템 Attribute Change가 선택되지 않았습니다.
+   * 
+ * + * ItemAttributeChangeNotSelected = 14027; + */ + public static final int ItemAttributeChangeNotSelected_VALUE = 14027; + /** + *
+   * 아이템 문자열을 정수로 변환하는데 오류가 발생했습니다.
+   * 
+ * + * ItemParsingFromStringToIntErorr = 14028; + */ + public static final int ItemParsingFromStringToIntErorr_VALUE = 14028; + /** + *
+   * 아이템 개수 문자열을 정수로 변환하는데 오류가 발생했습니다.
+   * 
+ * + * ItemValueParsingFromStringToIntErorr = 14029; + */ + public static final int ItemValueParsingFromStringToIntErorr_VALUE = 14029; + /** + *
+   * ItemFirstPurchaseHistoryDoc이 null 입니다.
+   * 
+ * + * ItemFirstPurchaseHistoryDocIsNull = 14030; + */ + public static final int ItemFirstPurchaseHistoryDocIsNull_VALUE = 14030; + /** + *
+   * ItemFirstPurchaseHistoryDoc 로딩중에 중복된 아이템이 발견되었습니다.
+   * 
+ * + * ItemFirstPurchaseHistoryDocLoadDuplicatedItem = 14031; + */ + public static final int ItemFirstPurchaseHistoryDocLoadDuplicatedItem_VALUE = 14031; + /** + *
+   * ItemFirstPurchaseHistory가 이미 존재합니다.
+   * 
+ * + * ItemFirstPurchaseHistoryAlreadyExist = 14032; + */ + public static final int ItemFirstPurchaseHistoryAlreadyExist_VALUE = 14032; + /** + *
+   * 아이템 첫 구매 할인 아이템 개수가 잘못되었습니다.
+   * 
+ * + * ItemFirstPurchaseDiscountItemCountWrong = 14033; + */ + public static final int ItemFirstPurchaseDiscountItemCountWrong_VALUE = 14033; + /** + *
+   * 아이템 AttributeIdType 오류 입니다.
+   * 
+ * + * ItemAttributeIdTypeInvalid = 14034; + */ + public static final int ItemAttributeIdTypeInvalid_VALUE = 14034; + /** + *
+   * 아이템 할당 오류 입니다.
+   * 
+ * + * ItemAllocFailed = 14035; + */ + public static final int ItemAllocFailed_VALUE = 14035; + /** + *
+   * 아이템 Guid 중복 오류 입니다.	
+   * 
+ * + * ItemGuidDuplicated = 14036; + */ + public static final int ItemGuidDuplicated_VALUE = 14036; + /** + *
+   * 아이템 레벨이 현재 최대 입니다.
+   * 
+ * + * ItemLevelCurrentMax = 14037; + */ + public static final int ItemLevelCurrentMax_VALUE = 14037; + /** + *
+   *=============================================================================================
+   * 아이템 액션 관련 오류 : 14101 ~
+   *=============================================================================================
+   * 
+ * + * ItemUseFunctionNotFound = 14101; + */ + public static final int ItemUseFunctionNotFound_VALUE = 14101; + /** + *
+   * 퀘스트 쿨타임 초기화 아이템 사용시 : 퀘스트 메일이 가득차서 아이템 사용 불가.
+   * 
+ * + * ItemUseQuestMailCountMax = 14102; + */ + public static final int ItemUseQuestMailCountMax_VALUE = 14102; + /** + *
+   * 퀘스트 쿨타임 초기화 아이템 사용시 : 이미 수행중이거나, 퀘스트메일이 존재해서 할당가능한 퀘스트가 없어서 아이템 사용 불가.
+   * 
+ * + * ItemUseNotExistAssignableQuest = 14103; + */ + public static final int ItemUseNotExistAssignableQuest_VALUE = 14103; + /** + *
+   * 퀘스트 할당 아이템 사용시 : 해당 퀘스트는 이미 진행중이어서 아이템 사용 불가.
+   * 
+ * + * ItemUseAlreadyHasQuest = 14104; + */ + public static final int ItemUseAlreadyHasQuest_VALUE = 14104; + /** + *
+   * 퀘스트 할당 아이템 사용시 : 해당 퀘스트메일은 이미 존재해서 아이템 사용 불가.
+   * 
+ * + * ItemUseAlreadyHasQuestMail = 14105; + */ + public static final int ItemUseAlreadyHasQuestMail_VALUE = 14105; + /** + *
+   *=============================================================================================
+   * 인벤토리 관련 오류 : 15000 ~
+   *=============================================================================================
+   * 
+ * + * BagRuleItemLargeTypeDuplicated = 15001; + */ + public static final int BagRuleItemLargeTypeDuplicated_VALUE = 15001; + /** + *
+   * ToolEquipRule에 ItemLargeType이 중복 되었습니다.
+   * 
+ * + * ToolEquipRuleItemLargeTypeDuplicated = 15002; + */ + public static final int ToolEquipRuleItemLargeTypeDuplicated_VALUE = 15002; + /** + *
+   * ClosthEquipRule에 ItemLargeType이 중복 되었습니다.
+   * 
+ * + * ClothEquipRuleItemLargeTypeDuplicated = 15003; + */ + public static final int ClothEquipRuleItemLargeTypeDuplicated_VALUE = 15003; + /** + *
+   * TattooEquipRule에 ItemLargeType이 중복 되었습니다.
+   * 
+ * + * TattooEquipRuleItemLargeTypeDuplicated = 15004; + */ + public static final int TattooEquipRuleItemLargeTypeDuplicated_VALUE = 15004; + /** + *
+   * InventoryRule을 찾을 수 없습니다.
+   * 
+ * + * InventoryRuleNotFound = 15005; + */ + public static final int InventoryRuleNotFound_VALUE = 15005; + /** + *
+   * EquipInven을 찾을 수 없습니다.
+   * 
+ * + * EquipInvenNotFound = 15006; + */ + public static final int EquipInvenNotFound_VALUE = 15006; + /** + *
+   * 이미 장착된 Slots 입니다.
+   * 
+ * + * SlotsAlreadyEquiped = 15007; + */ + public static final int SlotsAlreadyEquiped_VALUE = 15007; + /** + *
+   * 이미 장착 해제된 Slots 입니다.
+   * 
+ * + * SlotsAlreadyUnequiped = 15008; + */ + public static final int SlotsAlreadyUnequiped_VALUE = 15008; + /** + *
+   * 가방에 아이템이 가득 찼습니다.
+   * 
+ * + * BagIsItemFull = 15009; + */ + public static final int BagIsItemFull_VALUE = 15009; + /** + *
+   * 가방에 아이템이 비어 있습니다.
+   * 
+ * + * BagIsItemEmpty = 15010; + */ + public static final int BagIsItemEmpty_VALUE = 15010; + /** + *
+   * 가방에 DeltaItem이 중복 되었습니다.
+   * 
+ * + * BagDeltaItemDupliated = 15011; + */ + public static final int BagDeltaItemDupliated_VALUE = 15011; + /** + *
+   * 가방에서 아이템을 찾을 수 없습니다.
+   * 
+ * + * BagItemNotFound = 15012; + */ + public static final int BagItemNotFound_VALUE = 15012; + /** + *
+   * ClothEquipRule에서 ClothSlotType을 찾을 수 없습니다.
+   * 
+ * + * ClothEquipRuleClothSlotTypeNotFound = 15013; + */ + public static final int ClothEquipRuleClothSlotTypeNotFound_VALUE = 15013; + /** + *
+   * ToolEquipRule에서 ToolSlotType를 찾을 수 없습니다.
+   * 
+ * + * ToolEquipRuleToolSlotTypeNotFound = 15014; + */ + public static final int ToolEquipRuleToolSlotTypeNotFound_VALUE = 15014; + /** + *
+   * TattooEquipRule에서 TattooSlotType을 찾을 수 없습니다.
+   * 
+ * + * TattooEquipRuleTattooSlotTypeNotFound = 15015; + */ + public static final int TattooEquipRuleTattooSlotTypeNotFound_VALUE = 15015; + /** + *
+   * BagTabType 추가를 실패 했습니다.
+   * 
+ * + * BagTabTypeAddFailed = 15016; + */ + public static final int BagTabTypeAddFailed_VALUE = 15016; + /** + *
+   * BagTabType 오류 입니다.
+   * 
+ * + * BagTabTypeInvalid = 15017; + */ + public static final int BagTabTypeInvalid_VALUE = 15017; + /** + *
+   * BagTabType을 찾을 수 없습니다.
+   * 
+ * + * BagTabTypeNotFound = 15018; + */ + public static final int BagTabTypeNotFound_VALUE = 15018; + /** + *
+   * BagTabCount Merge를 실패 했습니다.
+   * 
+ * + * BagTabCountMergeFailed = 15019; + */ + public static final int BagTabCountMergeFailed_VALUE = 15019; + /** + *
+   * Inventory EntityType 오류 입니다.
+   * 
+ * + * InventoryEntityTypeInvalid = 15020; + */ + public static final int InventoryEntityTypeInvalid_VALUE = 15020; + /** + *
+   * InvenEquipType 오류 입니다.
+   * 
+ * + * InvenEquipTypeInvalid = 15021; + */ + public static final int InvenEquipTypeInvalid_VALUE = 15021; + /** + *
+   * 가방에 예약된 아이템이 가득 찼습니다.
+   * 
+ * + * BagIsReservedItemFull = 15022; + */ + public static final int BagIsReservedItemFull_VALUE = 15022; + /** + *
+   * 가방에 예약된 아이템이 없습니다.
+   * 
+ * + * BagIsReservedItemEmpty = 15023; + */ + public static final int BagIsReservedItemEmpty_VALUE = 15023; + /** + *
+   * 장착 슬롯이 일치하지 않습니다.
+   * 
+ * + * EquipSlotNotMatch = 15024; + */ + public static final int EquipSlotNotMatch_VALUE = 15024; + /** + *
+   * 장착 슬롯 범위를 벗어났습니다.
+   * 
+ * + * EquipSlotOutOfRange = 15025; + */ + public static final int EquipSlotOutOfRange_VALUE = 15025; + /** + *
+   * 이미 예약된 장착 Slots 입니다.
+   * 
+ * + * SlotsAlreadyReservedEquip = 15026; + */ + public static final int SlotsAlreadyReservedEquip_VALUE = 15026; + /** + *
+   * 이미 예약된 장착 해제 Slots 입니다.
+   * 
+ * + * SlotsAlreadyReservedUnequip = 15027; + */ + public static final int SlotsAlreadyReservedUnequip_VALUE = 15027; + /** + *
+   * SlotType을 찾을 수 없습니다.
+   * 
+ * + * SlotTypeNotFound = 15028; + */ + public static final int SlotTypeNotFound_VALUE = 15028; + /** + *
+   *=============================================================================================
+   * UgcNpc 관련 오류 : 15101 ~
+   *=============================================================================================
+   * 
+ * + * UgcNpcMetaGuidAlreadyAdded = 15101; + */ + public static final int UgcNpcMetaGuidAlreadyAdded_VALUE = 15101; + /** + *
+   * UgcNpcDoc이 null 입니다.
+   * 
+ * + * UgcNpcDocIsNull = 15102; + */ + public static final int UgcNpcDocIsNull_VALUE = 15102; + /** + *
+   * UgcNpc 생성 개수를 초과 했습니다.
+   * 
+ * + * UgcNpcMaxCountExceed = 15103; + */ + public static final int UgcNpcMaxCountExceed_VALUE = 15103; + /** + *
+   * UgcNpc 의상 아이템이 부족 합니다.
+   * 
+ * + * UgcNpcClothItemNotEnough = 15104; + */ + public static final int UgcNpcClothItemNotEnough_VALUE = 15104; + /** + *
+   * UgcNpcDoc 중복 로딩 되었습니다.
+   * 
+ * + * UgcNpcDocLoadDuplicatedUgcNpc = 15105; + */ + public static final int UgcNpcDocLoadDuplicatedUgcNpc_VALUE = 15105; + /** + *
+   * UgcNpc 캐릭터 설명 문자열 길이를 초과 했습니다.
+   * 
+ * + * UgcNpcDescriptionLengthExceed = 15106; + */ + public static final int UgcNpcDescriptionLengthExceed_VALUE = 15106; + /** + *
+   * UgcNpc 세계관 문자열 길이를 초과 했습니다.
+   * 
+ * + * UgcNpcWordScenarioLengthExceed = 15107; + */ + public static final int UgcNpcWordScenarioLengthExceed_VALUE = 15107; + /** + *
+   * UgcNpc 인사말 문자열 길이를 초과 했습니다.
+   * 
+ * + * UgcNpcGreetingLengthExceed = 15108; + */ + public static final int UgcNpcGreetingLengthExceed_VALUE = 15108; + /** + *
+   * UgcNpc 타투 아이템이 부족 합니다.
+   * 
+ * + * UgcNpcTattooItemNotEnough = 15109; + */ + public static final int UgcNpcTattooItemNotEnough_VALUE = 15109; + /** + *
+   * UgcNpc 자주 사용하는 소셜 액션 개수를 초과 했습니다.
+   * 
+ * + * UgcNpcHabitSocialActionCountExceed = 15110; + */ + public static final int UgcNpcHabitSocialActionCountExceed_VALUE = 15110; + /** + *
+   * UgcNpc 대화중 기본 소셜 액션 개수를 초과 했습니다.
+   * 
+ * + * UgcNpcDialogueSocialActionCountExceed = 15111; + */ + public static final int UgcNpcDialogueSocialActionCountExceed_VALUE = 15111; + /** + *
+   * UgcNpc 닉네임이 중복 되었습니다.
+   * 
+ * + * UgcNpcNicknameDuplicated = 15112; + */ + public static final int UgcNpcNicknameDuplicated_VALUE = 15112; + /** + *
+   * UgcNpc를 찾을 수 없습니다.
+   * 
+ * + * UgcNpcNotFound = 15113; + */ + public static final int UgcNpcNotFound_VALUE = 15113; + /** + *
+   * UgcNpc 자기소개 문자열 길이를 초과 했습니다.
+   * 
+ * + * UgcNpcIntroductionLengthExceed = 15114; + */ + public static final int UgcNpcIntroductionLengthExceed_VALUE = 15114; + /** + *
+   * UgcNpc Tag 개수를 초과 했습니다.
+   * 
+ * + * UgcNpcMaxTagExceed = 15115; + */ + public static final int UgcNpcMaxTagExceed_VALUE = 15115; + /** + *
+   * UgcNpc 닉네임이 없습니다.
+   * 
+ * + * UgcNpcNicknameEmpty = 15116; + */ + public static final int UgcNpcNicknameEmpty_VALUE = 15116; + /** + *
+   * UgcNpc가 이미 게임존에 등록되어 있습니다.
+   * 
+ * + * UgcNpcAlreadyRegisteredInGameZone = 15117; + */ + public static final int UgcNpcAlreadyRegisteredInGameZone_VALUE = 15117; + /** + *
+   * UgcNpc가 게임존에 등록되어 있지 않습니다.
+   * 
+ * + * UgcNpcNotRegisteredInGameZone = 15118; + */ + public static final int UgcNpcNotRegisteredInGameZone_VALUE = 15118; + /** + *
+   * UgcNpcLikeSelecteeCount를 찾을 수 없습니다.
+   * 
+ * + * UgcNpcLikeSelecteeCountNotFound = 15119; + */ + public static final int UgcNpcLikeSelecteeCountNotFound_VALUE = 15119; + /** + *
+   * UgcNpcLikeSelectedFlag를 찾을 수 없습니다.
+   * 
+ * + * UgcNpcLikeSelectedFlagNotFound = 15120; + */ + public static final int UgcNpcLikeSelectedFlagNotFound_VALUE = 15120; + /** + *
+   * UgcNpc가 마이홈 Ugc에 중복 배치 되었습니다.
+   * 
+ * + * UgcNpcDuplicateInMyhomeUgc = 15121; + */ + public static final int UgcNpcDuplicateInMyhomeUgc_VALUE = 15121; + /** + *
+   * UgcNpc가 배치된 상태 입니다.
+   * 
+ * + * UgcNpcLocatedState = 15122; + */ + public static final int UgcNpcLocatedState_VALUE = 15122; + /** + *
+   * UgcNpc 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * UgcNpcMetaDataNotFound = 15123; + */ + public static final int UgcNpcMetaDataNotFound_VALUE = 15123; + /** + *
+   *=============================================================================================
+   * UgcNpc Ranking 관련 오류 : 15201 ~
+   *=============================================================================================
+   * 
+ * + * UgcNpcRankEntityIsNotFound = 15201; + */ + public static final int UgcNpcRankEntityIsNotFound_VALUE = 15201; + /** + *
+   * ugc npc ranking 조회 범위를 초과했습니다.
+   * 
+ * + * UgcNpcRankOutOfRange = 15202; + */ + public static final int UgcNpcRankOutOfRange_VALUE = 15202; + /** + *
+   *=============================================================================================
+   * Farming Effect 관련 오류 : 15301 ~
+   *=============================================================================================
+   * 
+ * + * FarmingEffectDocLinkPkSkNotSet = 15301; + */ + public static final int FarmingEffectDocLinkPkSkNotSet_VALUE = 15301; + /** + *
+   * FarmingEffect가 이미 게임존에 등록되어 있습니다.
+   * 
+ * + * FarmingEffectAlreadyRegisteredInGameZone = 15302; + */ + public static final int FarmingEffectAlreadyRegisteredInGameZone_VALUE = 15302; + /** + *
+   * 이미 진행중인 Farming 입니다.
+   * 
+ * + * FarmingAlready = 15303; + */ + public static final int FarmingAlready_VALUE = 15303; + /** + *
+   * 나는 Farming 중입니다.
+   * 
+ * + * FarmingByMe = 15304; + */ + public static final int FarmingByMe_VALUE = 15304; + /** + *
+   * FarmingPropMeta 데이터를 찾을 수 없습니다.
+   * 
+ * + * FarmingPropMetaDataNotFound = 15305; + */ + public static final int FarmingPropMetaDataNotFound_VALUE = 15305; + /** + *
+   * Farming 시도 횟수 오류 입니다.
+   * 
+ * + * FarmingTryCountInvalid = 15306; + */ + public static final int FarmingTryCountInvalid_VALUE = 15306; + /** + *
+   * Farming 상태가 아닙니다.
+   * 
+ * + * FarmingNotState = 15307; + */ + public static final int FarmingNotState_VALUE = 15307; + /** + *
+   * Farming 소유자 일치 하지 않습니다.
+   * 
+ * + * FarmingOwnerNotMatch = 15308; + */ + public static final int FarmingOwnerNotMatch_VALUE = 15308; + /** + *
+   * FarmingSummonedEntityType 오류 입니다.
+   * 
+ * + * FarmingSummonedEntityTypeInvalid = 15309; + */ + public static final int FarmingSummonedEntityTypeInvalid_VALUE = 15309; + /** + *
+   * FarmingEffect가 게임존에 존재하지 않습니다.
+   * 
+ * + * FarmingEffectNotExistInGameZone = 15310; + */ + public static final int FarmingEffectNotExistInGameZone_VALUE = 15310; + /** + *
+   * Farming 상태 입니다.
+   * 
+ * + * FarimgState = 15311; + */ + public static final int FarimgState_VALUE = 15311; + /** + *
+   * Farming StandBy 상태가 아닙니다.
+   * 
+ * + * FarmingStandByNotState = 15312; + */ + public static final int FarmingStandByNotState_VALUE = 15312; + /** + *
+   * Farming Anchor를 찾을 수 없습니다.
+   * 
+ * + * FarmingAnchorNotFound = 15313; + */ + public static final int FarmingAnchorNotFound_VALUE = 15313; + /** + *
+   *=============================================================================================
+   * Gacha 관련 오류 : 15401 ~
+   *=============================================================================================
+   * 
+ * + * GachaMetaDataNotFound = 15401; + */ + public static final int GachaMetaDataNotFound_VALUE = 15401; + /** + *
+   * Gacha 보상 정보가 없습니다.
+   * 
+ * + * GachaRewardEmpty = 15402; + */ + public static final int GachaRewardEmpty_VALUE = 15402; + /** + *
+   *=============================================================================================
+   * Master 관련 오류 : 15800 ~
+   *=============================================================================================
+   * 
+ * + * MasterNotFound = 15801; + */ + public static final int MasterNotFound_VALUE = 15801; + /** + *
+   * Master 관계 설정이 없다.
+   * 
+ * + * MasterNotRelated = 15802; + */ + public static final int MasterNotRelated_VALUE = 15802; + /** + *
+   *=============================================================================================
+   * 게임존 관련 오류 : 15900 ~
+   *=============================================================================================
+   * 
+ * + * GameZoneNotJoin = 15901; + */ + public static final int GameZoneNotJoin_VALUE = 15901; + /** + *
+   * Map 객체가 null 입니다.
+   * 
+ * + * MapIsNull = 15902; + */ + public static final int MapIsNull_VALUE = 15902; + /** + *
+   * LOCATION_UNIQUE_ID 값 오류 입니다.
+   * 
+ * + * LocationUniqueIdInvalid = 15903; + */ + public static final int LocationUniqueIdInvalid_VALUE = 15903; + /** + *
+   *=============================================================================================
+   * 친구 관련 오류 : 16000 ~
+   *=============================================================================================
+   * 
+ * + * FriendDocIsNull = 16001; + */ + public static final int FriendDocIsNull_VALUE = 16001; + /** + *
+   * FriendFolderDoc이 null 입니다.
+   * 
+ * + * FriendFolderDocIsNull = 16002; + */ + public static final int FriendFolderDocIsNull_VALUE = 16002; + /** + *
+   *=============================================================================================
+   * 소셜 액션 관련 오류 : 17000 ~
+   *=============================================================================================
+   * 
+ * + * SocialActionMetaDataNotFound = 17001; + */ + public static final int SocialActionMetaDataNotFound_VALUE = 17001; + /** + *
+   * 소셜 액션을 찾지 못했습니다.
+   * 
+ * + * SocialActionNotFound = 17002; + */ + public static final int SocialActionNotFound_VALUE = 17002; + /** + *
+   * SocialActionDoc 로딩중에 중복된 소셜 액션이 발견되었습니다.
+   * 
+ * + * SocialActionDocLoadDuplicatedSocialAction = 17003; + */ + public static final int SocialActionDocLoadDuplicatedSocialAction_VALUE = 17003; + /** + *
+   * 소셜 액션이 이미 존재합니다.
+   * 
+ * + * SocialActionAlreadyExist = 17004; + */ + public static final int SocialActionAlreadyExist_VALUE = 17004; + /** + *
+   * 소셜 액션 슬롯의 범위를 벗어났습니다.
+   * 
+ * + * SocialActionSlotOutOfRange = 17005; + */ + public static final int SocialActionSlotOutOfRange_VALUE = 17005; + /** + *
+   * 소셜 액션이 슬롯에 존재하지 않습니다.
+   * 
+ * + * SocialActionNotOnSlot = 17006; + */ + public static final int SocialActionNotOnSlot_VALUE = 17006; + /** + *
+   * SocialActionDoc이 null 입니다.
+   * 
+ * + * SocialActionDocIsNull = 17007; + */ + public static final int SocialActionDocIsNull_VALUE = 17007; + /** + *
+   *=============================================================================================
+   * 채널 관련 오류 : 18000 ~
+   *=============================================================================================
+   * 
+ * + * ChannelMoveSameChannel = 18001; + */ + public static final int ChannelMoveSameChannel_VALUE = 18001; + /** + *
+   * 채널 이동 쿨타임이 지나지 않았습니다.
+   * 
+ * + * ChannelInvalidMoveCoolTime = 18002; + */ + public static final int ChannelInvalidMoveCoolTime_VALUE = 18002; + /** + *
+   * 채널서버가 아닙니다. ( Indun 서버에서 이동요청시 발생 )
+   * 
+ * + * NotChannelServer = 18003; + */ + public static final int NotChannelServer_VALUE = 18003; + /** + *
+   *=============================================================================================
+   * 던전 관련 오류 : 19000 ~
+   *=============================================================================================
+   * 
+ * + * OwnedRoomDocIsNull = 19001; + */ + public static final int OwnedRoomDocIsNull_VALUE = 19001; + /** + *
+   * RoomDoc이 null 입니다.
+   * 
+ * + * RoomDocIsNull = 19002; + */ + public static final int RoomDocIsNull_VALUE = 19002; + /** + *
+   * Room이 마이홈이 아닙니다.
+   * 
+ * + * RoomIsNotMyHome = 19003; + */ + public static final int RoomIsNotMyHome_VALUE = 19003; + /** + *
+   *=============================================================================================
+   * 메일 관련 오류 : 20000 ~
+   *=============================================================================================
+   * 
+ * + * MailNotFound = 20001; + */ + public static final int MailNotFound_VALUE = 20001; + /** + *
+   * 이미 아이템을 받았습니다.
+   * 
+ * + * MailAlreadyTaken = 20002; + */ + public static final int MailAlreadyTaken_VALUE = 20002; + /** + *
+   * 메일 MailType 오류 입니다.
+   * 
+ * + * MailInvalidMailType = 20003; + */ + public static final int MailInvalidMailType_VALUE = 20003; + /** + *
+   * 보낼 수 있는 메일의 갯수를 초과 했습니다.
+   * 
+ * + * MailMaxSendCountExceed = 20004; + */ + public static final int MailMaxSendCountExceed_VALUE = 20004; + /** + *
+   * 메일 Doc이 null 입니다.
+   * 
+ * + * MailDocIsNull = 20005; + */ + public static final int MailDocIsNull_VALUE = 20005; + /** + *
+   * 메일 블락한 유저에게 보낼 수 없습니다.
+   * 
+ * + * MailBlockUserCannotSend = 20006; + */ + public static final int MailBlockUserCannotSend_VALUE = 20006; + /** + *
+   * 타겟의 받을 수 있는 메일의 갯수를 초과 했습니다.
+   * 
+ * + * MailMaxTargetReceivedCountExceed = 20007; + */ + public static final int MailMaxTargetReceivedCountExceed_VALUE = 20007; + /** + *
+   * 나에게 메일을 보낼 수 없습니다.
+   * 
+ * + * MailCantSendSelf = 20008; + */ + public static final int MailCantSendSelf_VALUE = 20008; + /** + *
+   * 아이템이 있는 상태의 메일은 삭제할 수 없습니다.
+   * 
+ * + * MailCantDeleteIfItemExists = 20009; + */ + public static final int MailCantDeleteIfItemExists_VALUE = 20009; + /** + *
+   *=============================================================================================
+   * 메일 프로필 관련 오류 : 20300 ~
+   *=============================================================================================
+   * 
+ * + * MailProfileDocIsNull = 20301; + */ + public static final int MailProfileDocIsNull_VALUE = 20301; + /** + *
+   *=============================================================================================
+   * 시스템 메일 관련 오류 : 20500 ~
+   *=============================================================================================
+   * 
+ * + * SystemMailDocIsNull = 20501; + */ + public static final int SystemMailDocIsNull_VALUE = 20501; + /** + *
+   *=============================================================================================
+   * 파티 관련 오류 : 21000 ~
+   *=============================================================================================
+   * 
+ * + * PartyCannotSetGuid = 21001; + */ + public static final int PartyCannotSetGuid_VALUE = 21001; + /** + *
+   * Party Member 정보 생성 실패입니다.
+   * 
+ * + * PartyFailedMakePartyMember = 21002; + */ + public static final int PartyFailedMakePartyMember_VALUE = 21002; + /** + *
+   * 파티 인원이 초과되었습니다.
+   * 
+ * + * PartyIsFull = 21003; + */ + public static final int PartyIsFull_VALUE = 21003; + /** + *
+   * 이미 초대를 보냈습니다.
+   * 
+ * + * AlreadyInviteParty = 21004; + */ + public static final int AlreadyInviteParty_VALUE = 21004; + /** + *
+   * 초대 정보를 확인할 수 없습니다.
+   * 
+ * + * NotFoundPartyInvite = 21005; + */ + public static final int NotFoundPartyInvite_VALUE = 21005; + /** + *
+   * 파티 정보를 확인할 수 없습니다.
+   * 
+ * + * NotFoundParty = 21006; + */ + public static final int NotFoundParty_VALUE = 21006; + /** + *
+   * 파티 상태가 아닙니다.
+   * 
+ * + * NotParty = 21007; + */ + public static final int NotParty_VALUE = 21007; + /** + *
+   * 파티 리더가 아닙니다.
+   * 
+ * + * NotPartyLeader = 21008; + */ + public static final int NotPartyLeader_VALUE = 21008; + /** + *
+   * 파티에 입장 중입니다.
+   * 
+ * + * JoiningParty = 21009; + */ + public static final int JoiningParty_VALUE = 21009; + /** + *
+   * 파티원이 아닙니다.
+   * 
+ * + * NotPartyMember = 21010; + */ + public static final int NotPartyMember_VALUE = 21010; + /** + *
+   * 이미 소환된 상태입니다.
+   * 
+ * + * AlreadySummon = 21011; + */ + public static final int AlreadySummon_VALUE = 21011; + /** + *
+   * 파티 리더의 서버 허용인원이 초과되었습니다.
+   * 
+ * + * PartyLeaderServerIsFull = 21012; + */ + public static final int PartyLeaderServerIsFull_VALUE = 21012; + /** + *
+   * 초대할 유저가 콘서트에 있습니다.
+   * 
+ * + * InviteMemberIsConcert = 21013; + */ + public static final int InviteMemberIsConcert_VALUE = 21013; + /** + *
+   * 파티 초대 발송에 실패했습니다.
+   * 
+ * + * FailToSendInviteMember = 21014; + */ + public static final int FailToSendInviteMember_VALUE = 21014; + /** + *
+   * 이미 파티에 소속되어 있습니다.
+   * 
+ * + * AlreadyPartyMember = 21015; + */ + public static final int AlreadyPartyMember_VALUE = 21015; + /** + *
+   * 소환할 수 없는 서버에 있습니다.
+   * 
+ * + * InvalidSummonServerType = 21016; + */ + public static final int InvalidSummonServerType_VALUE = 21016; + /** + *
+   * 소환 대상의 거리가 짧습니다.
+   * 
+ * + * SummonUserLimitDistance = 21017; + */ + public static final int SummonUserLimitDistance_VALUE = 21017; + /** + *
+   * 소환 대상자가 아닙니다.
+   * 
+ * + * InvalidSummonMember = 21018; + */ + public static final int InvalidSummonMember_VALUE = 21018; + /** + *
+   * 파티 리더가 logout 상태입니다.
+   * 
+ * + * PartyLeaderLoggedOut = 21019; + */ + public static final int PartyLeaderLoggedOut_VALUE = 21019; + /** + *
+   * 진행 중인 Vote 가 있습니다.
+   * 
+ * + * AlreadyStartPartyVote = 21020; + */ + public static final int AlreadyStartPartyVote_VALUE = 21020; + /** + *
+   * 진행 중인 Vote 가 없습니다.
+   * 
+ * + * NoStartPartyVote = 21021; + */ + public static final int NoStartPartyVote_VALUE = 21021; + /** + *
+   * 투표 가능 시간이 지났습니다.
+   * 
+ * + * AlreadyPassPartyVoteTime = 21022; + */ + public static final int AlreadyPassPartyVoteTime_VALUE = 21022; + /** + *
+   * 투표 시작 가능 시간이 지나지 않았습니다.
+   * 
+ * + * InvalidPartyVoteTime = 21023; + */ + public static final int InvalidPartyVoteTime_VALUE = 21023; + /** + *
+   * 이미 투표를 하였습니다.
+   * 
+ * + * AlreadyReplyPartyVote = 21024; + */ + public static final int AlreadyReplyPartyVote_VALUE = 21024; + /** + *
+   * 파티 인스턴스 가 없습니다.
+   * 
+ * + * EmptyPartyInstanceId = 21025; + */ + public static final int EmptyPartyInstanceId_VALUE = 21025; + /** + *
+   * 초대할 수 없는 장소입니다.
+   * 
+ * + * InvalidInvitePlace = 21026; + */ + public static final int InvalidInvitePlace_VALUE = 21026; + /** + *
+   * 초대 유저의 정보가 잘못되었습니다.
+   * 
+ * + * InvitePartyInvalidUsers = 21027; + */ + public static final int InvitePartyInvalidUsers_VALUE = 21027; + /** + *
+   * 파티원 소환에 실패했습니다.
+   * 
+ * + * SummonPartyMemberFail = 21028; + */ + public static final int SummonPartyMemberFail_VALUE = 21028; + /** + *
+   * 입력 글자수 최대 길이가 잘못되었습니다.
+   * 
+ * + * InvalidPartyStringLength = 21029; + */ + public static final int InvalidPartyStringLength_VALUE = 21029; + /** + *
+   * 파티명에 금칙어가 있습니다.
+   * 
+ * + * IncludeBanWordFromPartyName = 21030; + */ + public static final int IncludeBanWordFromPartyName_VALUE = 21030; + /** + *
+   * 파티원 정보가 없습니다.
+   * 
+ * + * JoiningPartyMemberInfoIsNull = 21031; + */ + public static final int JoiningPartyMemberInfoIsNull_VALUE = 21031; + /** + *
+   * 서로 다른 월드에 있습니다.
+   * 
+ * + * InvalidSummonWorldServer = 21032; + */ + public static final int InvalidSummonWorldServer_VALUE = 21032; + /** + * NotExistPartyInstance = 21999; + */ + public static final int NotExistPartyInstance_VALUE = 21999; + /** + *
+   *=============================================================================================
+   * 버프 관련 오류 : 22000 ~
+   *=============================================================================================
+   * 
+ * + * BuffMetaDataNotFound = 22001; + */ + public static final int BuffMetaDataNotFound_VALUE = 22001; + /** + *
+   * 등록되지 않은 버프 카테고리 입니다.
+   * 
+ * + * BuffNotRegistryCategory = 22002; + */ + public static final int BuffNotRegistryCategory_VALUE = 22002; + /** + *
+   * 버프를 찾지 못했습니다.
+   * 
+ * + * BuffNotFound = 22003; + */ + public static final int BuffNotFound_VALUE = 22003; + /** + *
+   * 버프 BuffCategoryType 오류 입니다.
+   * 
+ * + * BuffInvalidBuffCategoryType = 22004; + */ + public static final int BuffInvalidBuffCategoryType_VALUE = 22004; + /** + *
+   * BuffCache 로딩중에 중복된 버프가 발견되었습니다.
+   * 
+ * + * BuffCacheLoadDuplicatedBuff = 22005; + */ + public static final int BuffCacheLoadDuplicatedBuff_VALUE = 22005; + /** + *
+   * 버프 AttributeType 오류 입니다.
+   * 
+ * + * BuffInvalidAttributeType = 22006; + */ + public static final int BuffInvalidAttributeType_VALUE = 22006; + /** + *
+   *=============================================================================================
+   * 퀘스트 관련 오류 : 23000 ~
+   *=============================================================================================
+   * 
+ * + * QuestAssingDataNotExist = 23000; + */ + public static final int QuestAssingDataNotExist_VALUE = 23000; + /** + *
+   * 퀘스트 메일이 없습니다.
+   * 
+ * + * QuestMailNotExist = 23001; + */ + public static final int QuestMailNotExist_VALUE = 23001; + /** + *
+   * 이미 완료된 퀘스트
+   * 
+ * + * QuestAlreadyEnded = 23002; + */ + public static final int QuestAlreadyEnded_VALUE = 23002; + /** + *
+   * 할당 가능한 퀘스트 수 맥스
+   * 
+ * + * QuestCountMax = 23003; + */ + public static final int QuestCountMax_VALUE = 23003; + /** + *
+   * 타입별로 할당 가능한 퀘스트 수 맥스
+   * 
+ * + * QuestTypeAssignCountMax = 23004; + */ + public static final int QuestTypeAssignCountMax_VALUE = 23004; + /** + *
+   * 퀘스트 타입 오류
+   * 
+ * + * QuestInvalidType = 23005; + */ + public static final int QuestInvalidType_VALUE = 23005; + /** + *
+   * 퀘스트 값 오류
+   * 
+ * + * QuestInvalidValue = 23006; + */ + public static final int QuestInvalidValue_VALUE = 23006; + /** + *
+   * 퀘스트 아이디 없음
+   * 
+ * + * QuestIdNotFound = 23007; + */ + public static final int QuestIdNotFound_VALUE = 23007; + /** + *
+   * 잘못된 태스트 진행 번호
+   * 
+ * + * QuestInvalidTaskNum = 23008; + */ + public static final int QuestInvalidTaskNum_VALUE = 23008; + /** + *
+   * 퀘스트 거절은 일반 퀘스트만 가능
+   * 
+ * + * QuestRefuseOnlyNormal = 23009; + */ + public static final int QuestRefuseOnlyNormal_VALUE = 23009; + /** + *
+   * 포기하려는 퀘스트 정보 존재하지 않습니다.
+   * 
+ * + * QuestAbadonNotExistQuest = 23010; + */ + public static final int QuestAbadonNotExistQuest_VALUE = 23010; + /** + *
+   * 이미 달성한 퀘스트
+   * 
+ * + * QuestAlreadyComplete = 23011; + */ + public static final int QuestAlreadyComplete_VALUE = 23011; + /** + *
+   * 퀘스트 미달성
+   * 
+ * + * QuestNotComplete = 23012; + */ + public static final int QuestNotComplete_VALUE = 23012; + /** + *
+   * 퀘스트 포기는 일반 퀘스트만 가능
+   * 
+ * + * QuestAbandonOnlyNormal = 23013; + */ + public static final int QuestAbandonOnlyNormal_VALUE = 23013; + /** + *
+   * QuestMailDoc이 null 입니다.
+   * 
+ * + * QuestMailDocIsNull = 23014; + */ + public static final int QuestMailDocIsNull_VALUE = 23014; + /** + *
+   * QuestDoc이 null 입니다.
+   * 
+ * + * QuestDocIsNull = 23015; + */ + public static final int QuestDocIsNull_VALUE = 23015; + /** + *
+   * EndQuestDoc이 null 입니다.
+   * 
+ * + * EndQuestDocIsNull = 23016; + */ + public static final int EndQuestDocIsNull_VALUE = 23016; + /** + *
+   * QuestMetaBase가 구현되지 않았습니다.
+   * 
+ * + * QuestMetaBaseNotImplement = 23017; + */ + public static final int QuestMetaBaseNotImplement_VALUE = 23017; + /** + *
+   * Quest notify 레디스에 등록 실패
+   * 
+ * + * QuestNotifyRedisRegistFail = 23018; + */ + public static final int QuestNotifyRedisRegistFail_VALUE = 23018; + /** + *
+   *=============================================================================================
+   * 월드 관련 오류 : 24000 ~
+   *=============================================================================================
+   * 
+ * + * WorldMetaDataNotFound = 24001; + */ + public static final int WorldMetaDataNotFound_VALUE = 24001; + /** + *
+   * 월드 입장 아이템 수량이 부족합니다.
+   * 
+ * + * LackOfWorldEnterItem = 24002; + */ + public static final int LackOfWorldEnterItem_VALUE = 24002; + /** + *
+   * 월드 맵트리 데이터를 찾지 못했습니다.
+   * 
+ * + * WorldMapTreeDataNotFound = 24003; + */ + public static final int WorldMapTreeDataNotFound_VALUE = 24003; + /** + *
+   * 월드 맵트리 하위 랜드를 찾지 못했습니다.
+   * 
+ * + * WorldMapTreeChildLandNotFound = 24004; + */ + public static final int WorldMapTreeChildLandNotFound_VALUE = 24004; + /** + *
+   * 룸 맵 데이터를 찾지 못했습니다.
+   * 
+ * + * RoomMapDataNotFound = 24005; + */ + public static final int RoomMapDataNotFound_VALUE = 24005; + /** + *
+   *=============================================================================================
+   * 랜드 관련 오류 : 24500 ~
+   *=============================================================================================
+   * 
+ * + * LandMetaDataNotFound = 24501; + */ + public static final int LandMetaDataNotFound_VALUE = 24501; + /** + *
+   * 랜드를 찾지 못했습니다.
+   * 
+ * + * LandNotFound = 24502; + */ + public static final int LandNotFound_VALUE = 24502; + /** + *
+   * LandDoc 로딩중에 중복된 랜드가 발견되었습니다.
+   * 
+ * + * LandDocLoadDuplicatedLand = 24503; + */ + public static final int LandDocLoadDuplicatedLand_VALUE = 24503; + /** + *
+   * LandDoc이 null 입니다.
+   * 
+ * + * LandDocIsNull = 24504; + */ + public static final int LandDocIsNull_VALUE = 24504; + /** + *
+   * 소유 랜드를 찾지 못했습니다.
+   * 
+ * + * OwnedLandNotFound = 24505; + */ + public static final int OwnedLandNotFound_VALUE = 24505; + /** + *
+   * OwnedLandDoc 로딩중에 중복된 랜드가 발견되었습니다.
+   * 
+ * + * OwnedLandDocLoadDuplicatedOwnedLand = 24506; + */ + public static final int OwnedLandDocLoadDuplicatedOwnedLand_VALUE = 24506; + /** + *
+   * OwnedLandDoc이 null 입니다.
+   * 
+ * + * OwnedLandDocIsNull = 24507; + */ + public static final int OwnedLandDocIsNull_VALUE = 24507; + /** + *
+   * 랜드 맵트리 데이터를 찾지 못했습니다.
+   * 
+ * + * LandMapTreeDataNotFound = 24508; + */ + public static final int LandMapTreeDataNotFound_VALUE = 24508; + /** + *
+   * 랜드 맵트리 하위 빌딩을 찾지 못했습니다.
+   * 
+ * + * LandMapTreeChildBuildingNotFound = 24509; + */ + public static final int LandMapTreeChildBuildingNotFound_VALUE = 24509; + /** + *
+   * 랜드 빌딩이 비어 있지 않습니다.
+   * 
+ * + * LandBuildingIsNotEmpty = 24510; + */ + public static final int LandBuildingIsNotEmpty_VALUE = 24510; + /** + *
+   * 랜드 맵 데이터를 찾지 못했습니다.
+   * 
+ * + * LandMapDataNotFound = 24511; + */ + public static final int LandMapDataNotFound_VALUE = 24511; + /** + *
+   *=============================================================================================
+   * 빌딩 관련 오류 : 25000 ~
+   *=============================================================================================
+   * 
+ * + * BuildingMetaDataNotFound = 25001; + */ + public static final int BuildingMetaDataNotFound_VALUE = 25001; + /** + *
+   * 빌딩을 찾지 못했습니다.
+   * 
+ * + * BuildingNotFound = 25002; + */ + public static final int BuildingNotFound_VALUE = 25002; + /** + *
+   * BuildingDoc 로딩중에 중복된 빌딩이 발견되었습니다.
+   * 
+ * + * BuildingDocLoadDuplicatedBuilding = 25003; + */ + public static final int BuildingDocLoadDuplicatedBuilding_VALUE = 25003; + /** + *
+   * BuildingDoc이 null 입니다.
+   * 
+ * + * BuildingDocIsNull = 25004; + */ + public static final int BuildingDocIsNull_VALUE = 25004; + /** + *
+   * 소유 빌딩을 찾지 못했습니다.
+   * 
+ * + * OwnedBuildingNotFound = 25005; + */ + public static final int OwnedBuildingNotFound_VALUE = 25005; + /** + *
+   * OwnedBuildingDoc 로딩중에 중복된 빌딩이 발견되었습니다.
+   * 
+ * + * OwnedBuildingDocLoadDuplicatedOwnedBuilding = 25006; + */ + public static final int OwnedBuildingDocLoadDuplicatedOwnedBuilding_VALUE = 25006; + /** + *
+   * OwnedBuildingDoc이 null 입니다.
+   * 
+ * + * OwnedBuildingDocIsNull = 25007; + */ + public static final int OwnedBuildingDocIsNull_VALUE = 25007; + /** + *
+   * 빌딩 맵트리 데이터를 찾지 못했습니다.
+   * 
+ * + * BuildingMapTreeDataNotFound = 25008; + */ + public static final int BuildingMapTreeDataNotFound_VALUE = 25008; + /** + *
+   * 빌딩 맵트리 하위 룸을 찾지 못했습니다.
+   * 
+ * + * BuildingMapTreeChildRoomNotFound = 25009; + */ + public static final int BuildingMapTreeChildRoomNotFound_VALUE = 25009; + /** + *
+   * 빌딩 층이 비어 있지 않습니다.
+   * 
+ * + * BuildingFloorIsNotEmpty = 25010; + */ + public static final int BuildingFloorIsNotEmpty_VALUE = 25010; + /** + *
+   * 빌딩 맵 데이터를 찾지 못했습니다.
+   * 
+ * + * BuildingMapDataNotFound = 25011; + */ + public static final int BuildingMapDataNotFound_VALUE = 25011; + /** + *
+   *=============================================================================================
+   * 마이홈 관련 오류 : 25500 ~
+   *=============================================================================================
+   * 
+ * + * MyHomeMetaDataNotFound = 25501; + */ + public static final int MyHomeMetaDataNotFound_VALUE = 25501; + /** + *
+   * 마이홈을 찾지 못했습니다.
+   * 
+ * + * MyHomeNotFound = 25502; + */ + public static final int MyHomeNotFound_VALUE = 25502; + /** + *
+   * MyHomeDoc 로딩중에 중복된 마이홈이 발견되었습니다.
+   * 
+ * + * MyHomeDocLoadDuplicatedMyHome = 25503; + */ + public static final int MyHomeDocLoadDuplicatedMyHome_VALUE = 25503; + /** + *
+   * 마이홈이 이미 존재합니다.
+   * 
+ * + * MyHomeAlreadyExist = 25504; + */ + public static final int MyHomeAlreadyExist_VALUE = 25504; + /** + *
+   * MyHomeDoc이 null 입니다.
+   * 
+ * + * MyHomeDocIsNull = 25505; + */ + public static final int MyHomeDocIsNull_VALUE = 25505; + /** + *
+   * 마이홈이 내 것이 아닙니다.
+   * 
+ * + * MyHomeIsNotMine = 25506; + */ + public static final int MyHomeIsNotMine_VALUE = 25506; + /** + *
+   * 제작중일때는 마이홈을 변경할수 없습니다.
+   * 
+ * + * MyHomeCantExchangeWhenCrafting = 25507; + */ + public static final int MyHomeCantExchangeWhenCrafting_VALUE = 25507; + /** + *
+   * EditableRoom 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * EditableRoomMetaDataNotFound = 25508; + */ + public static final int EditableRoomMetaDataNotFound_VALUE = 25508; + /** + *
+   * EditableFramework 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * EditableFrameworkMetaDataNotFound = 25509; + */ + public static final int EditableFrameworkMetaDataNotFound_VALUE = 25509; + /** + *
+   * 사용 가능한  InteriorPoint를 초과 하였습니다.
+   * 
+ * + * InteriorPointExceed = 25510; + */ + public static final int InteriorPointExceed_VALUE = 25510; + /** + *
+   * 마이홈 슬롯이 부족 합니다.
+   * 
+ * + * MyhomeNotEnoughSlot = 25511; + */ + public static final int MyhomeNotEnoughSlot_VALUE = 25511; + /** + *
+   * 마이홈이 선택되어 있습니다.
+   * 
+ * + * MyhomeIsSelected = 25512; + */ + public static final int MyhomeIsSelected_VALUE = 25512; + /** + *
+   * 마이홈 이름 문자열 길이가 짧습니다
+   * 
+ * + * MyhomeNameLengthShort = 25513; + */ + public static final int MyhomeNameLengthShort_VALUE = 25513; + /** + *
+   * 마이홈 이름 문자열 길이가 깁니다.
+   * 
+ * + * MyhomeNameLengthLong = 25514; + */ + public static final int MyhomeNameLengthLong_VALUE = 25514; + /** + *
+   * 마이홈 이름이 중복 되었습니다.
+   * 
+ * + * MyhomeNameDuplicated = 25515; + */ + public static final int MyhomeNameDuplicated_VALUE = 25515; + /** + *
+   * 마이홈 인터폰이 없습니다. 
+   * 
+ * + * MyhomeInterphoneNotExist = 25516; + */ + public static final int MyhomeInterphoneNotExist_VALUE = 25516; + /** + *
+   * 마이홈 시작 지점이 없습니다. 
+   * 
+ * + * MyhomeStartPointNotExist = 25517; + */ + public static final int MyhomeStartPointNotExist_VALUE = 25517; + /** + *
+   * 마이홈 인터폰이 허용 갯수를 초과 하였습니다.
+   * 
+ * + * MyhomeInterphoneExceed = 25518; + */ + public static final int MyhomeInterphoneExceed_VALUE = 25518; + /** + *
+   * 마이홈 시작 지점이 허용 갯수를 초과 하였습니다.
+   * 
+ * + * MyhomeStartPointExceed = 25519; + */ + public static final int MyhomeStartPointExceed_VALUE = 25519; + /** + *
+   * 의상 제작대 허용 갯수를 초과 하였습니다. 
+   * 
+ * + * CraftingClothesExceed = 25520; + */ + public static final int CraftingClothesExceed_VALUE = 25520; + /** + *
+   * 요리 제작대 허용 갯수를 초과 하였습니다.
+   * 
+ * + * CraftingCookingExceed = 25521; + */ + public static final int CraftingCookingExceed_VALUE = 25521; + /** + *
+   * 가구 제작대 허용 갯수를 초과 하였습니다.
+   * 
+ * + * CraftingFurnitureExceed = 25522; + */ + public static final int CraftingFurnitureExceed_VALUE = 25522; + /** + *
+   * 앵커가 마이홈에 배치되어 있지 않습니다.
+   * 
+ * + * AnchorIsNotInMyhome = 25523; + */ + public static final int AnchorIsNotInMyhome_VALUE = 25523; + /** + *
+   * 제작 진행중인 제작대를 제거 할 수 없습니다.
+   * 
+ * + * DoNotRemoveProcessCraftingAnchor = 25524; + */ + public static final int DoNotRemoveProcessCraftingAnchor_VALUE = 25524; + /** + *
+   * 앵커 Guid가 중복 되었습니다.
+   * 
+ * + * AnchorGuidDuplicate = 25525; + */ + public static final int AnchorGuidDuplicate_VALUE = 25525; + /** + *
+   * 마이홈이 편집 중 입니다.
+   * 
+ * + * MyhomeIsEditting = 25526; + */ + public static final int MyhomeIsEditting_VALUE = 25526; + /** + *
+   * 마이홈이 렌탈 중 입니다.
+   * 
+ * + * MyhomeIsOnRental = 25527; + */ + public static final int MyhomeIsOnRental_VALUE = 25527; + /** + *
+   *=============================================================================================
+   * 미니맵 마커 관련 오류 : 26000 ~
+   *=============================================================================================
+   * 
+ * + * MinimapMarkerNotFound = 26001; + */ + public static final int MinimapMarkerNotFound_VALUE = 26001; + /** + *
+   * MinimapMarkerDoc 로딩중에 중복된 미니맵 마커가 발견되었습니다.
+   * 
+ * + * MinimapMarkerDocLoadDuplicatedMinimapMarker = 26002; + */ + public static final int MinimapMarkerDocLoadDuplicatedMinimapMarker_VALUE = 26002; + /** + *
+   * MinimapMarkerDoc이 null 입니다.
+   * 
+ * + * MinimapMarkerDocIsNull = 26003; + */ + public static final int MinimapMarkerDocIsNull_VALUE = 26003; + /** + *
+   *=============================================================================================
+   * 카트 관련 오류 : 26500 ~
+   *=============================================================================================
+   * 
+ * + * CartMetaDataNotFound = 26501; + */ + public static final int CartMetaDataNotFound_VALUE = 26501; + /** + *
+   * 카트 용량이 가득 찼습니다.
+   * 
+ * + * CartMaxCountExceed = 26502; + */ + public static final int CartMaxCountExceed_VALUE = 26502; + /** + *
+   * 카트에 아이템 스텍이 가득 찼습니다.
+   * 
+ * + * CartStackCountInvalid = 26503; + */ + public static final int CartStackCountInvalid_VALUE = 26503; + /** + *
+   * 카트의 아이템 갯수가 요청값보다 낮습니다.
+   * 
+ * + * CartStackCountNotEnough = 26504; + */ + public static final int CartStackCountNotEnough_VALUE = 26504; + /** + *
+   * 카트에서 아이템을 찾지 못했습니다.
+   * 
+ * + * CartItemNotFound = 26505; + */ + public static final int CartItemNotFound_VALUE = 26505; + /** + *
+   * 등록되지 않은 재화타입 입니다.
+   * 
+ * + * CartNotRegistryCurrencyType = 26506; + */ + public static final int CartNotRegistryCurrencyType_VALUE = 26506; + /** + *
+   * 카트 CurrencyType 오류 입니다.
+   * 
+ * + * CartInvalidCurrencyType = 26507; + */ + public static final int CartInvalidCurrencyType_VALUE = 26507; + /** + *
+   * CartDoc이 null 입니다.
+   * 
+ * + * CartDocIsNull = 26508; + */ + public static final int CartDocIsNull_VALUE = 26508; + /** + *
+   *=============================================================================================
+   * 채팅 관련 오류 : 27000 ~
+   *=============================================================================================
+   * 
+ * + * ChatSendSelfFailed = 27001; + */ + public static final int ChatSendSelfFailed_VALUE = 27001; + /** + *
+   * 채팅 ChatType 오류 입니다.
+   * 
+ * + * ChatInvalidChatType = 27002; + */ + public static final int ChatInvalidChatType_VALUE = 27002; + /** + *
+   * 귓속말을 블락한 유저에게 보낼 수 없습니다.
+   * 
+ * + * ChatBlockUserCannotWhisper = 27003; + */ + public static final int ChatBlockUserCannotWhisper_VALUE = 27003; + /** + *
+   * 채팅 메시지 길이를 초과했습니다.
+   * 
+ * + * ChatInvalidMessageLength = 27004; + */ + public static final int ChatInvalidMessageLength_VALUE = 27004; + /** + *
+   * 금칙어가 포함되어 있습니다.
+   * 
+ * + * ChatIncludeBanWord = 27005; + */ + public static final int ChatIncludeBanWord_VALUE = 27005; + /** + *
+   * NoticeChatDoc이 null 입니다.
+   * 
+ * + * NoticeChatDocIsNull = 27501; + */ + public static final int NoticeChatDocIsNull_VALUE = 27501; + /** + *
+   *=============================================================================================
+   * 탈출 관련 오류 : 28000 ~
+   *=============================================================================================
+   * 
+ * + * EscapePositionNotAvailableTime = 28001; + */ + public static final int EscapePositionNotAvailableTime_VALUE = 28001; + /** + *
+   * EscapePositionDoc이 null 입니다.
+   * 
+ * + * EscapePositionDocIsNull = 28002; + */ + public static final int EscapePositionDocIsNull_VALUE = 28002; + /** + *
+   *=============================================================================================
+   * 블록 유저 관련 오류 : 28500 ~
+   *=============================================================================================
+   * 
+ * + * BlockUserDocIsNull = 28501; + */ + public static final int BlockUserDocIsNull_VALUE = 28501; + /** + *
+   *=============================================================================================
+   * 캐릭터 프로필 관련 오류 : 29000 ~
+   *=============================================================================================
+   * 
+ * + * CharacterProfileDocIsNull = 29001; + */ + public static final int CharacterProfileDocIsNull_VALUE = 29001; + /** + *
+   *=============================================================================================
+   * 커스텀 디파인 Data 관련 오류 : 29300 ~
+   *=============================================================================================
+   * 
+ * + * CustomDefinedDataDocIsNull = 29301; + */ + public static final int CustomDefinedDataDocIsNull_VALUE = 29301; + /** + *
+   *=============================================================================================
+   * 커스텀 디파인 UI 관련 오류 : 29500 ~
+   *=============================================================================================
+   * 
+ * + * CustomDefinedUiDocIsNull = 29501; + */ + public static final int CustomDefinedUiDocIsNull_VALUE = 29501; + /** + *
+   *=============================================================================================
+   * 게임 옵션 관련 오류 : 30000 ~
+   *=============================================================================================
+   * 
+ * + * GameOptionDocIsNull = 30001; + */ + public static final int GameOptionDocIsNull_VALUE = 30001; + /** + *
+   *=============================================================================================
+   * 레벨 관련 오류 : 30500 ~
+   *=============================================================================================
+   * 
+ * + * LevelDocIsNull = 30501; + */ + public static final int LevelDocIsNull_VALUE = 30501; + /** + *
+   *=============================================================================================
+   * 위치 관련 오류 : 31000 ~
+   *=============================================================================================
+   * 
+ * + * LocationDocIsNull = 31001; + */ + public static final int LocationDocIsNull_VALUE = 31001; + /** + *
+   * 사용 할 수 없는 장소 입니다.
+   * 
+ * + * NotUsablePlace = 31002; + */ + public static final int NotUsablePlace_VALUE = 31002; + /** + *
+   * Redis에 LocationCache 정보 저장을 실패했습니다.
+   * 
+ * + * RedisLocationCacheSetFailed = 31003; + */ + public static final int RedisLocationCacheSetFailed_VALUE = 31003; + /** + *
+   *=============================================================================================
+   * 재화 관련 오류 : 32000 ~
+   *=============================================================================================
+   * 
+ * + * MoneyDocIsNull = 32001; + */ + public static final int MoneyDocIsNull_VALUE = 32001; + /** + *
+   * CurrencyControl이 초기화되지 않았습니다.
+   * 
+ * + * MoneyControlNotInitialize = 32002; + */ + public static final int MoneyControlNotInitialize_VALUE = 32002; + /** + *
+   * 금전이 부족합니다.
+   * 
+ * + * MoneyNotEnough = 32003; + */ + public static final int MoneyNotEnough_VALUE = 32003; + /** + *
+   * 금전 최대 보유량을 초과 했습니다.
+   * 
+ * + * MoneyMaxCountExceeded = 32004; + */ + public static final int MoneyMaxCountExceeded_VALUE = 32004; + /** + *
+   * 재화 메타 데이터를 찾을 수 없습니다.
+   * 
+ * + * CurrencyMetaDataNotFound = 32005; + */ + public static final int CurrencyMetaDataNotFound_VALUE = 32005; + /** + *
+   *=============================================================================================
+   * 상점 관련 오류 : 33000 ~
+   *=============================================================================================
+   * 
+ * + * ShopProductTradingMeterDocIsNull = 33001; + */ + public static final int ShopProductTradingMeterDocIsNull_VALUE = 33001; + /** + *
+   * MyHome 에 설치된 Item 입니다.
+   * 
+ * + * ShopIsMyHomeItem = 33002; + */ + public static final int ShopIsMyHomeItem_VALUE = 33002; + /** + *
+   * ShopProduct 에 Shop Buy Type 이 잘못되었습니다.
+   * 
+ * + * InvalidShopBuyType = 33003; + */ + public static final int InvalidShopBuyType_VALUE = 33003; + /** + *
+   *리뉴얼 할 수 없는 상점입니다.
+   * 
+ * + * ShopProductCannotRenwal = 33004; + */ + public static final int ShopProductCannotRenwal_VALUE = 33004; + /** + *
+   *자동 갱신시간 전 후 1분 동안은 갱신 할 수 없다.
+   * 
+ * + * ShopProductNotRenwalTime = 33005; + */ + public static final int ShopProductNotRenwalTime_VALUE = 33005; + /** + *
+   *갱신 가능한 횟수를 이미 다 사용했습니다.
+   * 
+ * + * ShopProductRenewalCountAlreadyMax = 33006; + */ + public static final int ShopProductRenewalCountAlreadyMax_VALUE = 33006; + /** + *
+   *=============================================================================================
+   * 보상 관련 오류 : 34000 ~
+   *=============================================================================================
+   * 
+ * + * RewardInfoNotExist = 34000; + */ + public static final int RewardInfoNotExist_VALUE = 34000; + /** + *
+   * 보상 타입 오류
+   * 
+ * + * RewardInvalidType = 34001; + */ + public static final int RewardInvalidType_VALUE = 34001; + /** + *
+   * 보상 타입 값 오류
+   * 
+ * + * RewardInvalidTypeValue = 34002; + */ + public static final int RewardInvalidTypeValue_VALUE = 34002; + /** + *
+   * 
+   * 
+ * + * NotRequireAttributeValue = 34003; + */ + public static final int NotRequireAttributeValue_VALUE = 34003; + /** + *
+   * 보상 그룹 아이디 문자열을 정수로 변환하는데 오류가 발생했습니다.
+   * 
+ * + * RewardGroupIdParsingFromStringToIntErorr = 34004; + */ + public static final int RewardGroupIdParsingFromStringToIntErorr_VALUE = 34004; + /** + *
+   *=============================================================================================
+   * Claime 관련 오류 : 35000 ~
+   *=============================================================================================
+   * 
+ * + * ClaimInvalidType = 35000; + */ + public static final int ClaimInvalidType_VALUE = 35000; + /** + *
+   *클레임 멤버십 없음
+   * 
+ * + * ClaimMembershipNotExist = 35001; + */ + public static final int ClaimMembershipNotExist_VALUE = 35001; + /** + *
+   *클레임 정보 없음
+   * 
+ * + * ClaimInfoNotExist = 35002; + */ + public static final int ClaimInfoNotExist_VALUE = 35002; + /** + *
+   *클레임 보상시간이 안됐다
+   * 
+ * + * ClaimRewardNotEnoughTime = 35003; + */ + public static final int ClaimRewardNotEnoughTime_VALUE = 35003; + /** + *
+   *클레임	보상 이벤트 종료
+   * 
+ * + * ClaimRewardEventEnd = 35004; + */ + public static final int ClaimRewardEventEnd_VALUE = 35004; + /** + *
+   *ClaimDoc	존재하지 않음
+   * 
+ * + * ClaimDocIsNull = 35005; + */ + public static final int ClaimDocIsNull_VALUE = 35005; + /** + *
+   *=============================================================================================
+   * 제작 관련 오류 : 36000 ~
+   *=============================================================================================
+   * 
+ * + * CraftRecipeDocIsNull = 36001; + */ + public static final int CraftRecipeDocIsNull_VALUE = 36001; + /** + *
+   * CraftHelpDoc이 null 입니다.
+   * 
+ * + * CraftHelpDocIsNull = 36002; + */ + public static final int CraftHelpDocIsNull_VALUE = 36002; + /** + *
+   * CraftDoc이 null 입니다.
+   * 
+ * + * CraftDocIsNull = 36003; + */ + public static final int CraftDocIsNull_VALUE = 36003; + /** + *
+   * Crafting 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * CraftingMetaDataNotFound = 36004; + */ + public static final int CraftingMetaDataNotFound_VALUE = 36004; + /** + *
+   * 제작이 완료되지 않았습니다.
+   * 
+ * + * CraftingNotFinish = 36005; + */ + public static final int CraftingNotFinish_VALUE = 36005; + /** + *
+   * 제작중이지 않은 제작대 입니다.
+   * 
+ * + * CraftingNotCraftingAnchor = 36006; + */ + public static final int CraftingNotCraftingAnchor_VALUE = 36006; + /** + *
+   * 제작대가 이미 사용중입니다.
+   * 
+ * + * CraftingAlreadyCrafting = 36007; + */ + public static final int CraftingAlreadyCrafting_VALUE = 36007; + /** + *
+   * 제작대 프랍이 배치되어 있지 않습니다.
+   * 
+ * + * CraftingAnchorIsNotPlaced = 36008; + */ + public static final int CraftingAnchorIsNotPlaced_VALUE = 36008; + /** + *
+   * 제작대 레시피가 등록되어 있지 않습니다.
+   * 
+ * + * CraftingRecipeIsNotRegister = 36009; + */ + public static final int CraftingRecipeIsNotRegister_VALUE = 36009; + /** + *
+   * 레시피와 해당하지 않는 제작대 입니다.
+   * 
+ * + * CraftingAnchorIsNotMatchWithRecipe = 36010; + */ + public static final int CraftingAnchorIsNotMatchWithRecipe_VALUE = 36010; + /** + *
+   * 도움 줄수 있는 횟수가 초과했습니다.
+   * 
+ * + * CraftingHelpCountOver = 36011; + */ + public static final int CraftingHelpCountOver_VALUE = 36011; + /** + *
+   * 같은 유저에게 도움줄 횟수가 초과했습니다.
+   * 
+ * + * CraftingHelpSameUserCountOver = 36012; + */ + public static final int CraftingHelpSameUserCountOver_VALUE = 36012; + /** + *
+   * 도움 받을수 있는 횟수가 초과했습니다.
+   * 
+ * + * CraftingHelpReceivedCountOver = 36013; + */ + public static final int CraftingHelpReceivedCountOver_VALUE = 36013; + /** + *
+   * CraftHelpDoc이 비어있습니다.
+   * 
+ * + * CraftHelpDocIsEmpty = 36014; + */ + public static final int CraftHelpDocIsEmpty_VALUE = 36014; + /** + *
+   * CraftDoc이 비어있습니다.
+   * 
+ * + * CraftDocIsEmpty = 36015; + */ + public static final int CraftDocIsEmpty_VALUE = 36015; + /** + *
+   * 이미 제작이 완료되어 도움을 줄수 없습니다.
+   * 
+ * + * CraftingAlreadyFinish = 36016; + */ + public static final int CraftingAlreadyFinish_VALUE = 36016; + /** + *
+   * 제작대 레시피가 이미 등록되어 있습니다.
+   * 
+ * + * CraftingRecipeIsAlreadyRegister = 36017; + */ + public static final int CraftingRecipeIsAlreadyRegister_VALUE = 36017; + /** + *
+   *=============================================================================================
+   * UGQ 관련 오류 : 37000 ~
+   *=============================================================================================
+   * 
+ * + * UgqApiServerRequestFailed = 37001; + */ + public static final int UgqApiServerRequestFailed_VALUE = 37001; + /** + *
+   * API Server와의 통신 후 객체 변환 중 오류발생
+   * 
+ * + * UgqApiServerConvertToObjectFailed = 37002; + */ + public static final int UgqApiServerConvertToObjectFailed_VALUE = 37002; + /** + *
+   * API Server검색 카테고리가 유효하지 않습니다.
+   * 
+ * + * UgqApiServerInvaildSearchCategoryType = 37003; + */ + public static final int UgqApiServerInvaildSearchCategoryType_VALUE = 37003; + /** + *
+   * ugc 신고하기의 내용 길이가 맞지 않습니다.
+   * 
+ * + * UgqReportInvalidTextLength = 37004; + */ + public static final int UgqReportInvalidTextLength_VALUE = 37004; + /** + *
+   * UGQ 메타 정보가 없습니다.
+   * 
+ * + * UgqQuestMetaNotExist = 37005; + */ + public static final int UgqQuestMetaNotExist_VALUE = 37005; + /** + *
+   * UGQ 재화를 차감하기 위한 request 요청이 실패
+   * 
+ * + * UgqBeginCreatorPointFail = 37006; + */ + public static final int UgqBeginCreatorPointFail_VALUE = 37006; + /** + *
+   * shutdown 된 Ugq Revision 입니다.
+   * 
+ * + * UgqQuestShutdowned = 37007; + */ + public static final int UgqQuestShutdowned_VALUE = 37007; + /** + *
+   * 이미 Test Complete 한 단계입니다.
+   * 
+ * + * UgqTestQuestAlreadyCompleted = 37008; + */ + public static final int UgqTestQuestAlreadyCompleted_VALUE = 37008; + /** + *
+   * 아이템 사용해서 UGQ를 재 할당 받으려고 했으나, 해당 퀘스트에 대해서 완료한 기록이 없어서 에러
+   * 
+ * + * UgqReassignUsingItemErrorCauseQuestNotComplete = 37009; + */ + public static final int UgqReassignUsingItemErrorCauseQuestNotComplete_VALUE = 37009; + /** + *
+   * 아이템 사용해서 UGQ를 재 할당 받으려고 했으나, 이미 진행중인 퀘스트 존재
+   * 
+ * + * UgqReassignUsingItemErrorCauseQuestAlreadyExist = 37010; + */ + public static final int UgqReassignUsingItemErrorCauseQuestAlreadyExist_VALUE = 37010; + /** + *
+   * 아이템 사용해서 UGQ를 재 할당 받으려고 했으나, 새로운 리비전이 업데이트 되었음
+   * 
+ * + * UgqReassignUsingItemErrorCauseNewRevisionUpdated = 37011; + */ + public static final int UgqReassignUsingItemErrorCauseNewRevisionUpdated_VALUE = 37011; + /** + *
+   * UGQ데이터의 리비전 정보가 유효하지 않습니다.
+   * 
+ * + * UgqQuestDataInvalidRevision = 37012; + */ + public static final int UgqQuestDataInvalidRevision_VALUE = 37012; + /** + *
+   * UGQ state가 유효하지 않아 포기할수 없다.
+   * 
+ * + * UgqAbortCannotCauseInvalidState = 37013; + */ + public static final int UgqAbortCannotCauseInvalidState_VALUE = 37013; + /** + *
+   * UGQ Meta 생성 클래스가 존재 하지 않습니다. 
+   * 
+ * + * UgqMetaGeneratorNotExist = 37014; + */ + public static final int UgqMetaGeneratorNotExist_VALUE = 37014; + /** + *
+   * UGQ Revision이 업데이트가 되었습니다.
+   * 
+ * + * UgqQuestDataRevisionUpdated = 37015; + */ + public static final int UgqQuestDataRevisionUpdated_VALUE = 37015; + /** + *
+   * UGQ 최신 리비전은 요청한 리비전보다 작을 수 없습니다.
+   * 
+ * + * UgqRevisionCannotSmallerThanRequestedRevision = 37016; + */ + public static final int UgqRevisionCannotSmallerThanRequestedRevision_VALUE = 37016; + /** + *
+   * UGQ 리비전의 상태가 Live가 아닙니다.
+   * 
+ * + * UgqRevisionStateNotLive = 37017; + */ + public static final int UgqRevisionStateNotLive_VALUE = 37017; + /** + *
+   * UGQ 리비전의 상태가 Live 혹은 Test 상태인경우만 ugq 데이터 호출이 가능
+   * 
+ * + * UgqRevisionStateOnlyLivenAndTest = 37018; + */ + public static final int UgqRevisionStateOnlyLivenAndTest_VALUE = 37018; + /** + *
+   * api 서버를 못찾을 경우
+   * 
+ * + * UgqApiServerHttpRequestException = 37019; + */ + public static final int UgqApiServerHttpRequestException_VALUE = 37019; + /** + *
+   * 리비전이 변경됐습니다.
+   * 
+ * + * UgqQuestRevisionChanged = 37020; + */ + public static final int UgqQuestRevisionChanged_VALUE = 37020; + /** + *
+   * 본인 소유의 ugq는 본인이 받을수 없습니다.
+   * 
+ * + * UgqAssignCannotOwnedQuest = 37021; + */ + public static final int UgqAssignCannotOwnedQuest_VALUE = 37021; + /** + *
+   * 이미 이전 리비전의 퀘스트를 소유중입니다.
+   * 
+ * + * UgqAlreadyOwnedOldRevisionQuest = 37022; + */ + public static final int UgqAlreadyOwnedOldRevisionQuest_VALUE = 37022; + /** + *
+   *=============================================================================================
+   * 시즌 패스 관련 오류 : 38000 ~
+   *=============================================================================================
+   * 
+ * + * SeasonPassDocIsNull = 38001; + */ + public static final int SeasonPassDocIsNull_VALUE = 38001; + /** + *
+   * SeasonPass 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * SeasonPassMetaDataNotFound = 38002; + */ + public static final int SeasonPassMetaDataNotFound_VALUE = 38002; + /** + *
+   * SeasonPassReward 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * SeasonPassRewardMetaDataNotFound = 38003; + */ + public static final int SeasonPassRewardMetaDataNotFound_VALUE = 38003; + /** + *
+   * 최대 등급에 도달해 더이상 경험치 획득할수 없습니다.
+   * 
+ * + * SeasonPassMaxGrade = 38004; + */ + public static final int SeasonPassMaxGrade_VALUE = 38004; + /** + *
+   * 시즌 패스 기간이 아닙니다.
+   * 
+ * + * SeasonPassNotAblePeriod = 38005; + */ + public static final int SeasonPassNotAblePeriod_VALUE = 38005; + /** + *
+   * 유료 시즌 패스를 이미 구입 했습니다.
+   * 
+ * + * SeasonPassAlreadyBuyCharged = 38006; + */ + public static final int SeasonPassAlreadyBuyCharged_VALUE = 38006; + /** + *
+   * 이미 수령한 보상입니다.
+   * 
+ * + * SeasonPassAlreadyTakenReward = 38007; + */ + public static final int SeasonPassAlreadyTakenReward_VALUE = 38007; + /** + *
+   * 해당 등급에 도달하지 못한 보상입니다.
+   * 
+ * + * SeasonPassNotEnoughGrade = 38008; + */ + public static final int SeasonPassNotEnoughGrade_VALUE = 38008; + /** + *
+   * 해당 보상은 유료 시즌 패스가 필요합니다.
+   * 
+ * + * SeasonPassNeedChargedPass = 38009; + */ + public static final int SeasonPassNeedChargedPass_VALUE = 38009; + /** + *
+   * 경험치 획득이 양수가 아닙니다.
+   * 
+ * + * SeasonPassInvalidExp = 38010; + */ + public static final int SeasonPassInvalidExp_VALUE = 38010; + /** + *
+   *=============================================================================================
+   * Meta 데이터 오류 : 40000 ~
+   *=============================================================================================
+   * 
+ * + * GameConfigMetaDataNotFound = 40001; + */ + public static final int GameConfigMetaDataNotFound_VALUE = 40001; + /** + *
+   * AttributeDefineition 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * AttributeDefineitionMetaDataNotFound = 40002; + */ + public static final int AttributeDefineitionMetaDataNotFound_VALUE = 40002; + /** + *
+   * Requirement 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * RequirementMetaDataNotFound = 40003; + */ + public static final int RequirementMetaDataNotFound_VALUE = 40003; + /** + *
+   * SystemMail 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * SystemMailMetaDataNotFound = 40004; + */ + public static final int SystemMailMetaDataNotFound_VALUE = 40004; + /** + *
+   * Interior 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * InteriorMetaDataNotFound = 40005; + */ + public static final int InteriorMetaDataNotFound_VALUE = 40005; + /** + *
+   * PropGroup 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * PropGroupMetaDataNotFound = 40006; + */ + public static final int PropGroupMetaDataNotFound_VALUE = 40006; + /** + *
+   *=============================================================================================
+   * Ai Chat 서버 오류 : 41000 ~
+   *=============================================================================================
+   * 
+ * + * AiChatServerStart = 41001; + */ + public static final int AiChatServerStart_VALUE = 41001; + /** + *
+   * AI Chat 서버 요청이 실패했습니다.
+   * 
+ * + * AiChatServerReqFailed = 41002; + */ + public static final int AiChatServerReqFailed_VALUE = 41002; + /** + *
+   * Request가 잘못되었습니다.
+   * 
+ * + * AiChatServerBadrequest = 41003; + */ + public static final int AiChatServerBadrequest_VALUE = 41003; + /** + *
+   * 
+   * 
+ * + * AiChatServerForbidden = 41004; + */ + public static final int AiChatServerForbidden_VALUE = 41004; + /** + *
+   * 인증되지 않은 사용자입니다.
+   * 
+ * + * AiChatServerUnauthorized = 41005; + */ + public static final int AiChatServerUnauthorized_VALUE = 41005; + /** + *
+   * 사용자를 찾지 못했습니다.
+   * 
+ * + * AiChatServerUserNotFound = 41006; + */ + public static final int AiChatServerUserNotFound_VALUE = 41006; + /** + *
+   * 캐릭터를 찾지 못했습니다.
+   * 
+ * + * AiChatServerCharacterNotFound = 41007; + */ + public static final int AiChatServerCharacterNotFound_VALUE = 41007; + /** + *
+   * 리액션를 찾지 못했습니다.
+   * 
+ * + * AiChatServerReactionNotFound = 41008; + */ + public static final int AiChatServerReactionNotFound_VALUE = 41008; + /** + *
+   * 예시문구를 찾지 못했습니다.
+   * 
+ * + * AiChatServerExampleDialongNotFound = 41009; + */ + public static final int AiChatServerExampleDialongNotFound_VALUE = 41009; + /** + *
+   * 세션을 찾지 못했습니다.
+   * 
+ * + * AiChatServerSessionNotFound = 41010; + */ + public static final int AiChatServerSessionNotFound_VALUE = 41010; + /** + *
+   * 모델을 찾지 못했습니다.
+   * 
+ * + * AiChatServerModelNotFound = 41011; + */ + public static final int AiChatServerModelNotFound_VALUE = 41011; + /** + *
+   * 포인트가 충분하지 않습니다.
+   * 
+ * + * AiChatServerNotEnoughPoint = 41012; + */ + public static final int AiChatServerNotEnoughPoint_VALUE = 41012; + /** + *
+   * 인자가 잘못되었습니다.
+   * 
+ * + * AiChatServerInvalidParameters = 41013; + */ + public static final int AiChatServerInvalidParameters_VALUE = 41013; + /** + *
+   * 세션 리미트를 초과하였습니다.
+   * 
+ * + * AiChatServerSessionLimitExceeded = 41014; + */ + public static final int AiChatServerSessionLimitExceeded_VALUE = 41014; + /** + *
+   * 서명이 잘못되었습니다.
+   * 
+ * + * AiChatServerInvalidSignature = 41015; + */ + public static final int AiChatServerInvalidSignature_VALUE = 41015; + /** + *
+   * 유저가 이미 존재합니다.
+   * 
+ * + * AiChatServerUserAlreadyExists = 41016; + */ + public static final int AiChatServerUserAlreadyExists_VALUE = 41016; + /** + *
+   * 삭제에 실패했습니다.
+   * 
+ * + * AiChatServerRemoveFailed = 41017; + */ + public static final int AiChatServerRemoveFailed_VALUE = 41017; + /** + *
+   * 중복된 Guid입니다.
+   * 
+ * + * AiChatServerDuplicateGuid = 41018; + */ + public static final int AiChatServerDuplicateGuid_VALUE = 41018; + /** + *
+   * 중복된 Id입니다.
+   * 
+ * + * AiChatServerDuplicateId = 41019; + */ + public static final int AiChatServerDuplicateId_VALUE = 41019; + /** + *
+   * 채팅을 찾지 못했습니다.
+   * 
+ * + * AiChatServerChatNotFound = 41020; + */ + public static final int AiChatServerChatNotFound_VALUE = 41020; + /** + *
+   * JWT 사용 기간이 만료 되었습니다.
+   * 
+ * + * AiChatServerTokenExpired = 41021; + */ + public static final int AiChatServerTokenExpired_VALUE = 41021; + /** + *
+   * 서버 내부 오류입니다.
+   * 
+ * + * AiChatServerInternalServer = 41022; + */ + public static final int AiChatServerInternalServer_VALUE = 41022; + /** + *
+   * 잘못된 메시지입니다.
+   * 
+ * + * AiChatServerInvalidMessage = 41023; + */ + public static final int AiChatServerInvalidMessage_VALUE = 41023; + /** + *
+   * 유저만 사용 가능한 API 입니다. 현재 JWT 의 role 이 user가 아닙니다.
+   * 
+ * + * AiChatServerUserOnlyFeature = 41024; + */ + public static final int AiChatServerUserOnlyFeature_VALUE = 41024; + /** + *
+   * 해당 API에 접근 할 권한이 없습니다. 해당 리소스의 소유자 또는 운영자만 접근 가능합니다.
+   * 
+ * + * AiChatServerOwnershipError = 41025; + */ + public static final int AiChatServerOwnershipError_VALUE = 41025; + /** + *
+   * 오더를 찾지 못했습니다.
+   * 
+ * + * AiChatServerChargeOrderNotFoundError = 41026; + */ + public static final int AiChatServerChargeOrderNotFoundError_VALUE = 41026; + /** + *
+   * 클라이언트용 Ai Chat Error Code EndPoint
+   * 
+ * + * AiChatServerEnd = 41100; + */ + public static final int AiChatServerEnd_VALUE = 41100; + /** + *
+   * 포인트 충전 재시도
+   * 
+ * + * AiChatServerRetryChargePoint = 41101; + */ + public static final int AiChatServerRetryChargePoint_VALUE = 41101; + /** + *
+   * Aichat 비활성화 상태입니다.
+   * 
+ * + * AiChatServerInactive = 41102; + */ + public static final int AiChatServerInactive_VALUE = 41102; + /** + *
+   *=============================================================================================
+   * Npc State 관련 오류
+   *=============================================================================================
+   * 
+ * + * NpcIsBusy = 42001; + */ + public static final int NpcIsBusy_VALUE = 42001; + /** + *
+   *=============================================================================================
+   * 칼리움 컨버터 관련 오류 : 43000 ~
+   *=============================================================================================
+   * 
+ * + * LackOfDailyCalium = 43001; + */ + public static final int LackOfDailyCalium_VALUE = 43001; + /** + *
+   * 전체 변환 제공 Calium 이 부족합니다.
+   * 
+ * + * LackOfTotalCalium = 43002; + */ + public static final int LackOfTotalCalium_VALUE = 43002; + /** + *
+   * Calium 변환에 필요한 재화가 부족합니다.
+   * 
+ * + * LackOfCommissionCurrency = 43003; + */ + public static final int LackOfCommissionCurrency_VALUE = 43003; + /** + *
+   * 인벤토리에 요청한 변환 Material 수량이 부족합니다.
+   * 
+ * + * LackOfCommissionMaterials = 43004; + */ + public static final int LackOfCommissionMaterials_VALUE = 43004; + /** + *
+   * 입력한 SlotId 가 잘못되었습니다.
+   * 
+ * + * InvalidMaterialSlotId = 43005; + */ + public static final int InvalidMaterialSlotId_VALUE = 43005; + /** + *
+   * Calium Data 로딩에 실패했습니다.
+   * 
+ * + * FailToLoadCalium = 43006; + */ + public static final int FailToLoadCalium_VALUE = 43006; + /** + *
+   * Calium Data 저장에 실패했습니다.
+   * 
+ * + * FailToSaveCaliumDynamo = 43007; + */ + public static final int FailToSaveCaliumDynamo_VALUE = 43007; + /** + *
+   *=============================================================================================
+   * 서비스 관련 오류
+   *=============================================================================================
+   * 
+ * + * AccountLoginBlockEnable = 50001; + */ + public static final int AccountLoginBlockEnable_VALUE = 50001; + /** + *
+   *=============================================================================================
+   * 인스턴스룸 관련 오류 : 51000 ~
+   *=============================================================================================
+   * 
+ * + * InstanceRoomException = 51001; + */ + public static final int InstanceRoomException_VALUE = 51001; + /** + *
+   * 인스턴스 룸 추가 데이터 저장 오류입니다.
+   * 
+ * + * InstanceRoomCannotWriteExtraInfo = 51002; + */ + public static final int InstanceRoomCannotWriteExtraInfo_VALUE = 51002; + /** + *
+   * 인스턴스 룸을 위한 시즌패스 구매를 하지 않았습니다.
+   * 
+ * + * InstanceRoomNotChargedSeasonPass = 51003; + */ + public static final int InstanceRoomNotChargedSeasonPass_VALUE = 51003; + /** + *
+   * 인스턴스 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * InstanceMetaDataNotFound = 51004; + */ + public static final int InstanceMetaDataNotFound_VALUE = 51004; + /** + *
+   * 인스턴스 메타 데이타 OverLimit 가 잘못되었습니다.
+   * 
+ * + * InstanceMetaDataOverLimitWrong = 51005; + */ + public static final int InstanceMetaDataOverLimitWrong_VALUE = 51005; + /** + *
+   * AccessType 오류 입니다.
+   * 
+ * + * InstanceAccessTypeInvalid = 51006; + */ + public static final int InstanceAccessTypeInvalid_VALUE = 51006; + /** + *
+   * 인스턴스 입장에 필요한 아이템이 충분하지 않습니다.
+   * 
+ * + * InstanceAccessItemNotEnough = 51007; + */ + public static final int InstanceAccessItemNotEnough_VALUE = 51007; + /** + *
+   * 인스턴스 입장에 필요한 시즌패스를 구매 하지 않았습니다.
+   * 
+ * + * InstanceAccessSeasonPassNotCharged = 51008; + */ + public static final int InstanceAccessSeasonPassNotCharged_VALUE = 51008; + /** + *
+   * 인스턴스 룸이 가득 찼습니다.
+   * 
+ * + * InstanceRoomIsFull = 51009; + */ + public static final int InstanceRoomIsFull_VALUE = 51009; + /** + *
+   * 인스턴스 룸 Id 가 중복 되었습니다.
+   * 
+ * + * InstanceRoomIdDuplicated = 51010; + */ + public static final int InstanceRoomIdDuplicated_VALUE = 51010; + /** + *
+   * 인스턴스 룸이 레디스에 존재하지 않습니다.
+   * 
+ * + * InstanceRoomNotExistAtRedis = 51011; + */ + public static final int InstanceRoomNotExistAtRedis_VALUE = 51011; + /** + *
+   *=============================================================================================
+   * Task Reservation 관련 오류 : 52000 ~
+   *=============================================================================================
+   * 
+ * + * TaskReservationDocIsNull = 52001; + */ + public static final int TaskReservationDocIsNull_VALUE = 52001; + /** + *
+   *=============================================================================================
+   * Billing 관련 오류. Web api : 53000 ~
+   *=============================================================================================
+   * 
+ * + * BillingGetPurchaseInfoFailed = 53001; + */ + public static final int BillingGetPurchaseInfoFailed_VALUE = 53001; + /** + *
+   * billing 상태 업데이트 실패 입니다.
+   * 
+ * + * BillingUpdateStateFailed = 53002; + */ + public static final int BillingUpdateStateFailed_VALUE = 53002; + /** + *
+   * billing 확인되지 않은 상태 입니다.
+   * 
+ * + * BillingInvalidStateType = 53003; + */ + public static final int BillingInvalidStateType_VALUE = 53003; + /** + *
+   * billing productMetaId의 타입 변환에 실패했습니다.
+   * 
+ * + * BillingFailedParseProductMetaIdType = 53004; + */ + public static final int BillingFailedParseProductMetaIdType_VALUE = 53004; + /** + *
+   * billing 정의되어 있지 않은 stateType입니다.
+   * 
+ * + * BillingStateTypeInvalid = 53005; + */ + public static final int BillingStateTypeInvalid_VALUE = 53005; + /** + *
+   * billing 변환 할수 없는 stateType입니다.
+   * 
+ * + * BillingStateTypeCantBeChanged = 53006; + */ + public static final int BillingStateTypeCantBeChanged_VALUE = 53006; + /** + *
+   * billing 환불 처리중 입니다.
+   * 
+ * + * BillingStateTypeRefund = 53007; + */ + public static final int BillingStateTypeRefund_VALUE = 53007; + /** + *
+   * billing 환불 처리가 완료된 상품입니다.
+   * 
+ * + * BillingStateTypeRefundComplete = 53008; + */ + public static final int BillingStateTypeRefundComplete_VALUE = 53008; + /** + *
+   *=============================================================================================
+   * 이동 관련 오류 : 54000 ~
+   *=============================================================================================
+   * 
+ * + * TaxiMetaDataNotFound = 54001; + */ + public static final int TaxiMetaDataNotFound_VALUE = 54001; + /** + *
+   * TaxiType 오류 입니다.
+   * 
+ * + * TaxiTypeInvalid = 54002; + */ + public static final int TaxiTypeInvalid_VALUE = 54002; + /** + *
+   * 워프 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * WarpMetaDataNotFound = 54003; + */ + public static final int WarpMetaDataNotFound_VALUE = 54003; + /** + *
+   * WarpTyoe 오류 입니다.
+   * 
+ * + * WarpTypeInvalid = 54004; + */ + public static final int WarpTypeInvalid_VALUE = 54004; + /** + *
+   *=============================================================================================
+   * 렌탈 관련 오류 : 54000 ~
+   *=============================================================================================
+   * 
+ * + * RentalNotFound = 55001; + */ + public static final int RentalNotFound_VALUE = 55001; + /** + *
+   * RentalDoc 로딩중에 중복된 미니맵 마커가 발견되었습니다.
+   * 
+ * + * RentalDocLoadDuplicatedRental = 55002; + */ + public static final int RentalDocLoadDuplicatedRental_VALUE = 55002; + /** + *
+   * RentalDoc이 null 입니다.
+   * 
+ * + * RentalDocIsNull = 55003; + */ + public static final int RentalDocIsNull_VALUE = 55003; + /** + *
+   * 렌탈이 불가능한 랜드 입니다.
+   * 
+ * + * RentalNotAvailableLand = 55004; + */ + public static final int RentalNotAvailableLand_VALUE = 55004; + /** + *
+   * 렌탈 주소가 유효하지 않습니다.
+   * 
+ * + * RentalAddressInvalid = 55005; + */ + public static final int RentalAddressInvalid_VALUE = 55005; + /** + *
+   * 렌탈 주소가 비어 있지 않습니다.
+   * 
+ * + * RentalAddressIsNotEmpty = 55006; + */ + public static final int RentalAddressIsNotEmpty_VALUE = 55006; + /** + *
+   * 렌탈비용 메타 데이터를 찾지 못했습니다.
+   * 
+ * + * RentalfeeMetaDataNotFound = 55007; + */ + public static final int RentalfeeMetaDataNotFound_VALUE = 55007; + /** + *
+   * 없는 task
+   * 
+ * + * UgqInvalidTaskAction = 60001; + */ + public static final int UgqInvalidTaskAction_VALUE = 60001; + /** + *
+   * disable 된 task
+   * 
+ * + * UgqTaskActionDisabled = 60002; + */ + public static final int UgqTaskActionDisabled_VALUE = 60002; + /** + *
+   * 없는 dialog type
+   * 
+ * + * UgqInvalidDialogType = 60003; + */ + public static final int UgqInvalidDialogType_VALUE = 60003; + /** + *
+   * 없는 dialog 조건
+   * 
+ * + * UgqInvalidDialogCondition = 60004; + */ + public static final int UgqInvalidDialogCondition_VALUE = 60004; + /** + *
+   * Validation 에러
+   * 
+ * + * UgqValidationError = 60005; + */ + public static final int UgqValidationError_VALUE = 60005; + /** + *
+   * 엔티티 없음
+   * 
+ * + * UgqNullEntity = 60006; + */ + public static final int UgqNullEntity_VALUE = 60006; + /** + *
+   * 상태 변경 실패
+   * 
+ * + * UgqStateChangeError = 60007; + */ + public static final int UgqStateChangeError_VALUE = 60007; + /** + *
+   * 퀘스트 슬롯 부족
+   * 
+ * + * UgqNotEnoughQuestSlot = 60008; + */ + public static final int UgqNotEnoughQuestSlot_VALUE = 60008; + /** + *
+   * 편집 불가 상태
+   * 
+ * + * UgqNotAllowEdit = 60009; + */ + public static final int UgqNotAllowEdit_VALUE = 60009; + /** + *
+   * Dialog가 Task에 없음
+   * 
+ * + * UgqDialogIsNotInTask = 60010; + */ + public static final int UgqDialogIsNotInTask_VALUE = 60010; + /** + *
+   * 이미지 입력 없음
+   * 
+ * + * UgqRequireImage = 60011; + */ + public static final int UgqRequireImage_VALUE = 60011; + /** + *
+   * 비컨 입력 필요
+   * 
+ * + * UgqRequireBeacon = 60012; + */ + public static final int UgqRequireBeacon_VALUE = 60012; + /** + *
+   * 하나의 비컨만 입력해야 함
+   * 
+ * + * UgqBeaconInputError = 60013; + */ + public static final int UgqBeaconInputError_VALUE = 60013; + /** + *
+   * 게임 DB 접근 에러
+   * 
+ * + * UgqGameDBAccessError = 60014; + */ + public static final int UgqGameDBAccessError_VALUE = 60014; + /** + *
+   * 내 소유 UgcNpc가 아님
+   * 
+ * + * UgqNotOwnUgcNpc = 60015; + */ + public static final int UgqNotOwnUgcNpc_VALUE = 60015; + /** + *
+   * 이미 계정이 존재함
+   * 
+ * + * UgqAlreadyExistsAccount = 60016; + */ + public static final int UgqAlreadyExistsAccount_VALUE = 60016; + /** + *
+   * 예외 발생
+   * 
+ * + * UgqServerException = 60017; + */ + public static final int UgqServerException_VALUE = 60017; + /** + *
+   * 유효하지 않은 웹포탈 인증 토큰
+   * 
+ * + * UgqInvalidWebPortalToken = 60018; + */ + public static final int UgqInvalidWebPortalToken_VALUE = 60018; + /** + *
+   * 유효하지 않은 토큰
+   * 
+ * + * UgqInvalidToken = 60019; + */ + public static final int UgqInvalidToken_VALUE = 60019; + /** + *
+   * 메타버스 계정이 필요함
+   * 
+ * + * UgqRequireAccount = 60020; + */ + public static final int UgqRequireAccount_VALUE = 60020; + /** + *
+   * 포인트 부족함
+   * 
+ * + * UgqNotEnoughCreatorPoint = 60021; + */ + public static final int UgqNotEnoughCreatorPoint_VALUE = 60021; + /** + *
+   * 최대 슬롯 수 제한
+   * 
+ * + * UgqSlotLimit = 60022; + */ + public static final int UgqSlotLimit_VALUE = 60022; + /** + *
+   * 트랜잭션 재시도 횟수 초과
+   * 
+ * + * UgqExceedTransactionRetry = 60023; + */ + public static final int UgqExceedTransactionRetry_VALUE = 60023; + /** + *
+   * 메타버스에 온라인 상태임
+   * 
+ * + * UgqMetaverseOnline = 60024; + */ + public static final int UgqMetaverseOnline_VALUE = 60024; + /** + *
+   * 인증 상태가 제거됨
+   * 
+ * + * UgqAuthRemoved = 60025; + */ + public static final int UgqAuthRemoved_VALUE = 60025; + /** + *
+   * 잘못된 프리셋 이미지
+   * 
+ * + * UgqInvalidPresetImage = 60026; + */ + public static final int UgqInvalidPresetImage_VALUE = 60026; + /** + *
+   * 재화 부족
+   * 
+ * + * UgqNotEnoughCurrency = 60027; + */ + public static final int UgqNotEnoughCurrency_VALUE = 60027; + /** + *
+   * 재화 사용 오류 발생
+   * 
+ * + * UgqCurrencyError = 60028; + */ + public static final int UgqCurrencyError_VALUE = 60028; + /** + *
+   * 이미 등급 변경 예약이 존재함
+   * 
+ * + * UgqAlreadyExistsReserveGrade = 60029; + */ + public static final int UgqAlreadyExistsReserveGrade_VALUE = 60029; + /** + *
+   * 유효하지 않은 예약 시간
+   * 
+ * + * UgqInvalidReserveTime = 60030; + */ + public static final int UgqInvalidReserveTime_VALUE = 60030; + /** + *
+   * 같은 등급으로 변경이 불가능.
+   * 
+ * + * UgqSameGradeReserve = 60031; + */ + public static final int UgqSameGradeReserve_VALUE = 60031; + /** + *
+   *=============================================================================================
+   * UGQ 관련 오류. InGame Api 오류
+   *=============================================================================================
+   * 
+ * + * UgqAlreadyBookmarked = 61001; + */ + public static final int UgqAlreadyBookmarked_VALUE = 61001; + /** + *
+   * 북마크 안되어 있음
+   * 
+ * + * UgqNotBookmarked = 61002; + */ + public static final int UgqNotBookmarked_VALUE = 61002; + /** + *
+   * 이미 종아요
+   * 
+ * + * UgqAlreadyLiked = 61003; + */ + public static final int UgqAlreadyLiked_VALUE = 61003; + /** + *
+   * 좋아요 안되어 있음
+   * 
+ * + * UgqNotLiked = 61004; + */ + public static final int UgqNotLiked_VALUE = 61004; + /** + *
+   * 이미 신고함
+   * 
+ * + * UgqAlreadyReported = 61005; + */ + public static final int UgqAlreadyReported_VALUE = 61005; + /** + *
+   * 내 퀘스트가 아님
+   * 
+ * + * UgqNotOwnQuest = 61006; + */ + public static final int UgqNotOwnQuest_VALUE = 61006; + /** + *
+   * 잘못된 상태
+   * 
+ * + * UgqInvalidState = 61007; + */ + public static final int UgqInvalidState_VALUE = 61007; + /** + *
+   *=============================================================================================
+   * NFT 관련 오류 : 62000 ~ 
+   *=============================================================================================
+   * 
+ * + * NftForOwnerAllGetFailed = 62001; + */ + public static final int NftForOwnerAllGetFailed_VALUE = 62001; + /** + *
+   *=============================================================================================
+   * Bot 관련 오류.
+   *=============================================================================================
+   * 
+ * + * BotPlayerIsNull = 962001; + */ + public static final int BotPlayerIsNull_VALUE = 962001; + /** + *
+   * ClientToLoginRes가 null 입니다.
+   * 
+ * + * ClientToLoginResIsNull = 962002; + */ + public static final int ClientToLoginResIsNull_VALUE = 962002; + /** + *
+   * ClientToLoginMessage가 null 입니다.
+   * 
+ * + * ClientToLoginMessageIsNull = 962003; + */ + public static final int ClientToLoginMessageIsNull_VALUE = 962003; + /** + *
+   * ClientToGameRes가 null 입니다.
+   * 
+ * + * ClientToGameResIsNull = 962004; + */ + public static final int ClientToGameResIsNull_VALUE = 962004; + /** + *
+   * ClientToGameMessage가 null 입니다.
+   * 
+ * + * ClientToGameMessageIsNull = 962005; + */ + public static final int ClientToGameMessageIsNull_VALUE = 962005; + /** + *
+   * Server 연결 실패
+   * 
+ * + * ConnectedToServerFail = 962006; + */ + public static final int ConnectedToServerFail_VALUE = 962006; + /** + *
+   * 시나리오에 param 설정이 필요합니다.
+   * 
+ * + * ScenarionParamIsNull = 962007; + */ + public static final int ScenarionParamIsNull_VALUE = 962007; + /** + * DupLogin = 1; + */ + public static final int DupLogin_VALUE = 1; + /** + * Moving = 2; + */ + public static final int Moving_VALUE = 2; + /** + * DbError = 3; + */ + public static final int DbError_VALUE = 3; + /** + * KickFail = 4; + */ + public static final int KickFail_VALUE = 4; + /** + * NotCorrectPassword = 5; + */ + public static final int NotCorrectPassword_VALUE = 5; + /** + * NotFoundUser = 6; + */ + public static final int NotFoundUser_VALUE = 6; + /** + * NoGameServer = 7; + */ + public static final int NoGameServer_VALUE = 7; + /** + * LoginPending = 8; + */ + public static final int LoginPending_VALUE = 8; + /** + * NotImplemented = 9; + */ + public static final int NotImplemented_VALUE = 9; + /** + * NotExistSelectedCharacter = 10; + */ + public static final int NotExistSelectedCharacter_VALUE = 10; + /** + * NotExistCharacter = 11; + */ + public static final int NotExistCharacter_VALUE = 11; + /** + * ServerLogicError = 12; + */ + public static final int ServerLogicError_VALUE = 12; + /** + * NoPermissions = 14; + */ + public static final int NoPermissions_VALUE = 14; + /** + * RedisFail = 15; + */ + public static final int RedisFail_VALUE = 15; + /** + * LoginFail = 1000; + */ + public static final int LoginFail_VALUE = 1000; + /** + * DuplicatedUser = 1001; + */ + public static final int DuplicatedUser_VALUE = 1001; + /** + * InvalidToken = 1002; + */ + public static final int InvalidToken_VALUE = 1002; + /** + * NotCorrectServer = 1003; + */ + public static final int NotCorrectServer_VALUE = 1003; + /** + * Inspection = 1004; + */ + public static final int Inspection_VALUE = 1004; + /** + * BlackList = 1005; + */ + public static final int BlackList_VALUE = 1005; + /** + * ServerFull = 1006; + */ + public static final int ServerFull_VALUE = 1006; + /** + * NotFoundServer = 1007; + */ + public static final int NotFoundServer_VALUE = 1007; + /** + * NotFoundTable = 1008; + */ + public static final int NotFoundTable_VALUE = 1008; + /** + * TableError = 1009; + */ + public static final int TableError_VALUE = 1009; + /** + * InvalidCondition = 1100; + */ + public static final int InvalidCondition_VALUE = 1100; + /** + * CharCreateFail = 2000; + */ + public static final int CharCreateFail_VALUE = 2000; + /** + * CharSelectFail = 2100; + */ + public static final int CharSelectFail_VALUE = 2100; + /** + * CreateRoomFail = 3000; + */ + public static final int CreateRoomFail_VALUE = 3000; + /** + * JoinRoomFail = 3100; + */ + public static final int JoinRoomFail_VALUE = 3100; + /** + * JoinInstanceFail = 3200; + */ + public static final int JoinInstanceFail_VALUE = 3200; + /** + * NotExistInstanceTicket = 3201; + */ + public static final int NotExistInstanceTicket_VALUE = 3201; + /** + * LeaveInstanceFail = 3300; + */ + public static final int LeaveInstanceFail_VALUE = 3300; + /** + * NotExistInstanceRoom = 3400; + */ + public static final int NotExistInstanceRoom_VALUE = 3400; + /** + * NotCorrectInstanceRoom = 3401; + */ + public static final int NotCorrectInstanceRoom_VALUE = 3401; + /** + * PosIsEmpty = 3402; + */ + public static final int PosIsEmpty_VALUE = 3402; + /** + * EnterMyHomeFail = 3800; + */ + public static final int EnterMyHomeFail_VALUE = 3800; + /** + * LeaveMyHomeFail = 3900; + */ + public static final int LeaveMyHomeFail_VALUE = 3900; + /** + * ExchangeMyHomeFail = 4000; + */ + public static final int ExchangeMyHomeFail_VALUE = 4000; + /** + * NotFoundMyHomeData = 4001; + */ + public static final int NotFoundMyHomeData_VALUE = 4001; + /** + * NotMyHomeOwner = 4002; + */ + public static final int NotMyHomeOwner_VALUE = 4002; + /** + * AlreadyHaveMyHome = 4003; + */ + public static final int AlreadyHaveMyHome_VALUE = 4003; + /** + * ExchangeMyHomePropFail = 4100; + */ + public static final int ExchangeMyHomePropFail_VALUE = 4100; + /** + * ExchangeLandPropFail = 4200; + */ + public static final int ExchangeLandPropFail_VALUE = 4200; + /** + * ExchangeBuildingFail = 4300; + */ + public static final int ExchangeBuildingFail_VALUE = 4300; + /** + * ExchangeBuildingLFPropFail = 4400; + */ + public static final int ExchangeBuildingLFPropFail_VALUE = 4400; + /** + * ExchangeInstanceFail = 4500; + */ + public static final int ExchangeInstanceFail_VALUE = 4500; + /** + * ExchangeSocialActionSlotFail = 4600; + */ + public static final int ExchangeSocialActionSlotFail_VALUE = 4600; + /** + * NotFoundSocialActionData = 4602; + */ + public static final int NotFoundSocialActionData_VALUE = 4602; + /** + * NotInSocialActionSlot = 4603; + */ + public static final int NotInSocialActionSlot_VALUE = 4603; + /** + * AlreadyHaveSocialAction = 4604; + */ + public static final int AlreadyHaveSocialAction_VALUE = 4604; + /** + * NotFoundLandData = 4651; + */ + public static final int NotFoundLandData_VALUE = 4651; + /** + * NotFoundBuildingData = 4652; + */ + public static final int NotFoundBuildingData_VALUE = 4652; + /** + * NotFoundFloorInfo = 4653; + */ + public static final int NotFoundFloorInfo_VALUE = 4653; + /** + * NotFoundIndunData = 4655; + */ + public static final int NotFoundIndunData_VALUE = 4655; + /** + * EnterFittingRoomFail = 4700; + */ + public static final int EnterFittingRoomFail_VALUE = 4700; + /** + * NotEntetedFittingRoom = 4701; + */ + public static final int NotEntetedFittingRoom_VALUE = 4701; + /** + * MakeFailOtp = 4702; + */ + public static final int MakeFailOtp_VALUE = 4702; + /** + * NotExistRoomInfoForEnter = 4703; + */ + public static final int NotExistRoomInfoForEnter_VALUE = 4703; + /** + * NotExistGameServerForEnter = 4704; + */ + public static final int NotExistGameServerForEnter_VALUE = 4704; + /** + * PositionSaveFail = 4705; + */ + public static final int PositionSaveFail_VALUE = 4705; + /** + * ExchangeEmotionSlotFail = 4800; + */ + public static final int ExchangeEmotionSlotFail_VALUE = 4800; + /** + * EmotionSlotOutOfRange = 4801; + */ + public static final int EmotionSlotOutOfRange_VALUE = 4801; + /** + * NotFoundAnchorGuidInMap = 4899; + */ + public static final int NotFoundAnchorGuidInMap_VALUE = 4899; + /** + * NotFoundAnchorGuid = 4900; + */ + public static final int NotFoundAnchorGuid_VALUE = 4900; + /** + * PropIsOccupied = 4901; + */ + public static final int PropIsOccupied_VALUE = 4901; + /** + * PropIsUsed = 4902; + */ + public static final int PropIsUsed_VALUE = 4902; + /** + * PropTypeisWrong = 4903; + */ + public static final int PropTypeisWrong_VALUE = 4903; + /** + * NotFoundEmotionData = 4920; + */ + public static final int NotFoundEmotionData_VALUE = 4920; + /** + * NotInEmotionSlot = 4921; + */ + public static final int NotInEmotionSlot_VALUE = 4921; + /** + * CreateItemFail = 4996; + */ + public static final int CreateItemFail_VALUE = 4996; + /** + * AddItemFail = 4997; + */ + public static final int AddItemFail_VALUE = 4997; + /** + * DeleteItemFail = 4998; + */ + public static final int DeleteItemFail_VALUE = 4998; + /** + * NoMoreAddItem = 4999; + */ + public static final int NoMoreAddItem_VALUE = 4999; + /** + * NotFoundItem = 5000; + */ + public static final int NotFoundItem_VALUE = 5000; + /** + * NotEnoughItem = 5001; + */ + public static final int NotEnoughItem_VALUE = 5001; + /** + * InvalidSlotIndex = 5002; + */ + public static final int InvalidSlotIndex_VALUE = 5002; + /** + * DuplicatedItemGuid = 5003; + */ + public static final int DuplicatedItemGuid_VALUE = 5003; + /** + * NotFoundItemTableId = 5004; + */ + public static final int NotFoundItemTableId_VALUE = 5004; + /** + * NotSelectedChar = 5005; + */ + public static final int NotSelectedChar_VALUE = 5005; + /** + * NotFoundMap = 5006; + */ + public static final int NotFoundMap_VALUE = 5006; + /** + * NotEmptySlot = 5007; + */ + public static final int NotEmptySlot_VALUE = 5007; + /** + * EmptySlot = 5008; + */ + public static final int EmptySlot_VALUE = 5008; + /** + * NotFoundBuffTableId = 5009; + */ + public static final int NotFoundBuffTableId_VALUE = 5009; + /** + * NotFoundBuff = 5010; + */ + public static final int NotFoundBuff_VALUE = 5010; + /** + * NotExistForecedMoveInfo = 5011; + */ + public static final int NotExistForecedMoveInfo_VALUE = 5011; + /** + * DuplicatedNickName = 5013; + */ + public static final int DuplicatedNickName_VALUE = 5013; + /** + * AlreadySetNickName = 5014; + */ + public static final int AlreadySetNickName_VALUE = 5014; + /** + * DisallowedCharacters = 5015; + */ + public static final int DisallowedCharacters_VALUE = 5015; + /** + * DbUpdateFailed = 5016; + */ + public static final int DbUpdateFailed_VALUE = 5016; + /** + * InvalidArgument = 5017; + */ + public static final int InvalidArgument_VALUE = 5017; + /** + * MailSystemError = 5030; + */ + public static final int MailSystemError_VALUE = 5030; + /** + * InvalidTarget = 5031; + */ + public static final int InvalidTarget_VALUE = 5031; + /** + * NotFoundMail = 5032; + */ + public static final int NotFoundMail_VALUE = 5032; + /** + * EmptyItemInMail = 5033; + */ + public static final int EmptyItemInMail_VALUE = 5033; + /** + * MailSendCountOver = 5034; + */ + public static final int MailSendCountOver_VALUE = 5034; + /** + * ChangedNickName = 5035; + */ + public static final int ChangedNickName_VALUE = 5035; + /** + * StateChangeFailed = 5040; + */ + public static final int StateChangeFailed_VALUE = 5040; + /** + * NotFoundTarget = 5050; + */ + public static final int NotFoundTarget_VALUE = 5050; + /** + * BlockedFromTarget = 5051; + */ + public static final int BlockedFromTarget_VALUE = 5051; + /** + * LogOffTarget = 5052; + */ + public static final int LogOffTarget_VALUE = 5052; + /** + * CantSendToSelf = 5053; + */ + public static final int CantSendToSelf_VALUE = 5053; + /** + * BuffTypeIsWrong = 5070; + */ + public static final int BuffTypeIsWrong_VALUE = 5070; + /** + * RegisterToolSlotFail = 5080; + */ + public static final int RegisterToolSlotFail_VALUE = 5080; + /** + * DeregisterToolSlotFail = 5081; + */ + public static final int DeregisterToolSlotFail_VALUE = 5081; + /** + * ToolSlotOutOfRange = 5082; + */ + public static final int ToolSlotOutOfRange_VALUE = 5082; + /** + * NotFoundToolSlot = 5083; + */ + public static final int NotFoundToolSlot_VALUE = 5083; + /** + * EmptyToolSlot = 5084; + */ + public static final int EmptyToolSlot_VALUE = 5084; + /** + * FolderNameExceededLength = 5090; + */ + public static final int FolderNameExceededLength_VALUE = 5090; + /** + * FolderNameAlreadyExist = 5091; + */ + public static final int FolderNameAlreadyExist_VALUE = 5091; + /** + * FolderNameNotExist = 5092; + */ + public static final int FolderNameNotExist_VALUE = 5092; + /** + * FolderNameAlreadyMaxHoldCount = 5093; + */ + public static final int FolderNameAlreadyMaxHoldCount_VALUE = 5093; + /** + * FolderCountExceed = 5094; + */ + public static final int FolderCountExceed_VALUE = 5094; + /** + * FolderCreateFail = 5095; + */ + public static final int FolderCreateFail_VALUE = 5095; + /** + * FolderReNameCannotDefault = 5096; + */ + public static final int FolderReNameCannotDefault_VALUE = 5096; + /** + * FolderOdertypeInvalid = 5097; + */ + public static final int FolderOdertypeInvalid_VALUE = 5097; + /** + * FriendRequestNotExistInfo = 5100; + */ + public static final int FriendRequestNotExistInfo_VALUE = 5100; + /** + * FriendRequestAlreadySend = 5101; + */ + public static final int FriendRequestAlreadySend_VALUE = 5101; + /** + * FriendRequestAlreadyReceive = 5102; + */ + public static final int FriendRequestAlreadyReceive_VALUE = 5102; + /** + * FriendRequestCantSendToSelf = 5103; + */ + public static final int FriendRequestCantSendToSelf_VALUE = 5103; + /** + * FriendRequestNotExistReceivedInfo = 5104; + */ + public static final int FriendRequestNotExistReceivedInfo_VALUE = 5104; + /** + * FriendRequestAlreadyFriend = 5105; + */ + public static final int FriendRequestAlreadyFriend_VALUE = 5105; + /** + * InvalidType = 5106; + */ + public static final int InvalidType_VALUE = 5106; + /** + * InvalidAttributeSlot = 5107; + */ + public static final int InvalidAttributeSlot_VALUE = 5107; + /** + * FriendRequestCannotSendBlockUser = 5119; + */ + public static final int FriendRequestCannotSendBlockUser_VALUE = 5119; + /** + * AddFriendAlreadyBlockUser = 5120; + */ + public static final int AddFriendAlreadyBlockUser_VALUE = 5120; + /** + * AddFriendNotExistCharacter = 5121; + */ + public static final int AddFriendNotExistCharacter_VALUE = 5121; + /** + * AddFriendAlreadyFriend = 5122; + */ + public static final int AddFriendAlreadyFriend_VALUE = 5122; + /** + * AddFriendAlreadyCancelRequest = 5123; + */ + public static final int AddFriendAlreadyCancelRequest_VALUE = 5123; + /** + * AddFriendAlreadyExpired = 5124; + */ + public static final int AddFriendAlreadyExpired_VALUE = 5124; + /** + * FriendInfoNotExist = 5130; + */ + public static final int FriendInfoNotExist_VALUE = 5130; + /** + * FriendInfoMyCountAlreadyMaxCount = 5131; + */ + public static final int FriendInfoMyCountAlreadyMaxCount_VALUE = 5131; + /** + * FriendInfoOthersCountAlreadyMaxCount = 5132; + */ + public static final int FriendInfoOthersCountAlreadyMaxCount_VALUE = 5132; + /** + * FriendInfoOffline = 5133; + */ + public static final int FriendInfoOffline_VALUE = 5133; + /** + * FriendInfoAlreadyExist = 5134; + */ + public static final int FriendInfoAlreadyExist_VALUE = 5134; + /** + * FriendInviteMyPosIsNotMyHome = 5140; + */ + public static final int FriendInviteMyPosIsNotMyHome_VALUE = 5140; + /** + * FriendInviteDontDisturbState = 5141; + */ + public static final int FriendInviteDontDisturbState_VALUE = 5141; + /** + * FriendInviteExpireTimeRemain = 5142; + */ + public static final int FriendInviteExpireTimeRemain_VALUE = 5142; + /** + * FriendInviteWaitingOtherInvite = 5143; + */ + public static final int FriendInviteWaitingOtherInvite_VALUE = 5143; + /** + * FriendInviteAlreadyExpire = 5144; + */ + public static final int FriendInviteAlreadyExpire_VALUE = 5144; + /** + * FriendKickMyPosIsNotMyHome = 5145; + */ + public static final int FriendKickMyPosIsNotMyHome_VALUE = 5145; + /** + * FriendKickMemberNotExist = 5146; + */ + public static final int FriendKickMemberNotExist_VALUE = 5146; + /** + * FriendIsInAnotherMyhome = 5147; + */ + public static final int FriendIsInAnotherMyhome_VALUE = 5147; + /** + * BlockUserMaxCount = 5150; + */ + public static final int BlockUserMaxCount_VALUE = 5150; + /** + * BlockUserAlreadyBlock = 5151; + */ + public static final int BlockUserAlreadyBlock_VALUE = 5151; + /** + * BlockUserCannotSendMailTo = 5152; + */ + public static final int BlockUserCannotSendMailTo_VALUE = 5152; + /** + * BlockedByOther = 5153; + */ + public static final int BlockedByOther_VALUE = 5153; + /** + * BlockUserCannotWhisperTo = 5154; + */ + public static final int BlockUserCannotWhisperTo_VALUE = 5154; + /** + * BlockInfoEmpty = 5155; + */ + public static final int BlockInfoEmpty_VALUE = 5155; + /** + * BlockUserCannotInviteParty = 5156; + */ + public static final int BlockUserCannotInviteParty_VALUE = 5156; + /** + * CartSellTypeMissMatchWithTable = 5200; + */ + public static final int CartSellTypeMissMatchWithTable_VALUE = 5200; + /** + * CartFullStackofItem = 5201; + */ + public static final int CartFullStackofItem_VALUE = 5201; + /** + * CartisFull = 5202; + */ + public static final int CartisFull_VALUE = 5202; + /** + * BanNickName = 5203; + */ + public static final int BanNickName_VALUE = 5203; + /** + * CurrencyNotFoundData = 5400; + */ + public static final int CurrencyNotFoundData_VALUE = 5400; + /** + * CurrencyNotEnough = 5401; + */ + public static final int CurrencyNotEnough_VALUE = 5401; + /** + * CurrencyInvalidValue = 5402; + */ + public static final int CurrencyInvalidValue_VALUE = 5402; + /** + * StartBuffFailed = 5500; + */ + public static final int StartBuffFailed_VALUE = 5500; + /** + * StopBuffFailed = 5501; + */ + public static final int StopBuffFailed_VALUE = 5501; + /** + * NotFoundNickName = 5600; + */ + public static final int NotFoundNickName_VALUE = 5600; + /** + * NotFoundTattooAttributeData = 5800; + */ + public static final int NotFoundTattooAttributeData_VALUE = 5800; + /** + * NotFoundShopId = 5900; + */ + public static final int NotFoundShopId_VALUE = 5900; + /** + * TimeOverForPurchase = 5901; + */ + public static final int TimeOverForPurchase_VALUE = 5901; + /** + * NotEnoughAttribute = 5902; + */ + public static final int NotEnoughAttribute_VALUE = 5902; + /** + * InvalidGender = 5903; + */ + public static final int InvalidGender_VALUE = 5903; + /** + * IsEquipItem = 5904; + */ + public static final int IsEquipItem_VALUE = 5904; + /** + * InvalidItem = 5905; + */ + public static final int InvalidItem_VALUE = 5905; + /** + * AlreadyRegistered = 5906; + */ + public static final int AlreadyRegistered_VALUE = 5906; + /** + * NotFoundShopItem = 5907; + */ + public static final int NotFoundShopItem_VALUE = 5907; + /** + * NotEnoughShopItem = 5908; + */ + public static final int NotEnoughShopItem_VALUE = 5908; + /** + * InvalidItemCount = 5909; + */ + public static final int InvalidItemCount_VALUE = 5909; + /** + * InventoryFull = 5910; + */ + public static final int InventoryFull_VALUE = 5910; + /** + * NotFoundProductId = 5911; + */ + public static final int NotFoundProductId_VALUE = 5911; + /** + * RandomBoxItemDataInvalid = 6100; + */ + public static final int RandomBoxItemDataInvalid_VALUE = 6100; + /** + * NotExistGachaData = 6101; + */ + public static final int NotExistGachaData_VALUE = 6101; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ServerErrorCode valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ServerErrorCode forNumber(int value) { + switch (value) { + case 0: return Success; + case -1: return ResultCodeNotSet; + case 10001: return TryCatchException; + case 10002: return DotNetException; + case 10003: return ProudNetException; + case 10004: return RabbitMqException; + case 10005: return DynamoDbException; + case 10006: return DynamoDbTransactException; + case 10007: return RedisException; + case 10008: return MetaInfoException; + case 10009: return MySqlDbException; + case 10031: return NLogWithAwsCloudWatchSetupFailed; + case 10051: return LogActionIsNull; + case 10052: return LogAppenderIsNull; + case 10053: return LogFormatterIsNull; + case 10054: return LogActionTypeInvalid; + case 10101: return RmiHostIsNull; + case 10102: return RmiHostHandlerBindFailed; + case 10103: return SubHandlerBindFailed; + case 10104: return SutbAndProxyAttachFailed; + case 10105: return SetMessageMaxLengthFailed; + case 10151: return PacketRecvHandlerRegisterFailed; + case 10152: return PacketSendHandlerRegisterFailed; + case 10153: return PacketRecvInvalid; + case 10154: return RacketRecvHandlerNotFound; + case 10155: return LargePacketNotAllReceived; + case 10156: return LargePacketRecvTimeOver; + case 10201: return DynamoDbTransactionCanceledException; + case 10202: return DynamoDbAmazonDynamoDbException; + case 10203: return DynamoDbAmazonServiceException; + case 10204: return DynamoDbConfigLoadFailed; + case 10205: return DynamoDbConnectFailed; + case 10206: return DynamoDbTableCreateFailed; + case 10207: return DynamoDbTableNotConnected; + case 10208: return DynamoDbQueryFailed; + case 10209: return DynamoDbItemSizeExceeded; + case 10210: return DynamoDbQueryNothingMatchDoc; + case 10211: return DynamoDbTransactionConflictException; + case 10212: return DynamoDbExpressionError; + case 10213: return DynamoDbPrimaryKeyNotFound; + case 10221: return DynamoDbQueryException; + case 10222: return DynamoDbQueryNoRequested; + case 10223: return DynamoDbQueryNotFoundDocumentQuery; + case 10224: return DynamoDbQueryExceptionNotifierNotFound; + case 10241: return DynamoDbDocumentIsNullInQueryContext; + case 10242: return DynamoDbDocumentIsInvalid; + case 10243: return DynamoDbDocumentQueryContextTypeInvalid; + case 10244: return DynamoDbDocumentCopyFailedToDoc; + case 10245: return DynamoDbDocumentUpsertFailed; + case 10251: return DynamoDbItemRequestIsInvalid; + case 10252: return DynamoDbItemRequestQueryContextTypeInvalid; + case 10261: return DynamoDbDocPkInvalid; + case 10262: return DynamoDbDocSkInvalid; + case 10263: return DynamoDbDocAttribTypeDuplicated; + case 10264: return DynamoDbDocCopyFailedToDocument; + case 10265: return DynamoDbDocCopyFailedFromDocument; + case 10266: return DynamoDbDocTypeNotMatch; + case 10267: return DynamoDbRequestInvalid; + case 10268: return DynamoDbDocAttributeStateNotSet; + case 10269: return DynamoDbDocAttribWrapperCopyFailed; + case 10270: return DynamoDbDocAttributeGettingFailed; + case 10271: return DynamoDbDocLinkPkSkInvalid; + case 10281: return MySqlConnectionCreateFailed; + case 10282: return MySqlConnectionOpenFailed; + case 10283: return MySqlDbQueryException; + case 10301: return RedisServerConnectFailed; + case 10302: return RedisStringsWriteFailed; + case 10303: return RedisStringsReadFailed; + case 10304: return RedisSetsWriteFailed; + case 10305: return RedisSetsReadFailed; + case 10306: return RedisSortedSetsWriteFailed; + case 10307: return RedisSortedSetsReadFailed; + case 10308: return RedisHashesWriteFailed; + case 10309: return RedisHashesReadFailed; + case 10310: return RedisListsWriteFailed; + case 10311: return RedisListsReadFailed; + case 10312: return RedisRequestKeyIsEmpty; + case 10313: return RedisLoginCacheGetFailed; + case 10314: return RedisLoginCacheSetFailed; + case 10315: return RedisPrivateCacheDuplicated; + case 10316: return RedisGlobalSharedCacheDuplicated; + case 10317: return RedisLoginCacheOwnerUserGuidNotMatch; + case 10318: return RedisGlobalPartyCacheGetFailed; + case 10319: return RedisGlobalPartyCacheWriteFailed; + case 10320: return RedisGlobalPartyMemberCacheWriteFailed; + case 10321: return RedisGlobalPartyServerCacheWriteFailed; + case 10322: return RedisGlobalPartyInvitePartySendCacheWriteFailed; + case 10323: return RedisInstanceRoomInfoCacheGetFailed; + case 10324: return RedisUgcNpcTotalRankCacheWriteFailed; + case 10401: return RabbitMqConsumerStartFailed; + case 10402: return RabbitMqConnectFailed; + case 10403: return RabbitMessageTimeOld; + case 10501: return S3ClientCreateFailed; + case 10502: return S3BucketCreateFailed; + case 10503: return S3FileUploadFailed; + case 10504: return S3FileDeleteFailed; + case 10505: return S3FileGetFailed; + case 10551: return MetaDataLoadFailed; + case 10552: return InvalidMetaData; + case 10553: return MetaIdInvalid; + case 10611: return JsonTypeInvalid; + case 10612: return JsonConvertDeserializeFailed; + case 10701: return ServerConfigFileNotFound; + case 10702: return ServerTypeInvalid; + case 10703: return AlreadyRunningServerWithListenPort; + case 10704: return NotFoundCacheStorage; + case 10705: return FunctionParamNull; + case 10706: return FunctionInvalidParam; + case 10707: return ClientListenPortInvalid; + case 10708: return NotOverrideInterface; + case 10709: return ServerOnRunningFailed; + case 10710: return ServiceTypeInvalid; + case 10711: return FunctionNotImplemented; + case 10712: return ClassDoesNotImplementInterfaceInheritance; + case 10713: return RuleTypeDuplicated; + case 10714: return ClassTypeCastIsNull; + case 10715: return PeriodicTaskAlreadyRegistered; + case 10716: return EntityTickerAlreadyRegistered; + case 10717: return EntityTickerNotFound; + case 10718: return EntityBaseNotFound; + case 10719: return ValidServerNotFound; + case 10720: return TargetServerUserCountExceed; + case 10721: return TargetUserNotFound; + case 10722: return TargetUserNotLogIn; + case 10723: return NotExistMap; + case 10724: return FailedToReserveEnterCondition; + case 10725: return FailedToReservationEnter; + case 10726: return OwnerEntityTypeInvalid; + case 10727: return OwnerEntityCannotFillup; + case 10728: return OwnerGuidInvalid; + case 10729: return DailyTimeEventAdditionFailed; + case 10730: return ProgramVersionPathTokenNotFound; + case 10731: return CurrentlyProcessingState; + case 10732: return ServerUrlTypeInvalid; + case 10733: return ServerUrlTypeAlreadyRegistered; + case 10734: return ServerOfflineModeEnable; + case 10850: return MetaDataCopyToDynamoDbDocFailed; + case 10851: return MetaDataCopyToEntityAttributeFailed; + case 10852: return DynamoDbDocCopyToCacheFailed; + case 10853: return DynamoDbDocCopyToEntityAttributeFailed; + case 10854: return CacheCopyToEntityAttributeFailed; + case 10555: return CacheCopyToDynamoDbDocFailed; + case 10556: return EntityAttributeCopyToCacheFailed; + case 10557: return EntityAttributeCopyToDynamoDbDocFailed; + case 10558: return EntityAttributeCopyToEntityAttributeTransactorFailed; + case 10559: return EntityAttributeTransactorCopyToEntityAttributeFailed; + case 10560: return EntityAttributeTransactorCopyToDynamoDbDocFailed; + case 10561: return AttribNotFound; + case 10562: return AttribPathMakeFailed; + case 10563: return EntityAttributeCastFailed; + case 10564: return StringConvertToEnumFailed; + case 10901: return MetaSchemaVersionNotMatch; + case 10902: return MetaDataVersionNotMatch; + case 10903: return PacketVersionNotMatch; + case 10904: return ClientLogicVersionNotMatch; + case 10905: return ResourceVersionNotMatch; + case 10906: return ClientProgramVersionIsNull; + case 11001: return TestIdNotAllow; + case 11002: return BotdNotAllow; + case 11003: return AccountIdLengthShort; + case 11004: return AccountIdNotFoundInSsoAccountDb; + case 11005: return MetaDataNotFoundByTestUserId; + case 11006: return AccountPasswordNotMatch; + case 11007: return UserDataConvertToAccountAttrFailed; + case 11008: return AccountBaseAttribInsertDbFailed; + case 11009: return NoServerConnectable; + case 11010: return BlockedAccount; + case 11011: return SsoAccountAuthWithLauncherLoginNotAllow; + case 11012: return ClientStandaloneLoginNotAllow; + case 11013: return PlatformTypeNotAllow; + case 11014: return AccountCanNotReadFromSsoAccountDb; + case 11015: return SsoAccountAuthJwtCheckFailed; + case 11016: return UserIdKeyNotFoundInSsoAccountAuthJwt; + case 11017: return UserIdValueEmptyInSsoAccountAuthJwt; + case 11018: return AccountTypeKeyNotFoundInSsoAccountAuthJwt; + case 11019: return AccountTypeValueNotAllowInSsoAccountAuthJwt; + case 11020: return AccountBaseDocNotFoundInMetaverseDb; + case 11021: return AccessTokenKeyNotAllowInSsoAccountAuthJwt; + case 11022: return AccessTokenNotMatchInSsoAccountDb; + case 11023: return AccountTypeNotAllow; + case 11024: return AccountBaseDocNotLoad; + case 11054: return NotEnoughAuthority; + case 11055: return AccountBaseDocIsNull; + case 11056: return AccountIdInvalid; + case 11057: return AccountWithoutUserGuid; + case 11058: return SsoAccountAuthJwtTokenExpired; + case 11059: return SsoAccountAuthJwtException; + case 11201: return TransactionRunnerAlreadyRunning; + case 11202: return TransactionRunnerNotFound; + case 11301: return EntityGuidInvalid; + case 11302: return EntityAttribDuplicated; + case 11303: return EntityAttributeIsNull; + case 11304: return EntityAttributeNotFound; + case 11305: return EntityAttributeStateInvalid; + case 11306: return EntityTypeInvalid; + case 11307: return EntityLinkedToMap; + case 11308: return EntityNotLinkedToMap; + case 11309: return EntityStateNotDancing; + case 11401: return EntityActionDuplicated; + case 11402: return EntityActionNotFound; + case 11501: return EntityBaseHfsmInitFailed; + case 11601: return RedisGlobalEntityDuplicated; + case 11701: return UserIsSwitchingServer; + case 11702: return UserIsNotSwitchingServer; + case 11703: return ServerSwitchingOtpNotMatch; + case 11704: return ConnectedServerIsNotDestServer; + case 11705: return InvalidReservationUser; + case 11706: return InvalidReturnUser; + case 12001: return UserNicknameNotAllowWithSpecialChars; + case 12002: return UserNicknameAllowedMin2ToMax8WithKorean; + case 12003: return UserNicknameAllowedMin4ToMax16WithEnglish; + case 12004: return UserNicknameNotAllowedNumberAtFirstChars; + case 12005: return UserNicknameNotAllowChars; + case 12006: return UserNicknameNotAllowWithInitialismKorean; + case 12007: return UserNicknameBan; + case 12008: return UserDuplicatedLogin; + case 12009: return UserNotLogin; + case 12010: return UserCreationForDynamoDbDocDuplicated; + case 12011: return UserGuidApplyToRefAttributeAllFailed; + case 12012: return TestUserPrepareCreateNotCompleted; + case 12013: return DefaultUserPrepareCreateNotCompleted; + case 12014: return UserPrepareLoadNotCompleted; + case 12015: return UserNicknameNotCreated; + case 12016: return UserNicknameAlreadyCreated; + case 12017: return UserCreateStepNotCompleted; + case 12018: return UserCreateCompleted; + case 12019: return UserSubKeyBindToFailed; + case 12020: return UserSubKeyReplaceFailed; + case 12021: return UserGuidInvalid; + case 12022: return UserNicknameDocIsNull; + case 12023: return UserDocIsNull; + case 12024: return UserGuidAlreadyAdded; + case 12025: return UserNicknameDuplicated; + case 12026: return UserNicknameAllowedMin2ToMax12; + case 12027: return UserNicknameSearchPageWrong; + case 12028: return UserNicknameEmpty; + case 12029: return UserContentsSettingDocIsNull; + case 12030: return UserMoneyDocEmpty; + case 12101: return UserReportInvalidTitleLength; + case 12102: return UserReportInvalidContentLength; + case 13001: return TestCharacterPrepareCreateNotCompleted; + case 13012: return DefaultCharacterPrepareCreateNotCompleted; + case 13013: return CharacterPrepareLoadNotCompleted; + case 13014: return CharacterBaseDocLoadDuplicatedCharacter; + case 13015: return CharacterNotSelected; + case 13016: return CharacterNotFound; + case 13017: return CharacterBaseDocNoRead; + case 13018: return CharacterCustomizingNotCompleted; + case 13019: return CharacterCreateStepNotCompleted; + case 13020: return CharacterCustomizingAlreadyCompleted; + case 13021: return CharacterPrepareNotCreated; + case 13022: return CharacterCreateCompleted; + case 13023: return CharacterBaseDocIsNull; + case 13301: return AbilityNotEnough; + case 14001: return ItemMetaDataNotFound; + case 14002: return ItemGuidInvalid; + case 14003: return ItemDocIsNull; + case 14004: return ItemDefaultAttributeNotFoundInMeta; + case 14005: return ItemLevelEnchantNotFoundInMeta; + case 14006: return ItemEnchantNotFoundInMeta; + case 14007: return ItemAttributeRandomGroupNotFoundInMeta; + case 14008: return ItemAttributeRandomGroupTotalWeightInvalid; + case 14009: return ItemNotFound; + case 14010: return ItemClothInvalidLargeType; + case 14011: return ItemClothInvalidSmallType; + case 14012: return ItemStackCountInvalid; + case 14013: return ItemMaxCountExceed; + case 14014: return ItemDocLoadDuplicatedItem; + case 14015: return ClothSlotTypeInvalid; + case 14016: return ItemStackCountNotEnough; + case 14017: return ItemCountNotEnough; + case 14018: return ItemInvalidItemType; + case 14019: return ItemToolMetaDataNotFound; + case 14020: return ItemToolNotFound; + case 14021: return ItemToolNotActivateState; + case 14022: return ToolActionDocIsNull; + case 14023: return ToolActionAlreadyUnactivateState; + case 14024: return ToolActionAlreadyActivateState; + case 14025: return ItemTattooNotFound; + case 14026: return ItemAttributeEnchantMetaNotFound; + case 14027: return ItemAttributeChangeNotSelected; + case 14028: return ItemParsingFromStringToIntErorr; + case 14029: return ItemValueParsingFromStringToIntErorr; + case 14030: return ItemFirstPurchaseHistoryDocIsNull; + case 14031: return ItemFirstPurchaseHistoryDocLoadDuplicatedItem; + case 14032: return ItemFirstPurchaseHistoryAlreadyExist; + case 14033: return ItemFirstPurchaseDiscountItemCountWrong; + case 14034: return ItemAttributeIdTypeInvalid; + case 14035: return ItemAllocFailed; + case 14036: return ItemGuidDuplicated; + case 14037: return ItemLevelCurrentMax; + case 14101: return ItemUseFunctionNotFound; + case 14102: return ItemUseQuestMailCountMax; + case 14103: return ItemUseNotExistAssignableQuest; + case 14104: return ItemUseAlreadyHasQuest; + case 14105: return ItemUseAlreadyHasQuestMail; + case 15001: return BagRuleItemLargeTypeDuplicated; + case 15002: return ToolEquipRuleItemLargeTypeDuplicated; + case 15003: return ClothEquipRuleItemLargeTypeDuplicated; + case 15004: return TattooEquipRuleItemLargeTypeDuplicated; + case 15005: return InventoryRuleNotFound; + case 15006: return EquipInvenNotFound; + case 15007: return SlotsAlreadyEquiped; + case 15008: return SlotsAlreadyUnequiped; + case 15009: return BagIsItemFull; + case 15010: return BagIsItemEmpty; + case 15011: return BagDeltaItemDupliated; + case 15012: return BagItemNotFound; + case 15013: return ClothEquipRuleClothSlotTypeNotFound; + case 15014: return ToolEquipRuleToolSlotTypeNotFound; + case 15015: return TattooEquipRuleTattooSlotTypeNotFound; + case 15016: return BagTabTypeAddFailed; + case 15017: return BagTabTypeInvalid; + case 15018: return BagTabTypeNotFound; + case 15019: return BagTabCountMergeFailed; + case 15020: return InventoryEntityTypeInvalid; + case 15021: return InvenEquipTypeInvalid; + case 15022: return BagIsReservedItemFull; + case 15023: return BagIsReservedItemEmpty; + case 15024: return EquipSlotNotMatch; + case 15025: return EquipSlotOutOfRange; + case 15026: return SlotsAlreadyReservedEquip; + case 15027: return SlotsAlreadyReservedUnequip; + case 15028: return SlotTypeNotFound; + case 15101: return UgcNpcMetaGuidAlreadyAdded; + case 15102: return UgcNpcDocIsNull; + case 15103: return UgcNpcMaxCountExceed; + case 15104: return UgcNpcClothItemNotEnough; + case 15105: return UgcNpcDocLoadDuplicatedUgcNpc; + case 15106: return UgcNpcDescriptionLengthExceed; + case 15107: return UgcNpcWordScenarioLengthExceed; + case 15108: return UgcNpcGreetingLengthExceed; + case 15109: return UgcNpcTattooItemNotEnough; + case 15110: return UgcNpcHabitSocialActionCountExceed; + case 15111: return UgcNpcDialogueSocialActionCountExceed; + case 15112: return UgcNpcNicknameDuplicated; + case 15113: return UgcNpcNotFound; + case 15114: return UgcNpcIntroductionLengthExceed; + case 15115: return UgcNpcMaxTagExceed; + case 15116: return UgcNpcNicknameEmpty; + case 15117: return UgcNpcAlreadyRegisteredInGameZone; + case 15118: return UgcNpcNotRegisteredInGameZone; + case 15119: return UgcNpcLikeSelecteeCountNotFound; + case 15120: return UgcNpcLikeSelectedFlagNotFound; + case 15121: return UgcNpcDuplicateInMyhomeUgc; + case 15122: return UgcNpcLocatedState; + case 15123: return UgcNpcMetaDataNotFound; + case 15201: return UgcNpcRankEntityIsNotFound; + case 15202: return UgcNpcRankOutOfRange; + case 15301: return FarmingEffectDocLinkPkSkNotSet; + case 15302: return FarmingEffectAlreadyRegisteredInGameZone; + case 15303: return FarmingAlready; + case 15304: return FarmingByMe; + case 15305: return FarmingPropMetaDataNotFound; + case 15306: return FarmingTryCountInvalid; + case 15307: return FarmingNotState; + case 15308: return FarmingOwnerNotMatch; + case 15309: return FarmingSummonedEntityTypeInvalid; + case 15310: return FarmingEffectNotExistInGameZone; + case 15311: return FarimgState; + case 15312: return FarmingStandByNotState; + case 15313: return FarmingAnchorNotFound; + case 15401: return GachaMetaDataNotFound; + case 15402: return GachaRewardEmpty; + case 15801: return MasterNotFound; + case 15802: return MasterNotRelated; + case 15901: return GameZoneNotJoin; + case 15902: return MapIsNull; + case 15903: return LocationUniqueIdInvalid; + case 16001: return FriendDocIsNull; + case 16002: return FriendFolderDocIsNull; + case 17001: return SocialActionMetaDataNotFound; + case 17002: return SocialActionNotFound; + case 17003: return SocialActionDocLoadDuplicatedSocialAction; + case 17004: return SocialActionAlreadyExist; + case 17005: return SocialActionSlotOutOfRange; + case 17006: return SocialActionNotOnSlot; + case 17007: return SocialActionDocIsNull; + case 18001: return ChannelMoveSameChannel; + case 18002: return ChannelInvalidMoveCoolTime; + case 18003: return NotChannelServer; + case 19001: return OwnedRoomDocIsNull; + case 19002: return RoomDocIsNull; + case 19003: return RoomIsNotMyHome; + case 20001: return MailNotFound; + case 20002: return MailAlreadyTaken; + case 20003: return MailInvalidMailType; + case 20004: return MailMaxSendCountExceed; + case 20005: return MailDocIsNull; + case 20006: return MailBlockUserCannotSend; + case 20007: return MailMaxTargetReceivedCountExceed; + case 20008: return MailCantSendSelf; + case 20009: return MailCantDeleteIfItemExists; + case 20301: return MailProfileDocIsNull; + case 20501: return SystemMailDocIsNull; + case 21001: return PartyCannotSetGuid; + case 21002: return PartyFailedMakePartyMember; + case 21003: return PartyIsFull; + case 21004: return AlreadyInviteParty; + case 21005: return NotFoundPartyInvite; + case 21006: return NotFoundParty; + case 21007: return NotParty; + case 21008: return NotPartyLeader; + case 21009: return JoiningParty; + case 21010: return NotPartyMember; + case 21011: return AlreadySummon; + case 21012: return PartyLeaderServerIsFull; + case 21013: return InviteMemberIsConcert; + case 21014: return FailToSendInviteMember; + case 21015: return AlreadyPartyMember; + case 21016: return InvalidSummonServerType; + case 21017: return SummonUserLimitDistance; + case 21018: return InvalidSummonMember; + case 21019: return PartyLeaderLoggedOut; + case 21020: return AlreadyStartPartyVote; + case 21021: return NoStartPartyVote; + case 21022: return AlreadyPassPartyVoteTime; + case 21023: return InvalidPartyVoteTime; + case 21024: return AlreadyReplyPartyVote; + case 21025: return EmptyPartyInstanceId; + case 21026: return InvalidInvitePlace; + case 21027: return InvitePartyInvalidUsers; + case 21028: return SummonPartyMemberFail; + case 21029: return InvalidPartyStringLength; + case 21030: return IncludeBanWordFromPartyName; + case 21031: return JoiningPartyMemberInfoIsNull; + case 21032: return InvalidSummonWorldServer; + case 21999: return NotExistPartyInstance; + case 22001: return BuffMetaDataNotFound; + case 22002: return BuffNotRegistryCategory; + case 22003: return BuffNotFound; + case 22004: return BuffInvalidBuffCategoryType; + case 22005: return BuffCacheLoadDuplicatedBuff; + case 22006: return BuffInvalidAttributeType; + case 23000: return QuestAssingDataNotExist; + case 23001: return QuestMailNotExist; + case 23002: return QuestAlreadyEnded; + case 23003: return QuestCountMax; + case 23004: return QuestTypeAssignCountMax; + case 23005: return QuestInvalidType; + case 23006: return QuestInvalidValue; + case 23007: return QuestIdNotFound; + case 23008: return QuestInvalidTaskNum; + case 23009: return QuestRefuseOnlyNormal; + case 23010: return QuestAbadonNotExistQuest; + case 23011: return QuestAlreadyComplete; + case 23012: return QuestNotComplete; + case 23013: return QuestAbandonOnlyNormal; + case 23014: return QuestMailDocIsNull; + case 23015: return QuestDocIsNull; + case 23016: return EndQuestDocIsNull; + case 23017: return QuestMetaBaseNotImplement; + case 23018: return QuestNotifyRedisRegistFail; + case 24001: return WorldMetaDataNotFound; + case 24002: return LackOfWorldEnterItem; + case 24003: return WorldMapTreeDataNotFound; + case 24004: return WorldMapTreeChildLandNotFound; + case 24005: return RoomMapDataNotFound; + case 24501: return LandMetaDataNotFound; + case 24502: return LandNotFound; + case 24503: return LandDocLoadDuplicatedLand; + case 24504: return LandDocIsNull; + case 24505: return OwnedLandNotFound; + case 24506: return OwnedLandDocLoadDuplicatedOwnedLand; + case 24507: return OwnedLandDocIsNull; + case 24508: return LandMapTreeDataNotFound; + case 24509: return LandMapTreeChildBuildingNotFound; + case 24510: return LandBuildingIsNotEmpty; + case 24511: return LandMapDataNotFound; + case 25001: return BuildingMetaDataNotFound; + case 25002: return BuildingNotFound; + case 25003: return BuildingDocLoadDuplicatedBuilding; + case 25004: return BuildingDocIsNull; + case 25005: return OwnedBuildingNotFound; + case 25006: return OwnedBuildingDocLoadDuplicatedOwnedBuilding; + case 25007: return OwnedBuildingDocIsNull; + case 25008: return BuildingMapTreeDataNotFound; + case 25009: return BuildingMapTreeChildRoomNotFound; + case 25010: return BuildingFloorIsNotEmpty; + case 25011: return BuildingMapDataNotFound; + case 25501: return MyHomeMetaDataNotFound; + case 25502: return MyHomeNotFound; + case 25503: return MyHomeDocLoadDuplicatedMyHome; + case 25504: return MyHomeAlreadyExist; + case 25505: return MyHomeDocIsNull; + case 25506: return MyHomeIsNotMine; + case 25507: return MyHomeCantExchangeWhenCrafting; + case 25508: return EditableRoomMetaDataNotFound; + case 25509: return EditableFrameworkMetaDataNotFound; + case 25510: return InteriorPointExceed; + case 25511: return MyhomeNotEnoughSlot; + case 25512: return MyhomeIsSelected; + case 25513: return MyhomeNameLengthShort; + case 25514: return MyhomeNameLengthLong; + case 25515: return MyhomeNameDuplicated; + case 25516: return MyhomeInterphoneNotExist; + case 25517: return MyhomeStartPointNotExist; + case 25518: return MyhomeInterphoneExceed; + case 25519: return MyhomeStartPointExceed; + case 25520: return CraftingClothesExceed; + case 25521: return CraftingCookingExceed; + case 25522: return CraftingFurnitureExceed; + case 25523: return AnchorIsNotInMyhome; + case 25524: return DoNotRemoveProcessCraftingAnchor; + case 25525: return AnchorGuidDuplicate; + case 25526: return MyhomeIsEditting; + case 25527: return MyhomeIsOnRental; + case 26001: return MinimapMarkerNotFound; + case 26002: return MinimapMarkerDocLoadDuplicatedMinimapMarker; + case 26003: return MinimapMarkerDocIsNull; + case 26501: return CartMetaDataNotFound; + case 26502: return CartMaxCountExceed; + case 26503: return CartStackCountInvalid; + case 26504: return CartStackCountNotEnough; + case 26505: return CartItemNotFound; + case 26506: return CartNotRegistryCurrencyType; + case 26507: return CartInvalidCurrencyType; + case 26508: return CartDocIsNull; + case 27001: return ChatSendSelfFailed; + case 27002: return ChatInvalidChatType; + case 27003: return ChatBlockUserCannotWhisper; + case 27004: return ChatInvalidMessageLength; + case 27005: return ChatIncludeBanWord; + case 27501: return NoticeChatDocIsNull; + case 28001: return EscapePositionNotAvailableTime; + case 28002: return EscapePositionDocIsNull; + case 28501: return BlockUserDocIsNull; + case 29001: return CharacterProfileDocIsNull; + case 29301: return CustomDefinedDataDocIsNull; + case 29501: return CustomDefinedUiDocIsNull; + case 30001: return GameOptionDocIsNull; + case 30501: return LevelDocIsNull; + case 31001: return LocationDocIsNull; + case 31002: return NotUsablePlace; + case 31003: return RedisLocationCacheSetFailed; + case 32001: return MoneyDocIsNull; + case 32002: return MoneyControlNotInitialize; + case 32003: return MoneyNotEnough; + case 32004: return MoneyMaxCountExceeded; + case 32005: return CurrencyMetaDataNotFound; + case 33001: return ShopProductTradingMeterDocIsNull; + case 33002: return ShopIsMyHomeItem; + case 33003: return InvalidShopBuyType; + case 33004: return ShopProductCannotRenwal; + case 33005: return ShopProductNotRenwalTime; + case 33006: return ShopProductRenewalCountAlreadyMax; + case 34000: return RewardInfoNotExist; + case 34001: return RewardInvalidType; + case 34002: return RewardInvalidTypeValue; + case 34003: return NotRequireAttributeValue; + case 34004: return RewardGroupIdParsingFromStringToIntErorr; + case 35000: return ClaimInvalidType; + case 35001: return ClaimMembershipNotExist; + case 35002: return ClaimInfoNotExist; + case 35003: return ClaimRewardNotEnoughTime; + case 35004: return ClaimRewardEventEnd; + case 35005: return ClaimDocIsNull; + case 36001: return CraftRecipeDocIsNull; + case 36002: return CraftHelpDocIsNull; + case 36003: return CraftDocIsNull; + case 36004: return CraftingMetaDataNotFound; + case 36005: return CraftingNotFinish; + case 36006: return CraftingNotCraftingAnchor; + case 36007: return CraftingAlreadyCrafting; + case 36008: return CraftingAnchorIsNotPlaced; + case 36009: return CraftingRecipeIsNotRegister; + case 36010: return CraftingAnchorIsNotMatchWithRecipe; + case 36011: return CraftingHelpCountOver; + case 36012: return CraftingHelpSameUserCountOver; + case 36013: return CraftingHelpReceivedCountOver; + case 36014: return CraftHelpDocIsEmpty; + case 36015: return CraftDocIsEmpty; + case 36016: return CraftingAlreadyFinish; + case 36017: return CraftingRecipeIsAlreadyRegister; + case 37001: return UgqApiServerRequestFailed; + case 37002: return UgqApiServerConvertToObjectFailed; + case 37003: return UgqApiServerInvaildSearchCategoryType; + case 37004: return UgqReportInvalidTextLength; + case 37005: return UgqQuestMetaNotExist; + case 37006: return UgqBeginCreatorPointFail; + case 37007: return UgqQuestShutdowned; + case 37008: return UgqTestQuestAlreadyCompleted; + case 37009: return UgqReassignUsingItemErrorCauseQuestNotComplete; + case 37010: return UgqReassignUsingItemErrorCauseQuestAlreadyExist; + case 37011: return UgqReassignUsingItemErrorCauseNewRevisionUpdated; + case 37012: return UgqQuestDataInvalidRevision; + case 37013: return UgqAbortCannotCauseInvalidState; + case 37014: return UgqMetaGeneratorNotExist; + case 37015: return UgqQuestDataRevisionUpdated; + case 37016: return UgqRevisionCannotSmallerThanRequestedRevision; + case 37017: return UgqRevisionStateNotLive; + case 37018: return UgqRevisionStateOnlyLivenAndTest; + case 37019: return UgqApiServerHttpRequestException; + case 37020: return UgqQuestRevisionChanged; + case 37021: return UgqAssignCannotOwnedQuest; + case 37022: return UgqAlreadyOwnedOldRevisionQuest; + case 38001: return SeasonPassDocIsNull; + case 38002: return SeasonPassMetaDataNotFound; + case 38003: return SeasonPassRewardMetaDataNotFound; + case 38004: return SeasonPassMaxGrade; + case 38005: return SeasonPassNotAblePeriod; + case 38006: return SeasonPassAlreadyBuyCharged; + case 38007: return SeasonPassAlreadyTakenReward; + case 38008: return SeasonPassNotEnoughGrade; + case 38009: return SeasonPassNeedChargedPass; + case 38010: return SeasonPassInvalidExp; + case 40001: return GameConfigMetaDataNotFound; + case 40002: return AttributeDefineitionMetaDataNotFound; + case 40003: return RequirementMetaDataNotFound; + case 40004: return SystemMailMetaDataNotFound; + case 40005: return InteriorMetaDataNotFound; + case 40006: return PropGroupMetaDataNotFound; + case 41001: return AiChatServerStart; + case 41002: return AiChatServerReqFailed; + case 41003: return AiChatServerBadrequest; + case 41004: return AiChatServerForbidden; + case 41005: return AiChatServerUnauthorized; + case 41006: return AiChatServerUserNotFound; + case 41007: return AiChatServerCharacterNotFound; + case 41008: return AiChatServerReactionNotFound; + case 41009: return AiChatServerExampleDialongNotFound; + case 41010: return AiChatServerSessionNotFound; + case 41011: return AiChatServerModelNotFound; + case 41012: return AiChatServerNotEnoughPoint; + case 41013: return AiChatServerInvalidParameters; + case 41014: return AiChatServerSessionLimitExceeded; + case 41015: return AiChatServerInvalidSignature; + case 41016: return AiChatServerUserAlreadyExists; + case 41017: return AiChatServerRemoveFailed; + case 41018: return AiChatServerDuplicateGuid; + case 41019: return AiChatServerDuplicateId; + case 41020: return AiChatServerChatNotFound; + case 41021: return AiChatServerTokenExpired; + case 41022: return AiChatServerInternalServer; + case 41023: return AiChatServerInvalidMessage; + case 41024: return AiChatServerUserOnlyFeature; + case 41025: return AiChatServerOwnershipError; + case 41026: return AiChatServerChargeOrderNotFoundError; + case 41100: return AiChatServerEnd; + case 41101: return AiChatServerRetryChargePoint; + case 41102: return AiChatServerInactive; + case 42001: return NpcIsBusy; + case 43001: return LackOfDailyCalium; + case 43002: return LackOfTotalCalium; + case 43003: return LackOfCommissionCurrency; + case 43004: return LackOfCommissionMaterials; + case 43005: return InvalidMaterialSlotId; + case 43006: return FailToLoadCalium; + case 43007: return FailToSaveCaliumDynamo; + case 50001: return AccountLoginBlockEnable; + case 51001: return InstanceRoomException; + case 51002: return InstanceRoomCannotWriteExtraInfo; + case 51003: return InstanceRoomNotChargedSeasonPass; + case 51004: return InstanceMetaDataNotFound; + case 51005: return InstanceMetaDataOverLimitWrong; + case 51006: return InstanceAccessTypeInvalid; + case 51007: return InstanceAccessItemNotEnough; + case 51008: return InstanceAccessSeasonPassNotCharged; + case 51009: return InstanceRoomIsFull; + case 51010: return InstanceRoomIdDuplicated; + case 51011: return InstanceRoomNotExistAtRedis; + case 52001: return TaskReservationDocIsNull; + case 53001: return BillingGetPurchaseInfoFailed; + case 53002: return BillingUpdateStateFailed; + case 53003: return BillingInvalidStateType; + case 53004: return BillingFailedParseProductMetaIdType; + case 53005: return BillingStateTypeInvalid; + case 53006: return BillingStateTypeCantBeChanged; + case 53007: return BillingStateTypeRefund; + case 53008: return BillingStateTypeRefundComplete; + case 54001: return TaxiMetaDataNotFound; + case 54002: return TaxiTypeInvalid; + case 54003: return WarpMetaDataNotFound; + case 54004: return WarpTypeInvalid; + case 55001: return RentalNotFound; + case 55002: return RentalDocLoadDuplicatedRental; + case 55003: return RentalDocIsNull; + case 55004: return RentalNotAvailableLand; + case 55005: return RentalAddressInvalid; + case 55006: return RentalAddressIsNotEmpty; + case 55007: return RentalfeeMetaDataNotFound; + case 60001: return UgqInvalidTaskAction; + case 60002: return UgqTaskActionDisabled; + case 60003: return UgqInvalidDialogType; + case 60004: return UgqInvalidDialogCondition; + case 60005: return UgqValidationError; + case 60006: return UgqNullEntity; + case 60007: return UgqStateChangeError; + case 60008: return UgqNotEnoughQuestSlot; + case 60009: return UgqNotAllowEdit; + case 60010: return UgqDialogIsNotInTask; + case 60011: return UgqRequireImage; + case 60012: return UgqRequireBeacon; + case 60013: return UgqBeaconInputError; + case 60014: return UgqGameDBAccessError; + case 60015: return UgqNotOwnUgcNpc; + case 60016: return UgqAlreadyExistsAccount; + case 60017: return UgqServerException; + case 60018: return UgqInvalidWebPortalToken; + case 60019: return UgqInvalidToken; + case 60020: return UgqRequireAccount; + case 60021: return UgqNotEnoughCreatorPoint; + case 60022: return UgqSlotLimit; + case 60023: return UgqExceedTransactionRetry; + case 60024: return UgqMetaverseOnline; + case 60025: return UgqAuthRemoved; + case 60026: return UgqInvalidPresetImage; + case 60027: return UgqNotEnoughCurrency; + case 60028: return UgqCurrencyError; + case 60029: return UgqAlreadyExistsReserveGrade; + case 60030: return UgqInvalidReserveTime; + case 60031: return UgqSameGradeReserve; + case 61001: return UgqAlreadyBookmarked; + case 61002: return UgqNotBookmarked; + case 61003: return UgqAlreadyLiked; + case 61004: return UgqNotLiked; + case 61005: return UgqAlreadyReported; + case 61006: return UgqNotOwnQuest; + case 61007: return UgqInvalidState; + case 62001: return NftForOwnerAllGetFailed; + case 962001: return BotPlayerIsNull; + case 962002: return ClientToLoginResIsNull; + case 962003: return ClientToLoginMessageIsNull; + case 962004: return ClientToGameResIsNull; + case 962005: return ClientToGameMessageIsNull; + case 962006: return ConnectedToServerFail; + case 962007: return ScenarionParamIsNull; + case 1: return DupLogin; + case 2: return Moving; + case 3: return DbError; + case 4: return KickFail; + case 5: return NotCorrectPassword; + case 6: return NotFoundUser; + case 7: return NoGameServer; + case 8: return LoginPending; + case 9: return NotImplemented; + case 10: return NotExistSelectedCharacter; + case 11: return NotExistCharacter; + case 12: return ServerLogicError; + case 14: return NoPermissions; + case 15: return RedisFail; + case 1000: return LoginFail; + case 1001: return DuplicatedUser; + case 1002: return InvalidToken; + case 1003: return NotCorrectServer; + case 1004: return Inspection; + case 1005: return BlackList; + case 1006: return ServerFull; + case 1007: return NotFoundServer; + case 1008: return NotFoundTable; + case 1009: return TableError; + case 1100: return InvalidCondition; + case 2000: return CharCreateFail; + case 2100: return CharSelectFail; + case 3000: return CreateRoomFail; + case 3100: return JoinRoomFail; + case 3200: return JoinInstanceFail; + case 3201: return NotExistInstanceTicket; + case 3300: return LeaveInstanceFail; + case 3400: return NotExistInstanceRoom; + case 3401: return NotCorrectInstanceRoom; + case 3402: return PosIsEmpty; + case 3800: return EnterMyHomeFail; + case 3900: return LeaveMyHomeFail; + case 4000: return ExchangeMyHomeFail; + case 4001: return NotFoundMyHomeData; + case 4002: return NotMyHomeOwner; + case 4003: return AlreadyHaveMyHome; + case 4100: return ExchangeMyHomePropFail; + case 4200: return ExchangeLandPropFail; + case 4300: return ExchangeBuildingFail; + case 4400: return ExchangeBuildingLFPropFail; + case 4500: return ExchangeInstanceFail; + case 4600: return ExchangeSocialActionSlotFail; + case 4602: return NotFoundSocialActionData; + case 4603: return NotInSocialActionSlot; + case 4604: return AlreadyHaveSocialAction; + case 4651: return NotFoundLandData; + case 4652: return NotFoundBuildingData; + case 4653: return NotFoundFloorInfo; + case 4655: return NotFoundIndunData; + case 4700: return EnterFittingRoomFail; + case 4701: return NotEntetedFittingRoom; + case 4702: return MakeFailOtp; + case 4703: return NotExistRoomInfoForEnter; + case 4704: return NotExistGameServerForEnter; + case 4705: return PositionSaveFail; + case 4800: return ExchangeEmotionSlotFail; + case 4801: return EmotionSlotOutOfRange; + case 4899: return NotFoundAnchorGuidInMap; + case 4900: return NotFoundAnchorGuid; + case 4901: return PropIsOccupied; + case 4902: return PropIsUsed; + case 4903: return PropTypeisWrong; + case 4920: return NotFoundEmotionData; + case 4921: return NotInEmotionSlot; + case 4996: return CreateItemFail; + case 4997: return AddItemFail; + case 4998: return DeleteItemFail; + case 4999: return NoMoreAddItem; + case 5000: return NotFoundItem; + case 5001: return NotEnoughItem; + case 5002: return InvalidSlotIndex; + case 5003: return DuplicatedItemGuid; + case 5004: return NotFoundItemTableId; + case 5005: return NotSelectedChar; + case 5006: return NotFoundMap; + case 5007: return NotEmptySlot; + case 5008: return EmptySlot; + case 5009: return NotFoundBuffTableId; + case 5010: return NotFoundBuff; + case 5011: return NotExistForecedMoveInfo; + case 5013: return DuplicatedNickName; + case 5014: return AlreadySetNickName; + case 5015: return DisallowedCharacters; + case 5016: return DbUpdateFailed; + case 5017: return InvalidArgument; + case 5030: return MailSystemError; + case 5031: return InvalidTarget; + case 5032: return NotFoundMail; + case 5033: return EmptyItemInMail; + case 5034: return MailSendCountOver; + case 5035: return ChangedNickName; + case 5040: return StateChangeFailed; + case 5050: return NotFoundTarget; + case 5051: return BlockedFromTarget; + case 5052: return LogOffTarget; + case 5053: return CantSendToSelf; + case 5070: return BuffTypeIsWrong; + case 5080: return RegisterToolSlotFail; + case 5081: return DeregisterToolSlotFail; + case 5082: return ToolSlotOutOfRange; + case 5083: return NotFoundToolSlot; + case 5084: return EmptyToolSlot; + case 5090: return FolderNameExceededLength; + case 5091: return FolderNameAlreadyExist; + case 5092: return FolderNameNotExist; + case 5093: return FolderNameAlreadyMaxHoldCount; + case 5094: return FolderCountExceed; + case 5095: return FolderCreateFail; + case 5096: return FolderReNameCannotDefault; + case 5097: return FolderOdertypeInvalid; + case 5100: return FriendRequestNotExistInfo; + case 5101: return FriendRequestAlreadySend; + case 5102: return FriendRequestAlreadyReceive; + case 5103: return FriendRequestCantSendToSelf; + case 5104: return FriendRequestNotExistReceivedInfo; + case 5105: return FriendRequestAlreadyFriend; + case 5106: return InvalidType; + case 5107: return InvalidAttributeSlot; + case 5119: return FriendRequestCannotSendBlockUser; + case 5120: return AddFriendAlreadyBlockUser; + case 5121: return AddFriendNotExistCharacter; + case 5122: return AddFriendAlreadyFriend; + case 5123: return AddFriendAlreadyCancelRequest; + case 5124: return AddFriendAlreadyExpired; + case 5130: return FriendInfoNotExist; + case 5131: return FriendInfoMyCountAlreadyMaxCount; + case 5132: return FriendInfoOthersCountAlreadyMaxCount; + case 5133: return FriendInfoOffline; + case 5134: return FriendInfoAlreadyExist; + case 5140: return FriendInviteMyPosIsNotMyHome; + case 5141: return FriendInviteDontDisturbState; + case 5142: return FriendInviteExpireTimeRemain; + case 5143: return FriendInviteWaitingOtherInvite; + case 5144: return FriendInviteAlreadyExpire; + case 5145: return FriendKickMyPosIsNotMyHome; + case 5146: return FriendKickMemberNotExist; + case 5147: return FriendIsInAnotherMyhome; + case 5150: return BlockUserMaxCount; + case 5151: return BlockUserAlreadyBlock; + case 5152: return BlockUserCannotSendMailTo; + case 5153: return BlockedByOther; + case 5154: return BlockUserCannotWhisperTo; + case 5155: return BlockInfoEmpty; + case 5156: return BlockUserCannotInviteParty; + case 5200: return CartSellTypeMissMatchWithTable; + case 5201: return CartFullStackofItem; + case 5202: return CartisFull; + case 5203: return BanNickName; + case 5400: return CurrencyNotFoundData; + case 5401: return CurrencyNotEnough; + case 5402: return CurrencyInvalidValue; + case 5500: return StartBuffFailed; + case 5501: return StopBuffFailed; + case 5600: return NotFoundNickName; + case 5800: return NotFoundTattooAttributeData; + case 5900: return NotFoundShopId; + case 5901: return TimeOverForPurchase; + case 5902: return NotEnoughAttribute; + case 5903: return InvalidGender; + case 5904: return IsEquipItem; + case 5905: return InvalidItem; + case 5906: return AlreadyRegistered; + case 5907: return NotFoundShopItem; + case 5908: return NotEnoughShopItem; + case 5909: return InvalidItemCount; + case 5910: return InventoryFull; + case 5911: return NotFoundProductId; + case 6100: return RandomBoxItemDataInvalid; + case 6101: return NotExistGachaData; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ServerErrorCode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ServerErrorCode findValueByNumber(int number) { + return ServerErrorCode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineResult.getDescriptor().getEnumTypes().get(0); + } + + private static final ServerErrorCode[] VALUES = values(); + + public static ServerErrorCode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ServerErrorCode(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ServerErrorCode) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerMessage.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerMessage.java new file mode 100644 index 0000000..52483ab --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerMessage.java @@ -0,0 +1,79167 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ServerMessage.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ServerMessage} + */ +public final class ServerMessage extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage) + ServerMessageOrBuilder { +private static final long serialVersionUID = 0L; + // Use ServerMessage.newBuilder() to construct. + private ServerMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ServerMessage() { + messageSender_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ServerMessage(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Builder.class); + } + + public interface ChatOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.Chat) + com.google.protobuf.MessageOrBuilder { + + /** + * .ChatType type = 1; + * @return The enum numeric value on the wire for type. + */ + int getTypeValue(); + /** + * .ChatType type = 1; + * @return The type. + */ + com.caliverse.admin.domain.RabbitMq.message.ChatType getType(); + + /** + * string senderNickName = 2; + * @return The senderNickName. + */ + java.lang.String getSenderNickName(); + /** + * string senderNickName = 2; + * @return The bytes for senderNickName. + */ + com.google.protobuf.ByteString + getSenderNickNameBytes(); + + /** + * string receiverGuid = 3; + * @return The receiverGuid. + */ + java.lang.String getReceiverGuid(); + /** + * string receiverGuid = 3; + * @return The bytes for receiverGuid. + */ + com.google.protobuf.ByteString + getReceiverGuidBytes(); + + /** + * .PlayerStateType receiverstate = 4; + * @return The enum numeric value on the wire for receiverstate. + */ + int getReceiverstateValue(); + /** + * .PlayerStateType receiverstate = 4; + * @return The receiverstate. + */ + com.caliverse.admin.domain.RabbitMq.message.PlayerStateType getReceiverstate(); + + /** + * string message = 5; + * @return The message. + */ + java.lang.String getMessage(); + /** + * string message = 5; + * @return The bytes for message. + */ + com.google.protobuf.ByteString + getMessageBytes(); + } + /** + * Protobuf type {@code ServerMessage.Chat} + */ + public static final class Chat extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.Chat) + ChatOrBuilder { + private static final long serialVersionUID = 0L; + // Use Chat.newBuilder() to construct. + private Chat(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Chat() { + type_ = 0; + senderNickName_ = ""; + receiverGuid_ = ""; + receiverstate_ = 0; + message_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Chat(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_Chat_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_Chat_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.Builder.class); + } + + public static final int TYPE_FIELD_NUMBER = 1; + private int type_ = 0; + /** + * .ChatType type = 1; + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override public int getTypeValue() { + return type_; + } + /** + * .ChatType type = 1; + * @return The type. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.ChatType getType() { + com.caliverse.admin.domain.RabbitMq.message.ChatType result = com.caliverse.admin.domain.RabbitMq.message.ChatType.forNumber(type_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ChatType.UNRECOGNIZED : result; + } + + public static final int SENDERNICKNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object senderNickName_ = ""; + /** + * string senderNickName = 2; + * @return The senderNickName. + */ + @java.lang.Override + public java.lang.String getSenderNickName() { + java.lang.Object ref = senderNickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderNickName_ = s; + return s; + } + } + /** + * string senderNickName = 2; + * @return The bytes for senderNickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderNickNameBytes() { + java.lang.Object ref = senderNickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERGUID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverGuid_ = ""; + /** + * string receiverGuid = 3; + * @return The receiverGuid. + */ + @java.lang.Override + public java.lang.String getReceiverGuid() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverGuid_ = s; + return s; + } + } + /** + * string receiverGuid = 3; + * @return The bytes for receiverGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverGuidBytes() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERSTATE_FIELD_NUMBER = 4; + private int receiverstate_ = 0; + /** + * .PlayerStateType receiverstate = 4; + * @return The enum numeric value on the wire for receiverstate. + */ + @java.lang.Override public int getReceiverstateValue() { + return receiverstate_; + } + /** + * .PlayerStateType receiverstate = 4; + * @return The receiverstate. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.PlayerStateType getReceiverstate() { + com.caliverse.admin.domain.RabbitMq.message.PlayerStateType result = com.caliverse.admin.domain.RabbitMq.message.PlayerStateType.forNumber(receiverstate_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.PlayerStateType.UNRECOGNIZED : result; + } + + public static final int MESSAGE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object message_ = ""; + /** + * string message = 5; + * @return The message. + */ + @java.lang.Override + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } + } + /** + * string message = 5; + * @return The bytes for message. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.caliverse.admin.domain.RabbitMq.message.ChatType.ChatType_None.getNumber()) { + output.writeEnum(1, type_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderNickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, senderNickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, receiverGuid_); + } + if (receiverstate_ != com.caliverse.admin.domain.RabbitMq.message.PlayerStateType.PlayerStateType_None.getNumber()) { + output.writeEnum(4, receiverstate_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, message_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (type_ != com.caliverse.admin.domain.RabbitMq.message.ChatType.ChatType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderNickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, senderNickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, receiverGuid_); + } + if (receiverstate_ != com.caliverse.admin.domain.RabbitMq.message.PlayerStateType.PlayerStateType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, receiverstate_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, message_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat) obj; + + if (type_ != other.type_) return false; + if (!getSenderNickName() + .equals(other.getSenderNickName())) return false; + if (!getReceiverGuid() + .equals(other.getReceiverGuid())) return false; + if (receiverstate_ != other.receiverstate_) return false; + if (!getMessage() + .equals(other.getMessage())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + hash = (37 * hash) + SENDERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getSenderNickName().hashCode(); + hash = (37 * hash) + RECEIVERGUID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverGuid().hashCode(); + hash = (37 * hash) + RECEIVERSTATE_FIELD_NUMBER; + hash = (53 * hash) + receiverstate_; + hash = (37 * hash) + MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getMessage().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.Chat} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.Chat) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChatOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_Chat_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_Chat_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + type_ = 0; + senderNickName_ = ""; + receiverGuid_ = ""; + receiverstate_ = 0; + message_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_Chat_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.type_ = type_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.senderNickName_ = senderNickName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.receiverGuid_ = receiverGuid_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.receiverstate_ = receiverstate_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.message_ = message_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.getDefaultInstance()) return this; + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } + if (!other.getSenderNickName().isEmpty()) { + senderNickName_ = other.senderNickName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getReceiverGuid().isEmpty()) { + receiverGuid_ = other.receiverGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.receiverstate_ != 0) { + setReceiverstateValue(other.getReceiverstateValue()); + } + if (!other.getMessage().isEmpty()) { + message_ = other.message_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + type_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + senderNickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + receiverGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + receiverstate_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int type_ = 0; + /** + * .ChatType type = 1; + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override public int getTypeValue() { + return type_; + } + /** + * .ChatType type = 1; + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. + */ + public Builder setTypeValue(int value) { + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ChatType type = 1; + * @return The type. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ChatType getType() { + com.caliverse.admin.domain.RabbitMq.message.ChatType result = com.caliverse.admin.domain.RabbitMq.message.ChatType.forNumber(type_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ChatType.UNRECOGNIZED : result; + } + /** + * .ChatType type = 1; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(com.caliverse.admin.domain.RabbitMq.message.ChatType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + type_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .ChatType type = 1; + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000001); + type_ = 0; + onChanged(); + return this; + } + + private java.lang.Object senderNickName_ = ""; + /** + * string senderNickName = 2; + * @return The senderNickName. + */ + public java.lang.String getSenderNickName() { + java.lang.Object ref = senderNickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderNickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderNickName = 2; + * @return The bytes for senderNickName. + */ + public com.google.protobuf.ByteString + getSenderNickNameBytes() { + java.lang.Object ref = senderNickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderNickName = 2; + * @param value The senderNickName to set. + * @return This builder for chaining. + */ + public Builder setSenderNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderNickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string senderNickName = 2; + * @return This builder for chaining. + */ + public Builder clearSenderNickName() { + senderNickName_ = getDefaultInstance().getSenderNickName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string senderNickName = 2; + * @param value The bytes for senderNickName to set. + * @return This builder for chaining. + */ + public Builder setSenderNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderNickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object receiverGuid_ = ""; + /** + * string receiverGuid = 3; + * @return The receiverGuid. + */ + public java.lang.String getReceiverGuid() { + java.lang.Object ref = receiverGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverGuid = 3; + * @return The bytes for receiverGuid. + */ + public com.google.protobuf.ByteString + getReceiverGuidBytes() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverGuid = 3; + * @param value The receiverGuid to set. + * @return This builder for chaining. + */ + public Builder setReceiverGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string receiverGuid = 3; + * @return This builder for chaining. + */ + public Builder clearReceiverGuid() { + receiverGuid_ = getDefaultInstance().getReceiverGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string receiverGuid = 3; + * @param value The bytes for receiverGuid to set. + * @return This builder for chaining. + */ + public Builder setReceiverGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int receiverstate_ = 0; + /** + * .PlayerStateType receiverstate = 4; + * @return The enum numeric value on the wire for receiverstate. + */ + @java.lang.Override public int getReceiverstateValue() { + return receiverstate_; + } + /** + * .PlayerStateType receiverstate = 4; + * @param value The enum numeric value on the wire for receiverstate to set. + * @return This builder for chaining. + */ + public Builder setReceiverstateValue(int value) { + receiverstate_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .PlayerStateType receiverstate = 4; + * @return The receiverstate. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PlayerStateType getReceiverstate() { + com.caliverse.admin.domain.RabbitMq.message.PlayerStateType result = com.caliverse.admin.domain.RabbitMq.message.PlayerStateType.forNumber(receiverstate_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.PlayerStateType.UNRECOGNIZED : result; + } + /** + * .PlayerStateType receiverstate = 4; + * @param value The receiverstate to set. + * @return This builder for chaining. + */ + public Builder setReceiverstate(com.caliverse.admin.domain.RabbitMq.message.PlayerStateType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + receiverstate_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .PlayerStateType receiverstate = 4; + * @return This builder for chaining. + */ + public Builder clearReceiverstate() { + bitField0_ = (bitField0_ & ~0x00000008); + receiverstate_ = 0; + onChanged(); + return this; + } + + private java.lang.Object message_ = ""; + /** + * string message = 5; + * @return The message. + */ + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string message = 5; + * @return The bytes for message. + */ + public com.google.protobuf.ByteString + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string message = 5; + * @param value The message to set. + * @return This builder for chaining. + */ + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + message_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string message = 5; + * @return This builder for chaining. + */ + public Builder clearMessage() { + message_ = getDefaultInstance().getMessage(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string message = 5; + * @param value The bytes for message to set. + * @return This builder for chaining. + */ + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + message_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.Chat) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.Chat) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Chat parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface KickReqOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.KickReq) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 reqId = 1; + * @return The reqId. + */ + int getReqId(); + + /** + * string name = 2; + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 2; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + } + /** + * Protobuf type {@code ServerMessage.KickReq} + */ + public static final class KickReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.KickReq) + KickReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use KickReq.newBuilder() to construct. + private KickReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private KickReq() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new KickReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.Builder.class); + } + + public static final int REQID_FIELD_NUMBER = 1; + private int reqId_ = 0; + /** + * int32 reqId = 1; + * @return The reqId. + */ + @java.lang.Override + public int getReqId() { + return reqId_; + } + + public static final int NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * string name = 2; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 2; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (reqId_ != 0) { + output.writeInt32(1, reqId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (reqId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, reqId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq) obj; + + if (getReqId() + != other.getReqId()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + REQID_FIELD_NUMBER; + hash = (53 * hash) + getReqId(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.KickReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.KickReq) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReqOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + reqId_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickReq_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.reqId_ = reqId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.getDefaultInstance()) return this; + if (other.getReqId() != 0) { + setReqId(other.getReqId()); + } + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + reqId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int reqId_ ; + /** + * int32 reqId = 1; + * @return The reqId. + */ + @java.lang.Override + public int getReqId() { + return reqId_; + } + /** + * int32 reqId = 1; + * @param value The reqId to set. + * @return This builder for chaining. + */ + public Builder setReqId(int value) { + + reqId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 reqId = 1; + * @return This builder for chaining. + */ + public Builder clearReqId() { + bitField0_ = (bitField0_ & ~0x00000001); + reqId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 2; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 2; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 2; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string name = 2; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string name = 2; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.KickReq) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.KickReq) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KickReq parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface KickResOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.KickRes) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 reqId = 1; + * @return The reqId. + */ + int getReqId(); + + /** + * .ServerErrorCode errCode = 2; + * @return The enum numeric value on the wire for errCode. + */ + int getErrCodeValue(); + /** + * .ServerErrorCode errCode = 2; + * @return The errCode. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrCode(); + + /** + * string name = 3; + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 3; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + } + /** + * Protobuf type {@code ServerMessage.KickRes} + */ + public static final class KickRes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.KickRes) + KickResOrBuilder { + private static final long serialVersionUID = 0L; + // Use KickRes.newBuilder() to construct. + private KickRes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private KickRes() { + errCode_ = 0; + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new KickRes(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickRes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickRes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.Builder.class); + } + + public static final int REQID_FIELD_NUMBER = 1; + private int reqId_ = 0; + /** + * int32 reqId = 1; + * @return The reqId. + */ + @java.lang.Override + public int getReqId() { + return reqId_; + } + + public static final int ERRCODE_FIELD_NUMBER = 2; + private int errCode_ = 0; + /** + * .ServerErrorCode errCode = 2; + * @return The enum numeric value on the wire for errCode. + */ + @java.lang.Override public int getErrCodeValue() { + return errCode_; + } + /** + * .ServerErrorCode errCode = 2; + * @return The errCode. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrCode() { + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode result = com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.forNumber(errCode_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.UNRECOGNIZED : result; + } + + public static final int NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * string name = 3; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 3; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (reqId_ != 0) { + output.writeInt32(1, reqId_); + } + if (errCode_ != com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.Success.getNumber()) { + output.writeEnum(2, errCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (reqId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, reqId_); + } + if (errCode_ != com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.Success.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, errCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes) obj; + + if (getReqId() + != other.getReqId()) return false; + if (errCode_ != other.errCode_) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + REQID_FIELD_NUMBER; + hash = (53 * hash) + getReqId(); + hash = (37 * hash) + ERRCODE_FIELD_NUMBER; + hash = (53 * hash) + errCode_; + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.KickRes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.KickRes) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickResOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickRes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickRes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + reqId_ = 0; + errCode_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickRes_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.reqId_ = reqId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.errCode_ = errCode_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.getDefaultInstance()) return this; + if (other.getReqId() != 0) { + setReqId(other.getReqId()); + } + if (other.errCode_ != 0) { + setErrCodeValue(other.getErrCodeValue()); + } + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + reqId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + errCode_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int reqId_ ; + /** + * int32 reqId = 1; + * @return The reqId. + */ + @java.lang.Override + public int getReqId() { + return reqId_; + } + /** + * int32 reqId = 1; + * @param value The reqId to set. + * @return This builder for chaining. + */ + public Builder setReqId(int value) { + + reqId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 reqId = 1; + * @return This builder for chaining. + */ + public Builder clearReqId() { + bitField0_ = (bitField0_ & ~0x00000001); + reqId_ = 0; + onChanged(); + return this; + } + + private int errCode_ = 0; + /** + * .ServerErrorCode errCode = 2; + * @return The enum numeric value on the wire for errCode. + */ + @java.lang.Override public int getErrCodeValue() { + return errCode_; + } + /** + * .ServerErrorCode errCode = 2; + * @param value The enum numeric value on the wire for errCode to set. + * @return This builder for chaining. + */ + public Builder setErrCodeValue(int value) { + errCode_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .ServerErrorCode errCode = 2; + * @return The errCode. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrCode() { + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode result = com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.forNumber(errCode_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.UNRECOGNIZED : result; + } + /** + * .ServerErrorCode errCode = 2; + * @param value The errCode to set. + * @return This builder for chaining. + */ + public Builder setErrCode(com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + errCode_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .ServerErrorCode errCode = 2; + * @return This builder for chaining. + */ + public Builder clearErrCode() { + bitField0_ = (bitField0_ & ~0x00000002); + errCode_ = 0; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 3; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 3; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 3; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string name = 3; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string name = 3; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.KickRes) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.KickRes) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KickRes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetServerConfigReqOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GetServerConfigReq) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code ServerMessage.GetServerConfigReq} + */ + public static final class GetServerConfigReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GetServerConfigReq) + GetServerConfigReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetServerConfigReq.newBuilder() to construct. + private GetServerConfigReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetServerConfigReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetServerConfigReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetServerConfigReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetServerConfigReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GetServerConfigReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GetServerConfigReq) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReqOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetServerConfigReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetServerConfigReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetServerConfigReq_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GetServerConfigReq) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GetServerConfigReq) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetServerConfigReq parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigReq getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetServerConfigResOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GetServerConfigRes) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 serverType = 1; + * @return The serverType. + */ + int getServerType(); + + /** + * int32 worldId = 2; + * @return The worldId. + */ + int getWorldId(); + + /** + * int32 region = 3; + * @return The region. + */ + int getRegion(); + } + /** + * Protobuf type {@code ServerMessage.GetServerConfigRes} + */ + public static final class GetServerConfigRes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GetServerConfigRes) + GetServerConfigResOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetServerConfigRes.newBuilder() to construct. + private GetServerConfigRes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetServerConfigRes() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetServerConfigRes(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetServerConfigRes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetServerConfigRes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes.Builder.class); + } + + public static final int SERVERTYPE_FIELD_NUMBER = 1; + private int serverType_ = 0; + /** + * int32 serverType = 1; + * @return The serverType. + */ + @java.lang.Override + public int getServerType() { + return serverType_; + } + + public static final int WORLDID_FIELD_NUMBER = 2; + private int worldId_ = 0; + /** + * int32 worldId = 2; + * @return The worldId. + */ + @java.lang.Override + public int getWorldId() { + return worldId_; + } + + public static final int REGION_FIELD_NUMBER = 3; + private int region_ = 0; + /** + * int32 region = 3; + * @return The region. + */ + @java.lang.Override + public int getRegion() { + return region_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (serverType_ != 0) { + output.writeInt32(1, serverType_); + } + if (worldId_ != 0) { + output.writeInt32(2, worldId_); + } + if (region_ != 0) { + output.writeInt32(3, region_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (serverType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, serverType_); + } + if (worldId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, worldId_); + } + if (region_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, region_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes) obj; + + if (getServerType() + != other.getServerType()) return false; + if (getWorldId() + != other.getWorldId()) return false; + if (getRegion() + != other.getRegion()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVERTYPE_FIELD_NUMBER; + hash = (53 * hash) + getServerType(); + hash = (37 * hash) + WORLDID_FIELD_NUMBER; + hash = (53 * hash) + getWorldId(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GetServerConfigRes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GetServerConfigRes) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigResOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetServerConfigRes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetServerConfigRes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + serverType_ = 0; + worldId_ = 0; + region_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetServerConfigRes_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.serverType_ = serverType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.worldId_ = worldId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.region_ = region_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes.getDefaultInstance()) return this; + if (other.getServerType() != 0) { + setServerType(other.getServerType()); + } + if (other.getWorldId() != 0) { + setWorldId(other.getWorldId()); + } + if (other.getRegion() != 0) { + setRegion(other.getRegion()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + serverType_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + worldId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + region_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int serverType_ ; + /** + * int32 serverType = 1; + * @return The serverType. + */ + @java.lang.Override + public int getServerType() { + return serverType_; + } + /** + * int32 serverType = 1; + * @param value The serverType to set. + * @return This builder for chaining. + */ + public Builder setServerType(int value) { + + serverType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 serverType = 1; + * @return This builder for chaining. + */ + public Builder clearServerType() { + bitField0_ = (bitField0_ & ~0x00000001); + serverType_ = 0; + onChanged(); + return this; + } + + private int worldId_ ; + /** + * int32 worldId = 2; + * @return The worldId. + */ + @java.lang.Override + public int getWorldId() { + return worldId_; + } + /** + * int32 worldId = 2; + * @param value The worldId to set. + * @return This builder for chaining. + */ + public Builder setWorldId(int value) { + + worldId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 worldId = 2; + * @return This builder for chaining. + */ + public Builder clearWorldId() { + bitField0_ = (bitField0_ & ~0x00000002); + worldId_ = 0; + onChanged(); + return this; + } + + private int region_ ; + /** + * int32 region = 3; + * @return The region. + */ + @java.lang.Override + public int getRegion() { + return region_; + } + /** + * int32 region = 3; + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(int value) { + + region_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 region = 3; + * @return This builder for chaining. + */ + public Builder clearRegion() { + bitField0_ = (bitField0_ & ~0x00000004); + region_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GetServerConfigRes) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GetServerConfigRes) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetServerConfigRes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetServerConfigRes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WhiteListUpdateNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.WhiteListUpdateNoti) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code ServerMessage.WhiteListUpdateNoti} + */ + public static final class WhiteListUpdateNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.WhiteListUpdateNoti) + WhiteListUpdateNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use WhiteListUpdateNoti.newBuilder() to construct. + private WhiteListUpdateNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WhiteListUpdateNoti() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new WhiteListUpdateNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_WhiteListUpdateNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_WhiteListUpdateNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.WhiteListUpdateNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.WhiteListUpdateNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_WhiteListUpdateNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_WhiteListUpdateNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_WhiteListUpdateNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.WhiteListUpdateNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.WhiteListUpdateNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WhiteListUpdateNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BlackListUpdateNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.BlackListUpdateNoti) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code ServerMessage.BlackListUpdateNoti} + */ + public static final class BlackListUpdateNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.BlackListUpdateNoti) + BlackListUpdateNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use BlackListUpdateNoti.newBuilder() to construct. + private BlackListUpdateNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BlackListUpdateNoti() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BlackListUpdateNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_BlackListUpdateNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_BlackListUpdateNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.BlackListUpdateNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.BlackListUpdateNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_BlackListUpdateNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_BlackListUpdateNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_BlackListUpdateNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.BlackListUpdateNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.BlackListUpdateNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BlackListUpdateNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface InspectionReqOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.InspectionReq) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 isInspection = 1; + * @return The isInspection. + */ + int getIsInspection(); + } + /** + * Protobuf type {@code ServerMessage.InspectionReq} + */ + public static final class InspectionReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.InspectionReq) + InspectionReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use InspectionReq.newBuilder() to construct. + private InspectionReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private InspectionReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InspectionReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InspectionReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InspectionReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.Builder.class); + } + + public static final int ISINSPECTION_FIELD_NUMBER = 1; + private int isInspection_ = 0; + /** + * int32 isInspection = 1; + * @return The isInspection. + */ + @java.lang.Override + public int getIsInspection() { + return isInspection_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (isInspection_ != 0) { + output.writeInt32(1, isInspection_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (isInspection_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, isInspection_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq) obj; + + if (getIsInspection() + != other.getIsInspection()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ISINSPECTION_FIELD_NUMBER; + hash = (53 * hash) + getIsInspection(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.InspectionReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.InspectionReq) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReqOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InspectionReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InspectionReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + isInspection_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InspectionReq_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.isInspection_ = isInspection_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.getDefaultInstance()) return this; + if (other.getIsInspection() != 0) { + setIsInspection(other.getIsInspection()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + isInspection_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int isInspection_ ; + /** + * int32 isInspection = 1; + * @return The isInspection. + */ + @java.lang.Override + public int getIsInspection() { + return isInspection_; + } + /** + * int32 isInspection = 1; + * @param value The isInspection to set. + * @return This builder for chaining. + */ + public Builder setIsInspection(int value) { + + isInspection_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 isInspection = 1; + * @return This builder for chaining. + */ + public Builder clearIsInspection() { + bitField0_ = (bitField0_ & ~0x00000001); + isInspection_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.InspectionReq) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.InspectionReq) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectionReq parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReadyForDistroyReqOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ReadyForDistroyReq) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 isReadyForDistroy = 1; + * @return The isReadyForDistroy. + */ + int getIsReadyForDistroy(); + } + /** + * Protobuf type {@code ServerMessage.ReadyForDistroyReq} + */ + public static final class ReadyForDistroyReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ReadyForDistroyReq) + ReadyForDistroyReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReadyForDistroyReq.newBuilder() to construct. + private ReadyForDistroyReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReadyForDistroyReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReadyForDistroyReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReadyForDistroyReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReadyForDistroyReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.Builder.class); + } + + public static final int ISREADYFORDISTROY_FIELD_NUMBER = 1; + private int isReadyForDistroy_ = 0; + /** + * int32 isReadyForDistroy = 1; + * @return The isReadyForDistroy. + */ + @java.lang.Override + public int getIsReadyForDistroy() { + return isReadyForDistroy_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (isReadyForDistroy_ != 0) { + output.writeInt32(1, isReadyForDistroy_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (isReadyForDistroy_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, isReadyForDistroy_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq) obj; + + if (getIsReadyForDistroy() + != other.getIsReadyForDistroy()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ISREADYFORDISTROY_FIELD_NUMBER; + hash = (53 * hash) + getIsReadyForDistroy(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ReadyForDistroyReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ReadyForDistroyReq) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReqOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReadyForDistroyReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReadyForDistroyReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + isReadyForDistroy_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReadyForDistroyReq_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.isReadyForDistroy_ = isReadyForDistroy_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.getDefaultInstance()) return this; + if (other.getIsReadyForDistroy() != 0) { + setIsReadyForDistroy(other.getIsReadyForDistroy()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + isReadyForDistroy_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int isReadyForDistroy_ ; + /** + * int32 isReadyForDistroy = 1; + * @return The isReadyForDistroy. + */ + @java.lang.Override + public int getIsReadyForDistroy() { + return isReadyForDistroy_; + } + /** + * int32 isReadyForDistroy = 1; + * @param value The isReadyForDistroy to set. + * @return This builder for chaining. + */ + public Builder setIsReadyForDistroy(int value) { + + isReadyForDistroy_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 isReadyForDistroy = 1; + * @return This builder for chaining. + */ + public Builder clearIsReadyForDistroy() { + bitField0_ = (bitField0_ & ~0x00000001); + isReadyForDistroy_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ReadyForDistroyReq) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ReadyForDistroyReq) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadyForDistroyReq parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ManagerServerActiveReqOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ManagerServerActiveReq) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 isActive = 1; + * @return The isActive. + */ + int getIsActive(); + } + /** + * Protobuf type {@code ServerMessage.ManagerServerActiveReq} + */ + public static final class ManagerServerActiveReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ManagerServerActiveReq) + ManagerServerActiveReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use ManagerServerActiveReq.newBuilder() to construct. + private ManagerServerActiveReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ManagerServerActiveReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ManagerServerActiveReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ManagerServerActiveReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ManagerServerActiveReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.Builder.class); + } + + public static final int ISACTIVE_FIELD_NUMBER = 1; + private int isActive_ = 0; + /** + * int32 isActive = 1; + * @return The isActive. + */ + @java.lang.Override + public int getIsActive() { + return isActive_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (isActive_ != 0) { + output.writeInt32(1, isActive_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (isActive_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, isActive_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq) obj; + + if (getIsActive() + != other.getIsActive()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ISACTIVE_FIELD_NUMBER; + hash = (53 * hash) + getIsActive(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ManagerServerActiveReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ManagerServerActiveReq) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReqOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ManagerServerActiveReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ManagerServerActiveReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + isActive_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ManagerServerActiveReq_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.isActive_ = isActive_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.getDefaultInstance()) return this; + if (other.getIsActive() != 0) { + setIsActive(other.getIsActive()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + isActive_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int isActive_ ; + /** + * int32 isActive = 1; + * @return The isActive. + */ + @java.lang.Override + public int getIsActive() { + return isActive_; + } + /** + * int32 isActive = 1; + * @param value The isActive to set. + * @return This builder for chaining. + */ + public Builder setIsActive(int value) { + + isActive_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 isActive = 1; + * @return This builder for chaining. + */ + public Builder clearIsActive() { + bitField0_ = (bitField0_ & ~0x00000001); + isActive_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ManagerServerActiveReq) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ManagerServerActiveReq) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagerServerActiveReq parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ManagerServerActiveResOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ManagerServerActiveRes) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 isActive = 1; + * @return The isActive. + */ + int getIsActive(); + } + /** + * Protobuf type {@code ServerMessage.ManagerServerActiveRes} + */ + public static final class ManagerServerActiveRes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ManagerServerActiveRes) + ManagerServerActiveResOrBuilder { + private static final long serialVersionUID = 0L; + // Use ManagerServerActiveRes.newBuilder() to construct. + private ManagerServerActiveRes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ManagerServerActiveRes() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ManagerServerActiveRes(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ManagerServerActiveRes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ManagerServerActiveRes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.Builder.class); + } + + public static final int ISACTIVE_FIELD_NUMBER = 1; + private int isActive_ = 0; + /** + * int32 isActive = 1; + * @return The isActive. + */ + @java.lang.Override + public int getIsActive() { + return isActive_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (isActive_ != 0) { + output.writeInt32(1, isActive_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (isActive_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, isActive_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes) obj; + + if (getIsActive() + != other.getIsActive()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ISACTIVE_FIELD_NUMBER; + hash = (53 * hash) + getIsActive(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ManagerServerActiveRes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ManagerServerActiveRes) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveResOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ManagerServerActiveRes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ManagerServerActiveRes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + isActive_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ManagerServerActiveRes_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.isActive_ = isActive_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.getDefaultInstance()) return this; + if (other.getIsActive() != 0) { + setIsActive(other.getIsActive()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + isActive_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int isActive_ ; + /** + * int32 isActive = 1; + * @return The isActive. + */ + @java.lang.Override + public int getIsActive() { + return isActive_; + } + /** + * int32 isActive = 1; + * @param value The isActive to set. + * @return This builder for chaining. + */ + public Builder setIsActive(int value) { + + isActive_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 isActive = 1; + * @return This builder for chaining. + */ + public Builder clearIsActive() { + bitField0_ = (bitField0_ & ~0x00000001); + isActive_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ManagerServerActiveRes) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ManagerServerActiveRes) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagerServerActiveRes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ChangeServerConfigReqOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ChangeServerConfigReq) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 maxUser = 1; + * @return The maxUser. + */ + int getMaxUser(); + } + /** + * Protobuf type {@code ServerMessage.ChangeServerConfigReq} + */ + public static final class ChangeServerConfigReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ChangeServerConfigReq) + ChangeServerConfigReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use ChangeServerConfigReq.newBuilder() to construct. + private ChangeServerConfigReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ChangeServerConfigReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChangeServerConfigReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangeServerConfigReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangeServerConfigReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.Builder.class); + } + + public static final int MAXUSER_FIELD_NUMBER = 1; + private int maxUser_ = 0; + /** + * int32 maxUser = 1; + * @return The maxUser. + */ + @java.lang.Override + public int getMaxUser() { + return maxUser_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (maxUser_ != 0) { + output.writeInt32(1, maxUser_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (maxUser_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, maxUser_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq) obj; + + if (getMaxUser() + != other.getMaxUser()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MAXUSER_FIELD_NUMBER; + hash = (53 * hash) + getMaxUser(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ChangeServerConfigReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ChangeServerConfigReq) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReqOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangeServerConfigReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangeServerConfigReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + maxUser_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangeServerConfigReq_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.maxUser_ = maxUser_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.getDefaultInstance()) return this; + if (other.getMaxUser() != 0) { + setMaxUser(other.getMaxUser()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + maxUser_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int maxUser_ ; + /** + * int32 maxUser = 1; + * @return The maxUser. + */ + @java.lang.Override + public int getMaxUser() { + return maxUser_; + } + /** + * int32 maxUser = 1; + * @param value The maxUser to set. + * @return This builder for chaining. + */ + public Builder setMaxUser(int value) { + + maxUser_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 maxUser = 1; + * @return This builder for chaining. + */ + public Builder clearMaxUser() { + bitField0_ = (bitField0_ & ~0x00000001); + maxUser_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ChangeServerConfigReq) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ChangeServerConfigReq) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeServerConfigReq parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AllKickNormalUserNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.AllKickNormalUserNoti) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code ServerMessage.AllKickNormalUserNoti} + */ + public static final class AllKickNormalUserNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.AllKickNormalUserNoti) + AllKickNormalUserNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use AllKickNormalUserNoti.newBuilder() to construct. + private AllKickNormalUserNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AllKickNormalUserNoti() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AllKickNormalUserNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AllKickNormalUserNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AllKickNormalUserNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.AllKickNormalUserNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.AllKickNormalUserNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AllKickNormalUserNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AllKickNormalUserNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AllKickNormalUserNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.AllKickNormalUserNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.AllKickNormalUserNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllKickNormalUserNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReceiveMailNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ReceiveMailNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string accountGuid = 1; + * @return The accountGuid. + */ + java.lang.String getAccountGuid(); + /** + * string accountGuid = 1; + * @return The bytes for accountGuid. + */ + com.google.protobuf.ByteString + getAccountGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.ReceiveMailNoti} + */ + public static final class ReceiveMailNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ReceiveMailNoti) + ReceiveMailNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReceiveMailNoti.newBuilder() to construct. + private ReceiveMailNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReceiveMailNoti() { + accountGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReceiveMailNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReceiveMailNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReceiveMailNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.Builder.class); + } + + public static final int ACCOUNTGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object accountGuid_ = ""; + /** + * string accountGuid = 1; + * @return The accountGuid. + */ + @java.lang.Override + public java.lang.String getAccountGuid() { + java.lang.Object ref = accountGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accountGuid_ = s; + return s; + } + } + /** + * string accountGuid = 1; + * @return The bytes for accountGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAccountGuidBytes() { + java.lang.Object ref = accountGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + accountGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accountGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accountGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti) obj; + + if (!getAccountGuid() + .equals(other.getAccountGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ACCOUNTGUID_FIELD_NUMBER; + hash = (53 * hash) + getAccountGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ReceiveMailNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ReceiveMailNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReceiveMailNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReceiveMailNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + accountGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReceiveMailNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.accountGuid_ = accountGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.getDefaultInstance()) return this; + if (!other.getAccountGuid().isEmpty()) { + accountGuid_ = other.accountGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + accountGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object accountGuid_ = ""; + /** + * string accountGuid = 1; + * @return The accountGuid. + */ + public java.lang.String getAccountGuid() { + java.lang.Object ref = accountGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accountGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string accountGuid = 1; + * @return The bytes for accountGuid. + */ + public com.google.protobuf.ByteString + getAccountGuidBytes() { + java.lang.Object ref = accountGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + accountGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string accountGuid = 1; + * @param value The accountGuid to set. + * @return This builder for chaining. + */ + public Builder setAccountGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + accountGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string accountGuid = 1; + * @return This builder for chaining. + */ + public Builder clearAccountGuid() { + accountGuid_ = getDefaultInstance().getAccountGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string accountGuid = 1; + * @param value The bytes for accountGuid to set. + * @return This builder for chaining. + */ + public Builder setAccountGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + accountGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ReceiveMailNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ReceiveMailNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReceiveMailNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AwsAutoScaleGroupOptionReqOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.AwsAutoScaleGroupOptionReq) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 scaleOutPlusConstant = 1; + * @return The scaleOutPlusConstant. + */ + int getScaleOutPlusConstant(); + + /** + * int32 scaleInCondition = 2; + * @return The scaleInCondition. + */ + int getScaleInCondition(); + + /** + * int32 scaleOutCondition = 3; + * @return The scaleOutCondition. + */ + int getScaleOutCondition(); + + /** + * string serverName = 4; + * @return The serverName. + */ + java.lang.String getServerName(); + /** + * string serverName = 4; + * @return The bytes for serverName. + */ + com.google.protobuf.ByteString + getServerNameBytes(); + + /** + * int32 groupMin = 5; + * @return The groupMin. + */ + int getGroupMin(); + + /** + * int32 groupCapacity = 6; + * @return The groupCapacity. + */ + int getGroupCapacity(); + } + /** + * Protobuf type {@code ServerMessage.AwsAutoScaleGroupOptionReq} + */ + public static final class AwsAutoScaleGroupOptionReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.AwsAutoScaleGroupOptionReq) + AwsAutoScaleGroupOptionReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use AwsAutoScaleGroupOptionReq.newBuilder() to construct. + private AwsAutoScaleGroupOptionReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AwsAutoScaleGroupOptionReq() { + serverName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AwsAutoScaleGroupOptionReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AwsAutoScaleGroupOptionReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AwsAutoScaleGroupOptionReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.Builder.class); + } + + public static final int SCALEOUTPLUSCONSTANT_FIELD_NUMBER = 1; + private int scaleOutPlusConstant_ = 0; + /** + * int32 scaleOutPlusConstant = 1; + * @return The scaleOutPlusConstant. + */ + @java.lang.Override + public int getScaleOutPlusConstant() { + return scaleOutPlusConstant_; + } + + public static final int SCALEINCONDITION_FIELD_NUMBER = 2; + private int scaleInCondition_ = 0; + /** + * int32 scaleInCondition = 2; + * @return The scaleInCondition. + */ + @java.lang.Override + public int getScaleInCondition() { + return scaleInCondition_; + } + + public static final int SCALEOUTCONDITION_FIELD_NUMBER = 3; + private int scaleOutCondition_ = 0; + /** + * int32 scaleOutCondition = 3; + * @return The scaleOutCondition. + */ + @java.lang.Override + public int getScaleOutCondition() { + return scaleOutCondition_; + } + + public static final int SERVERNAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object serverName_ = ""; + /** + * string serverName = 4; + * @return The serverName. + */ + @java.lang.Override + public java.lang.String getServerName() { + java.lang.Object ref = serverName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serverName_ = s; + return s; + } + } + /** + * string serverName = 4; + * @return The bytes for serverName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getServerNameBytes() { + java.lang.Object ref = serverName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + serverName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GROUPMIN_FIELD_NUMBER = 5; + private int groupMin_ = 0; + /** + * int32 groupMin = 5; + * @return The groupMin. + */ + @java.lang.Override + public int getGroupMin() { + return groupMin_; + } + + public static final int GROUPCAPACITY_FIELD_NUMBER = 6; + private int groupCapacity_ = 0; + /** + * int32 groupCapacity = 6; + * @return The groupCapacity. + */ + @java.lang.Override + public int getGroupCapacity() { + return groupCapacity_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (scaleOutPlusConstant_ != 0) { + output.writeInt32(1, scaleOutPlusConstant_); + } + if (scaleInCondition_ != 0) { + output.writeInt32(2, scaleInCondition_); + } + if (scaleOutCondition_ != 0) { + output.writeInt32(3, scaleOutCondition_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, serverName_); + } + if (groupMin_ != 0) { + output.writeInt32(5, groupMin_); + } + if (groupCapacity_ != 0) { + output.writeInt32(6, groupCapacity_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (scaleOutPlusConstant_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, scaleOutPlusConstant_); + } + if (scaleInCondition_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, scaleInCondition_); + } + if (scaleOutCondition_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, scaleOutCondition_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, serverName_); + } + if (groupMin_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, groupMin_); + } + if (groupCapacity_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, groupCapacity_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq) obj; + + if (getScaleOutPlusConstant() + != other.getScaleOutPlusConstant()) return false; + if (getScaleInCondition() + != other.getScaleInCondition()) return false; + if (getScaleOutCondition() + != other.getScaleOutCondition()) return false; + if (!getServerName() + .equals(other.getServerName())) return false; + if (getGroupMin() + != other.getGroupMin()) return false; + if (getGroupCapacity() + != other.getGroupCapacity()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SCALEOUTPLUSCONSTANT_FIELD_NUMBER; + hash = (53 * hash) + getScaleOutPlusConstant(); + hash = (37 * hash) + SCALEINCONDITION_FIELD_NUMBER; + hash = (53 * hash) + getScaleInCondition(); + hash = (37 * hash) + SCALEOUTCONDITION_FIELD_NUMBER; + hash = (53 * hash) + getScaleOutCondition(); + hash = (37 * hash) + SERVERNAME_FIELD_NUMBER; + hash = (53 * hash) + getServerName().hashCode(); + hash = (37 * hash) + GROUPMIN_FIELD_NUMBER; + hash = (53 * hash) + getGroupMin(); + hash = (37 * hash) + GROUPCAPACITY_FIELD_NUMBER; + hash = (53 * hash) + getGroupCapacity(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.AwsAutoScaleGroupOptionReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.AwsAutoScaleGroupOptionReq) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReqOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AwsAutoScaleGroupOptionReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AwsAutoScaleGroupOptionReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + scaleOutPlusConstant_ = 0; + scaleInCondition_ = 0; + scaleOutCondition_ = 0; + serverName_ = ""; + groupMin_ = 0; + groupCapacity_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AwsAutoScaleGroupOptionReq_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.scaleOutPlusConstant_ = scaleOutPlusConstant_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.scaleInCondition_ = scaleInCondition_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.scaleOutCondition_ = scaleOutCondition_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.serverName_ = serverName_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.groupMin_ = groupMin_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.groupCapacity_ = groupCapacity_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.getDefaultInstance()) return this; + if (other.getScaleOutPlusConstant() != 0) { + setScaleOutPlusConstant(other.getScaleOutPlusConstant()); + } + if (other.getScaleInCondition() != 0) { + setScaleInCondition(other.getScaleInCondition()); + } + if (other.getScaleOutCondition() != 0) { + setScaleOutCondition(other.getScaleOutCondition()); + } + if (!other.getServerName().isEmpty()) { + serverName_ = other.serverName_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.getGroupMin() != 0) { + setGroupMin(other.getGroupMin()); + } + if (other.getGroupCapacity() != 0) { + setGroupCapacity(other.getGroupCapacity()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + scaleOutPlusConstant_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + scaleInCondition_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + scaleOutCondition_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + serverName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + groupMin_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + groupCapacity_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int scaleOutPlusConstant_ ; + /** + * int32 scaleOutPlusConstant = 1; + * @return The scaleOutPlusConstant. + */ + @java.lang.Override + public int getScaleOutPlusConstant() { + return scaleOutPlusConstant_; + } + /** + * int32 scaleOutPlusConstant = 1; + * @param value The scaleOutPlusConstant to set. + * @return This builder for chaining. + */ + public Builder setScaleOutPlusConstant(int value) { + + scaleOutPlusConstant_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 scaleOutPlusConstant = 1; + * @return This builder for chaining. + */ + public Builder clearScaleOutPlusConstant() { + bitField0_ = (bitField0_ & ~0x00000001); + scaleOutPlusConstant_ = 0; + onChanged(); + return this; + } + + private int scaleInCondition_ ; + /** + * int32 scaleInCondition = 2; + * @return The scaleInCondition. + */ + @java.lang.Override + public int getScaleInCondition() { + return scaleInCondition_; + } + /** + * int32 scaleInCondition = 2; + * @param value The scaleInCondition to set. + * @return This builder for chaining. + */ + public Builder setScaleInCondition(int value) { + + scaleInCondition_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 scaleInCondition = 2; + * @return This builder for chaining. + */ + public Builder clearScaleInCondition() { + bitField0_ = (bitField0_ & ~0x00000002); + scaleInCondition_ = 0; + onChanged(); + return this; + } + + private int scaleOutCondition_ ; + /** + * int32 scaleOutCondition = 3; + * @return The scaleOutCondition. + */ + @java.lang.Override + public int getScaleOutCondition() { + return scaleOutCondition_; + } + /** + * int32 scaleOutCondition = 3; + * @param value The scaleOutCondition to set. + * @return This builder for chaining. + */ + public Builder setScaleOutCondition(int value) { + + scaleOutCondition_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 scaleOutCondition = 3; + * @return This builder for chaining. + */ + public Builder clearScaleOutCondition() { + bitField0_ = (bitField0_ & ~0x00000004); + scaleOutCondition_ = 0; + onChanged(); + return this; + } + + private java.lang.Object serverName_ = ""; + /** + * string serverName = 4; + * @return The serverName. + */ + public java.lang.String getServerName() { + java.lang.Object ref = serverName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serverName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string serverName = 4; + * @return The bytes for serverName. + */ + public com.google.protobuf.ByteString + getServerNameBytes() { + java.lang.Object ref = serverName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + serverName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string serverName = 4; + * @param value The serverName to set. + * @return This builder for chaining. + */ + public Builder setServerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + serverName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string serverName = 4; + * @return This builder for chaining. + */ + public Builder clearServerName() { + serverName_ = getDefaultInstance().getServerName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string serverName = 4; + * @param value The bytes for serverName to set. + * @return This builder for chaining. + */ + public Builder setServerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + serverName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private int groupMin_ ; + /** + * int32 groupMin = 5; + * @return The groupMin. + */ + @java.lang.Override + public int getGroupMin() { + return groupMin_; + } + /** + * int32 groupMin = 5; + * @param value The groupMin to set. + * @return This builder for chaining. + */ + public Builder setGroupMin(int value) { + + groupMin_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * int32 groupMin = 5; + * @return This builder for chaining. + */ + public Builder clearGroupMin() { + bitField0_ = (bitField0_ & ~0x00000010); + groupMin_ = 0; + onChanged(); + return this; + } + + private int groupCapacity_ ; + /** + * int32 groupCapacity = 6; + * @return The groupCapacity. + */ + @java.lang.Override + public int getGroupCapacity() { + return groupCapacity_; + } + /** + * int32 groupCapacity = 6; + * @param value The groupCapacity to set. + * @return This builder for chaining. + */ + public Builder setGroupCapacity(int value) { + + groupCapacity_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * int32 groupCapacity = 6; + * @return This builder for chaining. + */ + public Builder clearGroupCapacity() { + bitField0_ = (bitField0_ & ~0x00000020); + groupCapacity_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.AwsAutoScaleGroupOptionReq) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.AwsAutoScaleGroupOptionReq) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsAutoScaleGroupOptionReq parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AwsAutoScaleGroupOptionResOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.AwsAutoScaleGroupOptionRes) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code ServerMessage.AwsAutoScaleGroupOptionRes} + */ + public static final class AwsAutoScaleGroupOptionRes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.AwsAutoScaleGroupOptionRes) + AwsAutoScaleGroupOptionResOrBuilder { + private static final long serialVersionUID = 0L; + // Use AwsAutoScaleGroupOptionRes.newBuilder() to construct. + private AwsAutoScaleGroupOptionRes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AwsAutoScaleGroupOptionRes() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AwsAutoScaleGroupOptionRes(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AwsAutoScaleGroupOptionRes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AwsAutoScaleGroupOptionRes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.AwsAutoScaleGroupOptionRes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.AwsAutoScaleGroupOptionRes) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionResOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AwsAutoScaleGroupOptionRes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AwsAutoScaleGroupOptionRes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_AwsAutoScaleGroupOptionRes_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.AwsAutoScaleGroupOptionRes) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.AwsAutoScaleGroupOptionRes) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsAutoScaleGroupOptionRes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ExchangeMannequinDisplayItemNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ExchangeMannequinDisplayItemNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string anchorGuid = 1; + * @return The anchorGuid. + */ + java.lang.String getAnchorGuid(); + /** + * string anchorGuid = 1; + * @return The bytes for anchorGuid. + */ + com.google.protobuf.ByteString + getAnchorGuidBytes(); + + /** + * repeated int32 displayItemIds = 2; + * @return A list containing the displayItemIds. + */ + java.util.List getDisplayItemIdsList(); + /** + * repeated int32 displayItemIds = 2; + * @return The count of displayItemIds. + */ + int getDisplayItemIdsCount(); + /** + * repeated int32 displayItemIds = 2; + * @param index The index of the element to return. + * @return The displayItemIds at the given index. + */ + int getDisplayItemIds(int index); + } + /** + * Protobuf type {@code ServerMessage.ExchangeMannequinDisplayItemNoti} + */ + public static final class ExchangeMannequinDisplayItemNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ExchangeMannequinDisplayItemNoti) + ExchangeMannequinDisplayItemNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExchangeMannequinDisplayItemNoti.newBuilder() to construct. + private ExchangeMannequinDisplayItemNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ExchangeMannequinDisplayItemNoti() { + anchorGuid_ = ""; + displayItemIds_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ExchangeMannequinDisplayItemNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangeMannequinDisplayItemNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangeMannequinDisplayItemNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.Builder.class); + } + + public static final int ANCHORGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object anchorGuid_ = ""; + /** + * string anchorGuid = 1; + * @return The anchorGuid. + */ + @java.lang.Override + public java.lang.String getAnchorGuid() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorGuid_ = s; + return s; + } + } + /** + * string anchorGuid = 1; + * @return The bytes for anchorGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAnchorGuidBytes() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAYITEMIDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList displayItemIds_; + /** + * repeated int32 displayItemIds = 2; + * @return A list containing the displayItemIds. + */ + @java.lang.Override + public java.util.List + getDisplayItemIdsList() { + return displayItemIds_; + } + /** + * repeated int32 displayItemIds = 2; + * @return The count of displayItemIds. + */ + public int getDisplayItemIdsCount() { + return displayItemIds_.size(); + } + /** + * repeated int32 displayItemIds = 2; + * @param index The index of the element to return. + * @return The displayItemIds at the given index. + */ + public int getDisplayItemIds(int index) { + return displayItemIds_.getInt(index); + } + private int displayItemIdsMemoizedSerializedSize = -1; + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, anchorGuid_); + } + if (getDisplayItemIdsList().size() > 0) { + output.writeUInt32NoTag(18); + output.writeUInt32NoTag(displayItemIdsMemoizedSerializedSize); + } + for (int i = 0; i < displayItemIds_.size(); i++) { + output.writeInt32NoTag(displayItemIds_.getInt(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, anchorGuid_); + } + { + int dataSize = 0; + for (int i = 0; i < displayItemIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(displayItemIds_.getInt(i)); + } + size += dataSize; + if (!getDisplayItemIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + displayItemIdsMemoizedSerializedSize = dataSize; + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti) obj; + + if (!getAnchorGuid() + .equals(other.getAnchorGuid())) return false; + if (!getDisplayItemIdsList() + .equals(other.getDisplayItemIdsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ANCHORGUID_FIELD_NUMBER; + hash = (53 * hash) + getAnchorGuid().hashCode(); + if (getDisplayItemIdsCount() > 0) { + hash = (37 * hash) + DISPLAYITEMIDS_FIELD_NUMBER; + hash = (53 * hash) + getDisplayItemIdsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ExchangeMannequinDisplayItemNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ExchangeMannequinDisplayItemNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangeMannequinDisplayItemNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangeMannequinDisplayItemNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + anchorGuid_ = ""; + displayItemIds_ = emptyIntList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangeMannequinDisplayItemNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti result) { + if (((bitField0_ & 0x00000002) != 0)) { + displayItemIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.displayItemIds_ = displayItemIds_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.anchorGuid_ = anchorGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.getDefaultInstance()) return this; + if (!other.getAnchorGuid().isEmpty()) { + anchorGuid_ = other.anchorGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.displayItemIds_.isEmpty()) { + if (displayItemIds_.isEmpty()) { + displayItemIds_ = other.displayItemIds_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureDisplayItemIdsIsMutable(); + displayItemIds_.addAll(other.displayItemIds_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + anchorGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + int v = input.readInt32(); + ensureDisplayItemIdsIsMutable(); + displayItemIds_.addInt(v); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureDisplayItemIdsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + displayItemIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object anchorGuid_ = ""; + /** + * string anchorGuid = 1; + * @return The anchorGuid. + */ + public java.lang.String getAnchorGuid() { + java.lang.Object ref = anchorGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string anchorGuid = 1; + * @return The bytes for anchorGuid. + */ + public com.google.protobuf.ByteString + getAnchorGuidBytes() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string anchorGuid = 1; + * @param value The anchorGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + anchorGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string anchorGuid = 1; + * @return This builder for chaining. + */ + public Builder clearAnchorGuid() { + anchorGuid_ = getDefaultInstance().getAnchorGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string anchorGuid = 1; + * @param value The bytes for anchorGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + anchorGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList displayItemIds_ = emptyIntList(); + private void ensureDisplayItemIdsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + displayItemIds_ = mutableCopy(displayItemIds_); + bitField0_ |= 0x00000002; + } + } + /** + * repeated int32 displayItemIds = 2; + * @return A list containing the displayItemIds. + */ + public java.util.List + getDisplayItemIdsList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(displayItemIds_) : displayItemIds_; + } + /** + * repeated int32 displayItemIds = 2; + * @return The count of displayItemIds. + */ + public int getDisplayItemIdsCount() { + return displayItemIds_.size(); + } + /** + * repeated int32 displayItemIds = 2; + * @param index The index of the element to return. + * @return The displayItemIds at the given index. + */ + public int getDisplayItemIds(int index) { + return displayItemIds_.getInt(index); + } + /** + * repeated int32 displayItemIds = 2; + * @param index The index to set the value at. + * @param value The displayItemIds to set. + * @return This builder for chaining. + */ + public Builder setDisplayItemIds( + int index, int value) { + + ensureDisplayItemIdsIsMutable(); + displayItemIds_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated int32 displayItemIds = 2; + * @param value The displayItemIds to add. + * @return This builder for chaining. + */ + public Builder addDisplayItemIds(int value) { + + ensureDisplayItemIdsIsMutable(); + displayItemIds_.addInt(value); + onChanged(); + return this; + } + /** + * repeated int32 displayItemIds = 2; + * @param values The displayItemIds to add. + * @return This builder for chaining. + */ + public Builder addAllDisplayItemIds( + java.lang.Iterable values) { + ensureDisplayItemIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, displayItemIds_); + onChanged(); + return this; + } + /** + * repeated int32 displayItemIds = 2; + * @return This builder for chaining. + */ + public Builder clearDisplayItemIds() { + displayItemIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ExchangeMannequinDisplayItemNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ExchangeMannequinDisplayItemNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExchangeMannequinDisplayItemNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SacleInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.SacleInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string ServerGroupName = 1; + * @return The serverGroupName. + */ + java.lang.String getServerGroupName(); + /** + * string ServerGroupName = 1; + * @return The bytes for serverGroupName. + */ + com.google.protobuf.ByteString + getServerGroupNameBytes(); + + /** + * int32 MinSize = 2; + * @return The minSize. + */ + int getMinSize(); + + /** + * int32 CapaCity = 3; + * @return The capaCity. + */ + int getCapaCity(); + } + /** + * Protobuf type {@code ServerMessage.SacleInfo} + */ + public static final class SacleInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.SacleInfo) + SacleInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use SacleInfo.newBuilder() to construct. + private SacleInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SacleInfo() { + serverGroupName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SacleInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SacleInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SacleInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.Builder.class); + } + + public static final int SERVERGROUPNAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object serverGroupName_ = ""; + /** + * string ServerGroupName = 1; + * @return The serverGroupName. + */ + @java.lang.Override + public java.lang.String getServerGroupName() { + java.lang.Object ref = serverGroupName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serverGroupName_ = s; + return s; + } + } + /** + * string ServerGroupName = 1; + * @return The bytes for serverGroupName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getServerGroupNameBytes() { + java.lang.Object ref = serverGroupName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + serverGroupName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MINSIZE_FIELD_NUMBER = 2; + private int minSize_ = 0; + /** + * int32 MinSize = 2; + * @return The minSize. + */ + @java.lang.Override + public int getMinSize() { + return minSize_; + } + + public static final int CAPACITY_FIELD_NUMBER = 3; + private int capaCity_ = 0; + /** + * int32 CapaCity = 3; + * @return The capaCity. + */ + @java.lang.Override + public int getCapaCity() { + return capaCity_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverGroupName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serverGroupName_); + } + if (minSize_ != 0) { + output.writeInt32(2, minSize_); + } + if (capaCity_ != 0) { + output.writeInt32(3, capaCity_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverGroupName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serverGroupName_); + } + if (minSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, minSize_); + } + if (capaCity_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, capaCity_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo) obj; + + if (!getServerGroupName() + .equals(other.getServerGroupName())) return false; + if (getMinSize() + != other.getMinSize()) return false; + if (getCapaCity() + != other.getCapaCity()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVERGROUPNAME_FIELD_NUMBER; + hash = (53 * hash) + getServerGroupName().hashCode(); + hash = (37 * hash) + MINSIZE_FIELD_NUMBER; + hash = (53 * hash) + getMinSize(); + hash = (37 * hash) + CAPACITY_FIELD_NUMBER; + hash = (53 * hash) + getCapaCity(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.SacleInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.SacleInfo) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SacleInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SacleInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + serverGroupName_ = ""; + minSize_ = 0; + capaCity_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SacleInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.serverGroupName_ = serverGroupName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.minSize_ = minSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.capaCity_ = capaCity_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.getDefaultInstance()) return this; + if (!other.getServerGroupName().isEmpty()) { + serverGroupName_ = other.serverGroupName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getMinSize() != 0) { + setMinSize(other.getMinSize()); + } + if (other.getCapaCity() != 0) { + setCapaCity(other.getCapaCity()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + serverGroupName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + minSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + capaCity_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object serverGroupName_ = ""; + /** + * string ServerGroupName = 1; + * @return The serverGroupName. + */ + public java.lang.String getServerGroupName() { + java.lang.Object ref = serverGroupName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serverGroupName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ServerGroupName = 1; + * @return The bytes for serverGroupName. + */ + public com.google.protobuf.ByteString + getServerGroupNameBytes() { + java.lang.Object ref = serverGroupName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + serverGroupName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ServerGroupName = 1; + * @param value The serverGroupName to set. + * @return This builder for chaining. + */ + public Builder setServerGroupName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + serverGroupName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string ServerGroupName = 1; + * @return This builder for chaining. + */ + public Builder clearServerGroupName() { + serverGroupName_ = getDefaultInstance().getServerGroupName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string ServerGroupName = 1; + * @param value The bytes for serverGroupName to set. + * @return This builder for chaining. + */ + public Builder setServerGroupNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + serverGroupName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int minSize_ ; + /** + * int32 MinSize = 2; + * @return The minSize. + */ + @java.lang.Override + public int getMinSize() { + return minSize_; + } + /** + * int32 MinSize = 2; + * @param value The minSize to set. + * @return This builder for chaining. + */ + public Builder setMinSize(int value) { + + minSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 MinSize = 2; + * @return This builder for chaining. + */ + public Builder clearMinSize() { + bitField0_ = (bitField0_ & ~0x00000002); + minSize_ = 0; + onChanged(); + return this; + } + + private int capaCity_ ; + /** + * int32 CapaCity = 3; + * @return The capaCity. + */ + @java.lang.Override + public int getCapaCity() { + return capaCity_; + } + /** + * int32 CapaCity = 3; + * @param value The capaCity to set. + * @return This builder for chaining. + */ + public Builder setCapaCity(int value) { + + capaCity_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 CapaCity = 3; + * @return This builder for chaining. + */ + public Builder clearCapaCity() { + bitField0_ = (bitField0_ & ~0x00000004); + capaCity_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.SacleInfo) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.SacleInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SacleInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetAwsAutoScaleOptionReqOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GetAwsAutoScaleOptionReq) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code ServerMessage.GetAwsAutoScaleOptionReq} + */ + public static final class GetAwsAutoScaleOptionReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GetAwsAutoScaleOptionReq) + GetAwsAutoScaleOptionReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetAwsAutoScaleOptionReq.newBuilder() to construct. + private GetAwsAutoScaleOptionReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetAwsAutoScaleOptionReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetAwsAutoScaleOptionReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetAwsAutoScaleOptionReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetAwsAutoScaleOptionReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GetAwsAutoScaleOptionReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GetAwsAutoScaleOptionReq) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReqOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetAwsAutoScaleOptionReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetAwsAutoScaleOptionReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetAwsAutoScaleOptionReq_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GetAwsAutoScaleOptionReq) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GetAwsAutoScaleOptionReq) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAwsAutoScaleOptionReq parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetAwsAutoScaleOptionResOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GetAwsAutoScaleOptionRes) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 scaleOutPlusConstant = 1; + * @return The scaleOutPlusConstant. + */ + int getScaleOutPlusConstant(); + + /** + * int32 scaleInCondition = 2; + * @return The scaleInCondition. + */ + int getScaleInCondition(); + + /** + * int32 scaleOutCondition = 3; + * @return The scaleOutCondition. + */ + int getScaleOutCondition(); + + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + java.util.List + getInstanceInfoListList(); + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo getInstanceInfoList(int index); + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + int getInstanceInfoListCount(); + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + java.util.List + getInstanceInfoListOrBuilderList(); + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfoOrBuilder getInstanceInfoListOrBuilder( + int index); + + /** + * int32 isActive = 5; + * @return The isActive. + */ + int getIsActive(); + } + /** + * Protobuf type {@code ServerMessage.GetAwsAutoScaleOptionRes} + */ + public static final class GetAwsAutoScaleOptionRes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GetAwsAutoScaleOptionRes) + GetAwsAutoScaleOptionResOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetAwsAutoScaleOptionRes.newBuilder() to construct. + private GetAwsAutoScaleOptionRes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetAwsAutoScaleOptionRes() { + instanceInfoList_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetAwsAutoScaleOptionRes(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetAwsAutoScaleOptionRes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetAwsAutoScaleOptionRes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.Builder.class); + } + + public static final int SCALEOUTPLUSCONSTANT_FIELD_NUMBER = 1; + private int scaleOutPlusConstant_ = 0; + /** + * int32 scaleOutPlusConstant = 1; + * @return The scaleOutPlusConstant. + */ + @java.lang.Override + public int getScaleOutPlusConstant() { + return scaleOutPlusConstant_; + } + + public static final int SCALEINCONDITION_FIELD_NUMBER = 2; + private int scaleInCondition_ = 0; + /** + * int32 scaleInCondition = 2; + * @return The scaleInCondition. + */ + @java.lang.Override + public int getScaleInCondition() { + return scaleInCondition_; + } + + public static final int SCALEOUTCONDITION_FIELD_NUMBER = 3; + private int scaleOutCondition_ = 0; + /** + * int32 scaleOutCondition = 3; + * @return The scaleOutCondition. + */ + @java.lang.Override + public int getScaleOutCondition() { + return scaleOutCondition_; + } + + public static final int INSTANCEINFOLIST_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List instanceInfoList_; + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + @java.lang.Override + public java.util.List getInstanceInfoListList() { + return instanceInfoList_; + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + @java.lang.Override + public java.util.List + getInstanceInfoListOrBuilderList() { + return instanceInfoList_; + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + @java.lang.Override + public int getInstanceInfoListCount() { + return instanceInfoList_.size(); + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo getInstanceInfoList(int index) { + return instanceInfoList_.get(index); + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfoOrBuilder getInstanceInfoListOrBuilder( + int index) { + return instanceInfoList_.get(index); + } + + public static final int ISACTIVE_FIELD_NUMBER = 5; + private int isActive_ = 0; + /** + * int32 isActive = 5; + * @return The isActive. + */ + @java.lang.Override + public int getIsActive() { + return isActive_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (scaleOutPlusConstant_ != 0) { + output.writeInt32(1, scaleOutPlusConstant_); + } + if (scaleInCondition_ != 0) { + output.writeInt32(2, scaleInCondition_); + } + if (scaleOutCondition_ != 0) { + output.writeInt32(3, scaleOutCondition_); + } + for (int i = 0; i < instanceInfoList_.size(); i++) { + output.writeMessage(4, instanceInfoList_.get(i)); + } + if (isActive_ != 0) { + output.writeInt32(5, isActive_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (scaleOutPlusConstant_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, scaleOutPlusConstant_); + } + if (scaleInCondition_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, scaleInCondition_); + } + if (scaleOutCondition_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, scaleOutCondition_); + } + for (int i = 0; i < instanceInfoList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, instanceInfoList_.get(i)); + } + if (isActive_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, isActive_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes) obj; + + if (getScaleOutPlusConstant() + != other.getScaleOutPlusConstant()) return false; + if (getScaleInCondition() + != other.getScaleInCondition()) return false; + if (getScaleOutCondition() + != other.getScaleOutCondition()) return false; + if (!getInstanceInfoListList() + .equals(other.getInstanceInfoListList())) return false; + if (getIsActive() + != other.getIsActive()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SCALEOUTPLUSCONSTANT_FIELD_NUMBER; + hash = (53 * hash) + getScaleOutPlusConstant(); + hash = (37 * hash) + SCALEINCONDITION_FIELD_NUMBER; + hash = (53 * hash) + getScaleInCondition(); + hash = (37 * hash) + SCALEOUTCONDITION_FIELD_NUMBER; + hash = (53 * hash) + getScaleOutCondition(); + if (getInstanceInfoListCount() > 0) { + hash = (37 * hash) + INSTANCEINFOLIST_FIELD_NUMBER; + hash = (53 * hash) + getInstanceInfoListList().hashCode(); + } + hash = (37 * hash) + ISACTIVE_FIELD_NUMBER; + hash = (53 * hash) + getIsActive(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GetAwsAutoScaleOptionRes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GetAwsAutoScaleOptionRes) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionResOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetAwsAutoScaleOptionRes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetAwsAutoScaleOptionRes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + scaleOutPlusConstant_ = 0; + scaleInCondition_ = 0; + scaleOutCondition_ = 0; + if (instanceInfoListBuilder_ == null) { + instanceInfoList_ = java.util.Collections.emptyList(); + } else { + instanceInfoList_ = null; + instanceInfoListBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + isActive_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GetAwsAutoScaleOptionRes_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes result) { + if (instanceInfoListBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + instanceInfoList_ = java.util.Collections.unmodifiableList(instanceInfoList_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.instanceInfoList_ = instanceInfoList_; + } else { + result.instanceInfoList_ = instanceInfoListBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.scaleOutPlusConstant_ = scaleOutPlusConstant_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.scaleInCondition_ = scaleInCondition_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.scaleOutCondition_ = scaleOutCondition_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.isActive_ = isActive_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.getDefaultInstance()) return this; + if (other.getScaleOutPlusConstant() != 0) { + setScaleOutPlusConstant(other.getScaleOutPlusConstant()); + } + if (other.getScaleInCondition() != 0) { + setScaleInCondition(other.getScaleInCondition()); + } + if (other.getScaleOutCondition() != 0) { + setScaleOutCondition(other.getScaleOutCondition()); + } + if (instanceInfoListBuilder_ == null) { + if (!other.instanceInfoList_.isEmpty()) { + if (instanceInfoList_.isEmpty()) { + instanceInfoList_ = other.instanceInfoList_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureInstanceInfoListIsMutable(); + instanceInfoList_.addAll(other.instanceInfoList_); + } + onChanged(); + } + } else { + if (!other.instanceInfoList_.isEmpty()) { + if (instanceInfoListBuilder_.isEmpty()) { + instanceInfoListBuilder_.dispose(); + instanceInfoListBuilder_ = null; + instanceInfoList_ = other.instanceInfoList_; + bitField0_ = (bitField0_ & ~0x00000008); + instanceInfoListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInstanceInfoListFieldBuilder() : null; + } else { + instanceInfoListBuilder_.addAllMessages(other.instanceInfoList_); + } + } + } + if (other.getIsActive() != 0) { + setIsActive(other.getIsActive()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + scaleOutPlusConstant_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + scaleInCondition_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + scaleOutCondition_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.parser(), + extensionRegistry); + if (instanceInfoListBuilder_ == null) { + ensureInstanceInfoListIsMutable(); + instanceInfoList_.add(m); + } else { + instanceInfoListBuilder_.addMessage(m); + } + break; + } // case 34 + case 40: { + isActive_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int scaleOutPlusConstant_ ; + /** + * int32 scaleOutPlusConstant = 1; + * @return The scaleOutPlusConstant. + */ + @java.lang.Override + public int getScaleOutPlusConstant() { + return scaleOutPlusConstant_; + } + /** + * int32 scaleOutPlusConstant = 1; + * @param value The scaleOutPlusConstant to set. + * @return This builder for chaining. + */ + public Builder setScaleOutPlusConstant(int value) { + + scaleOutPlusConstant_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 scaleOutPlusConstant = 1; + * @return This builder for chaining. + */ + public Builder clearScaleOutPlusConstant() { + bitField0_ = (bitField0_ & ~0x00000001); + scaleOutPlusConstant_ = 0; + onChanged(); + return this; + } + + private int scaleInCondition_ ; + /** + * int32 scaleInCondition = 2; + * @return The scaleInCondition. + */ + @java.lang.Override + public int getScaleInCondition() { + return scaleInCondition_; + } + /** + * int32 scaleInCondition = 2; + * @param value The scaleInCondition to set. + * @return This builder for chaining. + */ + public Builder setScaleInCondition(int value) { + + scaleInCondition_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 scaleInCondition = 2; + * @return This builder for chaining. + */ + public Builder clearScaleInCondition() { + bitField0_ = (bitField0_ & ~0x00000002); + scaleInCondition_ = 0; + onChanged(); + return this; + } + + private int scaleOutCondition_ ; + /** + * int32 scaleOutCondition = 3; + * @return The scaleOutCondition. + */ + @java.lang.Override + public int getScaleOutCondition() { + return scaleOutCondition_; + } + /** + * int32 scaleOutCondition = 3; + * @param value The scaleOutCondition to set. + * @return This builder for chaining. + */ + public Builder setScaleOutCondition(int value) { + + scaleOutCondition_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 scaleOutCondition = 3; + * @return This builder for chaining. + */ + public Builder clearScaleOutCondition() { + bitField0_ = (bitField0_ & ~0x00000004); + scaleOutCondition_ = 0; + onChanged(); + return this; + } + + private java.util.List instanceInfoList_ = + java.util.Collections.emptyList(); + private void ensureInstanceInfoListIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + instanceInfoList_ = new java.util.ArrayList(instanceInfoList_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfoOrBuilder> instanceInfoListBuilder_; + + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public java.util.List getInstanceInfoListList() { + if (instanceInfoListBuilder_ == null) { + return java.util.Collections.unmodifiableList(instanceInfoList_); + } else { + return instanceInfoListBuilder_.getMessageList(); + } + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public int getInstanceInfoListCount() { + if (instanceInfoListBuilder_ == null) { + return instanceInfoList_.size(); + } else { + return instanceInfoListBuilder_.getCount(); + } + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo getInstanceInfoList(int index) { + if (instanceInfoListBuilder_ == null) { + return instanceInfoList_.get(index); + } else { + return instanceInfoListBuilder_.getMessage(index); + } + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public Builder setInstanceInfoList( + int index, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo value) { + if (instanceInfoListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInstanceInfoListIsMutable(); + instanceInfoList_.set(index, value); + onChanged(); + } else { + instanceInfoListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public Builder setInstanceInfoList( + int index, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.Builder builderForValue) { + if (instanceInfoListBuilder_ == null) { + ensureInstanceInfoListIsMutable(); + instanceInfoList_.set(index, builderForValue.build()); + onChanged(); + } else { + instanceInfoListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public Builder addInstanceInfoList(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo value) { + if (instanceInfoListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInstanceInfoListIsMutable(); + instanceInfoList_.add(value); + onChanged(); + } else { + instanceInfoListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public Builder addInstanceInfoList( + int index, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo value) { + if (instanceInfoListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInstanceInfoListIsMutable(); + instanceInfoList_.add(index, value); + onChanged(); + } else { + instanceInfoListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public Builder addInstanceInfoList( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.Builder builderForValue) { + if (instanceInfoListBuilder_ == null) { + ensureInstanceInfoListIsMutable(); + instanceInfoList_.add(builderForValue.build()); + onChanged(); + } else { + instanceInfoListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public Builder addInstanceInfoList( + int index, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.Builder builderForValue) { + if (instanceInfoListBuilder_ == null) { + ensureInstanceInfoListIsMutable(); + instanceInfoList_.add(index, builderForValue.build()); + onChanged(); + } else { + instanceInfoListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public Builder addAllInstanceInfoList( + java.lang.Iterable values) { + if (instanceInfoListBuilder_ == null) { + ensureInstanceInfoListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceInfoList_); + onChanged(); + } else { + instanceInfoListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public Builder clearInstanceInfoList() { + if (instanceInfoListBuilder_ == null) { + instanceInfoList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + instanceInfoListBuilder_.clear(); + } + return this; + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public Builder removeInstanceInfoList(int index) { + if (instanceInfoListBuilder_ == null) { + ensureInstanceInfoListIsMutable(); + instanceInfoList_.remove(index); + onChanged(); + } else { + instanceInfoListBuilder_.remove(index); + } + return this; + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.Builder getInstanceInfoListBuilder( + int index) { + return getInstanceInfoListFieldBuilder().getBuilder(index); + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfoOrBuilder getInstanceInfoListOrBuilder( + int index) { + if (instanceInfoListBuilder_ == null) { + return instanceInfoList_.get(index); } else { + return instanceInfoListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public java.util.List + getInstanceInfoListOrBuilderList() { + if (instanceInfoListBuilder_ != null) { + return instanceInfoListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(instanceInfoList_); + } + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.Builder addInstanceInfoListBuilder() { + return getInstanceInfoListFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.getDefaultInstance()); + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.Builder addInstanceInfoListBuilder( + int index) { + return getInstanceInfoListFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.getDefaultInstance()); + } + /** + * repeated .ServerMessage.SacleInfo instanceInfoList = 4; + */ + public java.util.List + getInstanceInfoListBuilderList() { + return getInstanceInfoListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfoOrBuilder> + getInstanceInfoListFieldBuilder() { + if (instanceInfoListBuilder_ == null) { + instanceInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SacleInfoOrBuilder>( + instanceInfoList_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + instanceInfoList_ = null; + } + return instanceInfoListBuilder_; + } + + private int isActive_ ; + /** + * int32 isActive = 5; + * @return The isActive. + */ + @java.lang.Override + public int getIsActive() { + return isActive_; + } + /** + * int32 isActive = 5; + * @param value The isActive to set. + * @return This builder for chaining. + */ + public Builder setIsActive(int value) { + + isActive_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * int32 isActive = 5; + * @return This builder for chaining. + */ + public Builder clearIsActive() { + bitField0_ = (bitField0_ & ~0x00000010); + isActive_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GetAwsAutoScaleOptionRes) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GetAwsAutoScaleOptionRes) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAwsAutoScaleOptionRes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface InviteFriendToMyHomeReqOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.InviteFriendToMyHomeReq) + com.google.protobuf.MessageOrBuilder { + + /** + * string inviterGuid = 1; + * @return The inviterGuid. + */ + java.lang.String getInviterGuid(); + /** + * string inviterGuid = 1; + * @return The bytes for inviterGuid. + */ + com.google.protobuf.ByteString + getInviterGuidBytes(); + + /** + * string inviterNickName = 2; + * @return The inviterNickName. + */ + java.lang.String getInviterNickName(); + /** + * string inviterNickName = 2; + * @return The bytes for inviterNickName. + */ + com.google.protobuf.ByteString + getInviterNickNameBytes(); + + /** + * string inviterRoomId = 3; + * @return The inviterRoomId. + */ + java.lang.String getInviterRoomId(); + /** + * string inviterRoomId = 3; + * @return The bytes for inviterRoomId. + */ + com.google.protobuf.ByteString + getInviterRoomIdBytes(); + } + /** + * Protobuf type {@code ServerMessage.InviteFriendToMyHomeReq} + */ + public static final class InviteFriendToMyHomeReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.InviteFriendToMyHomeReq) + InviteFriendToMyHomeReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use InviteFriendToMyHomeReq.newBuilder() to construct. + private InviteFriendToMyHomeReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private InviteFriendToMyHomeReq() { + inviterGuid_ = ""; + inviterNickName_ = ""; + inviterRoomId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InviteFriendToMyHomeReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InviteFriendToMyHomeReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InviteFriendToMyHomeReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq.Builder.class); + } + + public static final int INVITERGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object inviterGuid_ = ""; + /** + * string inviterGuid = 1; + * @return The inviterGuid. + */ + @java.lang.Override + public java.lang.String getInviterGuid() { + java.lang.Object ref = inviterGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviterGuid_ = s; + return s; + } + } + /** + * string inviterGuid = 1; + * @return The bytes for inviterGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviterGuidBytes() { + java.lang.Object ref = inviterGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviterGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITERNICKNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object inviterNickName_ = ""; + /** + * string inviterNickName = 2; + * @return The inviterNickName. + */ + @java.lang.Override + public java.lang.String getInviterNickName() { + java.lang.Object ref = inviterNickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviterNickName_ = s; + return s; + } + } + /** + * string inviterNickName = 2; + * @return The bytes for inviterNickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviterNickNameBytes() { + java.lang.Object ref = inviterNickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviterNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITERROOMID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object inviterRoomId_ = ""; + /** + * string inviterRoomId = 3; + * @return The inviterRoomId. + */ + @java.lang.Override + public java.lang.String getInviterRoomId() { + java.lang.Object ref = inviterRoomId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviterRoomId_ = s; + return s; + } + } + /** + * string inviterRoomId = 3; + * @return The bytes for inviterRoomId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviterRoomIdBytes() { + java.lang.Object ref = inviterRoomId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviterRoomId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviterGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inviterGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviterNickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inviterNickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviterRoomId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, inviterRoomId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviterGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inviterGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviterNickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inviterNickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviterRoomId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inviterRoomId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq) obj; + + if (!getInviterGuid() + .equals(other.getInviterGuid())) return false; + if (!getInviterNickName() + .equals(other.getInviterNickName())) return false; + if (!getInviterRoomId() + .equals(other.getInviterRoomId())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INVITERGUID_FIELD_NUMBER; + hash = (53 * hash) + getInviterGuid().hashCode(); + hash = (37 * hash) + INVITERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getInviterNickName().hashCode(); + hash = (37 * hash) + INVITERROOMID_FIELD_NUMBER; + hash = (53 * hash) + getInviterRoomId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.InviteFriendToMyHomeReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.InviteFriendToMyHomeReq) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReqOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InviteFriendToMyHomeReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InviteFriendToMyHomeReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + inviterGuid_ = ""; + inviterNickName_ = ""; + inviterRoomId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InviteFriendToMyHomeReq_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.inviterGuid_ = inviterGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.inviterNickName_ = inviterNickName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.inviterRoomId_ = inviterRoomId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq.getDefaultInstance()) return this; + if (!other.getInviterGuid().isEmpty()) { + inviterGuid_ = other.inviterGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getInviterNickName().isEmpty()) { + inviterNickName_ = other.inviterNickName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getInviterRoomId().isEmpty()) { + inviterRoomId_ = other.inviterRoomId_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + inviterGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + inviterNickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + inviterRoomId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object inviterGuid_ = ""; + /** + * string inviterGuid = 1; + * @return The inviterGuid. + */ + public java.lang.String getInviterGuid() { + java.lang.Object ref = inviterGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviterGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviterGuid = 1; + * @return The bytes for inviterGuid. + */ + public com.google.protobuf.ByteString + getInviterGuidBytes() { + java.lang.Object ref = inviterGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviterGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviterGuid = 1; + * @param value The inviterGuid to set. + * @return This builder for chaining. + */ + public Builder setInviterGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviterGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string inviterGuid = 1; + * @return This builder for chaining. + */ + public Builder clearInviterGuid() { + inviterGuid_ = getDefaultInstance().getInviterGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string inviterGuid = 1; + * @param value The bytes for inviterGuid to set. + * @return This builder for chaining. + */ + public Builder setInviterGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviterGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object inviterNickName_ = ""; + /** + * string inviterNickName = 2; + * @return The inviterNickName. + */ + public java.lang.String getInviterNickName() { + java.lang.Object ref = inviterNickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviterNickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviterNickName = 2; + * @return The bytes for inviterNickName. + */ + public com.google.protobuf.ByteString + getInviterNickNameBytes() { + java.lang.Object ref = inviterNickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviterNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviterNickName = 2; + * @param value The inviterNickName to set. + * @return This builder for chaining. + */ + public Builder setInviterNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviterNickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string inviterNickName = 2; + * @return This builder for chaining. + */ + public Builder clearInviterNickName() { + inviterNickName_ = getDefaultInstance().getInviterNickName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string inviterNickName = 2; + * @param value The bytes for inviterNickName to set. + * @return This builder for chaining. + */ + public Builder setInviterNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviterNickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object inviterRoomId_ = ""; + /** + * string inviterRoomId = 3; + * @return The inviterRoomId. + */ + public java.lang.String getInviterRoomId() { + java.lang.Object ref = inviterRoomId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviterRoomId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviterRoomId = 3; + * @return The bytes for inviterRoomId. + */ + public com.google.protobuf.ByteString + getInviterRoomIdBytes() { + java.lang.Object ref = inviterRoomId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviterRoomId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviterRoomId = 3; + * @param value The inviterRoomId to set. + * @return This builder for chaining. + */ + public Builder setInviterRoomId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviterRoomId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string inviterRoomId = 3; + * @return This builder for chaining. + */ + public Builder clearInviterRoomId() { + inviterRoomId_ = getDefaultInstance().getInviterRoomId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string inviterRoomId = 3; + * @param value The bytes for inviterRoomId to set. + * @return This builder for chaining. + */ + public Builder setInviterRoomIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviterRoomId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.InviteFriendToMyHomeReq) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.InviteFriendToMyHomeReq) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InviteFriendToMyHomeReq parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteFriendToMyHomeReq getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ToFiendNotiBaseOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ToFiendNotiBase) + com.google.protobuf.MessageOrBuilder { + + /** + * string senderId = 1; + * @return The senderId. + */ + java.lang.String getSenderId(); + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + com.google.protobuf.ByteString + getSenderIdBytes(); + + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + java.lang.String getSenderGuid(); + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + com.google.protobuf.ByteString + getSenderGuidBytes(); + + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + java.lang.String getSenderNickName(); + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + com.google.protobuf.ByteString + getSenderNickNameBytes(); + + /** + * int32 senderState = 4; + * @return The senderState. + */ + int getSenderState(); + + /** + * int32 senderMapId = 5; + * @return The senderMapId. + */ + int getSenderMapId(); + + /** + * string receiverId = 6; + * @return The receiverId. + */ + java.lang.String getReceiverId(); + /** + * string receiverId = 6; + * @return The bytes for receiverId. + */ + com.google.protobuf.ByteString + getReceiverIdBytes(); + + /** + * string receiverGuid = 7; + * @return The receiverGuid. + */ + java.lang.String getReceiverGuid(); + /** + * string receiverGuid = 7; + * @return The bytes for receiverGuid. + */ + com.google.protobuf.ByteString + getReceiverGuidBytes(); + + /** + * string receiverNickName = 8; + * @return The receiverNickName. + */ + java.lang.String getReceiverNickName(); + /** + * string receiverNickName = 8; + * @return The bytes for receiverNickName. + */ + com.google.protobuf.ByteString + getReceiverNickNameBytes(); + } + /** + * Protobuf type {@code ServerMessage.ToFiendNotiBase} + */ + public static final class ToFiendNotiBase extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ToFiendNotiBase) + ToFiendNotiBaseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ToFiendNotiBase.newBuilder() to construct. + private ToFiendNotiBase(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ToFiendNotiBase() { + senderId_ = ""; + senderGuid_ = ""; + senderNickName_ = ""; + receiverId_ = ""; + receiverGuid_ = ""; + receiverNickName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ToFiendNotiBase(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ToFiendNotiBase_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ToFiendNotiBase_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder.class); + } + + public static final int SENDERID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object senderId_ = ""; + /** + * string senderId = 1; + * @return The senderId. + */ + @java.lang.Override + public java.lang.String getSenderId() { + java.lang.Object ref = senderId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderId_ = s; + return s; + } + } + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderIdBytes() { + java.lang.Object ref = senderId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SENDERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object senderGuid_ = ""; + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + @java.lang.Override + public java.lang.String getSenderGuid() { + java.lang.Object ref = senderGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderGuid_ = s; + return s; + } + } + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderGuidBytes() { + java.lang.Object ref = senderGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SENDERNICKNAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object senderNickName_ = ""; + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + @java.lang.Override + public java.lang.String getSenderNickName() { + java.lang.Object ref = senderNickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderNickName_ = s; + return s; + } + } + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderNickNameBytes() { + java.lang.Object ref = senderNickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SENDERSTATE_FIELD_NUMBER = 4; + private int senderState_ = 0; + /** + * int32 senderState = 4; + * @return The senderState. + */ + @java.lang.Override + public int getSenderState() { + return senderState_; + } + + public static final int SENDERMAPID_FIELD_NUMBER = 5; + private int senderMapId_ = 0; + /** + * int32 senderMapId = 5; + * @return The senderMapId. + */ + @java.lang.Override + public int getSenderMapId() { + return senderMapId_; + } + + public static final int RECEIVERID_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverId_ = ""; + /** + * string receiverId = 6; + * @return The receiverId. + */ + @java.lang.Override + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } + } + /** + * string receiverId = 6; + * @return The bytes for receiverId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERGUID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverGuid_ = ""; + /** + * string receiverGuid = 7; + * @return The receiverGuid. + */ + @java.lang.Override + public java.lang.String getReceiverGuid() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverGuid_ = s; + return s; + } + } + /** + * string receiverGuid = 7; + * @return The bytes for receiverGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverGuidBytes() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERNICKNAME_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverNickName_ = ""; + /** + * string receiverNickName = 8; + * @return The receiverNickName. + */ + @java.lang.Override + public java.lang.String getReceiverNickName() { + java.lang.Object ref = receiverNickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverNickName_ = s; + return s; + } + } + /** + * string receiverNickName = 8; + * @return The bytes for receiverNickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverNickNameBytes() { + java.lang.Object ref = receiverNickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, senderId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, senderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderNickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, senderNickName_); + } + if (senderState_ != 0) { + output.writeInt32(4, senderState_); + } + if (senderMapId_ != 0) { + output.writeInt32(5, senderMapId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, receiverId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, receiverGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverNickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, receiverNickName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, senderId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, senderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderNickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, senderNickName_); + } + if (senderState_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, senderState_); + } + if (senderMapId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, senderMapId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, receiverId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, receiverGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverNickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, receiverNickName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase) obj; + + if (!getSenderId() + .equals(other.getSenderId())) return false; + if (!getSenderGuid() + .equals(other.getSenderGuid())) return false; + if (!getSenderNickName() + .equals(other.getSenderNickName())) return false; + if (getSenderState() + != other.getSenderState()) return false; + if (getSenderMapId() + != other.getSenderMapId()) return false; + if (!getReceiverId() + .equals(other.getReceiverId())) return false; + if (!getReceiverGuid() + .equals(other.getReceiverGuid())) return false; + if (!getReceiverNickName() + .equals(other.getReceiverNickName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SENDERID_FIELD_NUMBER; + hash = (53 * hash) + getSenderId().hashCode(); + hash = (37 * hash) + SENDERGUID_FIELD_NUMBER; + hash = (53 * hash) + getSenderGuid().hashCode(); + hash = (37 * hash) + SENDERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getSenderNickName().hashCode(); + hash = (37 * hash) + SENDERSTATE_FIELD_NUMBER; + hash = (53 * hash) + getSenderState(); + hash = (37 * hash) + SENDERMAPID_FIELD_NUMBER; + hash = (53 * hash) + getSenderMapId(); + hash = (37 * hash) + RECEIVERID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverId().hashCode(); + hash = (37 * hash) + RECEIVERGUID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverGuid().hashCode(); + hash = (37 * hash) + RECEIVERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getReceiverNickName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ToFiendNotiBase} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ToFiendNotiBase) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ToFiendNotiBase_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ToFiendNotiBase_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + senderId_ = ""; + senderGuid_ = ""; + senderNickName_ = ""; + senderState_ = 0; + senderMapId_ = 0; + receiverId_ = ""; + receiverGuid_ = ""; + receiverNickName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ToFiendNotiBase_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.senderId_ = senderId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.senderGuid_ = senderGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.senderNickName_ = senderNickName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.senderState_ = senderState_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.senderMapId_ = senderMapId_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.receiverId_ = receiverId_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.receiverGuid_ = receiverGuid_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.receiverNickName_ = receiverNickName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance()) return this; + if (!other.getSenderId().isEmpty()) { + senderId_ = other.senderId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSenderGuid().isEmpty()) { + senderGuid_ = other.senderGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSenderNickName().isEmpty()) { + senderNickName_ = other.senderNickName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getSenderState() != 0) { + setSenderState(other.getSenderState()); + } + if (other.getSenderMapId() != 0) { + setSenderMapId(other.getSenderMapId()); + } + if (!other.getReceiverId().isEmpty()) { + receiverId_ = other.receiverId_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getReceiverGuid().isEmpty()) { + receiverGuid_ = other.receiverGuid_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getReceiverNickName().isEmpty()) { + receiverNickName_ = other.receiverNickName_; + bitField0_ |= 0x00000080; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + senderId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + senderGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + senderNickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + senderState_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + senderMapId_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + receiverId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + receiverGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + receiverNickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object senderId_ = ""; + /** + * string senderId = 1; + * @return The senderId. + */ + public java.lang.String getSenderId() { + java.lang.Object ref = senderId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + public com.google.protobuf.ByteString + getSenderIdBytes() { + java.lang.Object ref = senderId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderId = 1; + * @param value The senderId to set. + * @return This builder for chaining. + */ + public Builder setSenderId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string senderId = 1; + * @return This builder for chaining. + */ + public Builder clearSenderId() { + senderId_ = getDefaultInstance().getSenderId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string senderId = 1; + * @param value The bytes for senderId to set. + * @return This builder for chaining. + */ + public Builder setSenderIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object senderGuid_ = ""; + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + public java.lang.String getSenderGuid() { + java.lang.Object ref = senderGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + public com.google.protobuf.ByteString + getSenderGuidBytes() { + java.lang.Object ref = senderGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderGuid = 2; + * @param value The senderGuid to set. + * @return This builder for chaining. + */ + public Builder setSenderGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string senderGuid = 2; + * @return This builder for chaining. + */ + public Builder clearSenderGuid() { + senderGuid_ = getDefaultInstance().getSenderGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string senderGuid = 2; + * @param value The bytes for senderGuid to set. + * @return This builder for chaining. + */ + public Builder setSenderGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object senderNickName_ = ""; + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + public java.lang.String getSenderNickName() { + java.lang.Object ref = senderNickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderNickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + public com.google.protobuf.ByteString + getSenderNickNameBytes() { + java.lang.Object ref = senderNickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderNickName = 3; + * @param value The senderNickName to set. + * @return This builder for chaining. + */ + public Builder setSenderNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderNickName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string senderNickName = 3; + * @return This builder for chaining. + */ + public Builder clearSenderNickName() { + senderNickName_ = getDefaultInstance().getSenderNickName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string senderNickName = 3; + * @param value The bytes for senderNickName to set. + * @return This builder for chaining. + */ + public Builder setSenderNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderNickName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int senderState_ ; + /** + * int32 senderState = 4; + * @return The senderState. + */ + @java.lang.Override + public int getSenderState() { + return senderState_; + } + /** + * int32 senderState = 4; + * @param value The senderState to set. + * @return This builder for chaining. + */ + public Builder setSenderState(int value) { + + senderState_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 senderState = 4; + * @return This builder for chaining. + */ + public Builder clearSenderState() { + bitField0_ = (bitField0_ & ~0x00000008); + senderState_ = 0; + onChanged(); + return this; + } + + private int senderMapId_ ; + /** + * int32 senderMapId = 5; + * @return The senderMapId. + */ + @java.lang.Override + public int getSenderMapId() { + return senderMapId_; + } + /** + * int32 senderMapId = 5; + * @param value The senderMapId to set. + * @return This builder for chaining. + */ + public Builder setSenderMapId(int value) { + + senderMapId_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * int32 senderMapId = 5; + * @return This builder for chaining. + */ + public Builder clearSenderMapId() { + bitField0_ = (bitField0_ & ~0x00000010); + senderMapId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object receiverId_ = ""; + /** + * string receiverId = 6; + * @return The receiverId. + */ + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverId = 6; + * @return The bytes for receiverId. + */ + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverId = 6; + * @param value The receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverId_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string receiverId = 6; + * @return This builder for chaining. + */ + public Builder clearReceiverId() { + receiverId_ = getDefaultInstance().getReceiverId(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string receiverId = 6; + * @param value The bytes for receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverId_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object receiverGuid_ = ""; + /** + * string receiverGuid = 7; + * @return The receiverGuid. + */ + public java.lang.String getReceiverGuid() { + java.lang.Object ref = receiverGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverGuid = 7; + * @return The bytes for receiverGuid. + */ + public com.google.protobuf.ByteString + getReceiverGuidBytes() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverGuid = 7; + * @param value The receiverGuid to set. + * @return This builder for chaining. + */ + public Builder setReceiverGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverGuid_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * string receiverGuid = 7; + * @return This builder for chaining. + */ + public Builder clearReceiverGuid() { + receiverGuid_ = getDefaultInstance().getReceiverGuid(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * string receiverGuid = 7; + * @param value The bytes for receiverGuid to set. + * @return This builder for chaining. + */ + public Builder setReceiverGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverGuid_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object receiverNickName_ = ""; + /** + * string receiverNickName = 8; + * @return The receiverNickName. + */ + public java.lang.String getReceiverNickName() { + java.lang.Object ref = receiverNickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverNickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverNickName = 8; + * @return The bytes for receiverNickName. + */ + public com.google.protobuf.ByteString + getReceiverNickNameBytes() { + java.lang.Object ref = receiverNickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverNickName = 8; + * @param value The receiverNickName to set. + * @return This builder for chaining. + */ + public Builder setReceiverNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverNickName_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * string receiverNickName = 8; + * @return This builder for chaining. + */ + public Builder clearReceiverNickName() { + receiverNickName_ = getDefaultInstance().getReceiverNickName(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * string receiverNickName = 8; + * @param value The bytes for receiverNickName to set. + * @return This builder for chaining. + */ + public Builder setReceiverNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverNickName_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ToFiendNotiBase) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ToFiendNotiBase) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ToFiendNotiBase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface InviteMyHomeBaseOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.InviteMyHomeBase) + com.google.protobuf.MessageOrBuilder { + + /** + * string senderId = 1; + * @return The senderId. + */ + java.lang.String getSenderId(); + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + com.google.protobuf.ByteString + getSenderIdBytes(); + + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + java.lang.String getSenderGuid(); + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + com.google.protobuf.ByteString + getSenderGuidBytes(); + + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + java.lang.String getSenderNickName(); + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + com.google.protobuf.ByteString + getSenderNickNameBytes(); + + /** + *
+     *int32 senderState = 4;
+     *int32 senderMapId = 5;
+     * 
+ * + * string receiverId = 4; + * @return The receiverId. + */ + java.lang.String getReceiverId(); + /** + *
+     *int32 senderState = 4;
+     *int32 senderMapId = 5;
+     * 
+ * + * string receiverId = 4; + * @return The bytes for receiverId. + */ + com.google.protobuf.ByteString + getReceiverIdBytes(); + + /** + * string receiverGuid = 5; + * @return The receiverGuid. + */ + java.lang.String getReceiverGuid(); + /** + * string receiverGuid = 5; + * @return The bytes for receiverGuid. + */ + com.google.protobuf.ByteString + getReceiverGuidBytes(); + + /** + * string receiverNickName = 6; + * @return The receiverNickName. + */ + java.lang.String getReceiverNickName(); + /** + * string receiverNickName = 6; + * @return The bytes for receiverNickName. + */ + com.google.protobuf.ByteString + getReceiverNickNameBytes(); + } + /** + * Protobuf type {@code ServerMessage.InviteMyHomeBase} + */ + public static final class InviteMyHomeBase extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.InviteMyHomeBase) + InviteMyHomeBaseOrBuilder { + private static final long serialVersionUID = 0L; + // Use InviteMyHomeBase.newBuilder() to construct. + private InviteMyHomeBase(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private InviteMyHomeBase() { + senderId_ = ""; + senderGuid_ = ""; + senderNickName_ = ""; + receiverId_ = ""; + receiverGuid_ = ""; + receiverNickName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InviteMyHomeBase(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InviteMyHomeBase_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InviteMyHomeBase_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.Builder.class); + } + + public static final int SENDERID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object senderId_ = ""; + /** + * string senderId = 1; + * @return The senderId. + */ + @java.lang.Override + public java.lang.String getSenderId() { + java.lang.Object ref = senderId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderId_ = s; + return s; + } + } + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderIdBytes() { + java.lang.Object ref = senderId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SENDERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object senderGuid_ = ""; + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + @java.lang.Override + public java.lang.String getSenderGuid() { + java.lang.Object ref = senderGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderGuid_ = s; + return s; + } + } + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderGuidBytes() { + java.lang.Object ref = senderGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SENDERNICKNAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object senderNickName_ = ""; + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + @java.lang.Override + public java.lang.String getSenderNickName() { + java.lang.Object ref = senderNickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderNickName_ = s; + return s; + } + } + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderNickNameBytes() { + java.lang.Object ref = senderNickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverId_ = ""; + /** + *
+     *int32 senderState = 4;
+     *int32 senderMapId = 5;
+     * 
+ * + * string receiverId = 4; + * @return The receiverId. + */ + @java.lang.Override + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } + } + /** + *
+     *int32 senderState = 4;
+     *int32 senderMapId = 5;
+     * 
+ * + * string receiverId = 4; + * @return The bytes for receiverId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERGUID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverGuid_ = ""; + /** + * string receiverGuid = 5; + * @return The receiverGuid. + */ + @java.lang.Override + public java.lang.String getReceiverGuid() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverGuid_ = s; + return s; + } + } + /** + * string receiverGuid = 5; + * @return The bytes for receiverGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverGuidBytes() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERNICKNAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverNickName_ = ""; + /** + * string receiverNickName = 6; + * @return The receiverNickName. + */ + @java.lang.Override + public java.lang.String getReceiverNickName() { + java.lang.Object ref = receiverNickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverNickName_ = s; + return s; + } + } + /** + * string receiverNickName = 6; + * @return The bytes for receiverNickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverNickNameBytes() { + java.lang.Object ref = receiverNickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, senderId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, senderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderNickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, senderNickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, receiverId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, receiverGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverNickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, receiverNickName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, senderId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, senderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderNickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, senderNickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, receiverId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, receiverGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverNickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, receiverNickName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase) obj; + + if (!getSenderId() + .equals(other.getSenderId())) return false; + if (!getSenderGuid() + .equals(other.getSenderGuid())) return false; + if (!getSenderNickName() + .equals(other.getSenderNickName())) return false; + if (!getReceiverId() + .equals(other.getReceiverId())) return false; + if (!getReceiverGuid() + .equals(other.getReceiverGuid())) return false; + if (!getReceiverNickName() + .equals(other.getReceiverNickName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SENDERID_FIELD_NUMBER; + hash = (53 * hash) + getSenderId().hashCode(); + hash = (37 * hash) + SENDERGUID_FIELD_NUMBER; + hash = (53 * hash) + getSenderGuid().hashCode(); + hash = (37 * hash) + SENDERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getSenderNickName().hashCode(); + hash = (37 * hash) + RECEIVERID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverId().hashCode(); + hash = (37 * hash) + RECEIVERGUID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverGuid().hashCode(); + hash = (37 * hash) + RECEIVERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getReceiverNickName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.InviteMyHomeBase} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.InviteMyHomeBase) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBaseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InviteMyHomeBase_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InviteMyHomeBase_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + senderId_ = ""; + senderGuid_ = ""; + senderNickName_ = ""; + receiverId_ = ""; + receiverGuid_ = ""; + receiverNickName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InviteMyHomeBase_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.senderId_ = senderId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.senderGuid_ = senderGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.senderNickName_ = senderNickName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.receiverId_ = receiverId_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.receiverGuid_ = receiverGuid_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.receiverNickName_ = receiverNickName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.getDefaultInstance()) return this; + if (!other.getSenderId().isEmpty()) { + senderId_ = other.senderId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSenderGuid().isEmpty()) { + senderGuid_ = other.senderGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSenderNickName().isEmpty()) { + senderNickName_ = other.senderNickName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getReceiverId().isEmpty()) { + receiverId_ = other.receiverId_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getReceiverGuid().isEmpty()) { + receiverGuid_ = other.receiverGuid_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getReceiverNickName().isEmpty()) { + receiverNickName_ = other.receiverNickName_; + bitField0_ |= 0x00000020; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + senderId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + senderGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + senderNickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + receiverId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + receiverGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + receiverNickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object senderId_ = ""; + /** + * string senderId = 1; + * @return The senderId. + */ + public java.lang.String getSenderId() { + java.lang.Object ref = senderId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + public com.google.protobuf.ByteString + getSenderIdBytes() { + java.lang.Object ref = senderId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderId = 1; + * @param value The senderId to set. + * @return This builder for chaining. + */ + public Builder setSenderId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string senderId = 1; + * @return This builder for chaining. + */ + public Builder clearSenderId() { + senderId_ = getDefaultInstance().getSenderId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string senderId = 1; + * @param value The bytes for senderId to set. + * @return This builder for chaining. + */ + public Builder setSenderIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object senderGuid_ = ""; + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + public java.lang.String getSenderGuid() { + java.lang.Object ref = senderGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + public com.google.protobuf.ByteString + getSenderGuidBytes() { + java.lang.Object ref = senderGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderGuid = 2; + * @param value The senderGuid to set. + * @return This builder for chaining. + */ + public Builder setSenderGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string senderGuid = 2; + * @return This builder for chaining. + */ + public Builder clearSenderGuid() { + senderGuid_ = getDefaultInstance().getSenderGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string senderGuid = 2; + * @param value The bytes for senderGuid to set. + * @return This builder for chaining. + */ + public Builder setSenderGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object senderNickName_ = ""; + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + public java.lang.String getSenderNickName() { + java.lang.Object ref = senderNickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderNickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + public com.google.protobuf.ByteString + getSenderNickNameBytes() { + java.lang.Object ref = senderNickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderNickName = 3; + * @param value The senderNickName to set. + * @return This builder for chaining. + */ + public Builder setSenderNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderNickName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string senderNickName = 3; + * @return This builder for chaining. + */ + public Builder clearSenderNickName() { + senderNickName_ = getDefaultInstance().getSenderNickName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string senderNickName = 3; + * @param value The bytes for senderNickName to set. + * @return This builder for chaining. + */ + public Builder setSenderNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderNickName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object receiverId_ = ""; + /** + *
+       *int32 senderState = 4;
+       *int32 senderMapId = 5;
+       * 
+ * + * string receiverId = 4; + * @return The receiverId. + */ + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *int32 senderState = 4;
+       *int32 senderMapId = 5;
+       * 
+ * + * string receiverId = 4; + * @return The bytes for receiverId. + */ + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *int32 senderState = 4;
+       *int32 senderMapId = 5;
+       * 
+ * + * string receiverId = 4; + * @param value The receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       *int32 senderState = 4;
+       *int32 senderMapId = 5;
+       * 
+ * + * string receiverId = 4; + * @return This builder for chaining. + */ + public Builder clearReceiverId() { + receiverId_ = getDefaultInstance().getReceiverId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       *int32 senderState = 4;
+       *int32 senderMapId = 5;
+       * 
+ * + * string receiverId = 4; + * @param value The bytes for receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object receiverGuid_ = ""; + /** + * string receiverGuid = 5; + * @return The receiverGuid. + */ + public java.lang.String getReceiverGuid() { + java.lang.Object ref = receiverGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverGuid = 5; + * @return The bytes for receiverGuid. + */ + public com.google.protobuf.ByteString + getReceiverGuidBytes() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverGuid = 5; + * @param value The receiverGuid to set. + * @return This builder for chaining. + */ + public Builder setReceiverGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string receiverGuid = 5; + * @return This builder for chaining. + */ + public Builder clearReceiverGuid() { + receiverGuid_ = getDefaultInstance().getReceiverGuid(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string receiverGuid = 5; + * @param value The bytes for receiverGuid to set. + * @return This builder for chaining. + */ + public Builder setReceiverGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object receiverNickName_ = ""; + /** + * string receiverNickName = 6; + * @return The receiverNickName. + */ + public java.lang.String getReceiverNickName() { + java.lang.Object ref = receiverNickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverNickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverNickName = 6; + * @return The bytes for receiverNickName. + */ + public com.google.protobuf.ByteString + getReceiverNickNameBytes() { + java.lang.Object ref = receiverNickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverNickName = 6; + * @param value The receiverNickName to set. + * @return This builder for chaining. + */ + public Builder setReceiverNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverNickName_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string receiverNickName = 6; + * @return This builder for chaining. + */ + public Builder clearReceiverNickName() { + receiverNickName_ = getDefaultInstance().getReceiverNickName(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string receiverNickName = 6; + * @param value The bytes for receiverNickName to set. + * @return This builder for chaining. + */ + public Builder setReceiverNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverNickName_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.InviteMyHomeBase) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.InviteMyHomeBase) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InviteMyHomeBase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface LoginNotiToFriendOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.LoginNotiToFriend) + com.google.protobuf.MessageOrBuilder { + + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return Whether the baseInfo field is set. + */ + boolean hasBaseInfo(); + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return The baseInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase getBaseInfo(); + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder getBaseInfoOrBuilder(); + + /** + * .UserLocationInfo locationInfo = 2; + * @return Whether the locationInfo field is set. + */ + boolean hasLocationInfo(); + /** + * .UserLocationInfo locationInfo = 2; + * @return The locationInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getLocationInfo(); + /** + * .UserLocationInfo locationInfo = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder getLocationInfoOrBuilder(); + } + /** + * Protobuf type {@code ServerMessage.LoginNotiToFriend} + */ + public static final class LoginNotiToFriend extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.LoginNotiToFriend) + LoginNotiToFriendOrBuilder { + private static final long serialVersionUID = 0L; + // Use LoginNotiToFriend.newBuilder() to construct. + private LoginNotiToFriend(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LoginNotiToFriend() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LoginNotiToFriend(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LoginNotiToFriend_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LoginNotiToFriend_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.Builder.class); + } + + public static final int BASEINFO_FIELD_NUMBER = 1; + private com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase baseInfo_; + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return Whether the baseInfo field is set. + */ + @java.lang.Override + public boolean hasBaseInfo() { + return baseInfo_ != null; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return The baseInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase getBaseInfo() { + return baseInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance() : baseInfo_; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder getBaseInfoOrBuilder() { + return baseInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance() : baseInfo_; + } + + public static final int LOCATIONINFO_FIELD_NUMBER = 2; + private com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo locationInfo_; + /** + * .UserLocationInfo locationInfo = 2; + * @return Whether the locationInfo field is set. + */ + @java.lang.Override + public boolean hasLocationInfo() { + return locationInfo_ != null; + } + /** + * .UserLocationInfo locationInfo = 2; + * @return The locationInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getLocationInfo() { + return locationInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_; + } + /** + * .UserLocationInfo locationInfo = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder getLocationInfoOrBuilder() { + return locationInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (baseInfo_ != null) { + output.writeMessage(1, getBaseInfo()); + } + if (locationInfo_ != null) { + output.writeMessage(2, getLocationInfo()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (baseInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBaseInfo()); + } + if (locationInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLocationInfo()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend) obj; + + if (hasBaseInfo() != other.hasBaseInfo()) return false; + if (hasBaseInfo()) { + if (!getBaseInfo() + .equals(other.getBaseInfo())) return false; + } + if (hasLocationInfo() != other.hasLocationInfo()) return false; + if (hasLocationInfo()) { + if (!getLocationInfo() + .equals(other.getLocationInfo())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasBaseInfo()) { + hash = (37 * hash) + BASEINFO_FIELD_NUMBER; + hash = (53 * hash) + getBaseInfo().hashCode(); + } + if (hasLocationInfo()) { + hash = (37 * hash) + LOCATIONINFO_FIELD_NUMBER; + hash = (53 * hash) + getLocationInfo().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.LoginNotiToFriend} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.LoginNotiToFriend) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriendOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LoginNotiToFriend_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LoginNotiToFriend_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + baseInfo_ = null; + if (baseInfoBuilder_ != null) { + baseInfoBuilder_.dispose(); + baseInfoBuilder_ = null; + } + locationInfo_ = null; + if (locationInfoBuilder_ != null) { + locationInfoBuilder_.dispose(); + locationInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LoginNotiToFriend_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.baseInfo_ = baseInfoBuilder_ == null + ? baseInfo_ + : baseInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.locationInfo_ = locationInfoBuilder_ == null + ? locationInfo_ + : locationInfoBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.getDefaultInstance()) return this; + if (other.hasBaseInfo()) { + mergeBaseInfo(other.getBaseInfo()); + } + if (other.hasLocationInfo()) { + mergeLocationInfo(other.getLocationInfo()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getBaseInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getLocationInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase baseInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder> baseInfoBuilder_; + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return Whether the baseInfo field is set. + */ + public boolean hasBaseInfo() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return The baseInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase getBaseInfo() { + if (baseInfoBuilder_ == null) { + return baseInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance() : baseInfo_; + } else { + return baseInfoBuilder_.getMessage(); + } + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public Builder setBaseInfo(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase value) { + if (baseInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + baseInfo_ = value; + } else { + baseInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public Builder setBaseInfo( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder builderForValue) { + if (baseInfoBuilder_ == null) { + baseInfo_ = builderForValue.build(); + } else { + baseInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public Builder mergeBaseInfo(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase value) { + if (baseInfoBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + baseInfo_ != null && + baseInfo_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance()) { + getBaseInfoBuilder().mergeFrom(value); + } else { + baseInfo_ = value; + } + } else { + baseInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public Builder clearBaseInfo() { + bitField0_ = (bitField0_ & ~0x00000001); + baseInfo_ = null; + if (baseInfoBuilder_ != null) { + baseInfoBuilder_.dispose(); + baseInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder getBaseInfoBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getBaseInfoFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder getBaseInfoOrBuilder() { + if (baseInfoBuilder_ != null) { + return baseInfoBuilder_.getMessageOrBuilder(); + } else { + return baseInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance() : baseInfo_; + } + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder> + getBaseInfoFieldBuilder() { + if (baseInfoBuilder_ == null) { + baseInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder>( + getBaseInfo(), + getParentForChildren(), + isClean()); + baseInfo_ = null; + } + return baseInfoBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo locationInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder> locationInfoBuilder_; + /** + * .UserLocationInfo locationInfo = 2; + * @return Whether the locationInfo field is set. + */ + public boolean hasLocationInfo() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .UserLocationInfo locationInfo = 2; + * @return The locationInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getLocationInfo() { + if (locationInfoBuilder_ == null) { + return locationInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_; + } else { + return locationInfoBuilder_.getMessage(); + } + } + /** + * .UserLocationInfo locationInfo = 2; + */ + public Builder setLocationInfo(com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo value) { + if (locationInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + locationInfo_ = value; + } else { + locationInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .UserLocationInfo locationInfo = 2; + */ + public Builder setLocationInfo( + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder builderForValue) { + if (locationInfoBuilder_ == null) { + locationInfo_ = builderForValue.build(); + } else { + locationInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .UserLocationInfo locationInfo = 2; + */ + public Builder mergeLocationInfo(com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo value) { + if (locationInfoBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + locationInfo_ != null && + locationInfo_ != com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance()) { + getLocationInfoBuilder().mergeFrom(value); + } else { + locationInfo_ = value; + } + } else { + locationInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .UserLocationInfo locationInfo = 2; + */ + public Builder clearLocationInfo() { + bitField0_ = (bitField0_ & ~0x00000002); + locationInfo_ = null; + if (locationInfoBuilder_ != null) { + locationInfoBuilder_.dispose(); + locationInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .UserLocationInfo locationInfo = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder getLocationInfoBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getLocationInfoFieldBuilder().getBuilder(); + } + /** + * .UserLocationInfo locationInfo = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder getLocationInfoOrBuilder() { + if (locationInfoBuilder_ != null) { + return locationInfoBuilder_.getMessageOrBuilder(); + } else { + return locationInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_; + } + } + /** + * .UserLocationInfo locationInfo = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder> + getLocationInfoFieldBuilder() { + if (locationInfoBuilder_ == null) { + locationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder>( + getLocationInfo(), + getParentForChildren(), + isClean()); + locationInfo_ = null; + } + return locationInfoBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.LoginNotiToFriend) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.LoginNotiToFriend) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoginNotiToFriend parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface LogoutNotiToFriendOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.LogoutNotiToFriend) + com.google.protobuf.MessageOrBuilder { + + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return Whether the baseInfo field is set. + */ + boolean hasBaseInfo(); + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return The baseInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase getBaseInfo(); + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder getBaseInfoOrBuilder(); + } + /** + * Protobuf type {@code ServerMessage.LogoutNotiToFriend} + */ + public static final class LogoutNotiToFriend extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.LogoutNotiToFriend) + LogoutNotiToFriendOrBuilder { + private static final long serialVersionUID = 0L; + // Use LogoutNotiToFriend.newBuilder() to construct. + private LogoutNotiToFriend(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LogoutNotiToFriend() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LogoutNotiToFriend(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LogoutNotiToFriend_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LogoutNotiToFriend_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.Builder.class); + } + + public static final int BASEINFO_FIELD_NUMBER = 1; + private com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase baseInfo_; + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return Whether the baseInfo field is set. + */ + @java.lang.Override + public boolean hasBaseInfo() { + return baseInfo_ != null; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return The baseInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase getBaseInfo() { + return baseInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance() : baseInfo_; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder getBaseInfoOrBuilder() { + return baseInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance() : baseInfo_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (baseInfo_ != null) { + output.writeMessage(1, getBaseInfo()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (baseInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBaseInfo()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend) obj; + + if (hasBaseInfo() != other.hasBaseInfo()) return false; + if (hasBaseInfo()) { + if (!getBaseInfo() + .equals(other.getBaseInfo())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasBaseInfo()) { + hash = (37 * hash) + BASEINFO_FIELD_NUMBER; + hash = (53 * hash) + getBaseInfo().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.LogoutNotiToFriend} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.LogoutNotiToFriend) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriendOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LogoutNotiToFriend_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LogoutNotiToFriend_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + baseInfo_ = null; + if (baseInfoBuilder_ != null) { + baseInfoBuilder_.dispose(); + baseInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LogoutNotiToFriend_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.baseInfo_ = baseInfoBuilder_ == null + ? baseInfo_ + : baseInfoBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.getDefaultInstance()) return this; + if (other.hasBaseInfo()) { + mergeBaseInfo(other.getBaseInfo()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getBaseInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase baseInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder> baseInfoBuilder_; + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return Whether the baseInfo field is set. + */ + public boolean hasBaseInfo() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return The baseInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase getBaseInfo() { + if (baseInfoBuilder_ == null) { + return baseInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance() : baseInfo_; + } else { + return baseInfoBuilder_.getMessage(); + } + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public Builder setBaseInfo(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase value) { + if (baseInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + baseInfo_ = value; + } else { + baseInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public Builder setBaseInfo( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder builderForValue) { + if (baseInfoBuilder_ == null) { + baseInfo_ = builderForValue.build(); + } else { + baseInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public Builder mergeBaseInfo(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase value) { + if (baseInfoBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + baseInfo_ != null && + baseInfo_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance()) { + getBaseInfoBuilder().mergeFrom(value); + } else { + baseInfo_ = value; + } + } else { + baseInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public Builder clearBaseInfo() { + bitField0_ = (bitField0_ & ~0x00000001); + baseInfo_ = null; + if (baseInfoBuilder_ != null) { + baseInfoBuilder_.dispose(); + baseInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder getBaseInfoBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getBaseInfoFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder getBaseInfoOrBuilder() { + if (baseInfoBuilder_ != null) { + return baseInfoBuilder_.getMessageOrBuilder(); + } else { + return baseInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance() : baseInfo_; + } + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder> + getBaseInfoFieldBuilder() { + if (baseInfoBuilder_ == null) { + baseInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder>( + getBaseInfo(), + getParentForChildren(), + isClean()); + baseInfo_ = null; + } + return baseInfoBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.LogoutNotiToFriend) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.LogoutNotiToFriend) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LogoutNotiToFriend parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface StateNotiToFriendOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.StateNotiToFriend) + com.google.protobuf.MessageOrBuilder { + + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return Whether the baseInfo field is set. + */ + boolean hasBaseInfo(); + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return The baseInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase getBaseInfo(); + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder getBaseInfoOrBuilder(); + + /** + * .UserLocationInfo locationInfo = 2; + * @return Whether the locationInfo field is set. + */ + boolean hasLocationInfo(); + /** + * .UserLocationInfo locationInfo = 2; + * @return The locationInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getLocationInfo(); + /** + * .UserLocationInfo locationInfo = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder getLocationInfoOrBuilder(); + } + /** + * Protobuf type {@code ServerMessage.StateNotiToFriend} + */ + public static final class StateNotiToFriend extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.StateNotiToFriend) + StateNotiToFriendOrBuilder { + private static final long serialVersionUID = 0L; + // Use StateNotiToFriend.newBuilder() to construct. + private StateNotiToFriend(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StateNotiToFriend() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StateNotiToFriend(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_StateNotiToFriend_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_StateNotiToFriend_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.Builder.class); + } + + public static final int BASEINFO_FIELD_NUMBER = 1; + private com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase baseInfo_; + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return Whether the baseInfo field is set. + */ + @java.lang.Override + public boolean hasBaseInfo() { + return baseInfo_ != null; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return The baseInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase getBaseInfo() { + return baseInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance() : baseInfo_; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder getBaseInfoOrBuilder() { + return baseInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance() : baseInfo_; + } + + public static final int LOCATIONINFO_FIELD_NUMBER = 2; + private com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo locationInfo_; + /** + * .UserLocationInfo locationInfo = 2; + * @return Whether the locationInfo field is set. + */ + @java.lang.Override + public boolean hasLocationInfo() { + return locationInfo_ != null; + } + /** + * .UserLocationInfo locationInfo = 2; + * @return The locationInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getLocationInfo() { + return locationInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_; + } + /** + * .UserLocationInfo locationInfo = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder getLocationInfoOrBuilder() { + return locationInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (baseInfo_ != null) { + output.writeMessage(1, getBaseInfo()); + } + if (locationInfo_ != null) { + output.writeMessage(2, getLocationInfo()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (baseInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBaseInfo()); + } + if (locationInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLocationInfo()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend) obj; + + if (hasBaseInfo() != other.hasBaseInfo()) return false; + if (hasBaseInfo()) { + if (!getBaseInfo() + .equals(other.getBaseInfo())) return false; + } + if (hasLocationInfo() != other.hasLocationInfo()) return false; + if (hasLocationInfo()) { + if (!getLocationInfo() + .equals(other.getLocationInfo())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasBaseInfo()) { + hash = (37 * hash) + BASEINFO_FIELD_NUMBER; + hash = (53 * hash) + getBaseInfo().hashCode(); + } + if (hasLocationInfo()) { + hash = (37 * hash) + LOCATIONINFO_FIELD_NUMBER; + hash = (53 * hash) + getLocationInfo().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.StateNotiToFriend} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.StateNotiToFriend) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriendOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_StateNotiToFriend_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_StateNotiToFriend_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + baseInfo_ = null; + if (baseInfoBuilder_ != null) { + baseInfoBuilder_.dispose(); + baseInfoBuilder_ = null; + } + locationInfo_ = null; + if (locationInfoBuilder_ != null) { + locationInfoBuilder_.dispose(); + locationInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_StateNotiToFriend_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.baseInfo_ = baseInfoBuilder_ == null + ? baseInfo_ + : baseInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.locationInfo_ = locationInfoBuilder_ == null + ? locationInfo_ + : locationInfoBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.getDefaultInstance()) return this; + if (other.hasBaseInfo()) { + mergeBaseInfo(other.getBaseInfo()); + } + if (other.hasLocationInfo()) { + mergeLocationInfo(other.getLocationInfo()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getBaseInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getLocationInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase baseInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder> baseInfoBuilder_; + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return Whether the baseInfo field is set. + */ + public boolean hasBaseInfo() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + * @return The baseInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase getBaseInfo() { + if (baseInfoBuilder_ == null) { + return baseInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance() : baseInfo_; + } else { + return baseInfoBuilder_.getMessage(); + } + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public Builder setBaseInfo(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase value) { + if (baseInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + baseInfo_ = value; + } else { + baseInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public Builder setBaseInfo( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder builderForValue) { + if (baseInfoBuilder_ == null) { + baseInfo_ = builderForValue.build(); + } else { + baseInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public Builder mergeBaseInfo(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase value) { + if (baseInfoBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + baseInfo_ != null && + baseInfo_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance()) { + getBaseInfoBuilder().mergeFrom(value); + } else { + baseInfo_ = value; + } + } else { + baseInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public Builder clearBaseInfo() { + bitField0_ = (bitField0_ & ~0x00000001); + baseInfo_ = null; + if (baseInfoBuilder_ != null) { + baseInfoBuilder_.dispose(); + baseInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder getBaseInfoBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getBaseInfoFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder getBaseInfoOrBuilder() { + if (baseInfoBuilder_ != null) { + return baseInfoBuilder_.getMessageOrBuilder(); + } else { + return baseInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.getDefaultInstance() : baseInfo_; + } + } + /** + * .ServerMessage.ToFiendNotiBase baseInfo = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder> + getBaseInfoFieldBuilder() { + if (baseInfoBuilder_ == null) { + baseInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBase.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ToFiendNotiBaseOrBuilder>( + getBaseInfo(), + getParentForChildren(), + isClean()); + baseInfo_ = null; + } + return baseInfoBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo locationInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder> locationInfoBuilder_; + /** + * .UserLocationInfo locationInfo = 2; + * @return Whether the locationInfo field is set. + */ + public boolean hasLocationInfo() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .UserLocationInfo locationInfo = 2; + * @return The locationInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getLocationInfo() { + if (locationInfoBuilder_ == null) { + return locationInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_; + } else { + return locationInfoBuilder_.getMessage(); + } + } + /** + * .UserLocationInfo locationInfo = 2; + */ + public Builder setLocationInfo(com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo value) { + if (locationInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + locationInfo_ = value; + } else { + locationInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .UserLocationInfo locationInfo = 2; + */ + public Builder setLocationInfo( + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder builderForValue) { + if (locationInfoBuilder_ == null) { + locationInfo_ = builderForValue.build(); + } else { + locationInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .UserLocationInfo locationInfo = 2; + */ + public Builder mergeLocationInfo(com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo value) { + if (locationInfoBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + locationInfo_ != null && + locationInfo_ != com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance()) { + getLocationInfoBuilder().mergeFrom(value); + } else { + locationInfo_ = value; + } + } else { + locationInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .UserLocationInfo locationInfo = 2; + */ + public Builder clearLocationInfo() { + bitField0_ = (bitField0_ & ~0x00000002); + locationInfo_ = null; + if (locationInfoBuilder_ != null) { + locationInfoBuilder_.dispose(); + locationInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .UserLocationInfo locationInfo = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder getLocationInfoBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getLocationInfoFieldBuilder().getBuilder(); + } + /** + * .UserLocationInfo locationInfo = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder getLocationInfoOrBuilder() { + if (locationInfoBuilder_ != null) { + return locationInfoBuilder_.getMessageOrBuilder(); + } else { + return locationInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_; + } + } + /** + * .UserLocationInfo locationInfo = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder> + getLocationInfoFieldBuilder() { + if (locationInfoBuilder_ == null) { + locationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder>( + getLocationInfo(), + getParentForChildren(), + isClean()); + locationInfo_ = null; + } + return locationInfoBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.StateNotiToFriend) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.StateNotiToFriend) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StateNotiToFriend parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReceiveInviteMyHomeNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ReceiveInviteMyHomeNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + * @return Whether the baseInfo field is set. + */ + boolean hasBaseInfo(); + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + * @return The baseInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase getBaseInfo(); + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBaseOrBuilder getBaseInfoOrBuilder(); + + /** + * string inviterMyHomeId = 2; + * @return The inviterMyHomeId. + */ + java.lang.String getInviterMyHomeId(); + /** + * string inviterMyHomeId = 2; + * @return The bytes for inviterMyHomeId. + */ + com.google.protobuf.ByteString + getInviterMyHomeIdBytes(); + + /** + * .google.protobuf.Timestamp expireTime = 3; + * @return Whether the expireTime field is set. + */ + boolean hasExpireTime(); + /** + * .google.protobuf.Timestamp expireTime = 3; + * @return The expireTime. + */ + com.google.protobuf.Timestamp getExpireTime(); + /** + * .google.protobuf.Timestamp expireTime = 3; + */ + com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); + + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + * @return Whether the replyExpireTime field is set. + */ + boolean hasReplyExpireTime(); + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + * @return The replyExpireTime. + */ + com.google.protobuf.Timestamp getReplyExpireTime(); + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + */ + com.google.protobuf.TimestampOrBuilder getReplyExpireTimeOrBuilder(); + + /** + * string uniqueKey = 5; + * @return The uniqueKey. + */ + java.lang.String getUniqueKey(); + /** + * string uniqueKey = 5; + * @return The bytes for uniqueKey. + */ + com.google.protobuf.ByteString + getUniqueKeyBytes(); + } + /** + * Protobuf type {@code ServerMessage.ReceiveInviteMyHomeNoti} + */ + public static final class ReceiveInviteMyHomeNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ReceiveInviteMyHomeNoti) + ReceiveInviteMyHomeNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReceiveInviteMyHomeNoti.newBuilder() to construct. + private ReceiveInviteMyHomeNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReceiveInviteMyHomeNoti() { + inviterMyHomeId_ = ""; + uniqueKey_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReceiveInviteMyHomeNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReceiveInviteMyHomeNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReceiveInviteMyHomeNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.Builder.class); + } + + public static final int BASEINFO_FIELD_NUMBER = 1; + private com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase baseInfo_; + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + * @return Whether the baseInfo field is set. + */ + @java.lang.Override + public boolean hasBaseInfo() { + return baseInfo_ != null; + } + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + * @return The baseInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase getBaseInfo() { + return baseInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.getDefaultInstance() : baseInfo_; + } + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBaseOrBuilder getBaseInfoOrBuilder() { + return baseInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.getDefaultInstance() : baseInfo_; + } + + public static final int INVITERMYHOMEID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object inviterMyHomeId_ = ""; + /** + * string inviterMyHomeId = 2; + * @return The inviterMyHomeId. + */ + @java.lang.Override + public java.lang.String getInviterMyHomeId() { + java.lang.Object ref = inviterMyHomeId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviterMyHomeId_ = s; + return s; + } + } + /** + * string inviterMyHomeId = 2; + * @return The bytes for inviterMyHomeId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviterMyHomeIdBytes() { + java.lang.Object ref = inviterMyHomeId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviterMyHomeId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EXPIRETIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp expireTime_; + /** + * .google.protobuf.Timestamp expireTime = 3; + * @return Whether the expireTime field is set. + */ + @java.lang.Override + public boolean hasExpireTime() { + return expireTime_ != null; + } + /** + * .google.protobuf.Timestamp expireTime = 3; + * @return The expireTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getExpireTime() { + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + } + /** + * .google.protobuf.Timestamp expireTime = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + } + + public static final int REPLYEXPIRETIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp replyExpireTime_; + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + * @return Whether the replyExpireTime field is set. + */ + @java.lang.Override + public boolean hasReplyExpireTime() { + return replyExpireTime_ != null; + } + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + * @return The replyExpireTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getReplyExpireTime() { + return replyExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : replyExpireTime_; + } + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getReplyExpireTimeOrBuilder() { + return replyExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : replyExpireTime_; + } + + public static final int UNIQUEKEY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object uniqueKey_ = ""; + /** + * string uniqueKey = 5; + * @return The uniqueKey. + */ + @java.lang.Override + public java.lang.String getUniqueKey() { + java.lang.Object ref = uniqueKey_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uniqueKey_ = s; + return s; + } + } + /** + * string uniqueKey = 5; + * @return The bytes for uniqueKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUniqueKeyBytes() { + java.lang.Object ref = uniqueKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + uniqueKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (baseInfo_ != null) { + output.writeMessage(1, getBaseInfo()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviterMyHomeId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inviterMyHomeId_); + } + if (expireTime_ != null) { + output.writeMessage(3, getExpireTime()); + } + if (replyExpireTime_ != null) { + output.writeMessage(4, getReplyExpireTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uniqueKey_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, uniqueKey_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (baseInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBaseInfo()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviterMyHomeId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inviterMyHomeId_); + } + if (expireTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getExpireTime()); + } + if (replyExpireTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getReplyExpireTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uniqueKey_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, uniqueKey_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti) obj; + + if (hasBaseInfo() != other.hasBaseInfo()) return false; + if (hasBaseInfo()) { + if (!getBaseInfo() + .equals(other.getBaseInfo())) return false; + } + if (!getInviterMyHomeId() + .equals(other.getInviterMyHomeId())) return false; + if (hasExpireTime() != other.hasExpireTime()) return false; + if (hasExpireTime()) { + if (!getExpireTime() + .equals(other.getExpireTime())) return false; + } + if (hasReplyExpireTime() != other.hasReplyExpireTime()) return false; + if (hasReplyExpireTime()) { + if (!getReplyExpireTime() + .equals(other.getReplyExpireTime())) return false; + } + if (!getUniqueKey() + .equals(other.getUniqueKey())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasBaseInfo()) { + hash = (37 * hash) + BASEINFO_FIELD_NUMBER; + hash = (53 * hash) + getBaseInfo().hashCode(); + } + hash = (37 * hash) + INVITERMYHOMEID_FIELD_NUMBER; + hash = (53 * hash) + getInviterMyHomeId().hashCode(); + if (hasExpireTime()) { + hash = (37 * hash) + EXPIRETIME_FIELD_NUMBER; + hash = (53 * hash) + getExpireTime().hashCode(); + } + if (hasReplyExpireTime()) { + hash = (37 * hash) + REPLYEXPIRETIME_FIELD_NUMBER; + hash = (53 * hash) + getReplyExpireTime().hashCode(); + } + hash = (37 * hash) + UNIQUEKEY_FIELD_NUMBER; + hash = (53 * hash) + getUniqueKey().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ReceiveInviteMyHomeNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ReceiveInviteMyHomeNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReceiveInviteMyHomeNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReceiveInviteMyHomeNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + baseInfo_ = null; + if (baseInfoBuilder_ != null) { + baseInfoBuilder_.dispose(); + baseInfoBuilder_ = null; + } + inviterMyHomeId_ = ""; + expireTime_ = null; + if (expireTimeBuilder_ != null) { + expireTimeBuilder_.dispose(); + expireTimeBuilder_ = null; + } + replyExpireTime_ = null; + if (replyExpireTimeBuilder_ != null) { + replyExpireTimeBuilder_.dispose(); + replyExpireTimeBuilder_ = null; + } + uniqueKey_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReceiveInviteMyHomeNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.baseInfo_ = baseInfoBuilder_ == null + ? baseInfo_ + : baseInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.inviterMyHomeId_ = inviterMyHomeId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.replyExpireTime_ = replyExpireTimeBuilder_ == null + ? replyExpireTime_ + : replyExpireTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.uniqueKey_ = uniqueKey_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.getDefaultInstance()) return this; + if (other.hasBaseInfo()) { + mergeBaseInfo(other.getBaseInfo()); + } + if (!other.getInviterMyHomeId().isEmpty()) { + inviterMyHomeId_ = other.inviterMyHomeId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasExpireTime()) { + mergeExpireTime(other.getExpireTime()); + } + if (other.hasReplyExpireTime()) { + mergeReplyExpireTime(other.getReplyExpireTime()); + } + if (!other.getUniqueKey().isEmpty()) { + uniqueKey_ = other.uniqueKey_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getBaseInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + inviterMyHomeId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getReplyExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + uniqueKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase baseInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBaseOrBuilder> baseInfoBuilder_; + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + * @return Whether the baseInfo field is set. + */ + public boolean hasBaseInfo() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + * @return The baseInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase getBaseInfo() { + if (baseInfoBuilder_ == null) { + return baseInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.getDefaultInstance() : baseInfo_; + } else { + return baseInfoBuilder_.getMessage(); + } + } + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + */ + public Builder setBaseInfo(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase value) { + if (baseInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + baseInfo_ = value; + } else { + baseInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + */ + public Builder setBaseInfo( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.Builder builderForValue) { + if (baseInfoBuilder_ == null) { + baseInfo_ = builderForValue.build(); + } else { + baseInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + */ + public Builder mergeBaseInfo(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase value) { + if (baseInfoBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + baseInfo_ != null && + baseInfo_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.getDefaultInstance()) { + getBaseInfoBuilder().mergeFrom(value); + } else { + baseInfo_ = value; + } + } else { + baseInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + */ + public Builder clearBaseInfo() { + bitField0_ = (bitField0_ & ~0x00000001); + baseInfo_ = null; + if (baseInfoBuilder_ != null) { + baseInfoBuilder_.dispose(); + baseInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.Builder getBaseInfoBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getBaseInfoFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBaseOrBuilder getBaseInfoOrBuilder() { + if (baseInfoBuilder_ != null) { + return baseInfoBuilder_.getMessageOrBuilder(); + } else { + return baseInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.getDefaultInstance() : baseInfo_; + } + } + /** + * .ServerMessage.InviteMyHomeBase baseInfo = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBaseOrBuilder> + getBaseInfoFieldBuilder() { + if (baseInfoBuilder_ == null) { + baseInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBase.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InviteMyHomeBaseOrBuilder>( + getBaseInfo(), + getParentForChildren(), + isClean()); + baseInfo_ = null; + } + return baseInfoBuilder_; + } + + private java.lang.Object inviterMyHomeId_ = ""; + /** + * string inviterMyHomeId = 2; + * @return The inviterMyHomeId. + */ + public java.lang.String getInviterMyHomeId() { + java.lang.Object ref = inviterMyHomeId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviterMyHomeId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviterMyHomeId = 2; + * @return The bytes for inviterMyHomeId. + */ + public com.google.protobuf.ByteString + getInviterMyHomeIdBytes() { + java.lang.Object ref = inviterMyHomeId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviterMyHomeId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviterMyHomeId = 2; + * @param value The inviterMyHomeId to set. + * @return This builder for chaining. + */ + public Builder setInviterMyHomeId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviterMyHomeId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string inviterMyHomeId = 2; + * @return This builder for chaining. + */ + public Builder clearInviterMyHomeId() { + inviterMyHomeId_ = getDefaultInstance().getInviterMyHomeId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string inviterMyHomeId = 2; + * @param value The bytes for inviterMyHomeId to set. + * @return This builder for chaining. + */ + public Builder setInviterMyHomeIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviterMyHomeId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp expireTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + /** + * .google.protobuf.Timestamp expireTime = 3; + * @return Whether the expireTime field is set. + */ + public boolean hasExpireTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .google.protobuf.Timestamp expireTime = 3; + * @return The expireTime. + */ + public com.google.protobuf.Timestamp getExpireTime() { + if (expireTimeBuilder_ == null) { + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + } else { + return expireTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp expireTime = 3; + */ + public Builder setExpireTime(com.google.protobuf.Timestamp value) { + if (expireTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + expireTime_ = value; + } else { + expireTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp expireTime = 3; + */ + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (expireTimeBuilder_ == null) { + expireTime_ = builderForValue.build(); + } else { + expireTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp expireTime = 3; + */ + public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { + if (expireTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getExpireTimeBuilder().mergeFrom(value); + } else { + expireTime_ = value; + } + } else { + expireTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp expireTime = 3; + */ + public Builder clearExpireTime() { + bitField0_ = (bitField0_ & ~0x00000004); + expireTime_ = null; + if (expireTimeBuilder_ != null) { + expireTimeBuilder_.dispose(); + expireTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp expireTime = 3; + */ + public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getExpireTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp expireTime = 3; + */ + public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { + if (expireTimeBuilder_ != null) { + return expireTimeBuilder_.getMessageOrBuilder(); + } else { + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + } + } + /** + * .google.protobuf.Timestamp expireTime = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getExpireTimeFieldBuilder() { + if (expireTimeBuilder_ == null) { + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); + expireTime_ = null; + } + return expireTimeBuilder_; + } + + private com.google.protobuf.Timestamp replyExpireTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> replyExpireTimeBuilder_; + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + * @return Whether the replyExpireTime field is set. + */ + public boolean hasReplyExpireTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + * @return The replyExpireTime. + */ + public com.google.protobuf.Timestamp getReplyExpireTime() { + if (replyExpireTimeBuilder_ == null) { + return replyExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : replyExpireTime_; + } else { + return replyExpireTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + */ + public Builder setReplyExpireTime(com.google.protobuf.Timestamp value) { + if (replyExpireTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + replyExpireTime_ = value; + } else { + replyExpireTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + */ + public Builder setReplyExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (replyExpireTimeBuilder_ == null) { + replyExpireTime_ = builderForValue.build(); + } else { + replyExpireTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + */ + public Builder mergeReplyExpireTime(com.google.protobuf.Timestamp value) { + if (replyExpireTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + replyExpireTime_ != null && + replyExpireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getReplyExpireTimeBuilder().mergeFrom(value); + } else { + replyExpireTime_ = value; + } + } else { + replyExpireTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + */ + public Builder clearReplyExpireTime() { + bitField0_ = (bitField0_ & ~0x00000008); + replyExpireTime_ = null; + if (replyExpireTimeBuilder_ != null) { + replyExpireTimeBuilder_.dispose(); + replyExpireTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + */ + public com.google.protobuf.Timestamp.Builder getReplyExpireTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getReplyExpireTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + */ + public com.google.protobuf.TimestampOrBuilder getReplyExpireTimeOrBuilder() { + if (replyExpireTimeBuilder_ != null) { + return replyExpireTimeBuilder_.getMessageOrBuilder(); + } else { + return replyExpireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : replyExpireTime_; + } + } + /** + * .google.protobuf.Timestamp replyExpireTime = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getReplyExpireTimeFieldBuilder() { + if (replyExpireTimeBuilder_ == null) { + replyExpireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getReplyExpireTime(), + getParentForChildren(), + isClean()); + replyExpireTime_ = null; + } + return replyExpireTimeBuilder_; + } + + private java.lang.Object uniqueKey_ = ""; + /** + * string uniqueKey = 5; + * @return The uniqueKey. + */ + public java.lang.String getUniqueKey() { + java.lang.Object ref = uniqueKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uniqueKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string uniqueKey = 5; + * @return The bytes for uniqueKey. + */ + public com.google.protobuf.ByteString + getUniqueKeyBytes() { + java.lang.Object ref = uniqueKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + uniqueKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string uniqueKey = 5; + * @param value The uniqueKey to set. + * @return This builder for chaining. + */ + public Builder setUniqueKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + uniqueKey_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string uniqueKey = 5; + * @return This builder for chaining. + */ + public Builder clearUniqueKey() { + uniqueKey_ = getDefaultInstance().getUniqueKey(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string uniqueKey = 5; + * @param value The bytes for uniqueKey to set. + * @return This builder for chaining. + */ + public Builder setUniqueKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + uniqueKey_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ReceiveInviteMyHomeNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ReceiveInviteMyHomeNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReceiveInviteMyHomeNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReplyInviteMyhomeNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ReplyInviteMyhomeNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 acceptOrRefuse = 1; + * @return The acceptOrRefuse. + */ + int getAcceptOrRefuse(); + + /** + * string receiverId = 2; + * @return The receiverId. + */ + java.lang.String getReceiverId(); + /** + * string receiverId = 2; + * @return The bytes for receiverId. + */ + com.google.protobuf.ByteString + getReceiverIdBytes(); + + /** + * string replyUserGuid = 3; + * @return The replyUserGuid. + */ + java.lang.String getReplyUserGuid(); + /** + * string replyUserGuid = 3; + * @return The bytes for replyUserGuid. + */ + com.google.protobuf.ByteString + getReplyUserGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.ReplyInviteMyhomeNoti} + */ + public static final class ReplyInviteMyhomeNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ReplyInviteMyhomeNoti) + ReplyInviteMyhomeNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReplyInviteMyhomeNoti.newBuilder() to construct. + private ReplyInviteMyhomeNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReplyInviteMyhomeNoti() { + receiverId_ = ""; + replyUserGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReplyInviteMyhomeNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyInviteMyhomeNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyInviteMyhomeNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.Builder.class); + } + + public static final int ACCEPTORREFUSE_FIELD_NUMBER = 1; + private int acceptOrRefuse_ = 0; + /** + * int32 acceptOrRefuse = 1; + * @return The acceptOrRefuse. + */ + @java.lang.Override + public int getAcceptOrRefuse() { + return acceptOrRefuse_; + } + + public static final int RECEIVERID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverId_ = ""; + /** + * string receiverId = 2; + * @return The receiverId. + */ + @java.lang.Override + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } + } + /** + * string receiverId = 2; + * @return The bytes for receiverId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REPLYUSERGUID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object replyUserGuid_ = ""; + /** + * string replyUserGuid = 3; + * @return The replyUserGuid. + */ + @java.lang.Override + public java.lang.String getReplyUserGuid() { + java.lang.Object ref = replyUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + replyUserGuid_ = s; + return s; + } + } + /** + * string replyUserGuid = 3; + * @return The bytes for replyUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReplyUserGuidBytes() { + java.lang.Object ref = replyUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + replyUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (acceptOrRefuse_ != 0) { + output.writeInt32(1, acceptOrRefuse_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, receiverId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(replyUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, replyUserGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (acceptOrRefuse_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, acceptOrRefuse_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, receiverId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(replyUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, replyUserGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti) obj; + + if (getAcceptOrRefuse() + != other.getAcceptOrRefuse()) return false; + if (!getReceiverId() + .equals(other.getReceiverId())) return false; + if (!getReplyUserGuid() + .equals(other.getReplyUserGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ACCEPTORREFUSE_FIELD_NUMBER; + hash = (53 * hash) + getAcceptOrRefuse(); + hash = (37 * hash) + RECEIVERID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverId().hashCode(); + hash = (37 * hash) + REPLYUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getReplyUserGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ReplyInviteMyhomeNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ReplyInviteMyhomeNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyInviteMyhomeNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyInviteMyhomeNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + acceptOrRefuse_ = 0; + receiverId_ = ""; + replyUserGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyInviteMyhomeNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.acceptOrRefuse_ = acceptOrRefuse_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.receiverId_ = receiverId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.replyUserGuid_ = replyUserGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.getDefaultInstance()) return this; + if (other.getAcceptOrRefuse() != 0) { + setAcceptOrRefuse(other.getAcceptOrRefuse()); + } + if (!other.getReceiverId().isEmpty()) { + receiverId_ = other.receiverId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getReplyUserGuid().isEmpty()) { + replyUserGuid_ = other.replyUserGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + acceptOrRefuse_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + receiverId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + replyUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int acceptOrRefuse_ ; + /** + * int32 acceptOrRefuse = 1; + * @return The acceptOrRefuse. + */ + @java.lang.Override + public int getAcceptOrRefuse() { + return acceptOrRefuse_; + } + /** + * int32 acceptOrRefuse = 1; + * @param value The acceptOrRefuse to set. + * @return This builder for chaining. + */ + public Builder setAcceptOrRefuse(int value) { + + acceptOrRefuse_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 acceptOrRefuse = 1; + * @return This builder for chaining. + */ + public Builder clearAcceptOrRefuse() { + bitField0_ = (bitField0_ & ~0x00000001); + acceptOrRefuse_ = 0; + onChanged(); + return this; + } + + private java.lang.Object receiverId_ = ""; + /** + * string receiverId = 2; + * @return The receiverId. + */ + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverId = 2; + * @return The bytes for receiverId. + */ + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverId = 2; + * @param value The receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string receiverId = 2; + * @return This builder for chaining. + */ + public Builder clearReceiverId() { + receiverId_ = getDefaultInstance().getReceiverId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string receiverId = 2; + * @param value The bytes for receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object replyUserGuid_ = ""; + /** + * string replyUserGuid = 3; + * @return The replyUserGuid. + */ + public java.lang.String getReplyUserGuid() { + java.lang.Object ref = replyUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + replyUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string replyUserGuid = 3; + * @return The bytes for replyUserGuid. + */ + public com.google.protobuf.ByteString + getReplyUserGuidBytes() { + java.lang.Object ref = replyUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + replyUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string replyUserGuid = 3; + * @param value The replyUserGuid to set. + * @return This builder for chaining. + */ + public Builder setReplyUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + replyUserGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string replyUserGuid = 3; + * @return This builder for chaining. + */ + public Builder clearReplyUserGuid() { + replyUserGuid_ = getDefaultInstance().getReplyUserGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string replyUserGuid = 3; + * @param value The bytes for replyUserGuid to set. + * @return This builder for chaining. + */ + public Builder setReplyUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + replyUserGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ReplyInviteMyhomeNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ReplyInviteMyhomeNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplyInviteMyhomeNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface KickFromFriendsHomeNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.KickFromFriendsHomeNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string kickerGuid = 1; + * @return The kickerGuid. + */ + java.lang.String getKickerGuid(); + /** + * string kickerGuid = 1; + * @return The bytes for kickerGuid. + */ + com.google.protobuf.ByteString + getKickerGuidBytes(); + + /** + * string kickerId = 2; + * @return The kickerId. + */ + java.lang.String getKickerId(); + /** + * string kickerId = 2; + * @return The bytes for kickerId. + */ + com.google.protobuf.ByteString + getKickerIdBytes(); + } + /** + * Protobuf type {@code ServerMessage.KickFromFriendsHomeNoti} + */ + public static final class KickFromFriendsHomeNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.KickFromFriendsHomeNoti) + KickFromFriendsHomeNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use KickFromFriendsHomeNoti.newBuilder() to construct. + private KickFromFriendsHomeNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private KickFromFriendsHomeNoti() { + kickerGuid_ = ""; + kickerId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new KickFromFriendsHomeNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickFromFriendsHomeNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickFromFriendsHomeNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti.Builder.class); + } + + public static final int KICKERGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object kickerGuid_ = ""; + /** + * string kickerGuid = 1; + * @return The kickerGuid. + */ + @java.lang.Override + public java.lang.String getKickerGuid() { + java.lang.Object ref = kickerGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kickerGuid_ = s; + return s; + } + } + /** + * string kickerGuid = 1; + * @return The bytes for kickerGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKickerGuidBytes() { + java.lang.Object ref = kickerGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kickerGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KICKERID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object kickerId_ = ""; + /** + * string kickerId = 2; + * @return The kickerId. + */ + @java.lang.Override + public java.lang.String getKickerId() { + java.lang.Object ref = kickerId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kickerId_ = s; + return s; + } + } + /** + * string kickerId = 2; + * @return The bytes for kickerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKickerIdBytes() { + java.lang.Object ref = kickerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kickerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kickerGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kickerGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kickerId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kickerId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kickerGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kickerGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kickerId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kickerId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti) obj; + + if (!getKickerGuid() + .equals(other.getKickerGuid())) return false; + if (!getKickerId() + .equals(other.getKickerId())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + KICKERGUID_FIELD_NUMBER; + hash = (53 * hash) + getKickerGuid().hashCode(); + hash = (37 * hash) + KICKERID_FIELD_NUMBER; + hash = (53 * hash) + getKickerId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.KickFromFriendsHomeNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.KickFromFriendsHomeNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickFromFriendsHomeNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickFromFriendsHomeNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + kickerGuid_ = ""; + kickerId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickFromFriendsHomeNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.kickerGuid_ = kickerGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.kickerId_ = kickerId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti.getDefaultInstance()) return this; + if (!other.getKickerGuid().isEmpty()) { + kickerGuid_ = other.kickerGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getKickerId().isEmpty()) { + kickerId_ = other.kickerId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + kickerGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + kickerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object kickerGuid_ = ""; + /** + * string kickerGuid = 1; + * @return The kickerGuid. + */ + public java.lang.String getKickerGuid() { + java.lang.Object ref = kickerGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kickerGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string kickerGuid = 1; + * @return The bytes for kickerGuid. + */ + public com.google.protobuf.ByteString + getKickerGuidBytes() { + java.lang.Object ref = kickerGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kickerGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string kickerGuid = 1; + * @param value The kickerGuid to set. + * @return This builder for chaining. + */ + public Builder setKickerGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + kickerGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string kickerGuid = 1; + * @return This builder for chaining. + */ + public Builder clearKickerGuid() { + kickerGuid_ = getDefaultInstance().getKickerGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string kickerGuid = 1; + * @param value The bytes for kickerGuid to set. + * @return This builder for chaining. + */ + public Builder setKickerGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + kickerGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object kickerId_ = ""; + /** + * string kickerId = 2; + * @return The kickerId. + */ + public java.lang.String getKickerId() { + java.lang.Object ref = kickerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kickerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string kickerId = 2; + * @return The bytes for kickerId. + */ + public com.google.protobuf.ByteString + getKickerIdBytes() { + java.lang.Object ref = kickerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kickerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string kickerId = 2; + * @param value The kickerId to set. + * @return This builder for chaining. + */ + public Builder setKickerId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + kickerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string kickerId = 2; + * @return This builder for chaining. + */ + public Builder clearKickerId() { + kickerId_ = getDefaultInstance().getKickerId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string kickerId = 2; + * @param value The bytes for kickerId to set. + * @return This builder for chaining. + */ + public Builder setKickerIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + kickerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.KickFromFriendsHomeNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.KickFromFriendsHomeNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KickFromFriendsHomeNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickFromFriendsHomeNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FriendRequestInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.FriendRequestInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string guid = 1; + * @return The guid. + */ + java.lang.String getGuid(); + /** + * string guid = 1; + * @return The bytes for guid. + */ + com.google.protobuf.ByteString + getGuidBytes(); + + /** + * string nickName = 2; + * @return The nickName. + */ + java.lang.String getNickName(); + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + com.google.protobuf.ByteString + getNickNameBytes(); + + /** + * int32 isNew = 3; + * @return The isNew. + */ + int getIsNew(); + + /** + * .google.protobuf.Timestamp requestTime = 4; + * @return Whether the requestTime field is set. + */ + boolean hasRequestTime(); + /** + * .google.protobuf.Timestamp requestTime = 4; + * @return The requestTime. + */ + com.google.protobuf.Timestamp getRequestTime(); + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); + } + /** + * Protobuf type {@code ServerMessage.FriendRequestInfo} + */ + public static final class FriendRequestInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.FriendRequestInfo) + FriendRequestInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use FriendRequestInfo.newBuilder() to construct. + private FriendRequestInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FriendRequestInfo() { + guid_ = ""; + nickName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FriendRequestInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendRequestInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendRequestInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.Builder.class); + } + + public static final int GUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object guid_ = ""; + /** + * string guid = 1; + * @return The guid. + */ + @java.lang.Override + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } + } + /** + * string guid = 1; + * @return The bytes for guid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NICKNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object nickName_ = ""; + /** + * string nickName = 2; + * @return The nickName. + */ + @java.lang.Override + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickName_ = s; + return s; + } + } + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ISNEW_FIELD_NUMBER = 3; + private int isNew_ = 0; + /** + * int32 isNew = 3; + * @return The isNew. + */ + @java.lang.Override + public int getIsNew() { + return isNew_; + } + + public static final int REQUESTTIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp requestTime_; + /** + * .google.protobuf.Timestamp requestTime = 4; + * @return Whether the requestTime field is set. + */ + @java.lang.Override + public boolean hasRequestTime() { + return requestTime_ != null; + } + /** + * .google.protobuf.Timestamp requestTime = 4; + * @return The requestTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getRequestTime() { + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, guid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nickName_); + } + if (isNew_ != 0) { + output.writeInt32(3, isNew_); + } + if (requestTime_ != null) { + output.writeMessage(4, getRequestTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, guid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nickName_); + } + if (isNew_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, isNew_); + } + if (requestTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRequestTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo) obj; + + if (!getGuid() + .equals(other.getGuid())) return false; + if (!getNickName() + .equals(other.getNickName())) return false; + if (getIsNew() + != other.getIsNew()) return false; + if (hasRequestTime() != other.hasRequestTime()) return false; + if (hasRequestTime()) { + if (!getRequestTime() + .equals(other.getRequestTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + GUID_FIELD_NUMBER; + hash = (53 * hash) + getGuid().hashCode(); + hash = (37 * hash) + NICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getNickName().hashCode(); + hash = (37 * hash) + ISNEW_FIELD_NUMBER; + hash = (53 * hash) + getIsNew(); + if (hasRequestTime()) { + hash = (37 * hash) + REQUESTTIME_FIELD_NUMBER; + hash = (53 * hash) + getRequestTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.FriendRequestInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.FriendRequestInfo) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendRequestInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendRequestInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + guid_ = ""; + nickName_ = ""; + isNew_ = 0; + requestTime_ = null; + if (requestTimeBuilder_ != null) { + requestTimeBuilder_.dispose(); + requestTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendRequestInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.guid_ = guid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nickName_ = nickName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.isNew_ = isNew_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.getDefaultInstance()) return this; + if (!other.getGuid().isEmpty()) { + guid_ = other.guid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getNickName().isEmpty()) { + nickName_ = other.nickName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getIsNew() != 0) { + setIsNew(other.getIsNew()); + } + if (other.hasRequestTime()) { + mergeRequestTime(other.getRequestTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + guid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + nickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + isNew_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object guid_ = ""; + /** + * string guid = 1; + * @return The guid. + */ + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string guid = 1; + * @return The bytes for guid. + */ + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string guid = 1; + * @param value The guid to set. + * @return This builder for chaining. + */ + public Builder setGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + guid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string guid = 1; + * @return This builder for chaining. + */ + public Builder clearGuid() { + guid_ = getDefaultInstance().getGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string guid = 1; + * @param value The bytes for guid to set. + * @return This builder for chaining. + */ + public Builder setGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + guid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object nickName_ = ""; + /** + * string nickName = 2; + * @return The nickName. + */ + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string nickName = 2; + * @param value The nickName to set. + * @return This builder for chaining. + */ + public Builder setNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string nickName = 2; + * @return This builder for chaining. + */ + public Builder clearNickName() { + nickName_ = getDefaultInstance().getNickName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string nickName = 2; + * @param value The bytes for nickName to set. + * @return This builder for chaining. + */ + public Builder setNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int isNew_ ; + /** + * int32 isNew = 3; + * @return The isNew. + */ + @java.lang.Override + public int getIsNew() { + return isNew_; + } + /** + * int32 isNew = 3; + * @param value The isNew to set. + * @return This builder for chaining. + */ + public Builder setIsNew(int value) { + + isNew_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 isNew = 3; + * @return This builder for chaining. + */ + public Builder clearIsNew() { + bitField0_ = (bitField0_ & ~0x00000004); + isNew_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp requestTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; + /** + * .google.protobuf.Timestamp requestTime = 4; + * @return Whether the requestTime field is set. + */ + public boolean hasRequestTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .google.protobuf.Timestamp requestTime = 4; + * @return The requestTime. + */ + public com.google.protobuf.Timestamp getRequestTime() { + if (requestTimeBuilder_ == null) { + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + } else { + return requestTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + public Builder setRequestTime(com.google.protobuf.Timestamp value) { + if (requestTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + requestTime_ = value; + } else { + requestTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (requestTimeBuilder_ == null) { + requestTime_ = builderForValue.build(); + } else { + requestTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { + if (requestTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getRequestTimeBuilder().mergeFrom(value); + } else { + requestTime_ = value; + } + } else { + requestTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + public Builder clearRequestTime() { + bitField0_ = (bitField0_ & ~0x00000008); + requestTime_ = null; + if (requestTimeBuilder_ != null) { + requestTimeBuilder_.dispose(); + requestTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getRequestTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { + if (requestTimeBuilder_ != null) { + return requestTimeBuilder_.getMessageOrBuilder(); + } else { + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + } + } + /** + * .google.protobuf.Timestamp requestTime = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getRequestTimeFieldBuilder() { + if (requestTimeBuilder_ == null) { + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); + requestTime_ = null; + } + return requestTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.FriendRequestInfo) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.FriendRequestInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FriendRequestInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FriendRequestNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.FriendRequestNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + * @return Whether the requestInfo field is set. + */ + boolean hasRequestInfo(); + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + * @return The requestInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo getRequestInfo(); + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfoOrBuilder getRequestInfoOrBuilder(); + + /** + * string receiverId = 2; + * @return The receiverId. + */ + java.lang.String getReceiverId(); + /** + * string receiverId = 2; + * @return The bytes for receiverId. + */ + com.google.protobuf.ByteString + getReceiverIdBytes(); + } + /** + * Protobuf type {@code ServerMessage.FriendRequestNoti} + */ + public static final class FriendRequestNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.FriendRequestNoti) + FriendRequestNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use FriendRequestNoti.newBuilder() to construct. + private FriendRequestNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FriendRequestNoti() { + receiverId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FriendRequestNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendRequestNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendRequestNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.Builder.class); + } + + public static final int REQUESTINFO_FIELD_NUMBER = 1; + private com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo requestInfo_; + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + * @return Whether the requestInfo field is set. + */ + @java.lang.Override + public boolean hasRequestInfo() { + return requestInfo_ != null; + } + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + * @return The requestInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo getRequestInfo() { + return requestInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.getDefaultInstance() : requestInfo_; + } + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfoOrBuilder getRequestInfoOrBuilder() { + return requestInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.getDefaultInstance() : requestInfo_; + } + + public static final int RECEIVERID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverId_ = ""; + /** + * string receiverId = 2; + * @return The receiverId. + */ + @java.lang.Override + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } + } + /** + * string receiverId = 2; + * @return The bytes for receiverId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (requestInfo_ != null) { + output.writeMessage(1, getRequestInfo()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, receiverId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (requestInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRequestInfo()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, receiverId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti) obj; + + if (hasRequestInfo() != other.hasRequestInfo()) return false; + if (hasRequestInfo()) { + if (!getRequestInfo() + .equals(other.getRequestInfo())) return false; + } + if (!getReceiverId() + .equals(other.getReceiverId())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRequestInfo()) { + hash = (37 * hash) + REQUESTINFO_FIELD_NUMBER; + hash = (53 * hash) + getRequestInfo().hashCode(); + } + hash = (37 * hash) + RECEIVERID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.FriendRequestNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.FriendRequestNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendRequestNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendRequestNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + requestInfo_ = null; + if (requestInfoBuilder_ != null) { + requestInfoBuilder_.dispose(); + requestInfoBuilder_ = null; + } + receiverId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendRequestNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.requestInfo_ = requestInfoBuilder_ == null + ? requestInfo_ + : requestInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.receiverId_ = receiverId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.getDefaultInstance()) return this; + if (other.hasRequestInfo()) { + mergeRequestInfo(other.getRequestInfo()); + } + if (!other.getReceiverId().isEmpty()) { + receiverId_ = other.receiverId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getRequestInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + receiverId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo requestInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfoOrBuilder> requestInfoBuilder_; + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + * @return Whether the requestInfo field is set. + */ + public boolean hasRequestInfo() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + * @return The requestInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo getRequestInfo() { + if (requestInfoBuilder_ == null) { + return requestInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.getDefaultInstance() : requestInfo_; + } else { + return requestInfoBuilder_.getMessage(); + } + } + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + */ + public Builder setRequestInfo(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo value) { + if (requestInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + requestInfo_ = value; + } else { + requestInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + */ + public Builder setRequestInfo( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.Builder builderForValue) { + if (requestInfoBuilder_ == null) { + requestInfo_ = builderForValue.build(); + } else { + requestInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + */ + public Builder mergeRequestInfo(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo value) { + if (requestInfoBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + requestInfo_ != null && + requestInfo_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.getDefaultInstance()) { + getRequestInfoBuilder().mergeFrom(value); + } else { + requestInfo_ = value; + } + } else { + requestInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + */ + public Builder clearRequestInfo() { + bitField0_ = (bitField0_ & ~0x00000001); + requestInfo_ = null; + if (requestInfoBuilder_ != null) { + requestInfoBuilder_.dispose(); + requestInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.Builder getRequestInfoBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getRequestInfoFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfoOrBuilder getRequestInfoOrBuilder() { + if (requestInfoBuilder_ != null) { + return requestInfoBuilder_.getMessageOrBuilder(); + } else { + return requestInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.getDefaultInstance() : requestInfo_; + } + } + /** + * .ServerMessage.FriendRequestInfo requestInfo = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfoOrBuilder> + getRequestInfoFieldBuilder() { + if (requestInfoBuilder_ == null) { + requestInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestInfoOrBuilder>( + getRequestInfo(), + getParentForChildren(), + isClean()); + requestInfo_ = null; + } + return requestInfoBuilder_; + } + + private java.lang.Object receiverId_ = ""; + /** + * string receiverId = 2; + * @return The receiverId. + */ + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverId = 2; + * @return The bytes for receiverId. + */ + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverId = 2; + * @param value The receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string receiverId = 2; + * @return This builder for chaining. + */ + public Builder clearReceiverId() { + receiverId_ = getDefaultInstance().getReceiverId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string receiverId = 2; + * @param value The bytes for receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.FriendRequestNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.FriendRequestNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FriendRequestNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FriendAcceptNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.FriendAcceptNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string senderId = 1; + * @return The senderId. + */ + java.lang.String getSenderId(); + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + com.google.protobuf.ByteString + getSenderIdBytes(); + + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + java.lang.String getSenderGuid(); + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + com.google.protobuf.ByteString + getSenderGuidBytes(); + + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + java.lang.String getSenderNickName(); + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + com.google.protobuf.ByteString + getSenderNickNameBytes(); + + /** + * int32 acceptOrRefuse = 4; + * @return The acceptOrRefuse. + */ + int getAcceptOrRefuse(); + + /** + * string receiverId = 5; + * @return The receiverId. + */ + java.lang.String getReceiverId(); + /** + * string receiverId = 5; + * @return The bytes for receiverId. + */ + com.google.protobuf.ByteString + getReceiverIdBytes(); + + /** + * string receiverGuid = 6; + * @return The receiverGuid. + */ + java.lang.String getReceiverGuid(); + /** + * string receiverGuid = 6; + * @return The bytes for receiverGuid. + */ + com.google.protobuf.ByteString + getReceiverGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.FriendAcceptNoti} + */ + public static final class FriendAcceptNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.FriendAcceptNoti) + FriendAcceptNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use FriendAcceptNoti.newBuilder() to construct. + private FriendAcceptNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FriendAcceptNoti() { + senderId_ = ""; + senderGuid_ = ""; + senderNickName_ = ""; + receiverId_ = ""; + receiverGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FriendAcceptNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendAcceptNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendAcceptNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.Builder.class); + } + + public static final int SENDERID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object senderId_ = ""; + /** + * string senderId = 1; + * @return The senderId. + */ + @java.lang.Override + public java.lang.String getSenderId() { + java.lang.Object ref = senderId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderId_ = s; + return s; + } + } + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderIdBytes() { + java.lang.Object ref = senderId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SENDERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object senderGuid_ = ""; + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + @java.lang.Override + public java.lang.String getSenderGuid() { + java.lang.Object ref = senderGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderGuid_ = s; + return s; + } + } + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderGuidBytes() { + java.lang.Object ref = senderGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SENDERNICKNAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object senderNickName_ = ""; + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + @java.lang.Override + public java.lang.String getSenderNickName() { + java.lang.Object ref = senderNickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderNickName_ = s; + return s; + } + } + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderNickNameBytes() { + java.lang.Object ref = senderNickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ACCEPTORREFUSE_FIELD_NUMBER = 4; + private int acceptOrRefuse_ = 0; + /** + * int32 acceptOrRefuse = 4; + * @return The acceptOrRefuse. + */ + @java.lang.Override + public int getAcceptOrRefuse() { + return acceptOrRefuse_; + } + + public static final int RECEIVERID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverId_ = ""; + /** + * string receiverId = 5; + * @return The receiverId. + */ + @java.lang.Override + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } + } + /** + * string receiverId = 5; + * @return The bytes for receiverId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERGUID_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverGuid_ = ""; + /** + * string receiverGuid = 6; + * @return The receiverGuid. + */ + @java.lang.Override + public java.lang.String getReceiverGuid() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverGuid_ = s; + return s; + } + } + /** + * string receiverGuid = 6; + * @return The bytes for receiverGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverGuidBytes() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, senderId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, senderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderNickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, senderNickName_); + } + if (acceptOrRefuse_ != 0) { + output.writeInt32(4, acceptOrRefuse_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, receiverId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, receiverGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, senderId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, senderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderNickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, senderNickName_); + } + if (acceptOrRefuse_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, acceptOrRefuse_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, receiverId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, receiverGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti) obj; + + if (!getSenderId() + .equals(other.getSenderId())) return false; + if (!getSenderGuid() + .equals(other.getSenderGuid())) return false; + if (!getSenderNickName() + .equals(other.getSenderNickName())) return false; + if (getAcceptOrRefuse() + != other.getAcceptOrRefuse()) return false; + if (!getReceiverId() + .equals(other.getReceiverId())) return false; + if (!getReceiverGuid() + .equals(other.getReceiverGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SENDERID_FIELD_NUMBER; + hash = (53 * hash) + getSenderId().hashCode(); + hash = (37 * hash) + SENDERGUID_FIELD_NUMBER; + hash = (53 * hash) + getSenderGuid().hashCode(); + hash = (37 * hash) + SENDERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getSenderNickName().hashCode(); + hash = (37 * hash) + ACCEPTORREFUSE_FIELD_NUMBER; + hash = (53 * hash) + getAcceptOrRefuse(); + hash = (37 * hash) + RECEIVERID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverId().hashCode(); + hash = (37 * hash) + RECEIVERGUID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.FriendAcceptNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.FriendAcceptNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendAcceptNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendAcceptNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + senderId_ = ""; + senderGuid_ = ""; + senderNickName_ = ""; + acceptOrRefuse_ = 0; + receiverId_ = ""; + receiverGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendAcceptNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.senderId_ = senderId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.senderGuid_ = senderGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.senderNickName_ = senderNickName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.acceptOrRefuse_ = acceptOrRefuse_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.receiverId_ = receiverId_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.receiverGuid_ = receiverGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.getDefaultInstance()) return this; + if (!other.getSenderId().isEmpty()) { + senderId_ = other.senderId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSenderGuid().isEmpty()) { + senderGuid_ = other.senderGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSenderNickName().isEmpty()) { + senderNickName_ = other.senderNickName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getAcceptOrRefuse() != 0) { + setAcceptOrRefuse(other.getAcceptOrRefuse()); + } + if (!other.getReceiverId().isEmpty()) { + receiverId_ = other.receiverId_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getReceiverGuid().isEmpty()) { + receiverGuid_ = other.receiverGuid_; + bitField0_ |= 0x00000020; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + senderId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + senderGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + senderNickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + acceptOrRefuse_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + receiverId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + receiverGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object senderId_ = ""; + /** + * string senderId = 1; + * @return The senderId. + */ + public java.lang.String getSenderId() { + java.lang.Object ref = senderId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + public com.google.protobuf.ByteString + getSenderIdBytes() { + java.lang.Object ref = senderId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderId = 1; + * @param value The senderId to set. + * @return This builder for chaining. + */ + public Builder setSenderId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string senderId = 1; + * @return This builder for chaining. + */ + public Builder clearSenderId() { + senderId_ = getDefaultInstance().getSenderId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string senderId = 1; + * @param value The bytes for senderId to set. + * @return This builder for chaining. + */ + public Builder setSenderIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object senderGuid_ = ""; + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + public java.lang.String getSenderGuid() { + java.lang.Object ref = senderGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + public com.google.protobuf.ByteString + getSenderGuidBytes() { + java.lang.Object ref = senderGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderGuid = 2; + * @param value The senderGuid to set. + * @return This builder for chaining. + */ + public Builder setSenderGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string senderGuid = 2; + * @return This builder for chaining. + */ + public Builder clearSenderGuid() { + senderGuid_ = getDefaultInstance().getSenderGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string senderGuid = 2; + * @param value The bytes for senderGuid to set. + * @return This builder for chaining. + */ + public Builder setSenderGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object senderNickName_ = ""; + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + public java.lang.String getSenderNickName() { + java.lang.Object ref = senderNickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderNickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + public com.google.protobuf.ByteString + getSenderNickNameBytes() { + java.lang.Object ref = senderNickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderNickName = 3; + * @param value The senderNickName to set. + * @return This builder for chaining. + */ + public Builder setSenderNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderNickName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string senderNickName = 3; + * @return This builder for chaining. + */ + public Builder clearSenderNickName() { + senderNickName_ = getDefaultInstance().getSenderNickName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string senderNickName = 3; + * @param value The bytes for senderNickName to set. + * @return This builder for chaining. + */ + public Builder setSenderNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderNickName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int acceptOrRefuse_ ; + /** + * int32 acceptOrRefuse = 4; + * @return The acceptOrRefuse. + */ + @java.lang.Override + public int getAcceptOrRefuse() { + return acceptOrRefuse_; + } + /** + * int32 acceptOrRefuse = 4; + * @param value The acceptOrRefuse to set. + * @return This builder for chaining. + */ + public Builder setAcceptOrRefuse(int value) { + + acceptOrRefuse_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 acceptOrRefuse = 4; + * @return This builder for chaining. + */ + public Builder clearAcceptOrRefuse() { + bitField0_ = (bitField0_ & ~0x00000008); + acceptOrRefuse_ = 0; + onChanged(); + return this; + } + + private java.lang.Object receiverId_ = ""; + /** + * string receiverId = 5; + * @return The receiverId. + */ + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverId = 5; + * @return The bytes for receiverId. + */ + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverId = 5; + * @param value The receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverId_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string receiverId = 5; + * @return This builder for chaining. + */ + public Builder clearReceiverId() { + receiverId_ = getDefaultInstance().getReceiverId(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string receiverId = 5; + * @param value The bytes for receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverId_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object receiverGuid_ = ""; + /** + * string receiverGuid = 6; + * @return The receiverGuid. + */ + public java.lang.String getReceiverGuid() { + java.lang.Object ref = receiverGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverGuid = 6; + * @return The bytes for receiverGuid. + */ + public com.google.protobuf.ByteString + getReceiverGuidBytes() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverGuid = 6; + * @param value The receiverGuid to set. + * @return This builder for chaining. + */ + public Builder setReceiverGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverGuid_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string receiverGuid = 6; + * @return This builder for chaining. + */ + public Builder clearReceiverGuid() { + receiverGuid_ = getDefaultInstance().getReceiverGuid(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string receiverGuid = 6; + * @param value The bytes for receiverGuid to set. + * @return This builder for chaining. + */ + public Builder setReceiverGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverGuid_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.FriendAcceptNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.FriendAcceptNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FriendAcceptNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FriendDeleteNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.FriendDeleteNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string senderId = 1; + * @return The senderId. + */ + java.lang.String getSenderId(); + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + com.google.protobuf.ByteString + getSenderIdBytes(); + + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + java.lang.String getSenderGuid(); + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + com.google.protobuf.ByteString + getSenderGuidBytes(); + + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + java.lang.String getSenderNickName(); + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + com.google.protobuf.ByteString + getSenderNickNameBytes(); + + /** + * string receiverId = 4; + * @return The receiverId. + */ + java.lang.String getReceiverId(); + /** + * string receiverId = 4; + * @return The bytes for receiverId. + */ + com.google.protobuf.ByteString + getReceiverIdBytes(); + + /** + * string receiverGuid = 5; + * @return The receiverGuid. + */ + java.lang.String getReceiverGuid(); + /** + * string receiverGuid = 5; + * @return The bytes for receiverGuid. + */ + com.google.protobuf.ByteString + getReceiverGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.FriendDeleteNoti} + */ + public static final class FriendDeleteNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.FriendDeleteNoti) + FriendDeleteNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use FriendDeleteNoti.newBuilder() to construct. + private FriendDeleteNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FriendDeleteNoti() { + senderId_ = ""; + senderGuid_ = ""; + senderNickName_ = ""; + receiverId_ = ""; + receiverGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FriendDeleteNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendDeleteNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendDeleteNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.Builder.class); + } + + public static final int SENDERID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object senderId_ = ""; + /** + * string senderId = 1; + * @return The senderId. + */ + @java.lang.Override + public java.lang.String getSenderId() { + java.lang.Object ref = senderId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderId_ = s; + return s; + } + } + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderIdBytes() { + java.lang.Object ref = senderId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SENDERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object senderGuid_ = ""; + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + @java.lang.Override + public java.lang.String getSenderGuid() { + java.lang.Object ref = senderGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderGuid_ = s; + return s; + } + } + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderGuidBytes() { + java.lang.Object ref = senderGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SENDERNICKNAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object senderNickName_ = ""; + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + @java.lang.Override + public java.lang.String getSenderNickName() { + java.lang.Object ref = senderNickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderNickName_ = s; + return s; + } + } + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderNickNameBytes() { + java.lang.Object ref = senderNickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverId_ = ""; + /** + * string receiverId = 4; + * @return The receiverId. + */ + @java.lang.Override + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } + } + /** + * string receiverId = 4; + * @return The bytes for receiverId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERGUID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverGuid_ = ""; + /** + * string receiverGuid = 5; + * @return The receiverGuid. + */ + @java.lang.Override + public java.lang.String getReceiverGuid() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverGuid_ = s; + return s; + } + } + /** + * string receiverGuid = 5; + * @return The bytes for receiverGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverGuidBytes() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, senderId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, senderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderNickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, senderNickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, receiverId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, receiverGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, senderId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, senderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderNickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, senderNickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, receiverId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, receiverGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti) obj; + + if (!getSenderId() + .equals(other.getSenderId())) return false; + if (!getSenderGuid() + .equals(other.getSenderGuid())) return false; + if (!getSenderNickName() + .equals(other.getSenderNickName())) return false; + if (!getReceiverId() + .equals(other.getReceiverId())) return false; + if (!getReceiverGuid() + .equals(other.getReceiverGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SENDERID_FIELD_NUMBER; + hash = (53 * hash) + getSenderId().hashCode(); + hash = (37 * hash) + SENDERGUID_FIELD_NUMBER; + hash = (53 * hash) + getSenderGuid().hashCode(); + hash = (37 * hash) + SENDERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getSenderNickName().hashCode(); + hash = (37 * hash) + RECEIVERID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverId().hashCode(); + hash = (37 * hash) + RECEIVERGUID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.FriendDeleteNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.FriendDeleteNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendDeleteNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendDeleteNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + senderId_ = ""; + senderGuid_ = ""; + senderNickName_ = ""; + receiverId_ = ""; + receiverGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_FriendDeleteNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.senderId_ = senderId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.senderGuid_ = senderGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.senderNickName_ = senderNickName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.receiverId_ = receiverId_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.receiverGuid_ = receiverGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.getDefaultInstance()) return this; + if (!other.getSenderId().isEmpty()) { + senderId_ = other.senderId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSenderGuid().isEmpty()) { + senderGuid_ = other.senderGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSenderNickName().isEmpty()) { + senderNickName_ = other.senderNickName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getReceiverId().isEmpty()) { + receiverId_ = other.receiverId_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getReceiverGuid().isEmpty()) { + receiverGuid_ = other.receiverGuid_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + senderId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + senderGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + senderNickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + receiverId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + receiverGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object senderId_ = ""; + /** + * string senderId = 1; + * @return The senderId. + */ + public java.lang.String getSenderId() { + java.lang.Object ref = senderId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + public com.google.protobuf.ByteString + getSenderIdBytes() { + java.lang.Object ref = senderId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderId = 1; + * @param value The senderId to set. + * @return This builder for chaining. + */ + public Builder setSenderId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string senderId = 1; + * @return This builder for chaining. + */ + public Builder clearSenderId() { + senderId_ = getDefaultInstance().getSenderId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string senderId = 1; + * @param value The bytes for senderId to set. + * @return This builder for chaining. + */ + public Builder setSenderIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object senderGuid_ = ""; + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + public java.lang.String getSenderGuid() { + java.lang.Object ref = senderGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + public com.google.protobuf.ByteString + getSenderGuidBytes() { + java.lang.Object ref = senderGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderGuid = 2; + * @param value The senderGuid to set. + * @return This builder for chaining. + */ + public Builder setSenderGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string senderGuid = 2; + * @return This builder for chaining. + */ + public Builder clearSenderGuid() { + senderGuid_ = getDefaultInstance().getSenderGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string senderGuid = 2; + * @param value The bytes for senderGuid to set. + * @return This builder for chaining. + */ + public Builder setSenderGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object senderNickName_ = ""; + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + public java.lang.String getSenderNickName() { + java.lang.Object ref = senderNickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderNickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + public com.google.protobuf.ByteString + getSenderNickNameBytes() { + java.lang.Object ref = senderNickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderNickName = 3; + * @param value The senderNickName to set. + * @return This builder for chaining. + */ + public Builder setSenderNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderNickName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string senderNickName = 3; + * @return This builder for chaining. + */ + public Builder clearSenderNickName() { + senderNickName_ = getDefaultInstance().getSenderNickName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string senderNickName = 3; + * @param value The bytes for senderNickName to set. + * @return This builder for chaining. + */ + public Builder setSenderNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderNickName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object receiverId_ = ""; + /** + * string receiverId = 4; + * @return The receiverId. + */ + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverId = 4; + * @return The bytes for receiverId. + */ + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverId = 4; + * @param value The receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string receiverId = 4; + * @return This builder for chaining. + */ + public Builder clearReceiverId() { + receiverId_ = getDefaultInstance().getReceiverId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string receiverId = 4; + * @param value The bytes for receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object receiverGuid_ = ""; + /** + * string receiverGuid = 5; + * @return The receiverGuid. + */ + public java.lang.String getReceiverGuid() { + java.lang.Object ref = receiverGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverGuid = 5; + * @return The bytes for receiverGuid. + */ + public com.google.protobuf.ByteString + getReceiverGuidBytes() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverGuid = 5; + * @param value The receiverGuid to set. + * @return This builder for chaining. + */ + public Builder setReceiverGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string receiverGuid = 5; + * @return This builder for chaining. + */ + public Builder clearReceiverGuid() { + receiverGuid_ = getDefaultInstance().getReceiverGuid(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string receiverGuid = 5; + * @param value The bytes for receiverGuid to set. + * @return This builder for chaining. + */ + public Builder setReceiverGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.FriendDeleteNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.FriendDeleteNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FriendDeleteNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CancelFriendRequestNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.CancelFriendRequestNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string senderId = 1; + * @return The senderId. + */ + java.lang.String getSenderId(); + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + com.google.protobuf.ByteString + getSenderIdBytes(); + + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + java.lang.String getSenderGuid(); + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + com.google.protobuf.ByteString + getSenderGuidBytes(); + + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + java.lang.String getSenderNickName(); + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + com.google.protobuf.ByteString + getSenderNickNameBytes(); + + /** + * string receiverId = 4; + * @return The receiverId. + */ + java.lang.String getReceiverId(); + /** + * string receiverId = 4; + * @return The bytes for receiverId. + */ + com.google.protobuf.ByteString + getReceiverIdBytes(); + + /** + * string receiverGuid = 5; + * @return The receiverGuid. + */ + java.lang.String getReceiverGuid(); + /** + * string receiverGuid = 5; + * @return The bytes for receiverGuid. + */ + com.google.protobuf.ByteString + getReceiverGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.CancelFriendRequestNoti} + */ + public static final class CancelFriendRequestNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.CancelFriendRequestNoti) + CancelFriendRequestNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use CancelFriendRequestNoti.newBuilder() to construct. + private CancelFriendRequestNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CancelFriendRequestNoti() { + senderId_ = ""; + senderGuid_ = ""; + senderNickName_ = ""; + receiverId_ = ""; + receiverGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CancelFriendRequestNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CancelFriendRequestNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CancelFriendRequestNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.Builder.class); + } + + public static final int SENDERID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object senderId_ = ""; + /** + * string senderId = 1; + * @return The senderId. + */ + @java.lang.Override + public java.lang.String getSenderId() { + java.lang.Object ref = senderId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderId_ = s; + return s; + } + } + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderIdBytes() { + java.lang.Object ref = senderId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SENDERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object senderGuid_ = ""; + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + @java.lang.Override + public java.lang.String getSenderGuid() { + java.lang.Object ref = senderGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderGuid_ = s; + return s; + } + } + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderGuidBytes() { + java.lang.Object ref = senderGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SENDERNICKNAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object senderNickName_ = ""; + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + @java.lang.Override + public java.lang.String getSenderNickName() { + java.lang.Object ref = senderNickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderNickName_ = s; + return s; + } + } + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSenderNickNameBytes() { + java.lang.Object ref = senderNickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverId_ = ""; + /** + * string receiverId = 4; + * @return The receiverId. + */ + @java.lang.Override + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } + } + /** + * string receiverId = 4; + * @return The bytes for receiverId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERGUID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverGuid_ = ""; + /** + * string receiverGuid = 5; + * @return The receiverGuid. + */ + @java.lang.Override + public java.lang.String getReceiverGuid() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverGuid_ = s; + return s; + } + } + /** + * string receiverGuid = 5; + * @return The bytes for receiverGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverGuidBytes() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, senderId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, senderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderNickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, senderNickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, receiverId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, receiverGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, senderId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, senderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderNickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, senderNickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, receiverId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, receiverGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti) obj; + + if (!getSenderId() + .equals(other.getSenderId())) return false; + if (!getSenderGuid() + .equals(other.getSenderGuid())) return false; + if (!getSenderNickName() + .equals(other.getSenderNickName())) return false; + if (!getReceiverId() + .equals(other.getReceiverId())) return false; + if (!getReceiverGuid() + .equals(other.getReceiverGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SENDERID_FIELD_NUMBER; + hash = (53 * hash) + getSenderId().hashCode(); + hash = (37 * hash) + SENDERGUID_FIELD_NUMBER; + hash = (53 * hash) + getSenderGuid().hashCode(); + hash = (37 * hash) + SENDERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getSenderNickName().hashCode(); + hash = (37 * hash) + RECEIVERID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverId().hashCode(); + hash = (37 * hash) + RECEIVERGUID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.CancelFriendRequestNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.CancelFriendRequestNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CancelFriendRequestNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CancelFriendRequestNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + senderId_ = ""; + senderGuid_ = ""; + senderNickName_ = ""; + receiverId_ = ""; + receiverGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CancelFriendRequestNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.senderId_ = senderId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.senderGuid_ = senderGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.senderNickName_ = senderNickName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.receiverId_ = receiverId_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.receiverGuid_ = receiverGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.getDefaultInstance()) return this; + if (!other.getSenderId().isEmpty()) { + senderId_ = other.senderId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSenderGuid().isEmpty()) { + senderGuid_ = other.senderGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSenderNickName().isEmpty()) { + senderNickName_ = other.senderNickName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getReceiverId().isEmpty()) { + receiverId_ = other.receiverId_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getReceiverGuid().isEmpty()) { + receiverGuid_ = other.receiverGuid_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + senderId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + senderGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + senderNickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + receiverId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + receiverGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object senderId_ = ""; + /** + * string senderId = 1; + * @return The senderId. + */ + public java.lang.String getSenderId() { + java.lang.Object ref = senderId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderId = 1; + * @return The bytes for senderId. + */ + public com.google.protobuf.ByteString + getSenderIdBytes() { + java.lang.Object ref = senderId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderId = 1; + * @param value The senderId to set. + * @return This builder for chaining. + */ + public Builder setSenderId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string senderId = 1; + * @return This builder for chaining. + */ + public Builder clearSenderId() { + senderId_ = getDefaultInstance().getSenderId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string senderId = 1; + * @param value The bytes for senderId to set. + * @return This builder for chaining. + */ + public Builder setSenderIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object senderGuid_ = ""; + /** + * string senderGuid = 2; + * @return The senderGuid. + */ + public java.lang.String getSenderGuid() { + java.lang.Object ref = senderGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderGuid = 2; + * @return The bytes for senderGuid. + */ + public com.google.protobuf.ByteString + getSenderGuidBytes() { + java.lang.Object ref = senderGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderGuid = 2; + * @param value The senderGuid to set. + * @return This builder for chaining. + */ + public Builder setSenderGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string senderGuid = 2; + * @return This builder for chaining. + */ + public Builder clearSenderGuid() { + senderGuid_ = getDefaultInstance().getSenderGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string senderGuid = 2; + * @param value The bytes for senderGuid to set. + * @return This builder for chaining. + */ + public Builder setSenderGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object senderNickName_ = ""; + /** + * string senderNickName = 3; + * @return The senderNickName. + */ + public java.lang.String getSenderNickName() { + java.lang.Object ref = senderNickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + senderNickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string senderNickName = 3; + * @return The bytes for senderNickName. + */ + public com.google.protobuf.ByteString + getSenderNickNameBytes() { + java.lang.Object ref = senderNickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + senderNickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string senderNickName = 3; + * @param value The senderNickName to set. + * @return This builder for chaining. + */ + public Builder setSenderNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + senderNickName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string senderNickName = 3; + * @return This builder for chaining. + */ + public Builder clearSenderNickName() { + senderNickName_ = getDefaultInstance().getSenderNickName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string senderNickName = 3; + * @param value The bytes for senderNickName to set. + * @return This builder for chaining. + */ + public Builder setSenderNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + senderNickName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object receiverId_ = ""; + /** + * string receiverId = 4; + * @return The receiverId. + */ + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverId = 4; + * @return The bytes for receiverId. + */ + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverId = 4; + * @param value The receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string receiverId = 4; + * @return This builder for chaining. + */ + public Builder clearReceiverId() { + receiverId_ = getDefaultInstance().getReceiverId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string receiverId = 4; + * @param value The bytes for receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object receiverGuid_ = ""; + /** + * string receiverGuid = 5; + * @return The receiverGuid. + */ + public java.lang.String getReceiverGuid() { + java.lang.Object ref = receiverGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverGuid = 5; + * @return The bytes for receiverGuid. + */ + public com.google.protobuf.ByteString + getReceiverGuidBytes() { + java.lang.Object ref = receiverGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverGuid = 5; + * @param value The receiverGuid to set. + * @return This builder for chaining. + */ + public Builder setReceiverGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string receiverGuid = 5; + * @return This builder for chaining. + */ + public Builder clearReceiverGuid() { + receiverGuid_ = getDefaultInstance().getReceiverGuid(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string receiverGuid = 5; + * @param value The bytes for receiverGuid to set. + * @return This builder for chaining. + */ + public Builder setReceiverGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.CancelFriendRequestNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.CancelFriendRequestNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelFriendRequestNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface KickedFromFriendsMyHomeNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.KickedFromFriendsMyHomeNoti) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code ServerMessage.KickedFromFriendsMyHomeNoti} + */ + public static final class KickedFromFriendsMyHomeNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.KickedFromFriendsMyHomeNoti) + KickedFromFriendsMyHomeNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use KickedFromFriendsMyHomeNoti.newBuilder() to construct. + private KickedFromFriendsMyHomeNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private KickedFromFriendsMyHomeNoti() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new KickedFromFriendsMyHomeNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickedFromFriendsMyHomeNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickedFromFriendsMyHomeNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.KickedFromFriendsMyHomeNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.KickedFromFriendsMyHomeNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickedFromFriendsMyHomeNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickedFromFriendsMyHomeNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_KickedFromFriendsMyHomeNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.KickedFromFriendsMyHomeNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.KickedFromFriendsMyHomeNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KickedFromFriendsMyHomeNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_REQ_RESERVATION_ENTER_TO_SERVEROrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) + com.google.protobuf.MessageOrBuilder { + + /** + * .ServerMoveType moveType = 1; + * @return The enum numeric value on the wire for moveType. + */ + int getMoveTypeValue(); + /** + * .ServerMoveType moveType = 1; + * @return The moveType. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMoveType getMoveType(); + + /** + * string requestServerName = 2; + * @return The requestServerName. + */ + java.lang.String getRequestServerName(); + /** + * string requestServerName = 2; + * @return The bytes for requestServerName. + */ + com.google.protobuf.ByteString + getRequestServerNameBytes(); + + /** + * string requestUserGuid = 3; + * @return The requestUserGuid. + */ + java.lang.String getRequestUserGuid(); + /** + * string requestUserGuid = 3; + * @return The bytes for requestUserGuid. + */ + com.google.protobuf.ByteString + getRequestUserGuidBytes(); + + /** + * string summonPartyGuid = 4; + * @return The summonPartyGuid. + */ + java.lang.String getSummonPartyGuid(); + /** + * string summonPartyGuid = 4; + * @return The bytes for summonPartyGuid. + */ + com.google.protobuf.ByteString + getSummonPartyGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER} + */ + public static final class GS2GS_REQ_RESERVATION_ENTER_TO_SERVER extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) + GS2GS_REQ_RESERVATION_ENTER_TO_SERVEROrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.newBuilder() to construct. + private GS2GS_REQ_RESERVATION_ENTER_TO_SERVER(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_REQ_RESERVATION_ENTER_TO_SERVER() { + moveType_ = 0; + requestServerName_ = ""; + requestUserGuid_ = ""; + summonPartyGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_REQ_RESERVATION_ENTER_TO_SERVER(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_REQ_RESERVATION_ENTER_TO_SERVER_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_REQ_RESERVATION_ENTER_TO_SERVER_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.Builder.class); + } + + public static final int MOVETYPE_FIELD_NUMBER = 1; + private int moveType_ = 0; + /** + * .ServerMoveType moveType = 1; + * @return The enum numeric value on the wire for moveType. + */ + @java.lang.Override public int getMoveTypeValue() { + return moveType_; + } + /** + * .ServerMoveType moveType = 1; + * @return The moveType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.ServerMoveType getMoveType() { + com.caliverse.admin.domain.RabbitMq.message.ServerMoveType result = com.caliverse.admin.domain.RabbitMq.message.ServerMoveType.forNumber(moveType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMoveType.UNRECOGNIZED : result; + } + + public static final int REQUESTSERVERNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object requestServerName_ = ""; + /** + * string requestServerName = 2; + * @return The requestServerName. + */ + @java.lang.Override + public java.lang.String getRequestServerName() { + java.lang.Object ref = requestServerName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestServerName_ = s; + return s; + } + } + /** + * string requestServerName = 2; + * @return The bytes for requestServerName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequestServerNameBytes() { + java.lang.Object ref = requestServerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUESTUSERGUID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object requestUserGuid_ = ""; + /** + * string requestUserGuid = 3; + * @return The requestUserGuid. + */ + @java.lang.Override + public java.lang.String getRequestUserGuid() { + java.lang.Object ref = requestUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestUserGuid_ = s; + return s; + } + } + /** + * string requestUserGuid = 3; + * @return The bytes for requestUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequestUserGuidBytes() { + java.lang.Object ref = requestUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUMMONPARTYGUID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object summonPartyGuid_ = ""; + /** + * string summonPartyGuid = 4; + * @return The summonPartyGuid. + */ + @java.lang.Override + public java.lang.String getSummonPartyGuid() { + java.lang.Object ref = summonPartyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summonPartyGuid_ = s; + return s; + } + } + /** + * string summonPartyGuid = 4; + * @return The bytes for summonPartyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSummonPartyGuidBytes() { + java.lang.Object ref = summonPartyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summonPartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (moveType_ != com.caliverse.admin.domain.RabbitMq.message.ServerMoveType.ServerMoveType_None.getNumber()) { + output.writeEnum(1, moveType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestServerName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestServerName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requestUserGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summonPartyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, summonPartyGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (moveType_ != com.caliverse.admin.domain.RabbitMq.message.ServerMoveType.ServerMoveType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, moveType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestServerName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestServerName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestUserGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summonPartyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, summonPartyGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) obj; + + if (moveType_ != other.moveType_) return false; + if (!getRequestServerName() + .equals(other.getRequestServerName())) return false; + if (!getRequestUserGuid() + .equals(other.getRequestUserGuid())) return false; + if (!getSummonPartyGuid() + .equals(other.getSummonPartyGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MOVETYPE_FIELD_NUMBER; + hash = (53 * hash) + moveType_; + hash = (37 * hash) + REQUESTSERVERNAME_FIELD_NUMBER; + hash = (53 * hash) + getRequestServerName().hashCode(); + hash = (37 * hash) + REQUESTUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getRequestUserGuid().hashCode(); + hash = (37 * hash) + SUMMONPARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getSummonPartyGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVEROrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_REQ_RESERVATION_ENTER_TO_SERVER_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_REQ_RESERVATION_ENTER_TO_SERVER_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + moveType_ = 0; + requestServerName_ = ""; + requestUserGuid_ = ""; + summonPartyGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_REQ_RESERVATION_ENTER_TO_SERVER_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.moveType_ = moveType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.requestServerName_ = requestServerName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.requestUserGuid_ = requestUserGuid_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.summonPartyGuid_ = summonPartyGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.getDefaultInstance()) return this; + if (other.moveType_ != 0) { + setMoveTypeValue(other.getMoveTypeValue()); + } + if (!other.getRequestServerName().isEmpty()) { + requestServerName_ = other.requestServerName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getRequestUserGuid().isEmpty()) { + requestUserGuid_ = other.requestUserGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getSummonPartyGuid().isEmpty()) { + summonPartyGuid_ = other.summonPartyGuid_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + moveType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + requestServerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + summonPartyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int moveType_ = 0; + /** + * .ServerMoveType moveType = 1; + * @return The enum numeric value on the wire for moveType. + */ + @java.lang.Override public int getMoveTypeValue() { + return moveType_; + } + /** + * .ServerMoveType moveType = 1; + * @param value The enum numeric value on the wire for moveType to set. + * @return This builder for chaining. + */ + public Builder setMoveTypeValue(int value) { + moveType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerMoveType moveType = 1; + * @return The moveType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMoveType getMoveType() { + com.caliverse.admin.domain.RabbitMq.message.ServerMoveType result = com.caliverse.admin.domain.RabbitMq.message.ServerMoveType.forNumber(moveType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerMoveType.UNRECOGNIZED : result; + } + /** + * .ServerMoveType moveType = 1; + * @param value The moveType to set. + * @return This builder for chaining. + */ + public Builder setMoveType(com.caliverse.admin.domain.RabbitMq.message.ServerMoveType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + moveType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .ServerMoveType moveType = 1; + * @return This builder for chaining. + */ + public Builder clearMoveType() { + bitField0_ = (bitField0_ & ~0x00000001); + moveType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object requestServerName_ = ""; + /** + * string requestServerName = 2; + * @return The requestServerName. + */ + public java.lang.String getRequestServerName() { + java.lang.Object ref = requestServerName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestServerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string requestServerName = 2; + * @return The bytes for requestServerName. + */ + public com.google.protobuf.ByteString + getRequestServerNameBytes() { + java.lang.Object ref = requestServerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string requestServerName = 2; + * @param value The requestServerName to set. + * @return This builder for chaining. + */ + public Builder setRequestServerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + requestServerName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string requestServerName = 2; + * @return This builder for chaining. + */ + public Builder clearRequestServerName() { + requestServerName_ = getDefaultInstance().getRequestServerName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string requestServerName = 2; + * @param value The bytes for requestServerName to set. + * @return This builder for chaining. + */ + public Builder setRequestServerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + requestServerName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object requestUserGuid_ = ""; + /** + * string requestUserGuid = 3; + * @return The requestUserGuid. + */ + public java.lang.String getRequestUserGuid() { + java.lang.Object ref = requestUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string requestUserGuid = 3; + * @return The bytes for requestUserGuid. + */ + public com.google.protobuf.ByteString + getRequestUserGuidBytes() { + java.lang.Object ref = requestUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string requestUserGuid = 3; + * @param value The requestUserGuid to set. + * @return This builder for chaining. + */ + public Builder setRequestUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + requestUserGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string requestUserGuid = 3; + * @return This builder for chaining. + */ + public Builder clearRequestUserGuid() { + requestUserGuid_ = getDefaultInstance().getRequestUserGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string requestUserGuid = 3; + * @param value The bytes for requestUserGuid to set. + * @return This builder for chaining. + */ + public Builder setRequestUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + requestUserGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object summonPartyGuid_ = ""; + /** + * string summonPartyGuid = 4; + * @return The summonPartyGuid. + */ + public java.lang.String getSummonPartyGuid() { + java.lang.Object ref = summonPartyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summonPartyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string summonPartyGuid = 4; + * @return The bytes for summonPartyGuid. + */ + public com.google.protobuf.ByteString + getSummonPartyGuidBytes() { + java.lang.Object ref = summonPartyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summonPartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string summonPartyGuid = 4; + * @param value The summonPartyGuid to set. + * @return This builder for chaining. + */ + public Builder setSummonPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + summonPartyGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string summonPartyGuid = 4; + * @return This builder for chaining. + */ + public Builder clearSummonPartyGuid() { + summonPartyGuid_ = getDefaultInstance().getSummonPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string summonPartyGuid = 4; + * @param value The bytes for summonPartyGuid to set. + * @return This builder for chaining. + */ + public Builder setSummonPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + summonPartyGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_REQ_RESERVATION_ENTER_TO_SERVER parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_ACK_RESERVATION_ENTER_TO_SERVEROrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) + com.google.protobuf.MessageOrBuilder { + + /** + * .Result result = 1; + * @return Whether the result field is set. + */ + boolean hasResult(); + /** + * .Result result = 1; + * @return The result. + */ + com.caliverse.admin.domain.RabbitMq.message.Result getResult(); + /** + * .Result result = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.ResultOrBuilder getResultOrBuilder(); + + /** + * string reservationUserGuid = 2; + * @return The reservationUserGuid. + */ + java.lang.String getReservationUserGuid(); + /** + * string reservationUserGuid = 2; + * @return The bytes for reservationUserGuid. + */ + com.google.protobuf.ByteString + getReservationUserGuidBytes(); + + /** + * string reservationServerName = 3; + * @return The reservationServerName. + */ + java.lang.String getReservationServerName(); + /** + * string reservationServerName = 3; + * @return The bytes for reservationServerName. + */ + com.google.protobuf.ByteString + getReservationServerNameBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER} + */ + public static final class GS2GS_ACK_RESERVATION_ENTER_TO_SERVER extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) + GS2GS_ACK_RESERVATION_ENTER_TO_SERVEROrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.newBuilder() to construct. + private GS2GS_ACK_RESERVATION_ENTER_TO_SERVER(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_ACK_RESERVATION_ENTER_TO_SERVER() { + reservationUserGuid_ = ""; + reservationServerName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_ACK_RESERVATION_ENTER_TO_SERVER(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_ACK_RESERVATION_ENTER_TO_SERVER_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_ACK_RESERVATION_ENTER_TO_SERVER_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.Builder.class); + } + + public static final int RESULT_FIELD_NUMBER = 1; + private com.caliverse.admin.domain.RabbitMq.message.Result result_; + /** + * .Result result = 1; + * @return Whether the result field is set. + */ + @java.lang.Override + public boolean hasResult() { + return result_ != null; + } + /** + * .Result result = 1; + * @return The result. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Result getResult() { + return result_ == null ? com.caliverse.admin.domain.RabbitMq.message.Result.getDefaultInstance() : result_; + } + /** + * .Result result = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ResultOrBuilder getResultOrBuilder() { + return result_ == null ? com.caliverse.admin.domain.RabbitMq.message.Result.getDefaultInstance() : result_; + } + + public static final int RESERVATIONUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object reservationUserGuid_ = ""; + /** + * string reservationUserGuid = 2; + * @return The reservationUserGuid. + */ + @java.lang.Override + public java.lang.String getReservationUserGuid() { + java.lang.Object ref = reservationUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + reservationUserGuid_ = s; + return s; + } + } + /** + * string reservationUserGuid = 2; + * @return The bytes for reservationUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReservationUserGuidBytes() { + java.lang.Object ref = reservationUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + reservationUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESERVATIONSERVERNAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object reservationServerName_ = ""; + /** + * string reservationServerName = 3; + * @return The reservationServerName. + */ + @java.lang.Override + public java.lang.String getReservationServerName() { + java.lang.Object ref = reservationServerName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + reservationServerName_ = s; + return s; + } + } + /** + * string reservationServerName = 3; + * @return The bytes for reservationServerName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReservationServerNameBytes() { + java.lang.Object ref = reservationServerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + reservationServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (result_ != null) { + output.writeMessage(1, getResult()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservationUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, reservationUserGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservationServerName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, reservationServerName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (result_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getResult()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservationUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reservationUserGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservationServerName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, reservationServerName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) obj; + + if (hasResult() != other.hasResult()) return false; + if (hasResult()) { + if (!getResult() + .equals(other.getResult())) return false; + } + if (!getReservationUserGuid() + .equals(other.getReservationUserGuid())) return false; + if (!getReservationServerName() + .equals(other.getReservationServerName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasResult()) { + hash = (37 * hash) + RESULT_FIELD_NUMBER; + hash = (53 * hash) + getResult().hashCode(); + } + hash = (37 * hash) + RESERVATIONUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getReservationUserGuid().hashCode(); + hash = (37 * hash) + RESERVATIONSERVERNAME_FIELD_NUMBER; + hash = (53 * hash) + getReservationServerName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVEROrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_ACK_RESERVATION_ENTER_TO_SERVER_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_ACK_RESERVATION_ENTER_TO_SERVER_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + result_ = null; + if (resultBuilder_ != null) { + resultBuilder_.dispose(); + resultBuilder_ = null; + } + reservationUserGuid_ = ""; + reservationServerName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_ACK_RESERVATION_ENTER_TO_SERVER_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.result_ = resultBuilder_ == null + ? result_ + : resultBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.reservationUserGuid_ = reservationUserGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.reservationServerName_ = reservationServerName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.getDefaultInstance()) return this; + if (other.hasResult()) { + mergeResult(other.getResult()); + } + if (!other.getReservationUserGuid().isEmpty()) { + reservationUserGuid_ = other.reservationUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getReservationServerName().isEmpty()) { + reservationServerName_ = other.reservationServerName_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getResultFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + reservationUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + reservationServerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.caliverse.admin.domain.RabbitMq.message.Result result_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Result, com.caliverse.admin.domain.RabbitMq.message.Result.Builder, com.caliverse.admin.domain.RabbitMq.message.ResultOrBuilder> resultBuilder_; + /** + * .Result result = 1; + * @return Whether the result field is set. + */ + public boolean hasResult() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .Result result = 1; + * @return The result. + */ + public com.caliverse.admin.domain.RabbitMq.message.Result getResult() { + if (resultBuilder_ == null) { + return result_ == null ? com.caliverse.admin.domain.RabbitMq.message.Result.getDefaultInstance() : result_; + } else { + return resultBuilder_.getMessage(); + } + } + /** + * .Result result = 1; + */ + public Builder setResult(com.caliverse.admin.domain.RabbitMq.message.Result value) { + if (resultBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + result_ = value; + } else { + resultBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .Result result = 1; + */ + public Builder setResult( + com.caliverse.admin.domain.RabbitMq.message.Result.Builder builderForValue) { + if (resultBuilder_ == null) { + result_ = builderForValue.build(); + } else { + resultBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .Result result = 1; + */ + public Builder mergeResult(com.caliverse.admin.domain.RabbitMq.message.Result value) { + if (resultBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + result_ != null && + result_ != com.caliverse.admin.domain.RabbitMq.message.Result.getDefaultInstance()) { + getResultBuilder().mergeFrom(value); + } else { + result_ = value; + } + } else { + resultBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .Result result = 1; + */ + public Builder clearResult() { + bitField0_ = (bitField0_ & ~0x00000001); + result_ = null; + if (resultBuilder_ != null) { + resultBuilder_.dispose(); + resultBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Result result = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.Result.Builder getResultBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getResultFieldBuilder().getBuilder(); + } + /** + * .Result result = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ResultOrBuilder getResultOrBuilder() { + if (resultBuilder_ != null) { + return resultBuilder_.getMessageOrBuilder(); + } else { + return result_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Result.getDefaultInstance() : result_; + } + } + /** + * .Result result = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Result, com.caliverse.admin.domain.RabbitMq.message.Result.Builder, com.caliverse.admin.domain.RabbitMq.message.ResultOrBuilder> + getResultFieldBuilder() { + if (resultBuilder_ == null) { + resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Result, com.caliverse.admin.domain.RabbitMq.message.Result.Builder, com.caliverse.admin.domain.RabbitMq.message.ResultOrBuilder>( + getResult(), + getParentForChildren(), + isClean()); + result_ = null; + } + return resultBuilder_; + } + + private java.lang.Object reservationUserGuid_ = ""; + /** + * string reservationUserGuid = 2; + * @return The reservationUserGuid. + */ + public java.lang.String getReservationUserGuid() { + java.lang.Object ref = reservationUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + reservationUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string reservationUserGuid = 2; + * @return The bytes for reservationUserGuid. + */ + public com.google.protobuf.ByteString + getReservationUserGuidBytes() { + java.lang.Object ref = reservationUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + reservationUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string reservationUserGuid = 2; + * @param value The reservationUserGuid to set. + * @return This builder for chaining. + */ + public Builder setReservationUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + reservationUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string reservationUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearReservationUserGuid() { + reservationUserGuid_ = getDefaultInstance().getReservationUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string reservationUserGuid = 2; + * @param value The bytes for reservationUserGuid to set. + * @return This builder for chaining. + */ + public Builder setReservationUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + reservationUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object reservationServerName_ = ""; + /** + * string reservationServerName = 3; + * @return The reservationServerName. + */ + public java.lang.String getReservationServerName() { + java.lang.Object ref = reservationServerName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + reservationServerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string reservationServerName = 3; + * @return The bytes for reservationServerName. + */ + public com.google.protobuf.ByteString + getReservationServerNameBytes() { + java.lang.Object ref = reservationServerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + reservationServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string reservationServerName = 3; + * @param value The reservationServerName to set. + * @return This builder for chaining. + */ + public Builder setReservationServerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + reservationServerName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string reservationServerName = 3; + * @return This builder for chaining. + */ + public Builder clearReservationServerName() { + reservationServerName_ = getDefaultInstance().getReservationServerName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string reservationServerName = 3; + * @param value The bytes for reservationServerName to set. + * @return This builder for chaining. + */ + public Builder setReservationServerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + reservationServerName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_ACK_RESERVATION_ENTER_TO_SERVER parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_REQ_RESERVATION_CANCEL_TO_SERVEROrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) + com.google.protobuf.MessageOrBuilder { + + /** + * string requestServerName = 1; + * @return The requestServerName. + */ + java.lang.String getRequestServerName(); + /** + * string requestServerName = 1; + * @return The bytes for requestServerName. + */ + com.google.protobuf.ByteString + getRequestServerNameBytes(); + + /** + * string requestUserGuid = 2; + * @return The requestUserGuid. + */ + java.lang.String getRequestUserGuid(); + /** + * string requestUserGuid = 2; + * @return The bytes for requestUserGuid. + */ + com.google.protobuf.ByteString + getRequestUserGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER} + */ + public static final class GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) + GS2GS_REQ_RESERVATION_CANCEL_TO_SERVEROrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.newBuilder() to construct. + private GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER() { + requestServerName_ = ""; + requestUserGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.Builder.class); + } + + public static final int REQUESTSERVERNAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object requestServerName_ = ""; + /** + * string requestServerName = 1; + * @return The requestServerName. + */ + @java.lang.Override + public java.lang.String getRequestServerName() { + java.lang.Object ref = requestServerName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestServerName_ = s; + return s; + } + } + /** + * string requestServerName = 1; + * @return The bytes for requestServerName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequestServerNameBytes() { + java.lang.Object ref = requestServerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUESTUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object requestUserGuid_ = ""; + /** + * string requestUserGuid = 2; + * @return The requestUserGuid. + */ + @java.lang.Override + public java.lang.String getRequestUserGuid() { + java.lang.Object ref = requestUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestUserGuid_ = s; + return s; + } + } + /** + * string requestUserGuid = 2; + * @return The bytes for requestUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequestUserGuidBytes() { + java.lang.Object ref = requestUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestServerName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestServerName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestUserGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestServerName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestServerName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestUserGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) obj; + + if (!getRequestServerName() + .equals(other.getRequestServerName())) return false; + if (!getRequestUserGuid() + .equals(other.getRequestUserGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + REQUESTSERVERNAME_FIELD_NUMBER; + hash = (53 * hash) + getRequestServerName().hashCode(); + hash = (37 * hash) + REQUESTUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getRequestUserGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVEROrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + requestServerName_ = ""; + requestUserGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.requestServerName_ = requestServerName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.requestUserGuid_ = requestUserGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance()) return this; + if (!other.getRequestServerName().isEmpty()) { + requestServerName_ = other.requestServerName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getRequestUserGuid().isEmpty()) { + requestUserGuid_ = other.requestUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + requestServerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object requestServerName_ = ""; + /** + * string requestServerName = 1; + * @return The requestServerName. + */ + public java.lang.String getRequestServerName() { + java.lang.Object ref = requestServerName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestServerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string requestServerName = 1; + * @return The bytes for requestServerName. + */ + public com.google.protobuf.ByteString + getRequestServerNameBytes() { + java.lang.Object ref = requestServerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string requestServerName = 1; + * @param value The requestServerName to set. + * @return This builder for chaining. + */ + public Builder setRequestServerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + requestServerName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string requestServerName = 1; + * @return This builder for chaining. + */ + public Builder clearRequestServerName() { + requestServerName_ = getDefaultInstance().getRequestServerName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string requestServerName = 1; + * @param value The bytes for requestServerName to set. + * @return This builder for chaining. + */ + public Builder setRequestServerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + requestServerName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object requestUserGuid_ = ""; + /** + * string requestUserGuid = 2; + * @return The requestUserGuid. + */ + public java.lang.String getRequestUserGuid() { + java.lang.Object ref = requestUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string requestUserGuid = 2; + * @return The bytes for requestUserGuid. + */ + public com.google.protobuf.ByteString + getRequestUserGuidBytes() { + java.lang.Object ref = requestUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string requestUserGuid = 2; + * @param value The requestUserGuid to set. + * @return This builder for chaining. + */ + public Builder setRequestUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + requestUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string requestUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearRequestUserGuid() { + requestUserGuid_ = getDefaultInstance().getRequestUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string requestUserGuid = 2; + * @param value The bytes for requestUserGuid to set. + * @return This builder for chaining. + */ + public Builder setRequestUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + requestUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_ACK_RESERVATION_CANCEL_TO_SERVEROrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) + com.google.protobuf.MessageOrBuilder { + + /** + * string requestUserGuid = 1; + * @return The requestUserGuid. + */ + java.lang.String getRequestUserGuid(); + /** + * string requestUserGuid = 1; + * @return The bytes for requestUserGuid. + */ + com.google.protobuf.ByteString + getRequestUserGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER} + */ + public static final class GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) + GS2GS_ACK_RESERVATION_CANCEL_TO_SERVEROrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.newBuilder() to construct. + private GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER() { + requestUserGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.Builder.class); + } + + public static final int REQUESTUSERGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object requestUserGuid_ = ""; + /** + * string requestUserGuid = 1; + * @return The requestUserGuid. + */ + @java.lang.Override + public java.lang.String getRequestUserGuid() { + java.lang.Object ref = requestUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestUserGuid_ = s; + return s; + } + } + /** + * string requestUserGuid = 1; + * @return The bytes for requestUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequestUserGuidBytes() { + java.lang.Object ref = requestUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestUserGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestUserGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) obj; + + if (!getRequestUserGuid() + .equals(other.getRequestUserGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + REQUESTUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getRequestUserGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVEROrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + requestUserGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.requestUserGuid_ = requestUserGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance()) return this; + if (!other.getRequestUserGuid().isEmpty()) { + requestUserGuid_ = other.requestUserGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + requestUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object requestUserGuid_ = ""; + /** + * string requestUserGuid = 1; + * @return The requestUserGuid. + */ + public java.lang.String getRequestUserGuid() { + java.lang.Object ref = requestUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string requestUserGuid = 1; + * @return The bytes for requestUserGuid. + */ + public com.google.protobuf.ByteString + getRequestUserGuidBytes() { + java.lang.Object ref = requestUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string requestUserGuid = 1; + * @param value The requestUserGuid to set. + * @return This builder for chaining. + */ + public Builder setRequestUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + requestUserGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string requestUserGuid = 1; + * @return This builder for chaining. + */ + public Builder clearRequestUserGuid() { + requestUserGuid_ = getDefaultInstance().getRequestUserGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string requestUserGuid = 1; + * @param value The bytes for requestUserGuid to set. + * @return This builder for chaining. + */ + public Builder setRequestUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + requestUserGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_NTF_RETURN_USER_LOGOUTOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) + com.google.protobuf.MessageOrBuilder { + + /** + * string returnUserGuid = 1; + * @return The returnUserGuid. + */ + java.lang.String getReturnUserGuid(); + /** + * string returnUserGuid = 1; + * @return The bytes for returnUserGuid. + */ + com.google.protobuf.ByteString + getReturnUserGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT} + */ + public static final class GS2GS_NTF_RETURN_USER_LOGOUT extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) + GS2GS_NTF_RETURN_USER_LOGOUTOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_NTF_RETURN_USER_LOGOUT.newBuilder() to construct. + private GS2GS_NTF_RETURN_USER_LOGOUT(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_NTF_RETURN_USER_LOGOUT() { + returnUserGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_NTF_RETURN_USER_LOGOUT(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_RETURN_USER_LOGOUT_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_RETURN_USER_LOGOUT_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.Builder.class); + } + + public static final int RETURNUSERGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object returnUserGuid_ = ""; + /** + * string returnUserGuid = 1; + * @return The returnUserGuid. + */ + @java.lang.Override + public java.lang.String getReturnUserGuid() { + java.lang.Object ref = returnUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + returnUserGuid_ = s; + return s; + } + } + /** + * string returnUserGuid = 1; + * @return The bytes for returnUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReturnUserGuidBytes() { + java.lang.Object ref = returnUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + returnUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(returnUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, returnUserGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(returnUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, returnUserGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) obj; + + if (!getReturnUserGuid() + .equals(other.getReturnUserGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RETURNUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getReturnUserGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUTOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_RETURN_USER_LOGOUT_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_RETURN_USER_LOGOUT_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + returnUserGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_RETURN_USER_LOGOUT_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.returnUserGuid_ = returnUserGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.getDefaultInstance()) return this; + if (!other.getReturnUserGuid().isEmpty()) { + returnUserGuid_ = other.returnUserGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + returnUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object returnUserGuid_ = ""; + /** + * string returnUserGuid = 1; + * @return The returnUserGuid. + */ + public java.lang.String getReturnUserGuid() { + java.lang.Object ref = returnUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + returnUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string returnUserGuid = 1; + * @return The bytes for returnUserGuid. + */ + public com.google.protobuf.ByteString + getReturnUserGuidBytes() { + java.lang.Object ref = returnUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + returnUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string returnUserGuid = 1; + * @param value The returnUserGuid to set. + * @return This builder for chaining. + */ + public Builder setReturnUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + returnUserGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string returnUserGuid = 1; + * @return This builder for chaining. + */ + public Builder clearReturnUserGuid() { + returnUserGuid_ = getDefaultInstance().getReturnUserGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string returnUserGuid = 1; + * @param value The bytes for returnUserGuid to set. + * @return This builder for chaining. + */ + public Builder setReturnUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + returnUserGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_NTF_RETURN_USER_LOGOUT parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2C_NTF_FRIEND_LEAVING_HOMEOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) + com.google.protobuf.MessageOrBuilder { + + /** + * string guid = 1; + * @return The guid. + */ + java.lang.String getGuid(); + /** + * string guid = 1; + * @return The bytes for guid. + */ + com.google.protobuf.ByteString + getGuidBytes(); + + /** + * string nickName = 2; + * @return The nickName. + */ + java.lang.String getNickName(); + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + com.google.protobuf.ByteString + getNickNameBytes(); + + /** + * string receiverId = 3; + * @return The receiverId. + */ + java.lang.String getReceiverId(); + /** + * string receiverId = 3; + * @return The bytes for receiverId. + */ + com.google.protobuf.ByteString + getReceiverIdBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME} + */ + public static final class GS2C_NTF_FRIEND_LEAVING_HOME extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) + GS2C_NTF_FRIEND_LEAVING_HOMEOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2C_NTF_FRIEND_LEAVING_HOME.newBuilder() to construct. + private GS2C_NTF_FRIEND_LEAVING_HOME(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2C_NTF_FRIEND_LEAVING_HOME() { + guid_ = ""; + nickName_ = ""; + receiverId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2C_NTF_FRIEND_LEAVING_HOME(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_FRIEND_LEAVING_HOME_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_FRIEND_LEAVING_HOME_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.Builder.class); + } + + public static final int GUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object guid_ = ""; + /** + * string guid = 1; + * @return The guid. + */ + @java.lang.Override + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } + } + /** + * string guid = 1; + * @return The bytes for guid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NICKNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object nickName_ = ""; + /** + * string nickName = 2; + * @return The nickName. + */ + @java.lang.Override + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickName_ = s; + return s; + } + } + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECEIVERID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object receiverId_ = ""; + /** + * string receiverId = 3; + * @return The receiverId. + */ + @java.lang.Override + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } + } + /** + * string receiverId = 3; + * @return The bytes for receiverId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, guid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, receiverId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, guid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nickName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, receiverId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) obj; + + if (!getGuid() + .equals(other.getGuid())) return false; + if (!getNickName() + .equals(other.getNickName())) return false; + if (!getReceiverId() + .equals(other.getReceiverId())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + GUID_FIELD_NUMBER; + hash = (53 * hash) + getGuid().hashCode(); + hash = (37 * hash) + NICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getNickName().hashCode(); + hash = (37 * hash) + RECEIVERID_FIELD_NUMBER; + hash = (53 * hash) + getReceiverId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOMEOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_FRIEND_LEAVING_HOME_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_FRIEND_LEAVING_HOME_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + guid_ = ""; + nickName_ = ""; + receiverId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_FRIEND_LEAVING_HOME_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.guid_ = guid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nickName_ = nickName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.receiverId_ = receiverId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.getDefaultInstance()) return this; + if (!other.getGuid().isEmpty()) { + guid_ = other.guid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getNickName().isEmpty()) { + nickName_ = other.nickName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getReceiverId().isEmpty()) { + receiverId_ = other.receiverId_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + guid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + nickName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + receiverId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object guid_ = ""; + /** + * string guid = 1; + * @return The guid. + */ + public java.lang.String getGuid() { + java.lang.Object ref = guid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + guid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string guid = 1; + * @return The bytes for guid. + */ + public com.google.protobuf.ByteString + getGuidBytes() { + java.lang.Object ref = guid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + guid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string guid = 1; + * @param value The guid to set. + * @return This builder for chaining. + */ + public Builder setGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + guid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string guid = 1; + * @return This builder for chaining. + */ + public Builder clearGuid() { + guid_ = getDefaultInstance().getGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string guid = 1; + * @param value The bytes for guid to set. + * @return This builder for chaining. + */ + public Builder setGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + guid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object nickName_ = ""; + /** + * string nickName = 2; + * @return The nickName. + */ + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string nickName = 2; + * @return The bytes for nickName. + */ + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string nickName = 2; + * @param value The nickName to set. + * @return This builder for chaining. + */ + public Builder setNickName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string nickName = 2; + * @return This builder for chaining. + */ + public Builder clearNickName() { + nickName_ = getDefaultInstance().getNickName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string nickName = 2; + * @param value The bytes for nickName to set. + * @return This builder for chaining. + */ + public Builder setNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nickName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object receiverId_ = ""; + /** + * string receiverId = 3; + * @return The receiverId. + */ + public java.lang.String getReceiverId() { + java.lang.Object ref = receiverId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + receiverId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string receiverId = 3; + * @return The bytes for receiverId. + */ + public com.google.protobuf.ByteString + getReceiverIdBytes() { + java.lang.Object ref = receiverId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + receiverId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string receiverId = 3; + * @param value The receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + receiverId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string receiverId = 3; + * @return This builder for chaining. + */ + public Builder clearReceiverId() { + receiverId_ = getDefaultInstance().getReceiverId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string receiverId = 3; + * @param value The bytes for receiverId to set. + * @return This builder for chaining. + */ + public Builder setReceiverIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + receiverId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2C_NTF_FRIEND_LEAVING_HOME parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2C_NTF_PARTY_INFOOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2C_NTF_PARTY_INFO) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * repeated string partyMemberGuids = 2; + * @return A list containing the partyMemberGuids. + */ + java.util.List + getPartyMemberGuidsList(); + /** + * repeated string partyMemberGuids = 2; + * @return The count of partyMemberGuids. + */ + int getPartyMemberGuidsCount(); + /** + * repeated string partyMemberGuids = 2; + * @param index The index of the element to return. + * @return The partyMemberGuids at the given index. + */ + java.lang.String getPartyMemberGuids(int index); + /** + * repeated string partyMemberGuids = 2; + * @param index The index of the value to return. + * @return The bytes of the partyMemberGuids at the given index. + */ + com.google.protobuf.ByteString + getPartyMemberGuidsBytes(int index); + } + /** + * Protobuf type {@code ServerMessage.GS2C_NTF_PARTY_INFO} + */ + public static final class GS2C_NTF_PARTY_INFO extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2C_NTF_PARTY_INFO) + GS2C_NTF_PARTY_INFOOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2C_NTF_PARTY_INFO.newBuilder() to construct. + private GS2C_NTF_PARTY_INFO(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2C_NTF_PARTY_INFO() { + partyGuid_ = ""; + partyMemberGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2C_NTF_PARTY_INFO(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_INFO_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_INFO_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARTYMEMBERGUIDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList partyMemberGuids_; + /** + * repeated string partyMemberGuids = 2; + * @return A list containing the partyMemberGuids. + */ + public com.google.protobuf.ProtocolStringList + getPartyMemberGuidsList() { + return partyMemberGuids_; + } + /** + * repeated string partyMemberGuids = 2; + * @return The count of partyMemberGuids. + */ + public int getPartyMemberGuidsCount() { + return partyMemberGuids_.size(); + } + /** + * repeated string partyMemberGuids = 2; + * @param index The index of the element to return. + * @return The partyMemberGuids at the given index. + */ + public java.lang.String getPartyMemberGuids(int index) { + return partyMemberGuids_.get(index); + } + /** + * repeated string partyMemberGuids = 2; + * @param index The index of the value to return. + * @return The bytes of the partyMemberGuids at the given index. + */ + public com.google.protobuf.ByteString + getPartyMemberGuidsBytes(int index) { + return partyMemberGuids_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + for (int i = 0; i < partyMemberGuids_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, partyMemberGuids_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + { + int dataSize = 0; + for (int i = 0; i < partyMemberGuids_.size(); i++) { + dataSize += computeStringSizeNoTag(partyMemberGuids_.getRaw(i)); + } + size += dataSize; + size += 1 * getPartyMemberGuidsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getPartyMemberGuidsList() + .equals(other.getPartyMemberGuidsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + if (getPartyMemberGuidsCount() > 0) { + hash = (37 * hash) + PARTYMEMBERGUIDS_FIELD_NUMBER; + hash = (53 * hash) + getPartyMemberGuidsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2C_NTF_PARTY_INFO} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2C_NTF_PARTY_INFO) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFOOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_INFO_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_INFO_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + partyMemberGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_INFO_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO result) { + if (((bitField0_ & 0x00000002) != 0)) { + partyMemberGuids_ = partyMemberGuids_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.partyMemberGuids_ = partyMemberGuids_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.partyMemberGuids_.isEmpty()) { + if (partyMemberGuids_.isEmpty()) { + partyMemberGuids_ = other.partyMemberGuids_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensurePartyMemberGuidsIsMutable(); + partyMemberGuids_.addAll(other.partyMemberGuids_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePartyMemberGuidsIsMutable(); + partyMemberGuids_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList partyMemberGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePartyMemberGuidsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + partyMemberGuids_ = new com.google.protobuf.LazyStringArrayList(partyMemberGuids_); + bitField0_ |= 0x00000002; + } + } + /** + * repeated string partyMemberGuids = 2; + * @return A list containing the partyMemberGuids. + */ + public com.google.protobuf.ProtocolStringList + getPartyMemberGuidsList() { + return partyMemberGuids_.getUnmodifiableView(); + } + /** + * repeated string partyMemberGuids = 2; + * @return The count of partyMemberGuids. + */ + public int getPartyMemberGuidsCount() { + return partyMemberGuids_.size(); + } + /** + * repeated string partyMemberGuids = 2; + * @param index The index of the element to return. + * @return The partyMemberGuids at the given index. + */ + public java.lang.String getPartyMemberGuids(int index) { + return partyMemberGuids_.get(index); + } + /** + * repeated string partyMemberGuids = 2; + * @param index The index of the value to return. + * @return The bytes of the partyMemberGuids at the given index. + */ + public com.google.protobuf.ByteString + getPartyMemberGuidsBytes(int index) { + return partyMemberGuids_.getByteString(index); + } + /** + * repeated string partyMemberGuids = 2; + * @param index The index to set the value at. + * @param value The partyMemberGuids to set. + * @return This builder for chaining. + */ + public Builder setPartyMemberGuids( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePartyMemberGuidsIsMutable(); + partyMemberGuids_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string partyMemberGuids = 2; + * @param value The partyMemberGuids to add. + * @return This builder for chaining. + */ + public Builder addPartyMemberGuids( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePartyMemberGuidsIsMutable(); + partyMemberGuids_.add(value); + onChanged(); + return this; + } + /** + * repeated string partyMemberGuids = 2; + * @param values The partyMemberGuids to add. + * @return This builder for chaining. + */ + public Builder addAllPartyMemberGuids( + java.lang.Iterable values) { + ensurePartyMemberGuidsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, partyMemberGuids_); + onChanged(); + return this; + } + /** + * repeated string partyMemberGuids = 2; + * @return This builder for chaining. + */ + public Builder clearPartyMemberGuids() { + partyMemberGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * repeated string partyMemberGuids = 2; + * @param value The bytes of the partyMemberGuids to add. + * @return This builder for chaining. + */ + public Builder addPartyMemberGuidsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePartyMemberGuidsIsMutable(); + partyMemberGuids_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2C_NTF_PARTY_INFO) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2C_NTF_PARTY_INFO) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2C_NTF_PARTY_INFO parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2C_NTF_PARTY_CHATOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2C_NTF_PARTY_CHAT) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string partySenderGuid = 2; + * @return The partySenderGuid. + */ + java.lang.String getPartySenderGuid(); + /** + * string partySenderGuid = 2; + * @return The bytes for partySenderGuid. + */ + com.google.protobuf.ByteString + getPartySenderGuidBytes(); + + /** + * string partySenderNickname = 3; + * @return The partySenderNickname. + */ + java.lang.String getPartySenderNickname(); + /** + * string partySenderNickname = 3; + * @return The bytes for partySenderNickname. + */ + com.google.protobuf.ByteString + getPartySenderNicknameBytes(); + + /** + * string partySendMessage = 4; + * @return The partySendMessage. + */ + java.lang.String getPartySendMessage(); + /** + * string partySendMessage = 4; + * @return The bytes for partySendMessage. + */ + com.google.protobuf.ByteString + getPartySendMessageBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2C_NTF_PARTY_CHAT} + */ + public static final class GS2C_NTF_PARTY_CHAT extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2C_NTF_PARTY_CHAT) + GS2C_NTF_PARTY_CHATOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2C_NTF_PARTY_CHAT.newBuilder() to construct. + private GS2C_NTF_PARTY_CHAT(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2C_NTF_PARTY_CHAT() { + partyGuid_ = ""; + partySenderGuid_ = ""; + partySenderNickname_ = ""; + partySendMessage_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2C_NTF_PARTY_CHAT(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_CHAT_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_CHAT_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARTYSENDERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object partySenderGuid_ = ""; + /** + * string partySenderGuid = 2; + * @return The partySenderGuid. + */ + @java.lang.Override + public java.lang.String getPartySenderGuid() { + java.lang.Object ref = partySenderGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partySenderGuid_ = s; + return s; + } + } + /** + * string partySenderGuid = 2; + * @return The bytes for partySenderGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartySenderGuidBytes() { + java.lang.Object ref = partySenderGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partySenderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARTYSENDERNICKNAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object partySenderNickname_ = ""; + /** + * string partySenderNickname = 3; + * @return The partySenderNickname. + */ + @java.lang.Override + public java.lang.String getPartySenderNickname() { + java.lang.Object ref = partySenderNickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partySenderNickname_ = s; + return s; + } + } + /** + * string partySenderNickname = 3; + * @return The bytes for partySenderNickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartySenderNicknameBytes() { + java.lang.Object ref = partySenderNickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partySenderNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARTYSENDMESSAGE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object partySendMessage_ = ""; + /** + * string partySendMessage = 4; + * @return The partySendMessage. + */ + @java.lang.Override + public java.lang.String getPartySendMessage() { + java.lang.Object ref = partySendMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partySendMessage_ = s; + return s; + } + } + /** + * string partySendMessage = 4; + * @return The bytes for partySendMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartySendMessageBytes() { + java.lang.Object ref = partySendMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partySendMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partySenderGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, partySenderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partySenderNickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, partySenderNickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partySendMessage_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, partySendMessage_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partySenderGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, partySenderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partySenderNickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, partySenderNickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partySendMessage_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, partySendMessage_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getPartySenderGuid() + .equals(other.getPartySenderGuid())) return false; + if (!getPartySenderNickname() + .equals(other.getPartySenderNickname())) return false; + if (!getPartySendMessage() + .equals(other.getPartySendMessage())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + PARTYSENDERGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartySenderGuid().hashCode(); + hash = (37 * hash) + PARTYSENDERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getPartySenderNickname().hashCode(); + hash = (37 * hash) + PARTYSENDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getPartySendMessage().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2C_NTF_PARTY_CHAT} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2C_NTF_PARTY_CHAT) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHATOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_CHAT_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_CHAT_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + partySenderGuid_ = ""; + partySenderNickname_ = ""; + partySendMessage_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_CHAT_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.partySenderGuid_ = partySenderGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.partySenderNickname_ = partySenderNickname_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.partySendMessage_ = partySendMessage_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getPartySenderGuid().isEmpty()) { + partySenderGuid_ = other.partySenderGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getPartySenderNickname().isEmpty()) { + partySenderNickname_ = other.partySenderNickname_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getPartySendMessage().isEmpty()) { + partySendMessage_ = other.partySendMessage_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + partySenderGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + partySenderNickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + partySendMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object partySenderGuid_ = ""; + /** + * string partySenderGuid = 2; + * @return The partySenderGuid. + */ + public java.lang.String getPartySenderGuid() { + java.lang.Object ref = partySenderGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partySenderGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partySenderGuid = 2; + * @return The bytes for partySenderGuid. + */ + public com.google.protobuf.ByteString + getPartySenderGuidBytes() { + java.lang.Object ref = partySenderGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partySenderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partySenderGuid = 2; + * @param value The partySenderGuid to set. + * @return This builder for chaining. + */ + public Builder setPartySenderGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partySenderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string partySenderGuid = 2; + * @return This builder for chaining. + */ + public Builder clearPartySenderGuid() { + partySenderGuid_ = getDefaultInstance().getPartySenderGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string partySenderGuid = 2; + * @param value The bytes for partySenderGuid to set. + * @return This builder for chaining. + */ + public Builder setPartySenderGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partySenderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object partySenderNickname_ = ""; + /** + * string partySenderNickname = 3; + * @return The partySenderNickname. + */ + public java.lang.String getPartySenderNickname() { + java.lang.Object ref = partySenderNickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partySenderNickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partySenderNickname = 3; + * @return The bytes for partySenderNickname. + */ + public com.google.protobuf.ByteString + getPartySenderNicknameBytes() { + java.lang.Object ref = partySenderNickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partySenderNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partySenderNickname = 3; + * @param value The partySenderNickname to set. + * @return This builder for chaining. + */ + public Builder setPartySenderNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partySenderNickname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string partySenderNickname = 3; + * @return This builder for chaining. + */ + public Builder clearPartySenderNickname() { + partySenderNickname_ = getDefaultInstance().getPartySenderNickname(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string partySenderNickname = 3; + * @param value The bytes for partySenderNickname to set. + * @return This builder for chaining. + */ + public Builder setPartySenderNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partySenderNickname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object partySendMessage_ = ""; + /** + * string partySendMessage = 4; + * @return The partySendMessage. + */ + public java.lang.String getPartySendMessage() { + java.lang.Object ref = partySendMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partySendMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partySendMessage = 4; + * @return The bytes for partySendMessage. + */ + public com.google.protobuf.ByteString + getPartySendMessageBytes() { + java.lang.Object ref = partySendMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partySendMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partySendMessage = 4; + * @param value The partySendMessage to set. + * @return This builder for chaining. + */ + public Builder setPartySendMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partySendMessage_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string partySendMessage = 4; + * @return This builder for chaining. + */ + public Builder clearPartySendMessage() { + partySendMessage_ = getDefaultInstance().getPartySendMessage(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string partySendMessage = 4; + * @param value The bytes for partySendMessage to set. + * @return This builder for chaining. + */ + public Builder setPartySendMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partySendMessage_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2C_NTF_PARTY_CHAT) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2C_NTF_PARTY_CHAT) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2C_NTF_PARTY_CHAT parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2C_NTF_PARTY_INVITE_RESULTOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) + com.google.protobuf.MessageOrBuilder { + + /** + * .ServerErrorCode errorCode = 1; + * @return The enum numeric value on the wire for errorCode. + */ + int getErrorCodeValue(); + /** + * .ServerErrorCode errorCode = 1; + * @return The errorCode. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrorCode(); + + /** + * string invitePartyGuid = 2; + * @return The invitePartyGuid. + */ + java.lang.String getInvitePartyGuid(); + /** + * string invitePartyGuid = 2; + * @return The bytes for invitePartyGuid. + */ + com.google.protobuf.ByteString + getInvitePartyGuidBytes(); + + /** + * string inviteHostGuid = 3; + * @return The inviteHostGuid. + */ + java.lang.String getInviteHostGuid(); + /** + * string inviteHostGuid = 3; + * @return The bytes for inviteHostGuid. + */ + com.google.protobuf.ByteString + getInviteHostGuidBytes(); + + /** + * string inviteUserGuid = 4; + * @return The inviteUserGuid. + */ + java.lang.String getInviteUserGuid(); + /** + * string inviteUserGuid = 4; + * @return The bytes for inviteUserGuid. + */ + com.google.protobuf.ByteString + getInviteUserGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT} + */ + public static final class GS2C_NTF_PARTY_INVITE_RESULT extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) + GS2C_NTF_PARTY_INVITE_RESULTOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2C_NTF_PARTY_INVITE_RESULT.newBuilder() to construct. + private GS2C_NTF_PARTY_INVITE_RESULT(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2C_NTF_PARTY_INVITE_RESULT() { + errorCode_ = 0; + invitePartyGuid_ = ""; + inviteHostGuid_ = ""; + inviteUserGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2C_NTF_PARTY_INVITE_RESULT(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_INVITE_RESULT_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_INVITE_RESULT_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.Builder.class); + } + + public static final int ERRORCODE_FIELD_NUMBER = 1; + private int errorCode_ = 0; + /** + * .ServerErrorCode errorCode = 1; + * @return The enum numeric value on the wire for errorCode. + */ + @java.lang.Override public int getErrorCodeValue() { + return errorCode_; + } + /** + * .ServerErrorCode errorCode = 1; + * @return The errorCode. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrorCode() { + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode result = com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.forNumber(errorCode_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.UNRECOGNIZED : result; + } + + public static final int INVITEPARTYGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object invitePartyGuid_ = ""; + /** + * string invitePartyGuid = 2; + * @return The invitePartyGuid. + */ + @java.lang.Override + public java.lang.String getInvitePartyGuid() { + java.lang.Object ref = invitePartyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyGuid_ = s; + return s; + } + } + /** + * string invitePartyGuid = 2; + * @return The bytes for invitePartyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInvitePartyGuidBytes() { + java.lang.Object ref = invitePartyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITEHOSTGUID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object inviteHostGuid_ = ""; + /** + * string inviteHostGuid = 3; + * @return The inviteHostGuid. + */ + @java.lang.Override + public java.lang.String getInviteHostGuid() { + java.lang.Object ref = inviteHostGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteHostGuid_ = s; + return s; + } + } + /** + * string inviteHostGuid = 3; + * @return The bytes for inviteHostGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviteHostGuidBytes() { + java.lang.Object ref = inviteHostGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteHostGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITEUSERGUID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object inviteUserGuid_ = ""; + /** + * string inviteUserGuid = 4; + * @return The inviteUserGuid. + */ + @java.lang.Override + public java.lang.String getInviteUserGuid() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserGuid_ = s; + return s; + } + } + /** + * string inviteUserGuid = 4; + * @return The bytes for inviteUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviteUserGuidBytes() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (errorCode_ != com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.Success.getNumber()) { + output.writeEnum(1, errorCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, invitePartyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteHostGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, inviteHostGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, inviteUserGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (errorCode_ != com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.Success.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, errorCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, invitePartyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteHostGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inviteHostGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, inviteUserGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) obj; + + if (errorCode_ != other.errorCode_) return false; + if (!getInvitePartyGuid() + .equals(other.getInvitePartyGuid())) return false; + if (!getInviteHostGuid() + .equals(other.getInviteHostGuid())) return false; + if (!getInviteUserGuid() + .equals(other.getInviteUserGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ERRORCODE_FIELD_NUMBER; + hash = (53 * hash) + errorCode_; + hash = (37 * hash) + INVITEPARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getInvitePartyGuid().hashCode(); + hash = (37 * hash) + INVITEHOSTGUID_FIELD_NUMBER; + hash = (53 * hash) + getInviteHostGuid().hashCode(); + hash = (37 * hash) + INVITEUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getInviteUserGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULTOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_INVITE_RESULT_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_INVITE_RESULT_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + errorCode_ = 0; + invitePartyGuid_ = ""; + inviteHostGuid_ = ""; + inviteUserGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_PARTY_INVITE_RESULT_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.errorCode_ = errorCode_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.invitePartyGuid_ = invitePartyGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.inviteHostGuid_ = inviteHostGuid_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.inviteUserGuid_ = inviteUserGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.getDefaultInstance()) return this; + if (other.errorCode_ != 0) { + setErrorCodeValue(other.getErrorCodeValue()); + } + if (!other.getInvitePartyGuid().isEmpty()) { + invitePartyGuid_ = other.invitePartyGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getInviteHostGuid().isEmpty()) { + inviteHostGuid_ = other.inviteHostGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getInviteUserGuid().isEmpty()) { + inviteUserGuid_ = other.inviteUserGuid_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + errorCode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + invitePartyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + inviteHostGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + inviteUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int errorCode_ = 0; + /** + * .ServerErrorCode errorCode = 1; + * @return The enum numeric value on the wire for errorCode. + */ + @java.lang.Override public int getErrorCodeValue() { + return errorCode_; + } + /** + * .ServerErrorCode errorCode = 1; + * @param value The enum numeric value on the wire for errorCode to set. + * @return This builder for chaining. + */ + public Builder setErrorCodeValue(int value) { + errorCode_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .ServerErrorCode errorCode = 1; + * @return The errorCode. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode getErrorCode() { + com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode result = com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.forNumber(errorCode_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode.UNRECOGNIZED : result; + } + /** + * .ServerErrorCode errorCode = 1; + * @param value The errorCode to set. + * @return This builder for chaining. + */ + public Builder setErrorCode(com.caliverse.admin.domain.RabbitMq.message.ServerErrorCode value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + errorCode_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .ServerErrorCode errorCode = 1; + * @return This builder for chaining. + */ + public Builder clearErrorCode() { + bitField0_ = (bitField0_ & ~0x00000001); + errorCode_ = 0; + onChanged(); + return this; + } + + private java.lang.Object invitePartyGuid_ = ""; + /** + * string invitePartyGuid = 2; + * @return The invitePartyGuid. + */ + public java.lang.String getInvitePartyGuid() { + java.lang.Object ref = invitePartyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string invitePartyGuid = 2; + * @return The bytes for invitePartyGuid. + */ + public com.google.protobuf.ByteString + getInvitePartyGuidBytes() { + java.lang.Object ref = invitePartyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string invitePartyGuid = 2; + * @param value The invitePartyGuid to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + invitePartyGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string invitePartyGuid = 2; + * @return This builder for chaining. + */ + public Builder clearInvitePartyGuid() { + invitePartyGuid_ = getDefaultInstance().getInvitePartyGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string invitePartyGuid = 2; + * @param value The bytes for invitePartyGuid to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + invitePartyGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object inviteHostGuid_ = ""; + /** + * string inviteHostGuid = 3; + * @return The inviteHostGuid. + */ + public java.lang.String getInviteHostGuid() { + java.lang.Object ref = inviteHostGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteHostGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviteHostGuid = 3; + * @return The bytes for inviteHostGuid. + */ + public com.google.protobuf.ByteString + getInviteHostGuidBytes() { + java.lang.Object ref = inviteHostGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteHostGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviteHostGuid = 3; + * @param value The inviteHostGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteHostGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviteHostGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string inviteHostGuid = 3; + * @return This builder for chaining. + */ + public Builder clearInviteHostGuid() { + inviteHostGuid_ = getDefaultInstance().getInviteHostGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string inviteHostGuid = 3; + * @param value The bytes for inviteHostGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteHostGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviteHostGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object inviteUserGuid_ = ""; + /** + * string inviteUserGuid = 4; + * @return The inviteUserGuid. + */ + public java.lang.String getInviteUserGuid() { + java.lang.Object ref = inviteUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviteUserGuid = 4; + * @return The bytes for inviteUserGuid. + */ + public com.google.protobuf.ByteString + getInviteUserGuidBytes() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviteUserGuid = 4; + * @param value The inviteUserGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviteUserGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string inviteUserGuid = 4; + * @return This builder for chaining. + */ + public Builder clearInviteUserGuid() { + inviteUserGuid_ = getDefaultInstance().getInviteUserGuid(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string inviteUserGuid = 4; + * @param value The bytes for inviteUserGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviteUserGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2C_NTF_PARTY_INVITE_RESULT parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2C_NTF_DESTROY_PARTYOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2C_NTF_DESTROY_PARTY) + com.google.protobuf.MessageOrBuilder { + + /** + * string destroyPartyGuid = 1; + * @return The destroyPartyGuid. + */ + java.lang.String getDestroyPartyGuid(); + /** + * string destroyPartyGuid = 1; + * @return The bytes for destroyPartyGuid. + */ + com.google.protobuf.ByteString + getDestroyPartyGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2C_NTF_DESTROY_PARTY} + */ + public static final class GS2C_NTF_DESTROY_PARTY extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2C_NTF_DESTROY_PARTY) + GS2C_NTF_DESTROY_PARTYOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2C_NTF_DESTROY_PARTY.newBuilder() to construct. + private GS2C_NTF_DESTROY_PARTY(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2C_NTF_DESTROY_PARTY() { + destroyPartyGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2C_NTF_DESTROY_PARTY(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_DESTROY_PARTY_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_DESTROY_PARTY_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.Builder.class); + } + + public static final int DESTROYPARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object destroyPartyGuid_ = ""; + /** + * string destroyPartyGuid = 1; + * @return The destroyPartyGuid. + */ + @java.lang.Override + public java.lang.String getDestroyPartyGuid() { + java.lang.Object ref = destroyPartyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + destroyPartyGuid_ = s; + return s; + } + } + /** + * string destroyPartyGuid = 1; + * @return The bytes for destroyPartyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDestroyPartyGuidBytes() { + java.lang.Object ref = destroyPartyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + destroyPartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destroyPartyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destroyPartyGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destroyPartyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destroyPartyGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY) obj; + + if (!getDestroyPartyGuid() + .equals(other.getDestroyPartyGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DESTROYPARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getDestroyPartyGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2C_NTF_DESTROY_PARTY} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2C_NTF_DESTROY_PARTY) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTYOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_DESTROY_PARTY_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_DESTROY_PARTY_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + destroyPartyGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2C_NTF_DESTROY_PARTY_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.destroyPartyGuid_ = destroyPartyGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.getDefaultInstance()) return this; + if (!other.getDestroyPartyGuid().isEmpty()) { + destroyPartyGuid_ = other.destroyPartyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + destroyPartyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object destroyPartyGuid_ = ""; + /** + * string destroyPartyGuid = 1; + * @return The destroyPartyGuid. + */ + public java.lang.String getDestroyPartyGuid() { + java.lang.Object ref = destroyPartyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + destroyPartyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string destroyPartyGuid = 1; + * @return The bytes for destroyPartyGuid. + */ + public com.google.protobuf.ByteString + getDestroyPartyGuidBytes() { + java.lang.Object ref = destroyPartyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + destroyPartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string destroyPartyGuid = 1; + * @param value The destroyPartyGuid to set. + * @return This builder for chaining. + */ + public Builder setDestroyPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + destroyPartyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string destroyPartyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearDestroyPartyGuid() { + destroyPartyGuid_ = getDefaultInstance().getDestroyPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string destroyPartyGuid = 1; + * @param value The bytes for destroyPartyGuid to set. + * @return This builder for chaining. + */ + public Builder setDestroyPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + destroyPartyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2C_NTF_DESTROY_PARTY) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2C_NTF_DESTROY_PARTY) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2C_NTF_DESTROY_PARTY parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface InvitePartyNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.InvitePartyNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string inviteUserGuid = 1; + * @return The inviteUserGuid. + */ + java.lang.String getInviteUserGuid(); + /** + * string inviteUserGuid = 1; + * @return The bytes for inviteUserGuid. + */ + com.google.protobuf.ByteString + getInviteUserGuidBytes(); + + /** + * string invitePartyLeaderGuid = 2; + * @return The invitePartyLeaderGuid. + */ + java.lang.String getInvitePartyLeaderGuid(); + /** + * string invitePartyLeaderGuid = 2; + * @return The bytes for invitePartyLeaderGuid. + */ + com.google.protobuf.ByteString + getInvitePartyLeaderGuidBytes(); + + /** + * string invitePartyGuid = 3; + * @return The invitePartyGuid. + */ + java.lang.String getInvitePartyGuid(); + /** + * string invitePartyGuid = 3; + * @return The bytes for invitePartyGuid. + */ + com.google.protobuf.ByteString + getInvitePartyGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.InvitePartyNoti} + */ + public static final class InvitePartyNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.InvitePartyNoti) + InvitePartyNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use InvitePartyNoti.newBuilder() to construct. + private InvitePartyNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private InvitePartyNoti() { + inviteUserGuid_ = ""; + invitePartyLeaderGuid_ = ""; + invitePartyGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InvitePartyNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InvitePartyNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InvitePartyNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.Builder.class); + } + + public static final int INVITEUSERGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object inviteUserGuid_ = ""; + /** + * string inviteUserGuid = 1; + * @return The inviteUserGuid. + */ + @java.lang.Override + public java.lang.String getInviteUserGuid() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserGuid_ = s; + return s; + } + } + /** + * string inviteUserGuid = 1; + * @return The bytes for inviteUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviteUserGuidBytes() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITEPARTYLEADERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object invitePartyLeaderGuid_ = ""; + /** + * string invitePartyLeaderGuid = 2; + * @return The invitePartyLeaderGuid. + */ + @java.lang.Override + public java.lang.String getInvitePartyLeaderGuid() { + java.lang.Object ref = invitePartyLeaderGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyLeaderGuid_ = s; + return s; + } + } + /** + * string invitePartyLeaderGuid = 2; + * @return The bytes for invitePartyLeaderGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInvitePartyLeaderGuidBytes() { + java.lang.Object ref = invitePartyLeaderGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyLeaderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITEPARTYGUID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object invitePartyGuid_ = ""; + /** + * string invitePartyGuid = 3; + * @return The invitePartyGuid. + */ + @java.lang.Override + public java.lang.String getInvitePartyGuid() { + java.lang.Object ref = invitePartyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyGuid_ = s; + return s; + } + } + /** + * string invitePartyGuid = 3; + * @return The bytes for invitePartyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInvitePartyGuidBytes() { + java.lang.Object ref = invitePartyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inviteUserGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyLeaderGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, invitePartyLeaderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, invitePartyGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inviteUserGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyLeaderGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, invitePartyLeaderGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, invitePartyGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti) obj; + + if (!getInviteUserGuid() + .equals(other.getInviteUserGuid())) return false; + if (!getInvitePartyLeaderGuid() + .equals(other.getInvitePartyLeaderGuid())) return false; + if (!getInvitePartyGuid() + .equals(other.getInvitePartyGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INVITEUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getInviteUserGuid().hashCode(); + hash = (37 * hash) + INVITEPARTYLEADERGUID_FIELD_NUMBER; + hash = (53 * hash) + getInvitePartyLeaderGuid().hashCode(); + hash = (37 * hash) + INVITEPARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getInvitePartyGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.InvitePartyNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.InvitePartyNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InvitePartyNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InvitePartyNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + inviteUserGuid_ = ""; + invitePartyLeaderGuid_ = ""; + invitePartyGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_InvitePartyNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.inviteUserGuid_ = inviteUserGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.invitePartyLeaderGuid_ = invitePartyLeaderGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.invitePartyGuid_ = invitePartyGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.getDefaultInstance()) return this; + if (!other.getInviteUserGuid().isEmpty()) { + inviteUserGuid_ = other.inviteUserGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getInvitePartyLeaderGuid().isEmpty()) { + invitePartyLeaderGuid_ = other.invitePartyLeaderGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getInvitePartyGuid().isEmpty()) { + invitePartyGuid_ = other.invitePartyGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + inviteUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + invitePartyLeaderGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + invitePartyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object inviteUserGuid_ = ""; + /** + * string inviteUserGuid = 1; + * @return The inviteUserGuid. + */ + public java.lang.String getInviteUserGuid() { + java.lang.Object ref = inviteUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviteUserGuid = 1; + * @return The bytes for inviteUserGuid. + */ + public com.google.protobuf.ByteString + getInviteUserGuidBytes() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviteUserGuid = 1; + * @param value The inviteUserGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviteUserGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string inviteUserGuid = 1; + * @return This builder for chaining. + */ + public Builder clearInviteUserGuid() { + inviteUserGuid_ = getDefaultInstance().getInviteUserGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string inviteUserGuid = 1; + * @param value The bytes for inviteUserGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviteUserGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object invitePartyLeaderGuid_ = ""; + /** + * string invitePartyLeaderGuid = 2; + * @return The invitePartyLeaderGuid. + */ + public java.lang.String getInvitePartyLeaderGuid() { + java.lang.Object ref = invitePartyLeaderGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyLeaderGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string invitePartyLeaderGuid = 2; + * @return The bytes for invitePartyLeaderGuid. + */ + public com.google.protobuf.ByteString + getInvitePartyLeaderGuidBytes() { + java.lang.Object ref = invitePartyLeaderGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyLeaderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string invitePartyLeaderGuid = 2; + * @param value The invitePartyLeaderGuid to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyLeaderGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + invitePartyLeaderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string invitePartyLeaderGuid = 2; + * @return This builder for chaining. + */ + public Builder clearInvitePartyLeaderGuid() { + invitePartyLeaderGuid_ = getDefaultInstance().getInvitePartyLeaderGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string invitePartyLeaderGuid = 2; + * @param value The bytes for invitePartyLeaderGuid to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyLeaderGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + invitePartyLeaderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object invitePartyGuid_ = ""; + /** + * string invitePartyGuid = 3; + * @return The invitePartyGuid. + */ + public java.lang.String getInvitePartyGuid() { + java.lang.Object ref = invitePartyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string invitePartyGuid = 3; + * @return The bytes for invitePartyGuid. + */ + public com.google.protobuf.ByteString + getInvitePartyGuidBytes() { + java.lang.Object ref = invitePartyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string invitePartyGuid = 3; + * @param value The invitePartyGuid to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + invitePartyGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string invitePartyGuid = 3; + * @return This builder for chaining. + */ + public Builder clearInvitePartyGuid() { + invitePartyGuid_ = getDefaultInstance().getInvitePartyGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string invitePartyGuid = 3; + * @param value The bytes for invitePartyGuid to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + invitePartyGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.InvitePartyNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.InvitePartyNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvitePartyNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReplyInvitePartyNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ReplyInvitePartyNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string invitePartyGuid = 1; + * @return The invitePartyGuid. + */ + java.lang.String getInvitePartyGuid(); + /** + * string invitePartyGuid = 1; + * @return The bytes for invitePartyGuid. + */ + com.google.protobuf.ByteString + getInvitePartyGuidBytes(); + + /** + * string inviteUserGuid = 2; + * @return The inviteUserGuid. + */ + java.lang.String getInviteUserGuid(); + /** + * string inviteUserGuid = 2; + * @return The bytes for inviteUserGuid. + */ + com.google.protobuf.ByteString + getInviteUserGuidBytes(); + + /** + * string inviteUserNickname = 3; + * @return The inviteUserNickname. + */ + java.lang.String getInviteUserNickname(); + /** + * string inviteUserNickname = 3; + * @return The bytes for inviteUserNickname. + */ + com.google.protobuf.ByteString + getInviteUserNicknameBytes(); + + /** + * .BoolType result = 4; + * @return The enum numeric value on the wire for result. + */ + int getResultValue(); + /** + * .BoolType result = 4; + * @return The result. + */ + com.caliverse.admin.domain.RabbitMq.message.BoolType getResult(); + } + /** + * Protobuf type {@code ServerMessage.ReplyInvitePartyNoti} + */ + public static final class ReplyInvitePartyNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ReplyInvitePartyNoti) + ReplyInvitePartyNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReplyInvitePartyNoti.newBuilder() to construct. + private ReplyInvitePartyNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReplyInvitePartyNoti() { + invitePartyGuid_ = ""; + inviteUserGuid_ = ""; + inviteUserNickname_ = ""; + result_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReplyInvitePartyNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyInvitePartyNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyInvitePartyNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.Builder.class); + } + + public static final int INVITEPARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object invitePartyGuid_ = ""; + /** + * string invitePartyGuid = 1; + * @return The invitePartyGuid. + */ + @java.lang.Override + public java.lang.String getInvitePartyGuid() { + java.lang.Object ref = invitePartyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyGuid_ = s; + return s; + } + } + /** + * string invitePartyGuid = 1; + * @return The bytes for invitePartyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInvitePartyGuidBytes() { + java.lang.Object ref = invitePartyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITEUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object inviteUserGuid_ = ""; + /** + * string inviteUserGuid = 2; + * @return The inviteUserGuid. + */ + @java.lang.Override + public java.lang.String getInviteUserGuid() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserGuid_ = s; + return s; + } + } + /** + * string inviteUserGuid = 2; + * @return The bytes for inviteUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviteUserGuidBytes() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITEUSERNICKNAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object inviteUserNickname_ = ""; + /** + * string inviteUserNickname = 3; + * @return The inviteUserNickname. + */ + @java.lang.Override + public java.lang.String getInviteUserNickname() { + java.lang.Object ref = inviteUserNickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserNickname_ = s; + return s; + } + } + /** + * string inviteUserNickname = 3; + * @return The bytes for inviteUserNickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviteUserNicknameBytes() { + java.lang.Object ref = inviteUserNickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESULT_FIELD_NUMBER = 4; + private int result_ = 0; + /** + * .BoolType result = 4; + * @return The enum numeric value on the wire for result. + */ + @java.lang.Override public int getResultValue() { + return result_; + } + /** + * .BoolType result = 4; + * @return The result. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getResult() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(result_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, invitePartyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inviteUserGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserNickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, inviteUserNickname_); + } + if (result_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + output.writeEnum(4, result_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, invitePartyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inviteUserGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserNickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inviteUserNickname_); + } + if (result_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, result_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti) obj; + + if (!getInvitePartyGuid() + .equals(other.getInvitePartyGuid())) return false; + if (!getInviteUserGuid() + .equals(other.getInviteUserGuid())) return false; + if (!getInviteUserNickname() + .equals(other.getInviteUserNickname())) return false; + if (result_ != other.result_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INVITEPARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getInvitePartyGuid().hashCode(); + hash = (37 * hash) + INVITEUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getInviteUserGuid().hashCode(); + hash = (37 * hash) + INVITEUSERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getInviteUserNickname().hashCode(); + hash = (37 * hash) + RESULT_FIELD_NUMBER; + hash = (53 * hash) + result_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ReplyInvitePartyNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ReplyInvitePartyNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyInvitePartyNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyInvitePartyNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + invitePartyGuid_ = ""; + inviteUserGuid_ = ""; + inviteUserNickname_ = ""; + result_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyInvitePartyNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.invitePartyGuid_ = invitePartyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.inviteUserGuid_ = inviteUserGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.inviteUserNickname_ = inviteUserNickname_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.result_ = result_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.getDefaultInstance()) return this; + if (!other.getInvitePartyGuid().isEmpty()) { + invitePartyGuid_ = other.invitePartyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getInviteUserGuid().isEmpty()) { + inviteUserGuid_ = other.inviteUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getInviteUserNickname().isEmpty()) { + inviteUserNickname_ = other.inviteUserNickname_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.result_ != 0) { + setResultValue(other.getResultValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + invitePartyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + inviteUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + inviteUserNickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + result_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object invitePartyGuid_ = ""; + /** + * string invitePartyGuid = 1; + * @return The invitePartyGuid. + */ + public java.lang.String getInvitePartyGuid() { + java.lang.Object ref = invitePartyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + invitePartyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string invitePartyGuid = 1; + * @return The bytes for invitePartyGuid. + */ + public com.google.protobuf.ByteString + getInvitePartyGuidBytes() { + java.lang.Object ref = invitePartyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + invitePartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string invitePartyGuid = 1; + * @param value The invitePartyGuid to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + invitePartyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string invitePartyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearInvitePartyGuid() { + invitePartyGuid_ = getDefaultInstance().getInvitePartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string invitePartyGuid = 1; + * @param value The bytes for invitePartyGuid to set. + * @return This builder for chaining. + */ + public Builder setInvitePartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + invitePartyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object inviteUserGuid_ = ""; + /** + * string inviteUserGuid = 2; + * @return The inviteUserGuid. + */ + public java.lang.String getInviteUserGuid() { + java.lang.Object ref = inviteUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviteUserGuid = 2; + * @return The bytes for inviteUserGuid. + */ + public com.google.protobuf.ByteString + getInviteUserGuidBytes() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviteUserGuid = 2; + * @param value The inviteUserGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviteUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string inviteUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearInviteUserGuid() { + inviteUserGuid_ = getDefaultInstance().getInviteUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string inviteUserGuid = 2; + * @param value The bytes for inviteUserGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviteUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object inviteUserNickname_ = ""; + /** + * string inviteUserNickname = 3; + * @return The inviteUserNickname. + */ + public java.lang.String getInviteUserNickname() { + java.lang.Object ref = inviteUserNickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserNickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviteUserNickname = 3; + * @return The bytes for inviteUserNickname. + */ + public com.google.protobuf.ByteString + getInviteUserNicknameBytes() { + java.lang.Object ref = inviteUserNickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviteUserNickname = 3; + * @param value The inviteUserNickname to set. + * @return This builder for chaining. + */ + public Builder setInviteUserNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviteUserNickname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string inviteUserNickname = 3; + * @return This builder for chaining. + */ + public Builder clearInviteUserNickname() { + inviteUserNickname_ = getDefaultInstance().getInviteUserNickname(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string inviteUserNickname = 3; + * @param value The bytes for inviteUserNickname to set. + * @return This builder for chaining. + */ + public Builder setInviteUserNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviteUserNickname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int result_ = 0; + /** + * .BoolType result = 4; + * @return The enum numeric value on the wire for result. + */ + @java.lang.Override public int getResultValue() { + return result_; + } + /** + * .BoolType result = 4; + * @param value The enum numeric value on the wire for result to set. + * @return This builder for chaining. + */ + public Builder setResultValue(int value) { + result_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .BoolType result = 4; + * @return The result. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BoolType getResult() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(result_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + /** + * .BoolType result = 4; + * @param value The result to set. + * @return This builder for chaining. + */ + public Builder setResult(com.caliverse.admin.domain.RabbitMq.message.BoolType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + result_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .BoolType result = 4; + * @return This builder for chaining. + */ + public Builder clearResult() { + bitField0_ = (bitField0_ & ~0x00000008); + result_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ReplyInvitePartyNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ReplyInvitePartyNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplyInvitePartyNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CreatePartyNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.CreatePartyNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string joinPartyMemberAccountId = 1; + * @return The joinPartyMemberAccountId. + */ + java.lang.String getJoinPartyMemberAccountId(); + /** + * string joinPartyMemberAccountId = 1; + * @return The bytes for joinPartyMemberAccountId. + */ + com.google.protobuf.ByteString + getJoinPartyMemberAccountIdBytes(); + + /** + * string createPartyGuid = 2; + * @return The createPartyGuid. + */ + java.lang.String getCreatePartyGuid(); + /** + * string createPartyGuid = 2; + * @return The bytes for createPartyGuid. + */ + com.google.protobuf.ByteString + getCreatePartyGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.CreatePartyNoti} + */ + public static final class CreatePartyNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.CreatePartyNoti) + CreatePartyNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreatePartyNoti.newBuilder() to construct. + private CreatePartyNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreatePartyNoti() { + joinPartyMemberAccountId_ = ""; + createPartyGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CreatePartyNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CreatePartyNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CreatePartyNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti.Builder.class); + } + + public static final int JOINPARTYMEMBERACCOUNTID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object joinPartyMemberAccountId_ = ""; + /** + * string joinPartyMemberAccountId = 1; + * @return The joinPartyMemberAccountId. + */ + @java.lang.Override + public java.lang.String getJoinPartyMemberAccountId() { + java.lang.Object ref = joinPartyMemberAccountId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + joinPartyMemberAccountId_ = s; + return s; + } + } + /** + * string joinPartyMemberAccountId = 1; + * @return The bytes for joinPartyMemberAccountId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getJoinPartyMemberAccountIdBytes() { + java.lang.Object ref = joinPartyMemberAccountId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + joinPartyMemberAccountId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CREATEPARTYGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object createPartyGuid_ = ""; + /** + * string createPartyGuid = 2; + * @return The createPartyGuid. + */ + @java.lang.Override + public java.lang.String getCreatePartyGuid() { + java.lang.Object ref = createPartyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + createPartyGuid_ = s; + return s; + } + } + /** + * string createPartyGuid = 2; + * @return The bytes for createPartyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCreatePartyGuidBytes() { + java.lang.Object ref = createPartyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + createPartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(joinPartyMemberAccountId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, joinPartyMemberAccountId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createPartyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, createPartyGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(joinPartyMemberAccountId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, joinPartyMemberAccountId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createPartyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, createPartyGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti) obj; + + if (!getJoinPartyMemberAccountId() + .equals(other.getJoinPartyMemberAccountId())) return false; + if (!getCreatePartyGuid() + .equals(other.getCreatePartyGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + JOINPARTYMEMBERACCOUNTID_FIELD_NUMBER; + hash = (53 * hash) + getJoinPartyMemberAccountId().hashCode(); + hash = (37 * hash) + CREATEPARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getCreatePartyGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.CreatePartyNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.CreatePartyNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CreatePartyNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CreatePartyNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + joinPartyMemberAccountId_ = ""; + createPartyGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CreatePartyNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.joinPartyMemberAccountId_ = joinPartyMemberAccountId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.createPartyGuid_ = createPartyGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti.getDefaultInstance()) return this; + if (!other.getJoinPartyMemberAccountId().isEmpty()) { + joinPartyMemberAccountId_ = other.joinPartyMemberAccountId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getCreatePartyGuid().isEmpty()) { + createPartyGuid_ = other.createPartyGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + joinPartyMemberAccountId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + createPartyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object joinPartyMemberAccountId_ = ""; + /** + * string joinPartyMemberAccountId = 1; + * @return The joinPartyMemberAccountId. + */ + public java.lang.String getJoinPartyMemberAccountId() { + java.lang.Object ref = joinPartyMemberAccountId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + joinPartyMemberAccountId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string joinPartyMemberAccountId = 1; + * @return The bytes for joinPartyMemberAccountId. + */ + public com.google.protobuf.ByteString + getJoinPartyMemberAccountIdBytes() { + java.lang.Object ref = joinPartyMemberAccountId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + joinPartyMemberAccountId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string joinPartyMemberAccountId = 1; + * @param value The joinPartyMemberAccountId to set. + * @return This builder for chaining. + */ + public Builder setJoinPartyMemberAccountId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + joinPartyMemberAccountId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string joinPartyMemberAccountId = 1; + * @return This builder for chaining. + */ + public Builder clearJoinPartyMemberAccountId() { + joinPartyMemberAccountId_ = getDefaultInstance().getJoinPartyMemberAccountId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string joinPartyMemberAccountId = 1; + * @param value The bytes for joinPartyMemberAccountId to set. + * @return This builder for chaining. + */ + public Builder setJoinPartyMemberAccountIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + joinPartyMemberAccountId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object createPartyGuid_ = ""; + /** + * string createPartyGuid = 2; + * @return The createPartyGuid. + */ + public java.lang.String getCreatePartyGuid() { + java.lang.Object ref = createPartyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + createPartyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string createPartyGuid = 2; + * @return The bytes for createPartyGuid. + */ + public com.google.protobuf.ByteString + getCreatePartyGuidBytes() { + java.lang.Object ref = createPartyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + createPartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string createPartyGuid = 2; + * @param value The createPartyGuid to set. + * @return This builder for chaining. + */ + public Builder setCreatePartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + createPartyGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string createPartyGuid = 2; + * @return This builder for chaining. + */ + public Builder clearCreatePartyGuid() { + createPartyGuid_ = getDefaultInstance().getCreatePartyGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string createPartyGuid = 2; + * @param value The bytes for createPartyGuid to set. + * @return This builder for chaining. + */ + public Builder setCreatePartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + createPartyGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.CreatePartyNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.CreatePartyNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePartyNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CreatePartyNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface JoinPartyMemberNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.JoinPartyMemberNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string joinPartyMemberInfo = 2; + * @return The joinPartyMemberInfo. + */ + java.lang.String getJoinPartyMemberInfo(); + /** + * string joinPartyMemberInfo = 2; + * @return The bytes for joinPartyMemberInfo. + */ + com.google.protobuf.ByteString + getJoinPartyMemberInfoBytes(); + } + /** + * Protobuf type {@code ServerMessage.JoinPartyMemberNoti} + */ + public static final class JoinPartyMemberNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.JoinPartyMemberNoti) + JoinPartyMemberNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use JoinPartyMemberNoti.newBuilder() to construct. + private JoinPartyMemberNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private JoinPartyMemberNoti() { + partyGuid_ = ""; + joinPartyMemberInfo_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new JoinPartyMemberNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_JoinPartyMemberNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_JoinPartyMemberNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int JOINPARTYMEMBERINFO_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object joinPartyMemberInfo_ = ""; + /** + * string joinPartyMemberInfo = 2; + * @return The joinPartyMemberInfo. + */ + @java.lang.Override + public java.lang.String getJoinPartyMemberInfo() { + java.lang.Object ref = joinPartyMemberInfo_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + joinPartyMemberInfo_ = s; + return s; + } + } + /** + * string joinPartyMemberInfo = 2; + * @return The bytes for joinPartyMemberInfo. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getJoinPartyMemberInfoBytes() { + java.lang.Object ref = joinPartyMemberInfo_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + joinPartyMemberInfo_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(joinPartyMemberInfo_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, joinPartyMemberInfo_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(joinPartyMemberInfo_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, joinPartyMemberInfo_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getJoinPartyMemberInfo() + .equals(other.getJoinPartyMemberInfo())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + JOINPARTYMEMBERINFO_FIELD_NUMBER; + hash = (53 * hash) + getJoinPartyMemberInfo().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.JoinPartyMemberNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.JoinPartyMemberNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_JoinPartyMemberNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_JoinPartyMemberNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + joinPartyMemberInfo_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_JoinPartyMemberNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.joinPartyMemberInfo_ = joinPartyMemberInfo_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getJoinPartyMemberInfo().isEmpty()) { + joinPartyMemberInfo_ = other.joinPartyMemberInfo_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + joinPartyMemberInfo_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object joinPartyMemberInfo_ = ""; + /** + * string joinPartyMemberInfo = 2; + * @return The joinPartyMemberInfo. + */ + public java.lang.String getJoinPartyMemberInfo() { + java.lang.Object ref = joinPartyMemberInfo_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + joinPartyMemberInfo_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string joinPartyMemberInfo = 2; + * @return The bytes for joinPartyMemberInfo. + */ + public com.google.protobuf.ByteString + getJoinPartyMemberInfoBytes() { + java.lang.Object ref = joinPartyMemberInfo_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + joinPartyMemberInfo_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string joinPartyMemberInfo = 2; + * @param value The joinPartyMemberInfo to set. + * @return This builder for chaining. + */ + public Builder setJoinPartyMemberInfo( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + joinPartyMemberInfo_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string joinPartyMemberInfo = 2; + * @return This builder for chaining. + */ + public Builder clearJoinPartyMemberInfo() { + joinPartyMemberInfo_ = getDefaultInstance().getJoinPartyMemberInfo(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string joinPartyMemberInfo = 2; + * @param value The bytes for joinPartyMemberInfo to set. + * @return This builder for chaining. + */ + public Builder setJoinPartyMemberInfoBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + joinPartyMemberInfo_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.JoinPartyMemberNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.JoinPartyMemberNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JoinPartyMemberNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface LeavePartyMemberNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.LeavePartyMemberNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string leavePartyUserGuid = 2; + * @return The leavePartyUserGuid. + */ + java.lang.String getLeavePartyUserGuid(); + /** + * string leavePartyUserGuid = 2; + * @return The bytes for leavePartyUserGuid. + */ + com.google.protobuf.ByteString + getLeavePartyUserGuidBytes(); + + /** + * .BoolType isBan = 3; + * @return The enum numeric value on the wire for isBan. + */ + int getIsBanValue(); + /** + * .BoolType isBan = 3; + * @return The isBan. + */ + com.caliverse.admin.domain.RabbitMq.message.BoolType getIsBan(); + } + /** + * Protobuf type {@code ServerMessage.LeavePartyMemberNoti} + */ + public static final class LeavePartyMemberNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.LeavePartyMemberNoti) + LeavePartyMemberNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use LeavePartyMemberNoti.newBuilder() to construct. + private LeavePartyMemberNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LeavePartyMemberNoti() { + partyGuid_ = ""; + leavePartyUserGuid_ = ""; + isBan_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LeavePartyMemberNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LeavePartyMemberNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LeavePartyMemberNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LEAVEPARTYUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object leavePartyUserGuid_ = ""; + /** + * string leavePartyUserGuid = 2; + * @return The leavePartyUserGuid. + */ + @java.lang.Override + public java.lang.String getLeavePartyUserGuid() { + java.lang.Object ref = leavePartyUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + leavePartyUserGuid_ = s; + return s; + } + } + /** + * string leavePartyUserGuid = 2; + * @return The bytes for leavePartyUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLeavePartyUserGuidBytes() { + java.lang.Object ref = leavePartyUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + leavePartyUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ISBAN_FIELD_NUMBER = 3; + private int isBan_ = 0; + /** + * .BoolType isBan = 3; + * @return The enum numeric value on the wire for isBan. + */ + @java.lang.Override public int getIsBanValue() { + return isBan_; + } + /** + * .BoolType isBan = 3; + * @return The isBan. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsBan() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isBan_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(leavePartyUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, leavePartyUserGuid_); + } + if (isBan_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + output.writeEnum(3, isBan_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(leavePartyUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, leavePartyUserGuid_); + } + if (isBan_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, isBan_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getLeavePartyUserGuid() + .equals(other.getLeavePartyUserGuid())) return false; + if (isBan_ != other.isBan_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + LEAVEPARTYUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getLeavePartyUserGuid().hashCode(); + hash = (37 * hash) + ISBAN_FIELD_NUMBER; + hash = (53 * hash) + isBan_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.LeavePartyMemberNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.LeavePartyMemberNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LeavePartyMemberNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LeavePartyMemberNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + leavePartyUserGuid_ = ""; + isBan_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_LeavePartyMemberNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.leavePartyUserGuid_ = leavePartyUserGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.isBan_ = isBan_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getLeavePartyUserGuid().isEmpty()) { + leavePartyUserGuid_ = other.leavePartyUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.isBan_ != 0) { + setIsBanValue(other.getIsBanValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + leavePartyUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + isBan_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object leavePartyUserGuid_ = ""; + /** + * string leavePartyUserGuid = 2; + * @return The leavePartyUserGuid. + */ + public java.lang.String getLeavePartyUserGuid() { + java.lang.Object ref = leavePartyUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + leavePartyUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string leavePartyUserGuid = 2; + * @return The bytes for leavePartyUserGuid. + */ + public com.google.protobuf.ByteString + getLeavePartyUserGuidBytes() { + java.lang.Object ref = leavePartyUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + leavePartyUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string leavePartyUserGuid = 2; + * @param value The leavePartyUserGuid to set. + * @return This builder for chaining. + */ + public Builder setLeavePartyUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + leavePartyUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string leavePartyUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearLeavePartyUserGuid() { + leavePartyUserGuid_ = getDefaultInstance().getLeavePartyUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string leavePartyUserGuid = 2; + * @param value The bytes for leavePartyUserGuid to set. + * @return This builder for chaining. + */ + public Builder setLeavePartyUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + leavePartyUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int isBan_ = 0; + /** + * .BoolType isBan = 3; + * @return The enum numeric value on the wire for isBan. + */ + @java.lang.Override public int getIsBanValue() { + return isBan_; + } + /** + * .BoolType isBan = 3; + * @param value The enum numeric value on the wire for isBan to set. + * @return This builder for chaining. + */ + public Builder setIsBanValue(int value) { + isBan_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .BoolType isBan = 3; + * @return The isBan. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsBan() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isBan_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + /** + * .BoolType isBan = 3; + * @param value The isBan to set. + * @return This builder for chaining. + */ + public Builder setIsBan(com.caliverse.admin.domain.RabbitMq.message.BoolType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + isBan_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .BoolType isBan = 3; + * @return This builder for chaining. + */ + public Builder clearIsBan() { + bitField0_ = (bitField0_ & ~0x00000004); + isBan_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.LeavePartyMemberNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.LeavePartyMemberNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeavePartyMemberNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ChangePartyServerNameNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ChangePartyServerNameNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * .BoolType isAddition = 2; + * @return The enum numeric value on the wire for isAddition. + */ + int getIsAdditionValue(); + /** + * .BoolType isAddition = 2; + * @return The isAddition. + */ + com.caliverse.admin.domain.RabbitMq.message.BoolType getIsAddition(); + + /** + * string ServerName = 3; + * @return The serverName. + */ + java.lang.String getServerName(); + /** + * string ServerName = 3; + * @return The bytes for serverName. + */ + com.google.protobuf.ByteString + getServerNameBytes(); + } + /** + * Protobuf type {@code ServerMessage.ChangePartyServerNameNoti} + */ + public static final class ChangePartyServerNameNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ChangePartyServerNameNoti) + ChangePartyServerNameNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use ChangePartyServerNameNoti.newBuilder() to construct. + private ChangePartyServerNameNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ChangePartyServerNameNoti() { + partyGuid_ = ""; + isAddition_ = 0; + serverName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChangePartyServerNameNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangePartyServerNameNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangePartyServerNameNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ISADDITION_FIELD_NUMBER = 2; + private int isAddition_ = 0; + /** + * .BoolType isAddition = 2; + * @return The enum numeric value on the wire for isAddition. + */ + @java.lang.Override public int getIsAdditionValue() { + return isAddition_; + } + /** + * .BoolType isAddition = 2; + * @return The isAddition. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsAddition() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isAddition_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + + public static final int SERVERNAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object serverName_ = ""; + /** + * string ServerName = 3; + * @return The serverName. + */ + @java.lang.Override + public java.lang.String getServerName() { + java.lang.Object ref = serverName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serverName_ = s; + return s; + } + } + /** + * string ServerName = 3; + * @return The bytes for serverName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getServerNameBytes() { + java.lang.Object ref = serverName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + serverName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (isAddition_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + output.writeEnum(2, isAddition_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, serverName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (isAddition_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, isAddition_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serverName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (isAddition_ != other.isAddition_) return false; + if (!getServerName() + .equals(other.getServerName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + ISADDITION_FIELD_NUMBER; + hash = (53 * hash) + isAddition_; + hash = (37 * hash) + SERVERNAME_FIELD_NUMBER; + hash = (53 * hash) + getServerName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ChangePartyServerNameNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ChangePartyServerNameNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangePartyServerNameNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangePartyServerNameNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + isAddition_ = 0; + serverName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangePartyServerNameNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.isAddition_ = isAddition_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.serverName_ = serverName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.isAddition_ != 0) { + setIsAdditionValue(other.getIsAdditionValue()); + } + if (!other.getServerName().isEmpty()) { + serverName_ = other.serverName_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + isAddition_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + serverName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int isAddition_ = 0; + /** + * .BoolType isAddition = 2; + * @return The enum numeric value on the wire for isAddition. + */ + @java.lang.Override public int getIsAdditionValue() { + return isAddition_; + } + /** + * .BoolType isAddition = 2; + * @param value The enum numeric value on the wire for isAddition to set. + * @return This builder for chaining. + */ + public Builder setIsAdditionValue(int value) { + isAddition_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .BoolType isAddition = 2; + * @return The isAddition. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsAddition() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isAddition_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + /** + * .BoolType isAddition = 2; + * @param value The isAddition to set. + * @return This builder for chaining. + */ + public Builder setIsAddition(com.caliverse.admin.domain.RabbitMq.message.BoolType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + isAddition_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .BoolType isAddition = 2; + * @return This builder for chaining. + */ + public Builder clearIsAddition() { + bitField0_ = (bitField0_ & ~0x00000002); + isAddition_ = 0; + onChanged(); + return this; + } + + private java.lang.Object serverName_ = ""; + /** + * string ServerName = 3; + * @return The serverName. + */ + public java.lang.String getServerName() { + java.lang.Object ref = serverName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serverName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ServerName = 3; + * @return The bytes for serverName. + */ + public com.google.protobuf.ByteString + getServerNameBytes() { + java.lang.Object ref = serverName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + serverName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ServerName = 3; + * @param value The serverName to set. + * @return This builder for chaining. + */ + public Builder setServerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + serverName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string ServerName = 3; + * @return This builder for chaining. + */ + public Builder clearServerName() { + serverName_ = getDefaultInstance().getServerName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string ServerName = 3; + * @param value The bytes for serverName to set. + * @return This builder for chaining. + */ + public Builder setServerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + serverName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ChangePartyServerNameNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ChangePartyServerNameNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangePartyServerNameNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RemovePartyServerNameNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.RemovePartyServerNameNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string removeServerName = 2; + * @return The removeServerName. + */ + java.lang.String getRemoveServerName(); + /** + * string removeServerName = 2; + * @return The bytes for removeServerName. + */ + com.google.protobuf.ByteString + getRemoveServerNameBytes(); + } + /** + * Protobuf type {@code ServerMessage.RemovePartyServerNameNoti} + */ + public static final class RemovePartyServerNameNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.RemovePartyServerNameNoti) + RemovePartyServerNameNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemovePartyServerNameNoti.newBuilder() to construct. + private RemovePartyServerNameNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RemovePartyServerNameNoti() { + partyGuid_ = ""; + removeServerName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RemovePartyServerNameNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_RemovePartyServerNameNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_RemovePartyServerNameNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REMOVESERVERNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object removeServerName_ = ""; + /** + * string removeServerName = 2; + * @return The removeServerName. + */ + @java.lang.Override + public java.lang.String getRemoveServerName() { + java.lang.Object ref = removeServerName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + removeServerName_ = s; + return s; + } + } + /** + * string removeServerName = 2; + * @return The bytes for removeServerName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRemoveServerNameBytes() { + java.lang.Object ref = removeServerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + removeServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(removeServerName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, removeServerName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(removeServerName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, removeServerName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getRemoveServerName() + .equals(other.getRemoveServerName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + REMOVESERVERNAME_FIELD_NUMBER; + hash = (53 * hash) + getRemoveServerName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.RemovePartyServerNameNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.RemovePartyServerNameNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_RemovePartyServerNameNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_RemovePartyServerNameNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + removeServerName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_RemovePartyServerNameNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.removeServerName_ = removeServerName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getRemoveServerName().isEmpty()) { + removeServerName_ = other.removeServerName_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + removeServerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object removeServerName_ = ""; + /** + * string removeServerName = 2; + * @return The removeServerName. + */ + public java.lang.String getRemoveServerName() { + java.lang.Object ref = removeServerName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + removeServerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string removeServerName = 2; + * @return The bytes for removeServerName. + */ + public com.google.protobuf.ByteString + getRemoveServerNameBytes() { + java.lang.Object ref = removeServerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + removeServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string removeServerName = 2; + * @param value The removeServerName to set. + * @return This builder for chaining. + */ + public Builder setRemoveServerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + removeServerName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string removeServerName = 2; + * @return This builder for chaining. + */ + public Builder clearRemoveServerName() { + removeServerName_ = getDefaultInstance().getRemoveServerName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string removeServerName = 2; + * @param value The bytes for removeServerName to set. + * @return This builder for chaining. + */ + public Builder setRemoveServerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + removeServerName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.RemovePartyServerNameNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.RemovePartyServerNameNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemovePartyServerNameNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.RemovePartyServerNameNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ChangePartyLeaderNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ChangePartyLeaderNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string newPartyLeaderGuid = 2; + * @return The newPartyLeaderGuid. + */ + java.lang.String getNewPartyLeaderGuid(); + /** + * string newPartyLeaderGuid = 2; + * @return The bytes for newPartyLeaderGuid. + */ + com.google.protobuf.ByteString + getNewPartyLeaderGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.ChangePartyLeaderNoti} + */ + public static final class ChangePartyLeaderNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ChangePartyLeaderNoti) + ChangePartyLeaderNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use ChangePartyLeaderNoti.newBuilder() to construct. + private ChangePartyLeaderNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ChangePartyLeaderNoti() { + partyGuid_ = ""; + newPartyLeaderGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChangePartyLeaderNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangePartyLeaderNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangePartyLeaderNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NEWPARTYLEADERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object newPartyLeaderGuid_ = ""; + /** + * string newPartyLeaderGuid = 2; + * @return The newPartyLeaderGuid. + */ + @java.lang.Override + public java.lang.String getNewPartyLeaderGuid() { + java.lang.Object ref = newPartyLeaderGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newPartyLeaderGuid_ = s; + return s; + } + } + /** + * string newPartyLeaderGuid = 2; + * @return The bytes for newPartyLeaderGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNewPartyLeaderGuidBytes() { + java.lang.Object ref = newPartyLeaderGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newPartyLeaderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newPartyLeaderGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, newPartyLeaderGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newPartyLeaderGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, newPartyLeaderGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getNewPartyLeaderGuid() + .equals(other.getNewPartyLeaderGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + NEWPARTYLEADERGUID_FIELD_NUMBER; + hash = (53 * hash) + getNewPartyLeaderGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ChangePartyLeaderNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ChangePartyLeaderNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangePartyLeaderNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangePartyLeaderNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + newPartyLeaderGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ChangePartyLeaderNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.newPartyLeaderGuid_ = newPartyLeaderGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getNewPartyLeaderGuid().isEmpty()) { + newPartyLeaderGuid_ = other.newPartyLeaderGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + newPartyLeaderGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object newPartyLeaderGuid_ = ""; + /** + * string newPartyLeaderGuid = 2; + * @return The newPartyLeaderGuid. + */ + public java.lang.String getNewPartyLeaderGuid() { + java.lang.Object ref = newPartyLeaderGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newPartyLeaderGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string newPartyLeaderGuid = 2; + * @return The bytes for newPartyLeaderGuid. + */ + public com.google.protobuf.ByteString + getNewPartyLeaderGuidBytes() { + java.lang.Object ref = newPartyLeaderGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newPartyLeaderGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string newPartyLeaderGuid = 2; + * @param value The newPartyLeaderGuid to set. + * @return This builder for chaining. + */ + public Builder setNewPartyLeaderGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + newPartyLeaderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string newPartyLeaderGuid = 2; + * @return This builder for chaining. + */ + public Builder clearNewPartyLeaderGuid() { + newPartyLeaderGuid_ = getDefaultInstance().getNewPartyLeaderGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string newPartyLeaderGuid = 2; + * @param value The bytes for newPartyLeaderGuid to set. + * @return This builder for chaining. + */ + public Builder setNewPartyLeaderGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + newPartyLeaderGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ChangePartyLeaderNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ChangePartyLeaderNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangePartyLeaderNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ExchangePartyNameNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ExchangePartyNameNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string newPartyName = 2; + * @return The newPartyName. + */ + java.lang.String getNewPartyName(); + /** + * string newPartyName = 2; + * @return The bytes for newPartyName. + */ + com.google.protobuf.ByteString + getNewPartyNameBytes(); + } + /** + * Protobuf type {@code ServerMessage.ExchangePartyNameNoti} + */ + public static final class ExchangePartyNameNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ExchangePartyNameNoti) + ExchangePartyNameNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExchangePartyNameNoti.newBuilder() to construct. + private ExchangePartyNameNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ExchangePartyNameNoti() { + partyGuid_ = ""; + newPartyName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ExchangePartyNameNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangePartyNameNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangePartyNameNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NEWPARTYNAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object newPartyName_ = ""; + /** + * string newPartyName = 2; + * @return The newPartyName. + */ + @java.lang.Override + public java.lang.String getNewPartyName() { + java.lang.Object ref = newPartyName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newPartyName_ = s; + return s; + } + } + /** + * string newPartyName = 2; + * @return The bytes for newPartyName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNewPartyNameBytes() { + java.lang.Object ref = newPartyName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newPartyName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newPartyName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, newPartyName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newPartyName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, newPartyName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getNewPartyName() + .equals(other.getNewPartyName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + NEWPARTYNAME_FIELD_NUMBER; + hash = (53 * hash) + getNewPartyName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ExchangePartyNameNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ExchangePartyNameNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangePartyNameNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangePartyNameNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + newPartyName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangePartyNameNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.newPartyName_ = newPartyName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getNewPartyName().isEmpty()) { + newPartyName_ = other.newPartyName_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + newPartyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object newPartyName_ = ""; + /** + * string newPartyName = 2; + * @return The newPartyName. + */ + public java.lang.String getNewPartyName() { + java.lang.Object ref = newPartyName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newPartyName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string newPartyName = 2; + * @return The bytes for newPartyName. + */ + public com.google.protobuf.ByteString + getNewPartyNameBytes() { + java.lang.Object ref = newPartyName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newPartyName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string newPartyName = 2; + * @param value The newPartyName to set. + * @return This builder for chaining. + */ + public Builder setNewPartyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + newPartyName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string newPartyName = 2; + * @return This builder for chaining. + */ + public Builder clearNewPartyName() { + newPartyName_ = getDefaultInstance().getNewPartyName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string newPartyName = 2; + * @param value The bytes for newPartyName to set. + * @return This builder for chaining. + */ + public Builder setNewPartyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + newPartyName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ExchangePartyNameNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ExchangePartyNameNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExchangePartyNameNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface JoiningPartyFlagResetNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.JoiningPartyFlagResetNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string targetAccountId = 1; + * @return The targetAccountId. + */ + java.lang.String getTargetAccountId(); + /** + * string targetAccountId = 1; + * @return The bytes for targetAccountId. + */ + com.google.protobuf.ByteString + getTargetAccountIdBytes(); + } + /** + * Protobuf type {@code ServerMessage.JoiningPartyFlagResetNoti} + */ + public static final class JoiningPartyFlagResetNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.JoiningPartyFlagResetNoti) + JoiningPartyFlagResetNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use JoiningPartyFlagResetNoti.newBuilder() to construct. + private JoiningPartyFlagResetNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private JoiningPartyFlagResetNoti() { + targetAccountId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new JoiningPartyFlagResetNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_JoiningPartyFlagResetNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_JoiningPartyFlagResetNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti.Builder.class); + } + + public static final int TARGETACCOUNTID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object targetAccountId_ = ""; + /** + * string targetAccountId = 1; + * @return The targetAccountId. + */ + @java.lang.Override + public java.lang.String getTargetAccountId() { + java.lang.Object ref = targetAccountId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetAccountId_ = s; + return s; + } + } + /** + * string targetAccountId = 1; + * @return The bytes for targetAccountId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTargetAccountIdBytes() { + java.lang.Object ref = targetAccountId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + targetAccountId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetAccountId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetAccountId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetAccountId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, targetAccountId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti) obj; + + if (!getTargetAccountId() + .equals(other.getTargetAccountId())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TARGETACCOUNTID_FIELD_NUMBER; + hash = (53 * hash) + getTargetAccountId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.JoiningPartyFlagResetNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.JoiningPartyFlagResetNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_JoiningPartyFlagResetNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_JoiningPartyFlagResetNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + targetAccountId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_JoiningPartyFlagResetNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.targetAccountId_ = targetAccountId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti.getDefaultInstance()) return this; + if (!other.getTargetAccountId().isEmpty()) { + targetAccountId_ = other.targetAccountId_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + targetAccountId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object targetAccountId_ = ""; + /** + * string targetAccountId = 1; + * @return The targetAccountId. + */ + public java.lang.String getTargetAccountId() { + java.lang.Object ref = targetAccountId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetAccountId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string targetAccountId = 1; + * @return The bytes for targetAccountId. + */ + public com.google.protobuf.ByteString + getTargetAccountIdBytes() { + java.lang.Object ref = targetAccountId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + targetAccountId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string targetAccountId = 1; + * @param value The targetAccountId to set. + * @return This builder for chaining. + */ + public Builder setTargetAccountId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + targetAccountId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string targetAccountId = 1; + * @return This builder for chaining. + */ + public Builder clearTargetAccountId() { + targetAccountId_ = getDefaultInstance().getTargetAccountId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string targetAccountId = 1; + * @param value The bytes for targetAccountId to set. + * @return This builder for chaining. + */ + public Builder setTargetAccountIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + targetAccountId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.JoiningPartyFlagResetNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.JoiningPartyFlagResetNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JoiningPartyFlagResetNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoiningPartyFlagResetNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ExchangePartyMemberMarkNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ExchangePartyMemberMarkNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string memberUserGuid = 2; + * @return The memberUserGuid. + */ + java.lang.String getMemberUserGuid(); + /** + * string memberUserGuid = 2; + * @return The bytes for memberUserGuid. + */ + com.google.protobuf.ByteString + getMemberUserGuidBytes(); + + /** + * int32 markId = 3; + * @return The markId. + */ + int getMarkId(); + } + /** + * Protobuf type {@code ServerMessage.ExchangePartyMemberMarkNoti} + */ + public static final class ExchangePartyMemberMarkNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ExchangePartyMemberMarkNoti) + ExchangePartyMemberMarkNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExchangePartyMemberMarkNoti.newBuilder() to construct. + private ExchangePartyMemberMarkNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ExchangePartyMemberMarkNoti() { + partyGuid_ = ""; + memberUserGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ExchangePartyMemberMarkNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangePartyMemberMarkNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangePartyMemberMarkNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MEMBERUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object memberUserGuid_ = ""; + /** + * string memberUserGuid = 2; + * @return The memberUserGuid. + */ + @java.lang.Override + public java.lang.String getMemberUserGuid() { + java.lang.Object ref = memberUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + memberUserGuid_ = s; + return s; + } + } + /** + * string memberUserGuid = 2; + * @return The bytes for memberUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMemberUserGuidBytes() { + java.lang.Object ref = memberUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + memberUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MARKID_FIELD_NUMBER = 3; + private int markId_ = 0; + /** + * int32 markId = 3; + * @return The markId. + */ + @java.lang.Override + public int getMarkId() { + return markId_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, memberUserGuid_); + } + if (markId_ != 0) { + output.writeInt32(3, markId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, memberUserGuid_); + } + if (markId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, markId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getMemberUserGuid() + .equals(other.getMemberUserGuid())) return false; + if (getMarkId() + != other.getMarkId()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + MEMBERUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getMemberUserGuid().hashCode(); + hash = (37 * hash) + MARKID_FIELD_NUMBER; + hash = (53 * hash) + getMarkId(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ExchangePartyMemberMarkNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ExchangePartyMemberMarkNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangePartyMemberMarkNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangePartyMemberMarkNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + memberUserGuid_ = ""; + markId_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ExchangePartyMemberMarkNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.memberUserGuid_ = memberUserGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.markId_ = markId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getMemberUserGuid().isEmpty()) { + memberUserGuid_ = other.memberUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getMarkId() != 0) { + setMarkId(other.getMarkId()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + memberUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + markId_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object memberUserGuid_ = ""; + /** + * string memberUserGuid = 2; + * @return The memberUserGuid. + */ + public java.lang.String getMemberUserGuid() { + java.lang.Object ref = memberUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + memberUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string memberUserGuid = 2; + * @return The bytes for memberUserGuid. + */ + public com.google.protobuf.ByteString + getMemberUserGuidBytes() { + java.lang.Object ref = memberUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + memberUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string memberUserGuid = 2; + * @param value The memberUserGuid to set. + * @return This builder for chaining. + */ + public Builder setMemberUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + memberUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string memberUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearMemberUserGuid() { + memberUserGuid_ = getDefaultInstance().getMemberUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string memberUserGuid = 2; + * @param value The bytes for memberUserGuid to set. + * @return This builder for chaining. + */ + public Builder setMemberUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + memberUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int markId_ ; + /** + * int32 markId = 3; + * @return The markId. + */ + @java.lang.Override + public int getMarkId() { + return markId_; + } + /** + * int32 markId = 3; + * @param value The markId to set. + * @return This builder for chaining. + */ + public Builder setMarkId(int value) { + + markId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 markId = 3; + * @return This builder for chaining. + */ + public Builder clearMarkId() { + bitField0_ = (bitField0_ & ~0x00000004); + markId_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ExchangePartyMemberMarkNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ExchangePartyMemberMarkNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExchangePartyMemberMarkNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BanPartyNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.BanPartyNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string banMemberGuid = 2; + * @return The banMemberGuid. + */ + java.lang.String getBanMemberGuid(); + /** + * string banMemberGuid = 2; + * @return The bytes for banMemberGuid. + */ + com.google.protobuf.ByteString + getBanMemberGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.BanPartyNoti} + */ + public static final class BanPartyNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.BanPartyNoti) + BanPartyNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use BanPartyNoti.newBuilder() to construct. + private BanPartyNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BanPartyNoti() { + partyGuid_ = ""; + banMemberGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BanPartyNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_BanPartyNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_BanPartyNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BANMEMBERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object banMemberGuid_ = ""; + /** + * string banMemberGuid = 2; + * @return The banMemberGuid. + */ + @java.lang.Override + public java.lang.String getBanMemberGuid() { + java.lang.Object ref = banMemberGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + banMemberGuid_ = s; + return s; + } + } + /** + * string banMemberGuid = 2; + * @return The bytes for banMemberGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBanMemberGuidBytes() { + java.lang.Object ref = banMemberGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + banMemberGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(banMemberGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, banMemberGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(banMemberGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, banMemberGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getBanMemberGuid() + .equals(other.getBanMemberGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + BANMEMBERGUID_FIELD_NUMBER; + hash = (53 * hash) + getBanMemberGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.BanPartyNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.BanPartyNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_BanPartyNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_BanPartyNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + banMemberGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_BanPartyNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.banMemberGuid_ = banMemberGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getBanMemberGuid().isEmpty()) { + banMemberGuid_ = other.banMemberGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + banMemberGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object banMemberGuid_ = ""; + /** + * string banMemberGuid = 2; + * @return The banMemberGuid. + */ + public java.lang.String getBanMemberGuid() { + java.lang.Object ref = banMemberGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + banMemberGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string banMemberGuid = 2; + * @return The bytes for banMemberGuid. + */ + public com.google.protobuf.ByteString + getBanMemberGuidBytes() { + java.lang.Object ref = banMemberGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + banMemberGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string banMemberGuid = 2; + * @param value The banMemberGuid to set. + * @return This builder for chaining. + */ + public Builder setBanMemberGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + banMemberGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string banMemberGuid = 2; + * @return This builder for chaining. + */ + public Builder clearBanMemberGuid() { + banMemberGuid_ = getDefaultInstance().getBanMemberGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string banMemberGuid = 2; + * @param value The bytes for banMemberGuid to set. + * @return This builder for chaining. + */ + public Builder setBanMemberGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + banMemberGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.BanPartyNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.BanPartyNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BanPartyNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SummonPartyMemberNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.SummonPartyMemberNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string summonPartyGuid = 1; + * @return The summonPartyGuid. + */ + java.lang.String getSummonPartyGuid(); + /** + * string summonPartyGuid = 1; + * @return The bytes for summonPartyGuid. + */ + com.google.protobuf.ByteString + getSummonPartyGuidBytes(); + + /** + * string summonUserGuid = 2; + * @return The summonUserGuid. + */ + java.lang.String getSummonUserGuid(); + /** + * string summonUserGuid = 2; + * @return The bytes for summonUserGuid. + */ + com.google.protobuf.ByteString + getSummonUserGuidBytes(); + + /** + * string summonServerName = 3; + * @return The summonServerName. + */ + java.lang.String getSummonServerName(); + /** + * string summonServerName = 3; + * @return The bytes for summonServerName. + */ + com.google.protobuf.ByteString + getSummonServerNameBytes(); + + /** + * .Pos summonPos = 4; + * @return Whether the summonPos field is set. + */ + boolean hasSummonPos(); + /** + * .Pos summonPos = 4; + * @return The summonPos. + */ + com.caliverse.admin.domain.RabbitMq.message.Pos getSummonPos(); + /** + * .Pos summonPos = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getSummonPosOrBuilder(); + } + /** + * Protobuf type {@code ServerMessage.SummonPartyMemberNoti} + */ + public static final class SummonPartyMemberNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.SummonPartyMemberNoti) + SummonPartyMemberNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use SummonPartyMemberNoti.newBuilder() to construct. + private SummonPartyMemberNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SummonPartyMemberNoti() { + summonPartyGuid_ = ""; + summonUserGuid_ = ""; + summonServerName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SummonPartyMemberNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SummonPartyMemberNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SummonPartyMemberNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.Builder.class); + } + + public static final int SUMMONPARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object summonPartyGuid_ = ""; + /** + * string summonPartyGuid = 1; + * @return The summonPartyGuid. + */ + @java.lang.Override + public java.lang.String getSummonPartyGuid() { + java.lang.Object ref = summonPartyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summonPartyGuid_ = s; + return s; + } + } + /** + * string summonPartyGuid = 1; + * @return The bytes for summonPartyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSummonPartyGuidBytes() { + java.lang.Object ref = summonPartyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summonPartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUMMONUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object summonUserGuid_ = ""; + /** + * string summonUserGuid = 2; + * @return The summonUserGuid. + */ + @java.lang.Override + public java.lang.String getSummonUserGuid() { + java.lang.Object ref = summonUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summonUserGuid_ = s; + return s; + } + } + /** + * string summonUserGuid = 2; + * @return The bytes for summonUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSummonUserGuidBytes() { + java.lang.Object ref = summonUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summonUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUMMONSERVERNAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object summonServerName_ = ""; + /** + * string summonServerName = 3; + * @return The summonServerName. + */ + @java.lang.Override + public java.lang.String getSummonServerName() { + java.lang.Object ref = summonServerName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summonServerName_ = s; + return s; + } + } + /** + * string summonServerName = 3; + * @return The bytes for summonServerName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSummonServerNameBytes() { + java.lang.Object ref = summonServerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summonServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUMMONPOS_FIELD_NUMBER = 4; + private com.caliverse.admin.domain.RabbitMq.message.Pos summonPos_; + /** + * .Pos summonPos = 4; + * @return Whether the summonPos field is set. + */ + @java.lang.Override + public boolean hasSummonPos() { + return summonPos_ != null; + } + /** + * .Pos summonPos = 4; + * @return The summonPos. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Pos getSummonPos() { + return summonPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : summonPos_; + } + /** + * .Pos summonPos = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getSummonPosOrBuilder() { + return summonPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : summonPos_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summonPartyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, summonPartyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summonUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, summonUserGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summonServerName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, summonServerName_); + } + if (summonPos_ != null) { + output.writeMessage(4, getSummonPos()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summonPartyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, summonPartyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summonUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, summonUserGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summonServerName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, summonServerName_); + } + if (summonPos_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getSummonPos()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti) obj; + + if (!getSummonPartyGuid() + .equals(other.getSummonPartyGuid())) return false; + if (!getSummonUserGuid() + .equals(other.getSummonUserGuid())) return false; + if (!getSummonServerName() + .equals(other.getSummonServerName())) return false; + if (hasSummonPos() != other.hasSummonPos()) return false; + if (hasSummonPos()) { + if (!getSummonPos() + .equals(other.getSummonPos())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SUMMONPARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getSummonPartyGuid().hashCode(); + hash = (37 * hash) + SUMMONUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getSummonUserGuid().hashCode(); + hash = (37 * hash) + SUMMONSERVERNAME_FIELD_NUMBER; + hash = (53 * hash) + getSummonServerName().hashCode(); + if (hasSummonPos()) { + hash = (37 * hash) + SUMMONPOS_FIELD_NUMBER; + hash = (53 * hash) + getSummonPos().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.SummonPartyMemberNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.SummonPartyMemberNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SummonPartyMemberNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SummonPartyMemberNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + summonPartyGuid_ = ""; + summonUserGuid_ = ""; + summonServerName_ = ""; + summonPos_ = null; + if (summonPosBuilder_ != null) { + summonPosBuilder_.dispose(); + summonPosBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SummonPartyMemberNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.summonPartyGuid_ = summonPartyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.summonUserGuid_ = summonUserGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.summonServerName_ = summonServerName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.summonPos_ = summonPosBuilder_ == null + ? summonPos_ + : summonPosBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.getDefaultInstance()) return this; + if (!other.getSummonPartyGuid().isEmpty()) { + summonPartyGuid_ = other.summonPartyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSummonUserGuid().isEmpty()) { + summonUserGuid_ = other.summonUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSummonServerName().isEmpty()) { + summonServerName_ = other.summonServerName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasSummonPos()) { + mergeSummonPos(other.getSummonPos()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + summonPartyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + summonUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + summonServerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getSummonPosFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object summonPartyGuid_ = ""; + /** + * string summonPartyGuid = 1; + * @return The summonPartyGuid. + */ + public java.lang.String getSummonPartyGuid() { + java.lang.Object ref = summonPartyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summonPartyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string summonPartyGuid = 1; + * @return The bytes for summonPartyGuid. + */ + public com.google.protobuf.ByteString + getSummonPartyGuidBytes() { + java.lang.Object ref = summonPartyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summonPartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string summonPartyGuid = 1; + * @param value The summonPartyGuid to set. + * @return This builder for chaining. + */ + public Builder setSummonPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + summonPartyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string summonPartyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearSummonPartyGuid() { + summonPartyGuid_ = getDefaultInstance().getSummonPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string summonPartyGuid = 1; + * @param value The bytes for summonPartyGuid to set. + * @return This builder for chaining. + */ + public Builder setSummonPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + summonPartyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object summonUserGuid_ = ""; + /** + * string summonUserGuid = 2; + * @return The summonUserGuid. + */ + public java.lang.String getSummonUserGuid() { + java.lang.Object ref = summonUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summonUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string summonUserGuid = 2; + * @return The bytes for summonUserGuid. + */ + public com.google.protobuf.ByteString + getSummonUserGuidBytes() { + java.lang.Object ref = summonUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summonUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string summonUserGuid = 2; + * @param value The summonUserGuid to set. + * @return This builder for chaining. + */ + public Builder setSummonUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + summonUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string summonUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearSummonUserGuid() { + summonUserGuid_ = getDefaultInstance().getSummonUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string summonUserGuid = 2; + * @param value The bytes for summonUserGuid to set. + * @return This builder for chaining. + */ + public Builder setSummonUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + summonUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object summonServerName_ = ""; + /** + * string summonServerName = 3; + * @return The summonServerName. + */ + public java.lang.String getSummonServerName() { + java.lang.Object ref = summonServerName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summonServerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string summonServerName = 3; + * @return The bytes for summonServerName. + */ + public com.google.protobuf.ByteString + getSummonServerNameBytes() { + java.lang.Object ref = summonServerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summonServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string summonServerName = 3; + * @param value The summonServerName to set. + * @return This builder for chaining. + */ + public Builder setSummonServerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + summonServerName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string summonServerName = 3; + * @return This builder for chaining. + */ + public Builder clearSummonServerName() { + summonServerName_ = getDefaultInstance().getSummonServerName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string summonServerName = 3; + * @param value The bytes for summonServerName to set. + * @return This builder for chaining. + */ + public Builder setSummonServerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + summonServerName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.Pos summonPos_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> summonPosBuilder_; + /** + * .Pos summonPos = 4; + * @return Whether the summonPos field is set. + */ + public boolean hasSummonPos() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .Pos summonPos = 4; + * @return The summonPos. + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos getSummonPos() { + if (summonPosBuilder_ == null) { + return summonPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : summonPos_; + } else { + return summonPosBuilder_.getMessage(); + } + } + /** + * .Pos summonPos = 4; + */ + public Builder setSummonPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (summonPosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + summonPos_ = value; + } else { + summonPosBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .Pos summonPos = 4; + */ + public Builder setSummonPos( + com.caliverse.admin.domain.RabbitMq.message.Pos.Builder builderForValue) { + if (summonPosBuilder_ == null) { + summonPos_ = builderForValue.build(); + } else { + summonPosBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .Pos summonPos = 4; + */ + public Builder mergeSummonPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (summonPosBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + summonPos_ != null && + summonPos_ != com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance()) { + getSummonPosBuilder().mergeFrom(value); + } else { + summonPos_ = value; + } + } else { + summonPosBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .Pos summonPos = 4; + */ + public Builder clearSummonPos() { + bitField0_ = (bitField0_ & ~0x00000008); + summonPos_ = null; + if (summonPosBuilder_ != null) { + summonPosBuilder_.dispose(); + summonPosBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Pos summonPos = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos.Builder getSummonPosBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getSummonPosFieldBuilder().getBuilder(); + } + /** + * .Pos summonPos = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getSummonPosOrBuilder() { + if (summonPosBuilder_ != null) { + return summonPosBuilder_.getMessageOrBuilder(); + } else { + return summonPos_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : summonPos_; + } + } + /** + * .Pos summonPos = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> + getSummonPosFieldBuilder() { + if (summonPosBuilder_ == null) { + summonPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder>( + getSummonPos(), + getParentForChildren(), + isClean()); + summonPos_ = null; + } + return summonPosBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.SummonPartyMemberNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.SummonPartyMemberNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SummonPartyMemberNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReplySummonPartyMemberNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ReplySummonPartyMemberNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string summonPartyGuid = 1; + * @return The summonPartyGuid. + */ + java.lang.String getSummonPartyGuid(); + /** + * string summonPartyGuid = 1; + * @return The bytes for summonPartyGuid. + */ + com.google.protobuf.ByteString + getSummonPartyGuidBytes(); + + /** + * string summonUserGuid = 2; + * @return The summonUserGuid. + */ + java.lang.String getSummonUserGuid(); + /** + * string summonUserGuid = 2; + * @return The bytes for summonUserGuid. + */ + com.google.protobuf.ByteString + getSummonUserGuidBytes(); + + /** + * .SummonPartyMemberResultType result = 3; + * @return The enum numeric value on the wire for result. + */ + int getResultValue(); + /** + * .SummonPartyMemberResultType result = 3; + * @return The result. + */ + com.caliverse.admin.domain.RabbitMq.message.SummonPartyMemberResultType getResult(); + } + /** + * Protobuf type {@code ServerMessage.ReplySummonPartyMemberNoti} + */ + public static final class ReplySummonPartyMemberNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ReplySummonPartyMemberNoti) + ReplySummonPartyMemberNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReplySummonPartyMemberNoti.newBuilder() to construct. + private ReplySummonPartyMemberNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReplySummonPartyMemberNoti() { + summonPartyGuid_ = ""; + summonUserGuid_ = ""; + result_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReplySummonPartyMemberNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplySummonPartyMemberNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplySummonPartyMemberNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.Builder.class); + } + + public static final int SUMMONPARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object summonPartyGuid_ = ""; + /** + * string summonPartyGuid = 1; + * @return The summonPartyGuid. + */ + @java.lang.Override + public java.lang.String getSummonPartyGuid() { + java.lang.Object ref = summonPartyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summonPartyGuid_ = s; + return s; + } + } + /** + * string summonPartyGuid = 1; + * @return The bytes for summonPartyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSummonPartyGuidBytes() { + java.lang.Object ref = summonPartyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summonPartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUMMONUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object summonUserGuid_ = ""; + /** + * string summonUserGuid = 2; + * @return The summonUserGuid. + */ + @java.lang.Override + public java.lang.String getSummonUserGuid() { + java.lang.Object ref = summonUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summonUserGuid_ = s; + return s; + } + } + /** + * string summonUserGuid = 2; + * @return The bytes for summonUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSummonUserGuidBytes() { + java.lang.Object ref = summonUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summonUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESULT_FIELD_NUMBER = 3; + private int result_ = 0; + /** + * .SummonPartyMemberResultType result = 3; + * @return The enum numeric value on the wire for result. + */ + @java.lang.Override public int getResultValue() { + return result_; + } + /** + * .SummonPartyMemberResultType result = 3; + * @return The result. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.SummonPartyMemberResultType getResult() { + com.caliverse.admin.domain.RabbitMq.message.SummonPartyMemberResultType result = com.caliverse.admin.domain.RabbitMq.message.SummonPartyMemberResultType.forNumber(result_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.SummonPartyMemberResultType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summonPartyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, summonPartyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summonUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, summonUserGuid_); + } + if (result_ != com.caliverse.admin.domain.RabbitMq.message.SummonPartyMemberResultType.SummonPartyMemberResultType_None.getNumber()) { + output.writeEnum(3, result_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summonPartyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, summonPartyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summonUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, summonUserGuid_); + } + if (result_ != com.caliverse.admin.domain.RabbitMq.message.SummonPartyMemberResultType.SummonPartyMemberResultType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, result_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti) obj; + + if (!getSummonPartyGuid() + .equals(other.getSummonPartyGuid())) return false; + if (!getSummonUserGuid() + .equals(other.getSummonUserGuid())) return false; + if (result_ != other.result_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SUMMONPARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getSummonPartyGuid().hashCode(); + hash = (37 * hash) + SUMMONUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getSummonUserGuid().hashCode(); + hash = (37 * hash) + RESULT_FIELD_NUMBER; + hash = (53 * hash) + result_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ReplySummonPartyMemberNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ReplySummonPartyMemberNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplySummonPartyMemberNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplySummonPartyMemberNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + summonPartyGuid_ = ""; + summonUserGuid_ = ""; + result_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplySummonPartyMemberNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.summonPartyGuid_ = summonPartyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.summonUserGuid_ = summonUserGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.result_ = result_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.getDefaultInstance()) return this; + if (!other.getSummonPartyGuid().isEmpty()) { + summonPartyGuid_ = other.summonPartyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSummonUserGuid().isEmpty()) { + summonUserGuid_ = other.summonUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.result_ != 0) { + setResultValue(other.getResultValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + summonPartyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + summonUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + result_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object summonPartyGuid_ = ""; + /** + * string summonPartyGuid = 1; + * @return The summonPartyGuid. + */ + public java.lang.String getSummonPartyGuid() { + java.lang.Object ref = summonPartyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summonPartyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string summonPartyGuid = 1; + * @return The bytes for summonPartyGuid. + */ + public com.google.protobuf.ByteString + getSummonPartyGuidBytes() { + java.lang.Object ref = summonPartyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summonPartyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string summonPartyGuid = 1; + * @param value The summonPartyGuid to set. + * @return This builder for chaining. + */ + public Builder setSummonPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + summonPartyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string summonPartyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearSummonPartyGuid() { + summonPartyGuid_ = getDefaultInstance().getSummonPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string summonPartyGuid = 1; + * @param value The bytes for summonPartyGuid to set. + * @return This builder for chaining. + */ + public Builder setSummonPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + summonPartyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object summonUserGuid_ = ""; + /** + * string summonUserGuid = 2; + * @return The summonUserGuid. + */ + public java.lang.String getSummonUserGuid() { + java.lang.Object ref = summonUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summonUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string summonUserGuid = 2; + * @return The bytes for summonUserGuid. + */ + public com.google.protobuf.ByteString + getSummonUserGuidBytes() { + java.lang.Object ref = summonUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summonUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string summonUserGuid = 2; + * @param value The summonUserGuid to set. + * @return This builder for chaining. + */ + public Builder setSummonUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + summonUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string summonUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearSummonUserGuid() { + summonUserGuid_ = getDefaultInstance().getSummonUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string summonUserGuid = 2; + * @param value The bytes for summonUserGuid to set. + * @return This builder for chaining. + */ + public Builder setSummonUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + summonUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int result_ = 0; + /** + * .SummonPartyMemberResultType result = 3; + * @return The enum numeric value on the wire for result. + */ + @java.lang.Override public int getResultValue() { + return result_; + } + /** + * .SummonPartyMemberResultType result = 3; + * @param value The enum numeric value on the wire for result to set. + * @return This builder for chaining. + */ + public Builder setResultValue(int value) { + result_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .SummonPartyMemberResultType result = 3; + * @return The result. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.SummonPartyMemberResultType getResult() { + com.caliverse.admin.domain.RabbitMq.message.SummonPartyMemberResultType result = com.caliverse.admin.domain.RabbitMq.message.SummonPartyMemberResultType.forNumber(result_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.SummonPartyMemberResultType.UNRECOGNIZED : result; + } + /** + * .SummonPartyMemberResultType result = 3; + * @param value The result to set. + * @return This builder for chaining. + */ + public Builder setResult(com.caliverse.admin.domain.RabbitMq.message.SummonPartyMemberResultType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + result_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .SummonPartyMemberResultType result = 3; + * @return This builder for chaining. + */ + public Builder clearResult() { + bitField0_ = (bitField0_ & ~0x00000004); + result_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ReplySummonPartyMemberNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ReplySummonPartyMemberNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplySummonPartyMemberNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface NoticeChatNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.NoticeChatNoti) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code ServerMessage.NoticeChatNoti} + */ + public static final class NoticeChatNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.NoticeChatNoti) + NoticeChatNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use NoticeChatNoti.newBuilder() to construct. + private NoticeChatNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private NoticeChatNoti() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new NoticeChatNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_NoticeChatNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_NoticeChatNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.NoticeChatNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.NoticeChatNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_NoticeChatNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_NoticeChatNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_NoticeChatNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.NoticeChatNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.NoticeChatNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NoticeChatNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SystemMailNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.SystemMailNoti) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code ServerMessage.SystemMailNoti} + */ + public static final class SystemMailNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.SystemMailNoti) + SystemMailNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use SystemMailNoti.newBuilder() to construct. + private SystemMailNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SystemMailNoti() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SystemMailNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SystemMailNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SystemMailNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.SystemMailNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.SystemMailNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SystemMailNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SystemMailNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SystemMailNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.SystemMailNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.SystemMailNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SystemMailNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface PartyVoteNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.PartyVoteNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string voteTitle = 2; + * @return The voteTitle. + */ + java.lang.String getVoteTitle(); + /** + * string voteTitle = 2; + * @return The bytes for voteTitle. + */ + com.google.protobuf.ByteString + getVoteTitleBytes(); + + /** + * .google.protobuf.Timestamp voteStartTime = 3; + * @return Whether the voteStartTime field is set. + */ + boolean hasVoteStartTime(); + /** + * .google.protobuf.Timestamp voteStartTime = 3; + * @return The voteStartTime. + */ + com.google.protobuf.Timestamp getVoteStartTime(); + /** + * .google.protobuf.Timestamp voteStartTime = 3; + */ + com.google.protobuf.TimestampOrBuilder getVoteStartTimeOrBuilder(); + } + /** + * Protobuf type {@code ServerMessage.PartyVoteNoti} + */ + public static final class PartyVoteNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.PartyVoteNoti) + PartyVoteNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use PartyVoteNoti.newBuilder() to construct. + private PartyVoteNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PartyVoteNoti() { + partyGuid_ = ""; + voteTitle_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PartyVoteNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyVoteNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyVoteNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VOTETITLE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object voteTitle_ = ""; + /** + * string voteTitle = 2; + * @return The voteTitle. + */ + @java.lang.Override + public java.lang.String getVoteTitle() { + java.lang.Object ref = voteTitle_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + voteTitle_ = s; + return s; + } + } + /** + * string voteTitle = 2; + * @return The bytes for voteTitle. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVoteTitleBytes() { + java.lang.Object ref = voteTitle_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + voteTitle_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VOTESTARTTIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp voteStartTime_; + /** + * .google.protobuf.Timestamp voteStartTime = 3; + * @return Whether the voteStartTime field is set. + */ + @java.lang.Override + public boolean hasVoteStartTime() { + return voteStartTime_ != null; + } + /** + * .google.protobuf.Timestamp voteStartTime = 3; + * @return The voteStartTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getVoteStartTime() { + return voteStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : voteStartTime_; + } + /** + * .google.protobuf.Timestamp voteStartTime = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getVoteStartTimeOrBuilder() { + return voteStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : voteStartTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(voteTitle_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, voteTitle_); + } + if (voteStartTime_ != null) { + output.writeMessage(3, getVoteStartTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(voteTitle_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, voteTitle_); + } + if (voteStartTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getVoteStartTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getVoteTitle() + .equals(other.getVoteTitle())) return false; + if (hasVoteStartTime() != other.hasVoteStartTime()) return false; + if (hasVoteStartTime()) { + if (!getVoteStartTime() + .equals(other.getVoteStartTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + VOTETITLE_FIELD_NUMBER; + hash = (53 * hash) + getVoteTitle().hashCode(); + if (hasVoteStartTime()) { + hash = (37 * hash) + VOTESTARTTIME_FIELD_NUMBER; + hash = (53 * hash) + getVoteStartTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.PartyVoteNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.PartyVoteNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyVoteNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyVoteNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + voteTitle_ = ""; + voteStartTime_ = null; + if (voteStartTimeBuilder_ != null) { + voteStartTimeBuilder_.dispose(); + voteStartTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyVoteNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.voteTitle_ = voteTitle_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.voteStartTime_ = voteStartTimeBuilder_ == null + ? voteStartTime_ + : voteStartTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getVoteTitle().isEmpty()) { + voteTitle_ = other.voteTitle_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasVoteStartTime()) { + mergeVoteStartTime(other.getVoteStartTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + voteTitle_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getVoteStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object voteTitle_ = ""; + /** + * string voteTitle = 2; + * @return The voteTitle. + */ + public java.lang.String getVoteTitle() { + java.lang.Object ref = voteTitle_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + voteTitle_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string voteTitle = 2; + * @return The bytes for voteTitle. + */ + public com.google.protobuf.ByteString + getVoteTitleBytes() { + java.lang.Object ref = voteTitle_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + voteTitle_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string voteTitle = 2; + * @param value The voteTitle to set. + * @return This builder for chaining. + */ + public Builder setVoteTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + voteTitle_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string voteTitle = 2; + * @return This builder for chaining. + */ + public Builder clearVoteTitle() { + voteTitle_ = getDefaultInstance().getVoteTitle(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string voteTitle = 2; + * @param value The bytes for voteTitle to set. + * @return This builder for chaining. + */ + public Builder setVoteTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + voteTitle_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp voteStartTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> voteStartTimeBuilder_; + /** + * .google.protobuf.Timestamp voteStartTime = 3; + * @return Whether the voteStartTime field is set. + */ + public boolean hasVoteStartTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .google.protobuf.Timestamp voteStartTime = 3; + * @return The voteStartTime. + */ + public com.google.protobuf.Timestamp getVoteStartTime() { + if (voteStartTimeBuilder_ == null) { + return voteStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : voteStartTime_; + } else { + return voteStartTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp voteStartTime = 3; + */ + public Builder setVoteStartTime(com.google.protobuf.Timestamp value) { + if (voteStartTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + voteStartTime_ = value; + } else { + voteStartTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp voteStartTime = 3; + */ + public Builder setVoteStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (voteStartTimeBuilder_ == null) { + voteStartTime_ = builderForValue.build(); + } else { + voteStartTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp voteStartTime = 3; + */ + public Builder mergeVoteStartTime(com.google.protobuf.Timestamp value) { + if (voteStartTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + voteStartTime_ != null && + voteStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getVoteStartTimeBuilder().mergeFrom(value); + } else { + voteStartTime_ = value; + } + } else { + voteStartTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp voteStartTime = 3; + */ + public Builder clearVoteStartTime() { + bitField0_ = (bitField0_ & ~0x00000004); + voteStartTime_ = null; + if (voteStartTimeBuilder_ != null) { + voteStartTimeBuilder_.dispose(); + voteStartTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp voteStartTime = 3; + */ + public com.google.protobuf.Timestamp.Builder getVoteStartTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getVoteStartTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp voteStartTime = 3; + */ + public com.google.protobuf.TimestampOrBuilder getVoteStartTimeOrBuilder() { + if (voteStartTimeBuilder_ != null) { + return voteStartTimeBuilder_.getMessageOrBuilder(); + } else { + return voteStartTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : voteStartTime_; + } + } + /** + * .google.protobuf.Timestamp voteStartTime = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getVoteStartTimeFieldBuilder() { + if (voteStartTimeBuilder_ == null) { + voteStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getVoteStartTime(), + getParentForChildren(), + isClean()); + voteStartTime_ = null; + } + return voteStartTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.PartyVoteNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.PartyVoteNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartyVoteNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReplyPartyVoteNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.ReplyPartyVoteNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string partyVoterGuid = 2; + * @return The partyVoterGuid. + */ + java.lang.String getPartyVoterGuid(); + /** + * string partyVoterGuid = 2; + * @return The bytes for partyVoterGuid. + */ + com.google.protobuf.ByteString + getPartyVoterGuidBytes(); + + /** + * .VoteType vote = 3; + * @return The enum numeric value on the wire for vote. + */ + int getVoteValue(); + /** + * .VoteType vote = 3; + * @return The vote. + */ + com.caliverse.admin.domain.RabbitMq.message.VoteType getVote(); + } + /** + * Protobuf type {@code ServerMessage.ReplyPartyVoteNoti} + */ + public static final class ReplyPartyVoteNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.ReplyPartyVoteNoti) + ReplyPartyVoteNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReplyPartyVoteNoti.newBuilder() to construct. + private ReplyPartyVoteNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReplyPartyVoteNoti() { + partyGuid_ = ""; + partyVoterGuid_ = ""; + vote_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReplyPartyVoteNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyPartyVoteNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyPartyVoteNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARTYVOTERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object partyVoterGuid_ = ""; + /** + * string partyVoterGuid = 2; + * @return The partyVoterGuid. + */ + @java.lang.Override + public java.lang.String getPartyVoterGuid() { + java.lang.Object ref = partyVoterGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyVoterGuid_ = s; + return s; + } + } + /** + * string partyVoterGuid = 2; + * @return The bytes for partyVoterGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyVoterGuidBytes() { + java.lang.Object ref = partyVoterGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyVoterGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VOTE_FIELD_NUMBER = 3; + private int vote_ = 0; + /** + * .VoteType vote = 3; + * @return The enum numeric value on the wire for vote. + */ + @java.lang.Override public int getVoteValue() { + return vote_; + } + /** + * .VoteType vote = 3; + * @return The vote. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.VoteType getVote() { + com.caliverse.admin.domain.RabbitMq.message.VoteType result = com.caliverse.admin.domain.RabbitMq.message.VoteType.forNumber(vote_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.VoteType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyVoterGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, partyVoterGuid_); + } + if (vote_ != com.caliverse.admin.domain.RabbitMq.message.VoteType.VoteType_None.getNumber()) { + output.writeEnum(3, vote_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyVoterGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, partyVoterGuid_); + } + if (vote_ != com.caliverse.admin.domain.RabbitMq.message.VoteType.VoteType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, vote_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getPartyVoterGuid() + .equals(other.getPartyVoterGuid())) return false; + if (vote_ != other.vote_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + PARTYVOTERGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyVoterGuid().hashCode(); + hash = (37 * hash) + VOTE_FIELD_NUMBER; + hash = (53 * hash) + vote_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.ReplyPartyVoteNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.ReplyPartyVoteNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyPartyVoteNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyPartyVoteNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + partyVoterGuid_ = ""; + vote_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_ReplyPartyVoteNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.partyVoterGuid_ = partyVoterGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.vote_ = vote_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getPartyVoterGuid().isEmpty()) { + partyVoterGuid_ = other.partyVoterGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.vote_ != 0) { + setVoteValue(other.getVoteValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + partyVoterGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + vote_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object partyVoterGuid_ = ""; + /** + * string partyVoterGuid = 2; + * @return The partyVoterGuid. + */ + public java.lang.String getPartyVoterGuid() { + java.lang.Object ref = partyVoterGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyVoterGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyVoterGuid = 2; + * @return The bytes for partyVoterGuid. + */ + public com.google.protobuf.ByteString + getPartyVoterGuidBytes() { + java.lang.Object ref = partyVoterGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyVoterGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyVoterGuid = 2; + * @param value The partyVoterGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyVoterGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyVoterGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string partyVoterGuid = 2; + * @return This builder for chaining. + */ + public Builder clearPartyVoterGuid() { + partyVoterGuid_ = getDefaultInstance().getPartyVoterGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string partyVoterGuid = 2; + * @param value The bytes for partyVoterGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyVoterGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyVoterGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int vote_ = 0; + /** + * .VoteType vote = 3; + * @return The enum numeric value on the wire for vote. + */ + @java.lang.Override public int getVoteValue() { + return vote_; + } + /** + * .VoteType vote = 3; + * @param value The enum numeric value on the wire for vote to set. + * @return This builder for chaining. + */ + public Builder setVoteValue(int value) { + vote_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .VoteType vote = 3; + * @return The vote. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.VoteType getVote() { + com.caliverse.admin.domain.RabbitMq.message.VoteType result = com.caliverse.admin.domain.RabbitMq.message.VoteType.forNumber(vote_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.VoteType.UNRECOGNIZED : result; + } + /** + * .VoteType vote = 3; + * @param value The vote to set. + * @return This builder for chaining. + */ + public Builder setVote(com.caliverse.admin.domain.RabbitMq.message.VoteType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + vote_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .VoteType vote = 3; + * @return This builder for chaining. + */ + public Builder clearVote() { + bitField0_ = (bitField0_ & ~0x00000004); + vote_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.ReplyPartyVoteNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.ReplyPartyVoteNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplyPartyVoteNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface PartyVoteResultNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.PartyVoteResultNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string voteTitle = 2; + * @return The voteTitle. + */ + java.lang.String getVoteTitle(); + /** + * string voteTitle = 2; + * @return The bytes for voteTitle. + */ + com.google.protobuf.ByteString + getVoteTitleBytes(); + + /** + * int32 resultTrue = 3; + * @return The resultTrue. + */ + int getResultTrue(); + + /** + * int32 resultFalse = 4; + * @return The resultFalse. + */ + int getResultFalse(); + + /** + * int32 abstain = 5; + * @return The abstain. + */ + int getAbstain(); + } + /** + * Protobuf type {@code ServerMessage.PartyVoteResultNoti} + */ + public static final class PartyVoteResultNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.PartyVoteResultNoti) + PartyVoteResultNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use PartyVoteResultNoti.newBuilder() to construct. + private PartyVoteResultNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PartyVoteResultNoti() { + partyGuid_ = ""; + voteTitle_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PartyVoteResultNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyVoteResultNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyVoteResultNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VOTETITLE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object voteTitle_ = ""; + /** + * string voteTitle = 2; + * @return The voteTitle. + */ + @java.lang.Override + public java.lang.String getVoteTitle() { + java.lang.Object ref = voteTitle_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + voteTitle_ = s; + return s; + } + } + /** + * string voteTitle = 2; + * @return The bytes for voteTitle. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVoteTitleBytes() { + java.lang.Object ref = voteTitle_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + voteTitle_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESULTTRUE_FIELD_NUMBER = 3; + private int resultTrue_ = 0; + /** + * int32 resultTrue = 3; + * @return The resultTrue. + */ + @java.lang.Override + public int getResultTrue() { + return resultTrue_; + } + + public static final int RESULTFALSE_FIELD_NUMBER = 4; + private int resultFalse_ = 0; + /** + * int32 resultFalse = 4; + * @return The resultFalse. + */ + @java.lang.Override + public int getResultFalse() { + return resultFalse_; + } + + public static final int ABSTAIN_FIELD_NUMBER = 5; + private int abstain_ = 0; + /** + * int32 abstain = 5; + * @return The abstain. + */ + @java.lang.Override + public int getAbstain() { + return abstain_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(voteTitle_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, voteTitle_); + } + if (resultTrue_ != 0) { + output.writeInt32(3, resultTrue_); + } + if (resultFalse_ != 0) { + output.writeInt32(4, resultFalse_); + } + if (abstain_ != 0) { + output.writeInt32(5, abstain_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(voteTitle_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, voteTitle_); + } + if (resultTrue_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, resultTrue_); + } + if (resultFalse_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, resultFalse_); + } + if (abstain_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, abstain_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getVoteTitle() + .equals(other.getVoteTitle())) return false; + if (getResultTrue() + != other.getResultTrue()) return false; + if (getResultFalse() + != other.getResultFalse()) return false; + if (getAbstain() + != other.getAbstain()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + VOTETITLE_FIELD_NUMBER; + hash = (53 * hash) + getVoteTitle().hashCode(); + hash = (37 * hash) + RESULTTRUE_FIELD_NUMBER; + hash = (53 * hash) + getResultTrue(); + hash = (37 * hash) + RESULTFALSE_FIELD_NUMBER; + hash = (53 * hash) + getResultFalse(); + hash = (37 * hash) + ABSTAIN_FIELD_NUMBER; + hash = (53 * hash) + getAbstain(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.PartyVoteResultNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.PartyVoteResultNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyVoteResultNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyVoteResultNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + voteTitle_ = ""; + resultTrue_ = 0; + resultFalse_ = 0; + abstain_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyVoteResultNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.voteTitle_ = voteTitle_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.resultTrue_ = resultTrue_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.resultFalse_ = resultFalse_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.abstain_ = abstain_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getVoteTitle().isEmpty()) { + voteTitle_ = other.voteTitle_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getResultTrue() != 0) { + setResultTrue(other.getResultTrue()); + } + if (other.getResultFalse() != 0) { + setResultFalse(other.getResultFalse()); + } + if (other.getAbstain() != 0) { + setAbstain(other.getAbstain()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + voteTitle_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + resultTrue_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + resultFalse_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + abstain_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object voteTitle_ = ""; + /** + * string voteTitle = 2; + * @return The voteTitle. + */ + public java.lang.String getVoteTitle() { + java.lang.Object ref = voteTitle_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + voteTitle_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string voteTitle = 2; + * @return The bytes for voteTitle. + */ + public com.google.protobuf.ByteString + getVoteTitleBytes() { + java.lang.Object ref = voteTitle_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + voteTitle_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string voteTitle = 2; + * @param value The voteTitle to set. + * @return This builder for chaining. + */ + public Builder setVoteTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + voteTitle_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string voteTitle = 2; + * @return This builder for chaining. + */ + public Builder clearVoteTitle() { + voteTitle_ = getDefaultInstance().getVoteTitle(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string voteTitle = 2; + * @param value The bytes for voteTitle to set. + * @return This builder for chaining. + */ + public Builder setVoteTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + voteTitle_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int resultTrue_ ; + /** + * int32 resultTrue = 3; + * @return The resultTrue. + */ + @java.lang.Override + public int getResultTrue() { + return resultTrue_; + } + /** + * int32 resultTrue = 3; + * @param value The resultTrue to set. + * @return This builder for chaining. + */ + public Builder setResultTrue(int value) { + + resultTrue_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 resultTrue = 3; + * @return This builder for chaining. + */ + public Builder clearResultTrue() { + bitField0_ = (bitField0_ & ~0x00000004); + resultTrue_ = 0; + onChanged(); + return this; + } + + private int resultFalse_ ; + /** + * int32 resultFalse = 4; + * @return The resultFalse. + */ + @java.lang.Override + public int getResultFalse() { + return resultFalse_; + } + /** + * int32 resultFalse = 4; + * @param value The resultFalse to set. + * @return This builder for chaining. + */ + public Builder setResultFalse(int value) { + + resultFalse_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 resultFalse = 4; + * @return This builder for chaining. + */ + public Builder clearResultFalse() { + bitField0_ = (bitField0_ & ~0x00000008); + resultFalse_ = 0; + onChanged(); + return this; + } + + private int abstain_ ; + /** + * int32 abstain = 5; + * @return The abstain. + */ + @java.lang.Override + public int getAbstain() { + return abstain_; + } + /** + * int32 abstain = 5; + * @param value The abstain to set. + * @return This builder for chaining. + */ + public Builder setAbstain(int value) { + + abstain_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * int32 abstain = 5; + * @return This builder for chaining. + */ + public Builder clearAbstain() { + bitField0_ = (bitField0_ & ~0x00000010); + abstain_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.PartyVoteResultNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.PartyVoteResultNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartyVoteResultNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface PartyInstanceInfoNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.PartyInstanceInfoNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.PartyInstanceInfoNoti} + */ + public static final class PartyInstanceInfoNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.PartyInstanceInfoNoti) + PartyInstanceInfoNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use PartyInstanceInfoNoti.newBuilder() to construct. + private PartyInstanceInfoNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PartyInstanceInfoNoti() { + partyGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PartyInstanceInfoNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyInstanceInfoNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyInstanceInfoNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.PartyInstanceInfoNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.PartyInstanceInfoNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyInstanceInfoNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyInstanceInfoNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyInstanceInfoNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.PartyInstanceInfoNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.PartyInstanceInfoNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartyInstanceInfoNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SessionInfoNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.SessionInfoNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string instanceId = 1; + * @return The instanceId. + */ + java.lang.String getInstanceId(); + /** + * string instanceId = 1; + * @return The bytes for instanceId. + */ + com.google.protobuf.ByteString + getInstanceIdBytes(); + + /** + * int32 sessionCount = 2; + * @return The sessionCount. + */ + int getSessionCount(); + + /** + * int32 serverType = 3; + * @return The serverType. + */ + int getServerType(); + + /** + * int32 worldId = 4; + * @return The worldId. + */ + int getWorldId(); + } + /** + * Protobuf type {@code ServerMessage.SessionInfoNoti} + */ + public static final class SessionInfoNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.SessionInfoNoti) + SessionInfoNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use SessionInfoNoti.newBuilder() to construct. + private SessionInfoNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SessionInfoNoti() { + instanceId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SessionInfoNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SessionInfoNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SessionInfoNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.Builder.class); + } + + public static final int INSTANCEID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object instanceId_ = ""; + /** + * string instanceId = 1; + * @return The instanceId. + */ + @java.lang.Override + public java.lang.String getInstanceId() { + java.lang.Object ref = instanceId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceId_ = s; + return s; + } + } + /** + * string instanceId = 1; + * @return The bytes for instanceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInstanceIdBytes() { + java.lang.Object ref = instanceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + instanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SESSIONCOUNT_FIELD_NUMBER = 2; + private int sessionCount_ = 0; + /** + * int32 sessionCount = 2; + * @return The sessionCount. + */ + @java.lang.Override + public int getSessionCount() { + return sessionCount_; + } + + public static final int SERVERTYPE_FIELD_NUMBER = 3; + private int serverType_ = 0; + /** + * int32 serverType = 3; + * @return The serverType. + */ + @java.lang.Override + public int getServerType() { + return serverType_; + } + + public static final int WORLDID_FIELD_NUMBER = 4; + private int worldId_ = 0; + /** + * int32 worldId = 4; + * @return The worldId. + */ + @java.lang.Override + public int getWorldId() { + return worldId_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); + } + if (sessionCount_ != 0) { + output.writeInt32(2, sessionCount_); + } + if (serverType_ != 0) { + output.writeInt32(3, serverType_); + } + if (worldId_ != 0) { + output.writeInt32(4, worldId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_); + } + if (sessionCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, sessionCount_); + } + if (serverType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, serverType_); + } + if (worldId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, worldId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti) obj; + + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (getSessionCount() + != other.getSessionCount()) return false; + if (getServerType() + != other.getServerType()) return false; + if (getWorldId() + != other.getWorldId()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INSTANCEID_FIELD_NUMBER; + hash = (53 * hash) + getInstanceId().hashCode(); + hash = (37 * hash) + SESSIONCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getSessionCount(); + hash = (37 * hash) + SERVERTYPE_FIELD_NUMBER; + hash = (53 * hash) + getServerType(); + hash = (37 * hash) + WORLDID_FIELD_NUMBER; + hash = (53 * hash) + getWorldId(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.SessionInfoNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.SessionInfoNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SessionInfoNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SessionInfoNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + instanceId_ = ""; + sessionCount_ = 0; + serverType_ = 0; + worldId_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_SessionInfoNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.instanceId_ = instanceId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.sessionCount_ = sessionCount_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.serverType_ = serverType_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.worldId_ = worldId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.getDefaultInstance()) return this; + if (!other.getInstanceId().isEmpty()) { + instanceId_ = other.instanceId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getSessionCount() != 0) { + setSessionCount(other.getSessionCount()); + } + if (other.getServerType() != 0) { + setServerType(other.getServerType()); + } + if (other.getWorldId() != 0) { + setWorldId(other.getWorldId()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + sessionCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + serverType_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + worldId_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object instanceId_ = ""; + /** + * string instanceId = 1; + * @return The instanceId. + */ + public java.lang.String getInstanceId() { + java.lang.Object ref = instanceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string instanceId = 1; + * @return The bytes for instanceId. + */ + public com.google.protobuf.ByteString + getInstanceIdBytes() { + java.lang.Object ref = instanceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + instanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string instanceId = 1; + * @param value The instanceId to set. + * @return This builder for chaining. + */ + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + instanceId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string instanceId = 1; + * @return This builder for chaining. + */ + public Builder clearInstanceId() { + instanceId_ = getDefaultInstance().getInstanceId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string instanceId = 1; + * @param value The bytes for instanceId to set. + * @return This builder for chaining. + */ + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + instanceId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int sessionCount_ ; + /** + * int32 sessionCount = 2; + * @return The sessionCount. + */ + @java.lang.Override + public int getSessionCount() { + return sessionCount_; + } + /** + * int32 sessionCount = 2; + * @param value The sessionCount to set. + * @return This builder for chaining. + */ + public Builder setSessionCount(int value) { + + sessionCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 sessionCount = 2; + * @return This builder for chaining. + */ + public Builder clearSessionCount() { + bitField0_ = (bitField0_ & ~0x00000002); + sessionCount_ = 0; + onChanged(); + return this; + } + + private int serverType_ ; + /** + * int32 serverType = 3; + * @return The serverType. + */ + @java.lang.Override + public int getServerType() { + return serverType_; + } + /** + * int32 serverType = 3; + * @param value The serverType to set. + * @return This builder for chaining. + */ + public Builder setServerType(int value) { + + serverType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 serverType = 3; + * @return This builder for chaining. + */ + public Builder clearServerType() { + bitField0_ = (bitField0_ & ~0x00000004); + serverType_ = 0; + onChanged(); + return this; + } + + private int worldId_ ; + /** + * int32 worldId = 4; + * @return The worldId. + */ + @java.lang.Override + public int getWorldId() { + return worldId_; + } + /** + * int32 worldId = 4; + * @param value The worldId to set. + * @return This builder for chaining. + */ + public Builder setWorldId(int value) { + + worldId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 worldId = 4; + * @return This builder for chaining. + */ + public Builder clearWorldId() { + bitField0_ = (bitField0_ & ~0x00000008); + worldId_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.SessionInfoNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.SessionInfoNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SessionInfoNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CancelSummonPartyMemberNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.CancelSummonPartyMemberNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * repeated string cancelSummonUserGuids = 2; + * @return A list containing the cancelSummonUserGuids. + */ + java.util.List + getCancelSummonUserGuidsList(); + /** + * repeated string cancelSummonUserGuids = 2; + * @return The count of cancelSummonUserGuids. + */ + int getCancelSummonUserGuidsCount(); + /** + * repeated string cancelSummonUserGuids = 2; + * @param index The index of the element to return. + * @return The cancelSummonUserGuids at the given index. + */ + java.lang.String getCancelSummonUserGuids(int index); + /** + * repeated string cancelSummonUserGuids = 2; + * @param index The index of the value to return. + * @return The bytes of the cancelSummonUserGuids at the given index. + */ + com.google.protobuf.ByteString + getCancelSummonUserGuidsBytes(int index); + } + /** + * Protobuf type {@code ServerMessage.CancelSummonPartyMemberNoti} + */ + public static final class CancelSummonPartyMemberNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.CancelSummonPartyMemberNoti) + CancelSummonPartyMemberNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use CancelSummonPartyMemberNoti.newBuilder() to construct. + private CancelSummonPartyMemberNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CancelSummonPartyMemberNoti() { + partyGuid_ = ""; + cancelSummonUserGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CancelSummonPartyMemberNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CancelSummonPartyMemberNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CancelSummonPartyMemberNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CANCELSUMMONUSERGUIDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList cancelSummonUserGuids_; + /** + * repeated string cancelSummonUserGuids = 2; + * @return A list containing the cancelSummonUserGuids. + */ + public com.google.protobuf.ProtocolStringList + getCancelSummonUserGuidsList() { + return cancelSummonUserGuids_; + } + /** + * repeated string cancelSummonUserGuids = 2; + * @return The count of cancelSummonUserGuids. + */ + public int getCancelSummonUserGuidsCount() { + return cancelSummonUserGuids_.size(); + } + /** + * repeated string cancelSummonUserGuids = 2; + * @param index The index of the element to return. + * @return The cancelSummonUserGuids at the given index. + */ + public java.lang.String getCancelSummonUserGuids(int index) { + return cancelSummonUserGuids_.get(index); + } + /** + * repeated string cancelSummonUserGuids = 2; + * @param index The index of the value to return. + * @return The bytes of the cancelSummonUserGuids at the given index. + */ + public com.google.protobuf.ByteString + getCancelSummonUserGuidsBytes(int index) { + return cancelSummonUserGuids_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + for (int i = 0; i < cancelSummonUserGuids_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cancelSummonUserGuids_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + { + int dataSize = 0; + for (int i = 0; i < cancelSummonUserGuids_.size(); i++) { + dataSize += computeStringSizeNoTag(cancelSummonUserGuids_.getRaw(i)); + } + size += dataSize; + size += 1 * getCancelSummonUserGuidsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getCancelSummonUserGuidsList() + .equals(other.getCancelSummonUserGuidsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + if (getCancelSummonUserGuidsCount() > 0) { + hash = (37 * hash) + CANCELSUMMONUSERGUIDS_FIELD_NUMBER; + hash = (53 * hash) + getCancelSummonUserGuidsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.CancelSummonPartyMemberNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.CancelSummonPartyMemberNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CancelSummonPartyMemberNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CancelSummonPartyMemberNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + cancelSummonUserGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_CancelSummonPartyMemberNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti result) { + if (((bitField0_ & 0x00000002) != 0)) { + cancelSummonUserGuids_ = cancelSummonUserGuids_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.cancelSummonUserGuids_ = cancelSummonUserGuids_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.cancelSummonUserGuids_.isEmpty()) { + if (cancelSummonUserGuids_.isEmpty()) { + cancelSummonUserGuids_ = other.cancelSummonUserGuids_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureCancelSummonUserGuidsIsMutable(); + cancelSummonUserGuids_.addAll(other.cancelSummonUserGuids_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCancelSummonUserGuidsIsMutable(); + cancelSummonUserGuids_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList cancelSummonUserGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCancelSummonUserGuidsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + cancelSummonUserGuids_ = new com.google.protobuf.LazyStringArrayList(cancelSummonUserGuids_); + bitField0_ |= 0x00000002; + } + } + /** + * repeated string cancelSummonUserGuids = 2; + * @return A list containing the cancelSummonUserGuids. + */ + public com.google.protobuf.ProtocolStringList + getCancelSummonUserGuidsList() { + return cancelSummonUserGuids_.getUnmodifiableView(); + } + /** + * repeated string cancelSummonUserGuids = 2; + * @return The count of cancelSummonUserGuids. + */ + public int getCancelSummonUserGuidsCount() { + return cancelSummonUserGuids_.size(); + } + /** + * repeated string cancelSummonUserGuids = 2; + * @param index The index of the element to return. + * @return The cancelSummonUserGuids at the given index. + */ + public java.lang.String getCancelSummonUserGuids(int index) { + return cancelSummonUserGuids_.get(index); + } + /** + * repeated string cancelSummonUserGuids = 2; + * @param index The index of the value to return. + * @return The bytes of the cancelSummonUserGuids at the given index. + */ + public com.google.protobuf.ByteString + getCancelSummonUserGuidsBytes(int index) { + return cancelSummonUserGuids_.getByteString(index); + } + /** + * repeated string cancelSummonUserGuids = 2; + * @param index The index to set the value at. + * @param value The cancelSummonUserGuids to set. + * @return This builder for chaining. + */ + public Builder setCancelSummonUserGuids( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureCancelSummonUserGuidsIsMutable(); + cancelSummonUserGuids_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string cancelSummonUserGuids = 2; + * @param value The cancelSummonUserGuids to add. + * @return This builder for chaining. + */ + public Builder addCancelSummonUserGuids( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureCancelSummonUserGuidsIsMutable(); + cancelSummonUserGuids_.add(value); + onChanged(); + return this; + } + /** + * repeated string cancelSummonUserGuids = 2; + * @param values The cancelSummonUserGuids to add. + * @return This builder for chaining. + */ + public Builder addAllCancelSummonUserGuids( + java.lang.Iterable values) { + ensureCancelSummonUserGuidsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cancelSummonUserGuids_); + onChanged(); + return this; + } + /** + * repeated string cancelSummonUserGuids = 2; + * @return This builder for chaining. + */ + public Builder clearCancelSummonUserGuids() { + cancelSummonUserGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * repeated string cancelSummonUserGuids = 2; + * @param value The bytes of the cancelSummonUserGuids to add. + * @return This builder for chaining. + */ + public Builder addCancelSummonUserGuidsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureCancelSummonUserGuidsIsMutable(); + cancelSummonUserGuids_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.CancelSummonPartyMemberNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.CancelSummonPartyMemberNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelSummonPartyMemberNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface PartyMemberLocationNotiOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.PartyMemberLocationNoti) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string partyMemberGuid = 2; + * @return The partyMemberGuid. + */ + java.lang.String getPartyMemberGuid(); + /** + * string partyMemberGuid = 2; + * @return The bytes for partyMemberGuid. + */ + com.google.protobuf.ByteString + getPartyMemberGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.PartyMemberLocationNoti} + */ + public static final class PartyMemberLocationNoti extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.PartyMemberLocationNoti) + PartyMemberLocationNotiOrBuilder { + private static final long serialVersionUID = 0L; + // Use PartyMemberLocationNoti.newBuilder() to construct. + private PartyMemberLocationNoti(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PartyMemberLocationNoti() { + partyGuid_ = ""; + partyMemberGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PartyMemberLocationNoti(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyMemberLocationNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyMemberLocationNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARTYMEMBERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object partyMemberGuid_ = ""; + /** + * string partyMemberGuid = 2; + * @return The partyMemberGuid. + */ + @java.lang.Override + public java.lang.String getPartyMemberGuid() { + java.lang.Object ref = partyMemberGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyMemberGuid_ = s; + return s; + } + } + /** + * string partyMemberGuid = 2; + * @return The bytes for partyMemberGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyMemberGuidBytes() { + java.lang.Object ref = partyMemberGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyMemberGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyMemberGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, partyMemberGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyMemberGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, partyMemberGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getPartyMemberGuid() + .equals(other.getPartyMemberGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + PARTYMEMBERGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyMemberGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.PartyMemberLocationNoti} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.PartyMemberLocationNoti) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNotiOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyMemberLocationNoti_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyMemberLocationNoti_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + partyMemberGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_PartyMemberLocationNoti_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.partyMemberGuid_ = partyMemberGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getPartyMemberGuid().isEmpty()) { + partyMemberGuid_ = other.partyMemberGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + partyMemberGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object partyMemberGuid_ = ""; + /** + * string partyMemberGuid = 2; + * @return The partyMemberGuid. + */ + public java.lang.String getPartyMemberGuid() { + java.lang.Object ref = partyMemberGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyMemberGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyMemberGuid = 2; + * @return The bytes for partyMemberGuid. + */ + public com.google.protobuf.ByteString + getPartyMemberGuidBytes() { + java.lang.Object ref = partyMemberGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyMemberGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyMemberGuid = 2; + * @param value The partyMemberGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyMemberGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyMemberGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string partyMemberGuid = 2; + * @return This builder for chaining. + */ + public Builder clearPartyMemberGuid() { + partyMemberGuid_ = getDefaultInstance().getPartyMemberGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string partyMemberGuid = 2; + * @param value The bytes for partyMemberGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyMemberGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyMemberGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.PartyMemberLocationNoti) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.PartyMemberLocationNoti) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartyMemberLocationNoti parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_NTF_CLEAR_PARTY_SUMMONOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string memberUserGuid = 2; + * @return The memberUserGuid. + */ + java.lang.String getMemberUserGuid(); + /** + * string memberUserGuid = 2; + * @return The bytes for memberUserGuid. + */ + com.google.protobuf.ByteString + getMemberUserGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON} + */ + public static final class GS2GS_NTF_CLEAR_PARTY_SUMMON extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) + GS2GS_NTF_CLEAR_PARTY_SUMMONOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_NTF_CLEAR_PARTY_SUMMON.newBuilder() to construct. + private GS2GS_NTF_CLEAR_PARTY_SUMMON(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_NTF_CLEAR_PARTY_SUMMON() { + partyGuid_ = ""; + memberUserGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_NTF_CLEAR_PARTY_SUMMON(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_CLEAR_PARTY_SUMMON_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_CLEAR_PARTY_SUMMON_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MEMBERUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object memberUserGuid_ = ""; + /** + * string memberUserGuid = 2; + * @return The memberUserGuid. + */ + @java.lang.Override + public java.lang.String getMemberUserGuid() { + java.lang.Object ref = memberUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + memberUserGuid_ = s; + return s; + } + } + /** + * string memberUserGuid = 2; + * @return The bytes for memberUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMemberUserGuidBytes() { + java.lang.Object ref = memberUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + memberUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, memberUserGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, memberUserGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getMemberUserGuid() + .equals(other.getMemberUserGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + MEMBERUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getMemberUserGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMONOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_CLEAR_PARTY_SUMMON_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_CLEAR_PARTY_SUMMON_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + memberUserGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_CLEAR_PARTY_SUMMON_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.memberUserGuid_ = memberUserGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getMemberUserGuid().isEmpty()) { + memberUserGuid_ = other.memberUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + memberUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object memberUserGuid_ = ""; + /** + * string memberUserGuid = 2; + * @return The memberUserGuid. + */ + public java.lang.String getMemberUserGuid() { + java.lang.Object ref = memberUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + memberUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string memberUserGuid = 2; + * @return The bytes for memberUserGuid. + */ + public com.google.protobuf.ByteString + getMemberUserGuidBytes() { + java.lang.Object ref = memberUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + memberUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string memberUserGuid = 2; + * @param value The memberUserGuid to set. + * @return This builder for chaining. + */ + public Builder setMemberUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + memberUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string memberUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearMemberUserGuid() { + memberUserGuid_ = getDefaultInstance().getMemberUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string memberUserGuid = 2; + * @param value The bytes for memberUserGuid to set. + * @return This builder for chaining. + */ + public Builder setMemberUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + memberUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_NTF_CLEAR_PARTY_SUMMON parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_NTF_DELETE_PARTY_INVITE_SENDOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) + com.google.protobuf.MessageOrBuilder { + + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + java.lang.String getPartyGuid(); + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + com.google.protobuf.ByteString + getPartyGuidBytes(); + + /** + * string inviteUserGuid = 2; + * @return The inviteUserGuid. + */ + java.lang.String getInviteUserGuid(); + /** + * string inviteUserGuid = 2; + * @return The bytes for inviteUserGuid. + */ + com.google.protobuf.ByteString + getInviteUserGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND} + */ + public static final class GS2GS_NTF_DELETE_PARTY_INVITE_SEND extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) + GS2GS_NTF_DELETE_PARTY_INVITE_SENDOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_NTF_DELETE_PARTY_INVITE_SEND.newBuilder() to construct. + private GS2GS_NTF_DELETE_PARTY_INVITE_SEND(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_NTF_DELETE_PARTY_INVITE_SEND() { + partyGuid_ = ""; + inviteUserGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_NTF_DELETE_PARTY_INVITE_SEND(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_DELETE_PARTY_INVITE_SEND_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_DELETE_PARTY_INVITE_SEND_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.Builder.class); + } + + public static final int PARTYGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + @java.lang.Override + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVITEUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object inviteUserGuid_ = ""; + /** + * string inviteUserGuid = 2; + * @return The inviteUserGuid. + */ + @java.lang.Override + public java.lang.String getInviteUserGuid() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserGuid_ = s; + return s; + } + } + /** + * string inviteUserGuid = 2; + * @return The bytes for inviteUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInviteUserGuidBytes() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inviteUserGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inviteUserGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) obj; + + if (!getPartyGuid() + .equals(other.getPartyGuid())) return false; + if (!getInviteUserGuid() + .equals(other.getInviteUserGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARTYGUID_FIELD_NUMBER; + hash = (53 * hash) + getPartyGuid().hashCode(); + hash = (37 * hash) + INVITEUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getInviteUserGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SENDOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_DELETE_PARTY_INVITE_SEND_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_DELETE_PARTY_INVITE_SEND_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + partyGuid_ = ""; + inviteUserGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_DELETE_PARTY_INVITE_SEND_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.partyGuid_ = partyGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.inviteUserGuid_ = inviteUserGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.getDefaultInstance()) return this; + if (!other.getPartyGuid().isEmpty()) { + partyGuid_ = other.partyGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getInviteUserGuid().isEmpty()) { + inviteUserGuid_ = other.inviteUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + partyGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + inviteUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object partyGuid_ = ""; + /** + * string partyGuid = 1; + * @return The partyGuid. + */ + public java.lang.String getPartyGuid() { + java.lang.Object ref = partyGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partyGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string partyGuid = 1; + * @return The bytes for partyGuid. + */ + public com.google.protobuf.ByteString + getPartyGuidBytes() { + java.lang.Object ref = partyGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partyGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string partyGuid = 1; + * @param value The partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @return This builder for chaining. + */ + public Builder clearPartyGuid() { + partyGuid_ = getDefaultInstance().getPartyGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string partyGuid = 1; + * @param value The bytes for partyGuid to set. + * @return This builder for chaining. + */ + public Builder setPartyGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + partyGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object inviteUserGuid_ = ""; + /** + * string inviteUserGuid = 2; + * @return The inviteUserGuid. + */ + public java.lang.String getInviteUserGuid() { + java.lang.Object ref = inviteUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inviteUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string inviteUserGuid = 2; + * @return The bytes for inviteUserGuid. + */ + public com.google.protobuf.ByteString + getInviteUserGuidBytes() { + java.lang.Object ref = inviteUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inviteUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string inviteUserGuid = 2; + * @param value The inviteUserGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + inviteUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string inviteUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearInviteUserGuid() { + inviteUserGuid_ = getDefaultInstance().getInviteUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string inviteUserGuid = 2; + * @param value The bytes for inviteUserGuid to set. + * @return This builder for chaining. + */ + public Builder setInviteUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + inviteUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_NTF_DELETE_PARTY_INVITE_SEND parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_NTF_CRAFT_HELPOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_NTF_CRAFT_HELP) + com.google.protobuf.MessageOrBuilder { + + /** + * string roomId = 1; + * @return The roomId. + */ + java.lang.String getRoomId(); + /** + * string roomId = 1; + * @return The bytes for roomId. + */ + com.google.protobuf.ByteString + getRoomIdBytes(); + + /** + * string anchor_guid = 2; + * @return The anchorGuid. + */ + java.lang.String getAnchorGuid(); + /** + * string anchor_guid = 2; + * @return The bytes for anchorGuid. + */ + com.google.protobuf.ByteString + getAnchorGuidBytes(); + + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + * @return Whether the craftFinishTime field is set. + */ + boolean hasCraftFinishTime(); + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + * @return The craftFinishTime. + */ + com.google.protobuf.Timestamp getCraftFinishTime(); + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + */ + com.google.protobuf.TimestampOrBuilder getCraftFinishTimeOrBuilder(); + + /** + * string ownerGuid = 4; + * @return The ownerGuid. + */ + java.lang.String getOwnerGuid(); + /** + * string ownerGuid = 4; + * @return The bytes for ownerGuid. + */ + com.google.protobuf.ByteString + getOwnerGuidBytes(); + + /** + * int32 ownerHelpedCount = 5; + * @return The ownerHelpedCount. + */ + int getOwnerHelpedCount(); + + /** + * string helpUserName = 6; + * @return The helpUserName. + */ + java.lang.String getHelpUserName(); + /** + * string helpUserName = 6; + * @return The bytes for helpUserName. + */ + com.google.protobuf.ByteString + getHelpUserNameBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_CRAFT_HELP} + */ + public static final class GS2GS_NTF_CRAFT_HELP extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_NTF_CRAFT_HELP) + GS2GS_NTF_CRAFT_HELPOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_NTF_CRAFT_HELP.newBuilder() to construct. + private GS2GS_NTF_CRAFT_HELP(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_NTF_CRAFT_HELP() { + roomId_ = ""; + anchorGuid_ = ""; + ownerGuid_ = ""; + helpUserName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_NTF_CRAFT_HELP(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_CRAFT_HELP_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_CRAFT_HELP_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.Builder.class); + } + + public static final int ROOMID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object roomId_ = ""; + /** + * string roomId = 1; + * @return The roomId. + */ + @java.lang.Override + public java.lang.String getRoomId() { + java.lang.Object ref = roomId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + roomId_ = s; + return s; + } + } + /** + * string roomId = 1; + * @return The bytes for roomId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRoomIdBytes() { + java.lang.Object ref = roomId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + roomId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ANCHOR_GUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object anchorGuid_ = ""; + /** + * string anchor_guid = 2; + * @return The anchorGuid. + */ + @java.lang.Override + public java.lang.String getAnchorGuid() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorGuid_ = s; + return s; + } + } + /** + * string anchor_guid = 2; + * @return The bytes for anchorGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAnchorGuidBytes() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CRAFTFINISHTIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp craftFinishTime_; + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + * @return Whether the craftFinishTime field is set. + */ + @java.lang.Override + public boolean hasCraftFinishTime() { + return craftFinishTime_ != null; + } + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + * @return The craftFinishTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCraftFinishTime() { + return craftFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftFinishTime_; + } + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCraftFinishTimeOrBuilder() { + return craftFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftFinishTime_; + } + + public static final int OWNERGUID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object ownerGuid_ = ""; + /** + * string ownerGuid = 4; + * @return The ownerGuid. + */ + @java.lang.Override + public java.lang.String getOwnerGuid() { + java.lang.Object ref = ownerGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerGuid_ = s; + return s; + } + } + /** + * string ownerGuid = 4; + * @return The bytes for ownerGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerGuidBytes() { + java.lang.Object ref = ownerGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNERHELPEDCOUNT_FIELD_NUMBER = 5; + private int ownerHelpedCount_ = 0; + /** + * int32 ownerHelpedCount = 5; + * @return The ownerHelpedCount. + */ + @java.lang.Override + public int getOwnerHelpedCount() { + return ownerHelpedCount_; + } + + public static final int HELPUSERNAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object helpUserName_ = ""; + /** + * string helpUserName = 6; + * @return The helpUserName. + */ + @java.lang.Override + public java.lang.String getHelpUserName() { + java.lang.Object ref = helpUserName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + helpUserName_ = s; + return s; + } + } + /** + * string helpUserName = 6; + * @return The bytes for helpUserName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getHelpUserNameBytes() { + java.lang.Object ref = helpUserName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + helpUserName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roomId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, roomId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, anchorGuid_); + } + if (craftFinishTime_ != null) { + output.writeMessage(3, getCraftFinishTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ownerGuid_); + } + if (ownerHelpedCount_ != 0) { + output.writeInt32(5, ownerHelpedCount_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpUserName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, helpUserName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roomId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, roomId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, anchorGuid_); + } + if (craftFinishTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCraftFinishTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ownerGuid_); + } + if (ownerHelpedCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, ownerHelpedCount_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(helpUserName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, helpUserName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP) obj; + + if (!getRoomId() + .equals(other.getRoomId())) return false; + if (!getAnchorGuid() + .equals(other.getAnchorGuid())) return false; + if (hasCraftFinishTime() != other.hasCraftFinishTime()) return false; + if (hasCraftFinishTime()) { + if (!getCraftFinishTime() + .equals(other.getCraftFinishTime())) return false; + } + if (!getOwnerGuid() + .equals(other.getOwnerGuid())) return false; + if (getOwnerHelpedCount() + != other.getOwnerHelpedCount()) return false; + if (!getHelpUserName() + .equals(other.getHelpUserName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ROOMID_FIELD_NUMBER; + hash = (53 * hash) + getRoomId().hashCode(); + hash = (37 * hash) + ANCHOR_GUID_FIELD_NUMBER; + hash = (53 * hash) + getAnchorGuid().hashCode(); + if (hasCraftFinishTime()) { + hash = (37 * hash) + CRAFTFINISHTIME_FIELD_NUMBER; + hash = (53 * hash) + getCraftFinishTime().hashCode(); + } + hash = (37 * hash) + OWNERGUID_FIELD_NUMBER; + hash = (53 * hash) + getOwnerGuid().hashCode(); + hash = (37 * hash) + OWNERHELPEDCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getOwnerHelpedCount(); + hash = (37 * hash) + HELPUSERNAME_FIELD_NUMBER; + hash = (53 * hash) + getHelpUserName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_CRAFT_HELP} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_NTF_CRAFT_HELP) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELPOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_CRAFT_HELP_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_CRAFT_HELP_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + roomId_ = ""; + anchorGuid_ = ""; + craftFinishTime_ = null; + if (craftFinishTimeBuilder_ != null) { + craftFinishTimeBuilder_.dispose(); + craftFinishTimeBuilder_ = null; + } + ownerGuid_ = ""; + ownerHelpedCount_ = 0; + helpUserName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_CRAFT_HELP_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.roomId_ = roomId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.anchorGuid_ = anchorGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.craftFinishTime_ = craftFinishTimeBuilder_ == null + ? craftFinishTime_ + : craftFinishTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.ownerGuid_ = ownerGuid_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.ownerHelpedCount_ = ownerHelpedCount_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.helpUserName_ = helpUserName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.getDefaultInstance()) return this; + if (!other.getRoomId().isEmpty()) { + roomId_ = other.roomId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getAnchorGuid().isEmpty()) { + anchorGuid_ = other.anchorGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasCraftFinishTime()) { + mergeCraftFinishTime(other.getCraftFinishTime()); + } + if (!other.getOwnerGuid().isEmpty()) { + ownerGuid_ = other.ownerGuid_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.getOwnerHelpedCount() != 0) { + setOwnerHelpedCount(other.getOwnerHelpedCount()); + } + if (!other.getHelpUserName().isEmpty()) { + helpUserName_ = other.helpUserName_; + bitField0_ |= 0x00000020; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + roomId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + anchorGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCraftFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + ownerGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + ownerHelpedCount_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + helpUserName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object roomId_ = ""; + /** + * string roomId = 1; + * @return The roomId. + */ + public java.lang.String getRoomId() { + java.lang.Object ref = roomId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + roomId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string roomId = 1; + * @return The bytes for roomId. + */ + public com.google.protobuf.ByteString + getRoomIdBytes() { + java.lang.Object ref = roomId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + roomId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string roomId = 1; + * @param value The roomId to set. + * @return This builder for chaining. + */ + public Builder setRoomId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + roomId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string roomId = 1; + * @return This builder for chaining. + */ + public Builder clearRoomId() { + roomId_ = getDefaultInstance().getRoomId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string roomId = 1; + * @param value The bytes for roomId to set. + * @return This builder for chaining. + */ + public Builder setRoomIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + roomId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object anchorGuid_ = ""; + /** + * string anchor_guid = 2; + * @return The anchorGuid. + */ + public java.lang.String getAnchorGuid() { + java.lang.Object ref = anchorGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string anchor_guid = 2; + * @return The bytes for anchorGuid. + */ + public com.google.protobuf.ByteString + getAnchorGuidBytes() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string anchor_guid = 2; + * @param value The anchorGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + anchorGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string anchor_guid = 2; + * @return This builder for chaining. + */ + public Builder clearAnchorGuid() { + anchorGuid_ = getDefaultInstance().getAnchorGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string anchor_guid = 2; + * @param value The bytes for anchorGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + anchorGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp craftFinishTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> craftFinishTimeBuilder_; + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + * @return Whether the craftFinishTime field is set. + */ + public boolean hasCraftFinishTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + * @return The craftFinishTime. + */ + public com.google.protobuf.Timestamp getCraftFinishTime() { + if (craftFinishTimeBuilder_ == null) { + return craftFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftFinishTime_; + } else { + return craftFinishTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + */ + public Builder setCraftFinishTime(com.google.protobuf.Timestamp value) { + if (craftFinishTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + craftFinishTime_ = value; + } else { + craftFinishTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + */ + public Builder setCraftFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (craftFinishTimeBuilder_ == null) { + craftFinishTime_ = builderForValue.build(); + } else { + craftFinishTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + */ + public Builder mergeCraftFinishTime(com.google.protobuf.Timestamp value) { + if (craftFinishTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + craftFinishTime_ != null && + craftFinishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCraftFinishTimeBuilder().mergeFrom(value); + } else { + craftFinishTime_ = value; + } + } else { + craftFinishTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + */ + public Builder clearCraftFinishTime() { + bitField0_ = (bitField0_ & ~0x00000004); + craftFinishTime_ = null; + if (craftFinishTimeBuilder_ != null) { + craftFinishTimeBuilder_.dispose(); + craftFinishTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + */ + public com.google.protobuf.Timestamp.Builder getCraftFinishTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getCraftFinishTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + */ + public com.google.protobuf.TimestampOrBuilder getCraftFinishTimeOrBuilder() { + if (craftFinishTimeBuilder_ != null) { + return craftFinishTimeBuilder_.getMessageOrBuilder(); + } else { + return craftFinishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : craftFinishTime_; + } + } + /** + * .google.protobuf.Timestamp craftFinishTime = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCraftFinishTimeFieldBuilder() { + if (craftFinishTimeBuilder_ == null) { + craftFinishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCraftFinishTime(), + getParentForChildren(), + isClean()); + craftFinishTime_ = null; + } + return craftFinishTimeBuilder_; + } + + private java.lang.Object ownerGuid_ = ""; + /** + * string ownerGuid = 4; + * @return The ownerGuid. + */ + public java.lang.String getOwnerGuid() { + java.lang.Object ref = ownerGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ownerGuid = 4; + * @return The bytes for ownerGuid. + */ + public com.google.protobuf.ByteString + getOwnerGuidBytes() { + java.lang.Object ref = ownerGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ownerGuid = 4; + * @param value The ownerGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ownerGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string ownerGuid = 4; + * @return This builder for chaining. + */ + public Builder clearOwnerGuid() { + ownerGuid_ = getDefaultInstance().getOwnerGuid(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string ownerGuid = 4; + * @param value The bytes for ownerGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ownerGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private int ownerHelpedCount_ ; + /** + * int32 ownerHelpedCount = 5; + * @return The ownerHelpedCount. + */ + @java.lang.Override + public int getOwnerHelpedCount() { + return ownerHelpedCount_; + } + /** + * int32 ownerHelpedCount = 5; + * @param value The ownerHelpedCount to set. + * @return This builder for chaining. + */ + public Builder setOwnerHelpedCount(int value) { + + ownerHelpedCount_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * int32 ownerHelpedCount = 5; + * @return This builder for chaining. + */ + public Builder clearOwnerHelpedCount() { + bitField0_ = (bitField0_ & ~0x00000010); + ownerHelpedCount_ = 0; + onChanged(); + return this; + } + + private java.lang.Object helpUserName_ = ""; + /** + * string helpUserName = 6; + * @return The helpUserName. + */ + public java.lang.String getHelpUserName() { + java.lang.Object ref = helpUserName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + helpUserName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string helpUserName = 6; + * @return The bytes for helpUserName. + */ + public com.google.protobuf.ByteString + getHelpUserNameBytes() { + java.lang.Object ref = helpUserName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + helpUserName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string helpUserName = 6; + * @param value The helpUserName to set. + * @return This builder for chaining. + */ + public Builder setHelpUserName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + helpUserName_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string helpUserName = 6; + * @return This builder for chaining. + */ + public Builder clearHelpUserName() { + helpUserName_ = getDefaultInstance().getHelpUserName(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string helpUserName = 6; + * @param value The bytes for helpUserName to set. + * @return This builder for chaining. + */ + public Builder setHelpUserNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + helpUserName_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_NTF_CRAFT_HELP) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_NTF_CRAFT_HELP) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_NTF_CRAFT_HELP parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_NTF_EXCHANGE_MYHOMEOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) + com.google.protobuf.MessageOrBuilder { + + /** + * string roomId = 1; + * @return The roomId. + */ + java.lang.String getRoomId(); + /** + * string roomId = 1; + * @return The bytes for roomId. + */ + com.google.protobuf.ByteString + getRoomIdBytes(); + + /** + * string myhomeGuid = 2; + * @return The myhomeGuid. + */ + java.lang.String getMyhomeGuid(); + /** + * string myhomeGuid = 2; + * @return The bytes for myhomeGuid. + */ + com.google.protobuf.ByteString + getMyhomeGuidBytes(); + + /** + * .MyHomeInfo myhomeInfo = 3; + * @return Whether the myhomeInfo field is set. + */ + boolean hasMyhomeInfo(); + /** + * .MyHomeInfo myhomeInfo = 3; + * @return The myhomeInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo getMyhomeInfo(); + /** + * .MyHomeInfo myhomeInfo = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder getMyhomeInfoOrBuilder(); + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME} + */ + public static final class GS2GS_NTF_EXCHANGE_MYHOME extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) + GS2GS_NTF_EXCHANGE_MYHOMEOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_NTF_EXCHANGE_MYHOME.newBuilder() to construct. + private GS2GS_NTF_EXCHANGE_MYHOME(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_NTF_EXCHANGE_MYHOME() { + roomId_ = ""; + myhomeGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_NTF_EXCHANGE_MYHOME(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_EXCHANGE_MYHOME_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_EXCHANGE_MYHOME_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.Builder.class); + } + + public static final int ROOMID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object roomId_ = ""; + /** + * string roomId = 1; + * @return The roomId. + */ + @java.lang.Override + public java.lang.String getRoomId() { + java.lang.Object ref = roomId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + roomId_ = s; + return s; + } + } + /** + * string roomId = 1; + * @return The bytes for roomId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRoomIdBytes() { + java.lang.Object ref = roomId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + roomId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MYHOMEGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object myhomeGuid_ = ""; + /** + * string myhomeGuid = 2; + * @return The myhomeGuid. + */ + @java.lang.Override + public java.lang.String getMyhomeGuid() { + java.lang.Object ref = myhomeGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + myhomeGuid_ = s; + return s; + } + } + /** + * string myhomeGuid = 2; + * @return The bytes for myhomeGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMyhomeGuidBytes() { + java.lang.Object ref = myhomeGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + myhomeGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MYHOMEINFO_FIELD_NUMBER = 3; + private com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo myhomeInfo_; + /** + * .MyHomeInfo myhomeInfo = 3; + * @return Whether the myhomeInfo field is set. + */ + @java.lang.Override + public boolean hasMyhomeInfo() { + return myhomeInfo_ != null; + } + /** + * .MyHomeInfo myhomeInfo = 3; + * @return The myhomeInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo getMyhomeInfo() { + return myhomeInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance() : myhomeInfo_; + } + /** + * .MyHomeInfo myhomeInfo = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder getMyhomeInfoOrBuilder() { + return myhomeInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance() : myhomeInfo_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roomId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, roomId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(myhomeGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, myhomeGuid_); + } + if (myhomeInfo_ != null) { + output.writeMessage(3, getMyhomeInfo()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roomId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, roomId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(myhomeGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, myhomeGuid_); + } + if (myhomeInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMyhomeInfo()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) obj; + + if (!getRoomId() + .equals(other.getRoomId())) return false; + if (!getMyhomeGuid() + .equals(other.getMyhomeGuid())) return false; + if (hasMyhomeInfo() != other.hasMyhomeInfo()) return false; + if (hasMyhomeInfo()) { + if (!getMyhomeInfo() + .equals(other.getMyhomeInfo())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ROOMID_FIELD_NUMBER; + hash = (53 * hash) + getRoomId().hashCode(); + hash = (37 * hash) + MYHOMEGUID_FIELD_NUMBER; + hash = (53 * hash) + getMyhomeGuid().hashCode(); + if (hasMyhomeInfo()) { + hash = (37 * hash) + MYHOMEINFO_FIELD_NUMBER; + hash = (53 * hash) + getMyhomeInfo().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOMEOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_EXCHANGE_MYHOME_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_EXCHANGE_MYHOME_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + roomId_ = ""; + myhomeGuid_ = ""; + myhomeInfo_ = null; + if (myhomeInfoBuilder_ != null) { + myhomeInfoBuilder_.dispose(); + myhomeInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_EXCHANGE_MYHOME_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.roomId_ = roomId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.myhomeGuid_ = myhomeGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.myhomeInfo_ = myhomeInfoBuilder_ == null + ? myhomeInfo_ + : myhomeInfoBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.getDefaultInstance()) return this; + if (!other.getRoomId().isEmpty()) { + roomId_ = other.roomId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getMyhomeGuid().isEmpty()) { + myhomeGuid_ = other.myhomeGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasMyhomeInfo()) { + mergeMyhomeInfo(other.getMyhomeInfo()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + roomId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + myhomeGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getMyhomeInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object roomId_ = ""; + /** + * string roomId = 1; + * @return The roomId. + */ + public java.lang.String getRoomId() { + java.lang.Object ref = roomId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + roomId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string roomId = 1; + * @return The bytes for roomId. + */ + public com.google.protobuf.ByteString + getRoomIdBytes() { + java.lang.Object ref = roomId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + roomId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string roomId = 1; + * @param value The roomId to set. + * @return This builder for chaining. + */ + public Builder setRoomId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + roomId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string roomId = 1; + * @return This builder for chaining. + */ + public Builder clearRoomId() { + roomId_ = getDefaultInstance().getRoomId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string roomId = 1; + * @param value The bytes for roomId to set. + * @return This builder for chaining. + */ + public Builder setRoomIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + roomId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object myhomeGuid_ = ""; + /** + * string myhomeGuid = 2; + * @return The myhomeGuid. + */ + public java.lang.String getMyhomeGuid() { + java.lang.Object ref = myhomeGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + myhomeGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string myhomeGuid = 2; + * @return The bytes for myhomeGuid. + */ + public com.google.protobuf.ByteString + getMyhomeGuidBytes() { + java.lang.Object ref = myhomeGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + myhomeGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string myhomeGuid = 2; + * @param value The myhomeGuid to set. + * @return This builder for chaining. + */ + public Builder setMyhomeGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + myhomeGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string myhomeGuid = 2; + * @return This builder for chaining. + */ + public Builder clearMyhomeGuid() { + myhomeGuid_ = getDefaultInstance().getMyhomeGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string myhomeGuid = 2; + * @param value The bytes for myhomeGuid to set. + * @return This builder for chaining. + */ + public Builder setMyhomeGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + myhomeGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo myhomeInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder> myhomeInfoBuilder_; + /** + * .MyHomeInfo myhomeInfo = 3; + * @return Whether the myhomeInfo field is set. + */ + public boolean hasMyhomeInfo() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .MyHomeInfo myhomeInfo = 3; + * @return The myhomeInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo getMyhomeInfo() { + if (myhomeInfoBuilder_ == null) { + return myhomeInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance() : myhomeInfo_; + } else { + return myhomeInfoBuilder_.getMessage(); + } + } + /** + * .MyHomeInfo myhomeInfo = 3; + */ + public Builder setMyhomeInfo(com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo value) { + if (myhomeInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + myhomeInfo_ = value; + } else { + myhomeInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .MyHomeInfo myhomeInfo = 3; + */ + public Builder setMyhomeInfo( + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.Builder builderForValue) { + if (myhomeInfoBuilder_ == null) { + myhomeInfo_ = builderForValue.build(); + } else { + myhomeInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .MyHomeInfo myhomeInfo = 3; + */ + public Builder mergeMyhomeInfo(com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo value) { + if (myhomeInfoBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + myhomeInfo_ != null && + myhomeInfo_ != com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance()) { + getMyhomeInfoBuilder().mergeFrom(value); + } else { + myhomeInfo_ = value; + } + } else { + myhomeInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .MyHomeInfo myhomeInfo = 3; + */ + public Builder clearMyhomeInfo() { + bitField0_ = (bitField0_ & ~0x00000004); + myhomeInfo_ = null; + if (myhomeInfoBuilder_ != null) { + myhomeInfoBuilder_.dispose(); + myhomeInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .MyHomeInfo myhomeInfo = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.Builder getMyhomeInfoBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getMyhomeInfoFieldBuilder().getBuilder(); + } + /** + * .MyHomeInfo myhomeInfo = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder getMyhomeInfoOrBuilder() { + if (myhomeInfoBuilder_ != null) { + return myhomeInfoBuilder_.getMessageOrBuilder(); + } else { + return myhomeInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.getDefaultInstance() : myhomeInfo_; + } + } + /** + * .MyHomeInfo myhomeInfo = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder> + getMyhomeInfoFieldBuilder() { + if (myhomeInfoBuilder_ == null) { + myhomeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MyHomeInfoOrBuilder>( + getMyhomeInfo(), + getParentForChildren(), + isClean()); + myhomeInfo_ = null; + } + return myhomeInfoBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_NTF_EXCHANGE_MYHOME parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_NTF_UGC_NPC_RANK_REFRESHOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH} + */ + public static final class GS2GS_NTF_UGC_NPC_RANK_REFRESH extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) + GS2GS_NTF_UGC_NPC_RANK_REFRESHOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_NTF_UGC_NPC_RANK_REFRESH.newBuilder() to construct. + private GS2GS_NTF_UGC_NPC_RANK_REFRESH(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_NTF_UGC_NPC_RANK_REFRESH() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_NTF_UGC_NPC_RANK_REFRESH(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_UGC_NPC_RANK_REFRESH_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_UGC_NPC_RANK_REFRESH_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESHOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_UGC_NPC_RANK_REFRESH_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_UGC_NPC_RANK_REFRESH_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_UGC_NPC_RANK_REFRESH_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_NTF_UGC_NPC_RANK_REFRESH parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOMOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) + com.google.protobuf.MessageOrBuilder { + + /** + * string roomId = 1; + * @return The roomId. + */ + java.lang.String getRoomId(); + /** + * string roomId = 1; + * @return The bytes for roomId. + */ + com.google.protobuf.ByteString + getRoomIdBytes(); + + /** + * string exceptUserGuid = 2; + * @return The exceptUserGuid. + */ + java.lang.String getExceptUserGuid(); + /** + * string exceptUserGuid = 2; + * @return The bytes for exceptUserGuid. + */ + com.google.protobuf.ByteString + getExceptUserGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM} + */ + public static final class GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) + GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOMOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.newBuilder() to construct. + private GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM() { + roomId_ = ""; + exceptUserGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.Builder.class); + } + + public static final int ROOMID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object roomId_ = ""; + /** + * string roomId = 1; + * @return The roomId. + */ + @java.lang.Override + public java.lang.String getRoomId() { + java.lang.Object ref = roomId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + roomId_ = s; + return s; + } + } + /** + * string roomId = 1; + * @return The bytes for roomId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRoomIdBytes() { + java.lang.Object ref = roomId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + roomId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EXCEPTUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object exceptUserGuid_ = ""; + /** + * string exceptUserGuid = 2; + * @return The exceptUserGuid. + */ + @java.lang.Override + public java.lang.String getExceptUserGuid() { + java.lang.Object ref = exceptUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + exceptUserGuid_ = s; + return s; + } + } + /** + * string exceptUserGuid = 2; + * @return The bytes for exceptUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getExceptUserGuidBytes() { + java.lang.Object ref = exceptUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + exceptUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roomId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, roomId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exceptUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, exceptUserGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roomId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, roomId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exceptUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, exceptUserGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) obj; + + if (!getRoomId() + .equals(other.getRoomId())) return false; + if (!getExceptUserGuid() + .equals(other.getExceptUserGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ROOMID_FIELD_NUMBER; + hash = (53 * hash) + getRoomId().hashCode(); + hash = (37 * hash) + EXCEPTUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getExceptUserGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOMOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + roomId_ = ""; + exceptUserGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.roomId_ = roomId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.exceptUserGuid_ = exceptUserGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.getDefaultInstance()) return this; + if (!other.getRoomId().isEmpty()) { + roomId_ = other.roomId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getExceptUserGuid().isEmpty()) { + exceptUserGuid_ = other.exceptUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + roomId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + exceptUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object roomId_ = ""; + /** + * string roomId = 1; + * @return The roomId. + */ + public java.lang.String getRoomId() { + java.lang.Object ref = roomId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + roomId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string roomId = 1; + * @return The bytes for roomId. + */ + public com.google.protobuf.ByteString + getRoomIdBytes() { + java.lang.Object ref = roomId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + roomId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string roomId = 1; + * @param value The roomId to set. + * @return This builder for chaining. + */ + public Builder setRoomId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + roomId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string roomId = 1; + * @return This builder for chaining. + */ + public Builder clearRoomId() { + roomId_ = getDefaultInstance().getRoomId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string roomId = 1; + * @param value The bytes for roomId to set. + * @return This builder for chaining. + */ + public Builder setRoomIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + roomId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object exceptUserGuid_ = ""; + /** + * string exceptUserGuid = 2; + * @return The exceptUserGuid. + */ + public java.lang.String getExceptUserGuid() { + java.lang.Object ref = exceptUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + exceptUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string exceptUserGuid = 2; + * @return The bytes for exceptUserGuid. + */ + public com.google.protobuf.ByteString + getExceptUserGuidBytes() { + java.lang.Object ref = exceptUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + exceptUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string exceptUserGuid = 2; + * @param value The exceptUserGuid to set. + * @return This builder for chaining. + */ + public Builder setExceptUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + exceptUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string exceptUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearExceptUserGuid() { + exceptUserGuid_ = getDefaultInstance().getExceptUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string exceptUserGuid = 2; + * @param value The bytes for exceptUserGuid to set. + * @return This builder for chaining. + */ + public Builder setExceptUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + exceptUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface MOS2GS_NTF_USER_KICKOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.MOS2GS_NTF_USER_KICK) + com.google.protobuf.MessageOrBuilder { + + /** + * string userGuid = 1; + * @return The userGuid. + */ + java.lang.String getUserGuid(); + /** + * string userGuid = 1; + * @return The bytes for userGuid. + */ + com.google.protobuf.ByteString + getUserGuidBytes(); + + /** + * .LogoutReasonType logoutReasonType = 2; + * @return The enum numeric value on the wire for logoutReasonType. + */ + int getLogoutReasonTypeValue(); + /** + * .LogoutReasonType logoutReasonType = 2; + * @return The logoutReasonType. + */ + com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType getLogoutReasonType(); + + /** + * string kickReasonMsg = 3; + * @return The kickReasonMsg. + */ + java.lang.String getKickReasonMsg(); + /** + * string kickReasonMsg = 3; + * @return The bytes for kickReasonMsg. + */ + com.google.protobuf.ByteString + getKickReasonMsgBytes(); + } + /** + * Protobuf type {@code ServerMessage.MOS2GS_NTF_USER_KICK} + */ + public static final class MOS2GS_NTF_USER_KICK extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.MOS2GS_NTF_USER_KICK) + MOS2GS_NTF_USER_KICKOrBuilder { + private static final long serialVersionUID = 0L; + // Use MOS2GS_NTF_USER_KICK.newBuilder() to construct. + private MOS2GS_NTF_USER_KICK(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MOS2GS_NTF_USER_KICK() { + userGuid_ = ""; + logoutReasonType_ = 0; + kickReasonMsg_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MOS2GS_NTF_USER_KICK(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_USER_KICK_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_USER_KICK_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.Builder.class); + } + + public static final int USERGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object userGuid_ = ""; + /** + * string userGuid = 1; + * @return The userGuid. + */ + @java.lang.Override + public java.lang.String getUserGuid() { + java.lang.Object ref = userGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userGuid_ = s; + return s; + } + } + /** + * string userGuid = 1; + * @return The bytes for userGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUserGuidBytes() { + java.lang.Object ref = userGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LOGOUTREASONTYPE_FIELD_NUMBER = 2; + private int logoutReasonType_ = 0; + /** + * .LogoutReasonType logoutReasonType = 2; + * @return The enum numeric value on the wire for logoutReasonType. + */ + @java.lang.Override public int getLogoutReasonTypeValue() { + return logoutReasonType_; + } + /** + * .LogoutReasonType logoutReasonType = 2; + * @return The logoutReasonType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType getLogoutReasonType() { + com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType result = com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType.forNumber(logoutReasonType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType.UNRECOGNIZED : result; + } + + public static final int KICKREASONMSG_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object kickReasonMsg_ = ""; + /** + * string kickReasonMsg = 3; + * @return The kickReasonMsg. + */ + @java.lang.Override + public java.lang.String getKickReasonMsg() { + java.lang.Object ref = kickReasonMsg_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kickReasonMsg_ = s; + return s; + } + } + /** + * string kickReasonMsg = 3; + * @return The bytes for kickReasonMsg. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKickReasonMsgBytes() { + java.lang.Object ref = kickReasonMsg_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kickReasonMsg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userGuid_); + } + if (logoutReasonType_ != com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType.LogoutReasonType_None.getNumber()) { + output.writeEnum(2, logoutReasonType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kickReasonMsg_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kickReasonMsg_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userGuid_); + } + if (logoutReasonType_ != com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType.LogoutReasonType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, logoutReasonType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kickReasonMsg_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kickReasonMsg_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK) obj; + + if (!getUserGuid() + .equals(other.getUserGuid())) return false; + if (logoutReasonType_ != other.logoutReasonType_) return false; + if (!getKickReasonMsg() + .equals(other.getKickReasonMsg())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + USERGUID_FIELD_NUMBER; + hash = (53 * hash) + getUserGuid().hashCode(); + hash = (37 * hash) + LOGOUTREASONTYPE_FIELD_NUMBER; + hash = (53 * hash) + logoutReasonType_; + hash = (37 * hash) + KICKREASONMSG_FIELD_NUMBER; + hash = (53 * hash) + getKickReasonMsg().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.MOS2GS_NTF_USER_KICK} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.MOS2GS_NTF_USER_KICK) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICKOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_USER_KICK_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_USER_KICK_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + userGuid_ = ""; + logoutReasonType_ = 0; + kickReasonMsg_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_USER_KICK_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.userGuid_ = userGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.logoutReasonType_ = logoutReasonType_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.kickReasonMsg_ = kickReasonMsg_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.getDefaultInstance()) return this; + if (!other.getUserGuid().isEmpty()) { + userGuid_ = other.userGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.logoutReasonType_ != 0) { + setLogoutReasonTypeValue(other.getLogoutReasonTypeValue()); + } + if (!other.getKickReasonMsg().isEmpty()) { + kickReasonMsg_ = other.kickReasonMsg_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + userGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + logoutReasonType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + kickReasonMsg_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object userGuid_ = ""; + /** + * string userGuid = 1; + * @return The userGuid. + */ + public java.lang.String getUserGuid() { + java.lang.Object ref = userGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string userGuid = 1; + * @return The bytes for userGuid. + */ + public com.google.protobuf.ByteString + getUserGuidBytes() { + java.lang.Object ref = userGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string userGuid = 1; + * @param value The userGuid to set. + * @return This builder for chaining. + */ + public Builder setUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + userGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string userGuid = 1; + * @return This builder for chaining. + */ + public Builder clearUserGuid() { + userGuid_ = getDefaultInstance().getUserGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string userGuid = 1; + * @param value The bytes for userGuid to set. + * @return This builder for chaining. + */ + public Builder setUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + userGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int logoutReasonType_ = 0; + /** + * .LogoutReasonType logoutReasonType = 2; + * @return The enum numeric value on the wire for logoutReasonType. + */ + @java.lang.Override public int getLogoutReasonTypeValue() { + return logoutReasonType_; + } + /** + * .LogoutReasonType logoutReasonType = 2; + * @param value The enum numeric value on the wire for logoutReasonType to set. + * @return This builder for chaining. + */ + public Builder setLogoutReasonTypeValue(int value) { + logoutReasonType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .LogoutReasonType logoutReasonType = 2; + * @return The logoutReasonType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType getLogoutReasonType() { + com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType result = com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType.forNumber(logoutReasonType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType.UNRECOGNIZED : result; + } + /** + * .LogoutReasonType logoutReasonType = 2; + * @param value The logoutReasonType to set. + * @return This builder for chaining. + */ + public Builder setLogoutReasonType(com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + logoutReasonType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .LogoutReasonType logoutReasonType = 2; + * @return This builder for chaining. + */ + public Builder clearLogoutReasonType() { + bitField0_ = (bitField0_ & ~0x00000002); + logoutReasonType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object kickReasonMsg_ = ""; + /** + * string kickReasonMsg = 3; + * @return The kickReasonMsg. + */ + public java.lang.String getKickReasonMsg() { + java.lang.Object ref = kickReasonMsg_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kickReasonMsg_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string kickReasonMsg = 3; + * @return The bytes for kickReasonMsg. + */ + public com.google.protobuf.ByteString + getKickReasonMsgBytes() { + java.lang.Object ref = kickReasonMsg_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kickReasonMsg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string kickReasonMsg = 3; + * @param value The kickReasonMsg to set. + * @return This builder for chaining. + */ + public Builder setKickReasonMsg( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + kickReasonMsg_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string kickReasonMsg = 3; + * @return This builder for chaining. + */ + public Builder clearKickReasonMsg() { + kickReasonMsg_ = getDefaultInstance().getKickReasonMsg(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string kickReasonMsg = 3; + * @param value The bytes for kickReasonMsg to set. + * @return This builder for chaining. + */ + public Builder setKickReasonMsgBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + kickReasonMsg_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.MOS2GS_NTF_USER_KICK) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.MOS2GS_NTF_USER_KICK) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MOS2GS_NTF_USER_KICK parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface MOS2GS_NTF_MAIL_SENDOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.MOS2GS_NTF_MAIL_SEND) + com.google.protobuf.MessageOrBuilder { + + /** + * string userGuid = 1; + * @return The userGuid. + */ + java.lang.String getUserGuid(); + /** + * string userGuid = 1; + * @return The bytes for userGuid. + */ + com.google.protobuf.ByteString + getUserGuidBytes(); + + /** + * string mailType = 2; + * @return The mailType. + */ + java.lang.String getMailType(); + /** + * string mailType = 2; + * @return The bytes for mailType. + */ + com.google.protobuf.ByteString + getMailTypeBytes(); + + /** + * repeated .MailItem itemList = 3; + */ + java.util.List + getItemListList(); + /** + * repeated .MailItem itemList = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.MailItem getItemList(int index); + /** + * repeated .MailItem itemList = 3; + */ + int getItemListCount(); + /** + * repeated .MailItem itemList = 3; + */ + java.util.List + getItemListOrBuilderList(); + /** + * repeated .MailItem itemList = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder getItemListOrBuilder( + int index); + + /** + * repeated .OperationSystemMessage title = 4; + */ + java.util.List + getTitleList(); + /** + * repeated .OperationSystemMessage title = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getTitle(int index); + /** + * repeated .OperationSystemMessage title = 4; + */ + int getTitleCount(); + /** + * repeated .OperationSystemMessage title = 4; + */ + java.util.List + getTitleOrBuilderList(); + /** + * repeated .OperationSystemMessage title = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getTitleOrBuilder( + int index); + + /** + * repeated .OperationSystemMessage msg = 5; + */ + java.util.List + getMsgList(); + /** + * repeated .OperationSystemMessage msg = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getMsg(int index); + /** + * repeated .OperationSystemMessage msg = 5; + */ + int getMsgCount(); + /** + * repeated .OperationSystemMessage msg = 5; + */ + java.util.List + getMsgOrBuilderList(); + /** + * repeated .OperationSystemMessage msg = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getMsgOrBuilder( + int index); + + /** + * repeated .OperationSystemMessage sender = 6; + */ + java.util.List + getSenderList(); + /** + * repeated .OperationSystemMessage sender = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getSender(int index); + /** + * repeated .OperationSystemMessage sender = 6; + */ + int getSenderCount(); + /** + * repeated .OperationSystemMessage sender = 6; + */ + java.util.List + getSenderOrBuilderList(); + /** + * repeated .OperationSystemMessage sender = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getSenderOrBuilder( + int index); + } + /** + * Protobuf type {@code ServerMessage.MOS2GS_NTF_MAIL_SEND} + */ + public static final class MOS2GS_NTF_MAIL_SEND extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.MOS2GS_NTF_MAIL_SEND) + MOS2GS_NTF_MAIL_SENDOrBuilder { + private static final long serialVersionUID = 0L; + // Use MOS2GS_NTF_MAIL_SEND.newBuilder() to construct. + private MOS2GS_NTF_MAIL_SEND(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MOS2GS_NTF_MAIL_SEND() { + userGuid_ = ""; + mailType_ = ""; + itemList_ = java.util.Collections.emptyList(); + title_ = java.util.Collections.emptyList(); + msg_ = java.util.Collections.emptyList(); + sender_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MOS2GS_NTF_MAIL_SEND(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_MAIL_SEND_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_MAIL_SEND_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.Builder.class); + } + + public static final int USERGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object userGuid_ = ""; + /** + * string userGuid = 1; + * @return The userGuid. + */ + @java.lang.Override + public java.lang.String getUserGuid() { + java.lang.Object ref = userGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userGuid_ = s; + return s; + } + } + /** + * string userGuid = 1; + * @return The bytes for userGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUserGuidBytes() { + java.lang.Object ref = userGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MAILTYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object mailType_ = ""; + /** + * string mailType = 2; + * @return The mailType. + */ + @java.lang.Override + public java.lang.String getMailType() { + java.lang.Object ref = mailType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mailType_ = s; + return s; + } + } + /** + * string mailType = 2; + * @return The bytes for mailType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMailTypeBytes() { + java.lang.Object ref = mailType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + mailType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEMLIST_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List itemList_; + /** + * repeated .MailItem itemList = 3; + */ + @java.lang.Override + public java.util.List getItemListList() { + return itemList_; + } + /** + * repeated .MailItem itemList = 3; + */ + @java.lang.Override + public java.util.List + getItemListOrBuilderList() { + return itemList_; + } + /** + * repeated .MailItem itemList = 3; + */ + @java.lang.Override + public int getItemListCount() { + return itemList_.size(); + } + /** + * repeated .MailItem itemList = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MailItem getItemList(int index) { + return itemList_.get(index); + } + /** + * repeated .MailItem itemList = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder getItemListOrBuilder( + int index) { + return itemList_.get(index); + } + + public static final int TITLE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List title_; + /** + * repeated .OperationSystemMessage title = 4; + */ + @java.lang.Override + public java.util.List getTitleList() { + return title_; + } + /** + * repeated .OperationSystemMessage title = 4; + */ + @java.lang.Override + public java.util.List + getTitleOrBuilderList() { + return title_; + } + /** + * repeated .OperationSystemMessage title = 4; + */ + @java.lang.Override + public int getTitleCount() { + return title_.size(); + } + /** + * repeated .OperationSystemMessage title = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getTitle(int index) { + return title_.get(index); + } + /** + * repeated .OperationSystemMessage title = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getTitleOrBuilder( + int index) { + return title_.get(index); + } + + public static final int MSG_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private java.util.List msg_; + /** + * repeated .OperationSystemMessage msg = 5; + */ + @java.lang.Override + public java.util.List getMsgList() { + return msg_; + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + @java.lang.Override + public java.util.List + getMsgOrBuilderList() { + return msg_; + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + @java.lang.Override + public int getMsgCount() { + return msg_.size(); + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getMsg(int index) { + return msg_.get(index); + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getMsgOrBuilder( + int index) { + return msg_.get(index); + } + + public static final int SENDER_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private java.util.List sender_; + /** + * repeated .OperationSystemMessage sender = 6; + */ + @java.lang.Override + public java.util.List getSenderList() { + return sender_; + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + @java.lang.Override + public java.util.List + getSenderOrBuilderList() { + return sender_; + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + @java.lang.Override + public int getSenderCount() { + return sender_.size(); + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getSender(int index) { + return sender_.get(index); + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getSenderOrBuilder( + int index) { + return sender_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mailType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, mailType_); + } + for (int i = 0; i < itemList_.size(); i++) { + output.writeMessage(3, itemList_.get(i)); + } + for (int i = 0; i < title_.size(); i++) { + output.writeMessage(4, title_.get(i)); + } + for (int i = 0; i < msg_.size(); i++) { + output.writeMessage(5, msg_.get(i)); + } + for (int i = 0; i < sender_.size(); i++) { + output.writeMessage(6, sender_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mailType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, mailType_); + } + for (int i = 0; i < itemList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, itemList_.get(i)); + } + for (int i = 0; i < title_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, title_.get(i)); + } + for (int i = 0; i < msg_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, msg_.get(i)); + } + for (int i = 0; i < sender_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, sender_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND) obj; + + if (!getUserGuid() + .equals(other.getUserGuid())) return false; + if (!getMailType() + .equals(other.getMailType())) return false; + if (!getItemListList() + .equals(other.getItemListList())) return false; + if (!getTitleList() + .equals(other.getTitleList())) return false; + if (!getMsgList() + .equals(other.getMsgList())) return false; + if (!getSenderList() + .equals(other.getSenderList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + USERGUID_FIELD_NUMBER; + hash = (53 * hash) + getUserGuid().hashCode(); + hash = (37 * hash) + MAILTYPE_FIELD_NUMBER; + hash = (53 * hash) + getMailType().hashCode(); + if (getItemListCount() > 0) { + hash = (37 * hash) + ITEMLIST_FIELD_NUMBER; + hash = (53 * hash) + getItemListList().hashCode(); + } + if (getTitleCount() > 0) { + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitleList().hashCode(); + } + if (getMsgCount() > 0) { + hash = (37 * hash) + MSG_FIELD_NUMBER; + hash = (53 * hash) + getMsgList().hashCode(); + } + if (getSenderCount() > 0) { + hash = (37 * hash) + SENDER_FIELD_NUMBER; + hash = (53 * hash) + getSenderList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.MOS2GS_NTF_MAIL_SEND} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.MOS2GS_NTF_MAIL_SEND) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SENDOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_MAIL_SEND_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_MAIL_SEND_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + userGuid_ = ""; + mailType_ = ""; + if (itemListBuilder_ == null) { + itemList_ = java.util.Collections.emptyList(); + } else { + itemList_ = null; + itemListBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + if (titleBuilder_ == null) { + title_ = java.util.Collections.emptyList(); + } else { + title_ = null; + titleBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (msgBuilder_ == null) { + msg_ = java.util.Collections.emptyList(); + } else { + msg_ = null; + msgBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + if (senderBuilder_ == null) { + sender_ = java.util.Collections.emptyList(); + } else { + sender_ = null; + senderBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000020); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_MAIL_SEND_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND result) { + if (itemListBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + itemList_ = java.util.Collections.unmodifiableList(itemList_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.itemList_ = itemList_; + } else { + result.itemList_ = itemListBuilder_.build(); + } + if (titleBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + title_ = java.util.Collections.unmodifiableList(title_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.title_ = title_; + } else { + result.title_ = titleBuilder_.build(); + } + if (msgBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + msg_ = java.util.Collections.unmodifiableList(msg_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.msg_ = msg_; + } else { + result.msg_ = msgBuilder_.build(); + } + if (senderBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + sender_ = java.util.Collections.unmodifiableList(sender_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.sender_ = sender_; + } else { + result.sender_ = senderBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.userGuid_ = userGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.mailType_ = mailType_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.getDefaultInstance()) return this; + if (!other.getUserGuid().isEmpty()) { + userGuid_ = other.userGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getMailType().isEmpty()) { + mailType_ = other.mailType_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (itemListBuilder_ == null) { + if (!other.itemList_.isEmpty()) { + if (itemList_.isEmpty()) { + itemList_ = other.itemList_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureItemListIsMutable(); + itemList_.addAll(other.itemList_); + } + onChanged(); + } + } else { + if (!other.itemList_.isEmpty()) { + if (itemListBuilder_.isEmpty()) { + itemListBuilder_.dispose(); + itemListBuilder_ = null; + itemList_ = other.itemList_; + bitField0_ = (bitField0_ & ~0x00000004); + itemListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getItemListFieldBuilder() : null; + } else { + itemListBuilder_.addAllMessages(other.itemList_); + } + } + } + if (titleBuilder_ == null) { + if (!other.title_.isEmpty()) { + if (title_.isEmpty()) { + title_ = other.title_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureTitleIsMutable(); + title_.addAll(other.title_); + } + onChanged(); + } + } else { + if (!other.title_.isEmpty()) { + if (titleBuilder_.isEmpty()) { + titleBuilder_.dispose(); + titleBuilder_ = null; + title_ = other.title_; + bitField0_ = (bitField0_ & ~0x00000008); + titleBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTitleFieldBuilder() : null; + } else { + titleBuilder_.addAllMessages(other.title_); + } + } + } + if (msgBuilder_ == null) { + if (!other.msg_.isEmpty()) { + if (msg_.isEmpty()) { + msg_ = other.msg_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureMsgIsMutable(); + msg_.addAll(other.msg_); + } + onChanged(); + } + } else { + if (!other.msg_.isEmpty()) { + if (msgBuilder_.isEmpty()) { + msgBuilder_.dispose(); + msgBuilder_ = null; + msg_ = other.msg_; + bitField0_ = (bitField0_ & ~0x00000010); + msgBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMsgFieldBuilder() : null; + } else { + msgBuilder_.addAllMessages(other.msg_); + } + } + } + if (senderBuilder_ == null) { + if (!other.sender_.isEmpty()) { + if (sender_.isEmpty()) { + sender_ = other.sender_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureSenderIsMutable(); + sender_.addAll(other.sender_); + } + onChanged(); + } + } else { + if (!other.sender_.isEmpty()) { + if (senderBuilder_.isEmpty()) { + senderBuilder_.dispose(); + senderBuilder_ = null; + sender_ = other.sender_; + bitField0_ = (bitField0_ & ~0x00000020); + senderBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSenderFieldBuilder() : null; + } else { + senderBuilder_.addAllMessages(other.sender_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + userGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + mailType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.caliverse.admin.domain.RabbitMq.message.MailItem m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.MailItem.parser(), + extensionRegistry); + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.add(m); + } else { + itemListBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.parser(), + extensionRegistry); + if (titleBuilder_ == null) { + ensureTitleIsMutable(); + title_.add(m); + } else { + titleBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.parser(), + extensionRegistry); + if (msgBuilder_ == null) { + ensureMsgIsMutable(); + msg_.add(m); + } else { + msgBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: { + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.parser(), + extensionRegistry); + if (senderBuilder_ == null) { + ensureSenderIsMutable(); + sender_.add(m); + } else { + senderBuilder_.addMessage(m); + } + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object userGuid_ = ""; + /** + * string userGuid = 1; + * @return The userGuid. + */ + public java.lang.String getUserGuid() { + java.lang.Object ref = userGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string userGuid = 1; + * @return The bytes for userGuid. + */ + public com.google.protobuf.ByteString + getUserGuidBytes() { + java.lang.Object ref = userGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string userGuid = 1; + * @param value The userGuid to set. + * @return This builder for chaining. + */ + public Builder setUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + userGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string userGuid = 1; + * @return This builder for chaining. + */ + public Builder clearUserGuid() { + userGuid_ = getDefaultInstance().getUserGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string userGuid = 1; + * @param value The bytes for userGuid to set. + * @return This builder for chaining. + */ + public Builder setUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + userGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object mailType_ = ""; + /** + * string mailType = 2; + * @return The mailType. + */ + public java.lang.String getMailType() { + java.lang.Object ref = mailType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mailType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string mailType = 2; + * @return The bytes for mailType. + */ + public com.google.protobuf.ByteString + getMailTypeBytes() { + java.lang.Object ref = mailType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + mailType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string mailType = 2; + * @param value The mailType to set. + * @return This builder for chaining. + */ + public Builder setMailType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + mailType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string mailType = 2; + * @return This builder for chaining. + */ + public Builder clearMailType() { + mailType_ = getDefaultInstance().getMailType(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string mailType = 2; + * @param value The bytes for mailType to set. + * @return This builder for chaining. + */ + public Builder setMailTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + mailType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List itemList_ = + java.util.Collections.emptyList(); + private void ensureItemListIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + itemList_ = new java.util.ArrayList(itemList_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MailItem, com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder, com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder> itemListBuilder_; + + /** + * repeated .MailItem itemList = 3; + */ + public java.util.List getItemListList() { + if (itemListBuilder_ == null) { + return java.util.Collections.unmodifiableList(itemList_); + } else { + return itemListBuilder_.getMessageList(); + } + } + /** + * repeated .MailItem itemList = 3; + */ + public int getItemListCount() { + if (itemListBuilder_ == null) { + return itemList_.size(); + } else { + return itemListBuilder_.getCount(); + } + } + /** + * repeated .MailItem itemList = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.MailItem getItemList(int index) { + if (itemListBuilder_ == null) { + return itemList_.get(index); + } else { + return itemListBuilder_.getMessage(index); + } + } + /** + * repeated .MailItem itemList = 3; + */ + public Builder setItemList( + int index, com.caliverse.admin.domain.RabbitMq.message.MailItem value) { + if (itemListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemListIsMutable(); + itemList_.set(index, value); + onChanged(); + } else { + itemListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .MailItem itemList = 3; + */ + public Builder setItemList( + int index, com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder builderForValue) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.set(index, builderForValue.build()); + onChanged(); + } else { + itemListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .MailItem itemList = 3; + */ + public Builder addItemList(com.caliverse.admin.domain.RabbitMq.message.MailItem value) { + if (itemListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemListIsMutable(); + itemList_.add(value); + onChanged(); + } else { + itemListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .MailItem itemList = 3; + */ + public Builder addItemList( + int index, com.caliverse.admin.domain.RabbitMq.message.MailItem value) { + if (itemListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemListIsMutable(); + itemList_.add(index, value); + onChanged(); + } else { + itemListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .MailItem itemList = 3; + */ + public Builder addItemList( + com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder builderForValue) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.add(builderForValue.build()); + onChanged(); + } else { + itemListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .MailItem itemList = 3; + */ + public Builder addItemList( + int index, com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder builderForValue) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.add(index, builderForValue.build()); + onChanged(); + } else { + itemListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .MailItem itemList = 3; + */ + public Builder addAllItemList( + java.lang.Iterable values) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, itemList_); + onChanged(); + } else { + itemListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .MailItem itemList = 3; + */ + public Builder clearItemList() { + if (itemListBuilder_ == null) { + itemList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + itemListBuilder_.clear(); + } + return this; + } + /** + * repeated .MailItem itemList = 3; + */ + public Builder removeItemList(int index) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.remove(index); + onChanged(); + } else { + itemListBuilder_.remove(index); + } + return this; + } + /** + * repeated .MailItem itemList = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder getItemListBuilder( + int index) { + return getItemListFieldBuilder().getBuilder(index); + } + /** + * repeated .MailItem itemList = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder getItemListOrBuilder( + int index) { + if (itemListBuilder_ == null) { + return itemList_.get(index); } else { + return itemListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .MailItem itemList = 3; + */ + public java.util.List + getItemListOrBuilderList() { + if (itemListBuilder_ != null) { + return itemListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(itemList_); + } + } + /** + * repeated .MailItem itemList = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder addItemListBuilder() { + return getItemListFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.MailItem.getDefaultInstance()); + } + /** + * repeated .MailItem itemList = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder addItemListBuilder( + int index) { + return getItemListFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.MailItem.getDefaultInstance()); + } + /** + * repeated .MailItem itemList = 3; + */ + public java.util.List + getItemListBuilderList() { + return getItemListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MailItem, com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder, com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder> + getItemListFieldBuilder() { + if (itemListBuilder_ == null) { + itemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.MailItem, com.caliverse.admin.domain.RabbitMq.message.MailItem.Builder, com.caliverse.admin.domain.RabbitMq.message.MailItemOrBuilder>( + itemList_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + itemList_ = null; + } + return itemListBuilder_; + } + + private java.util.List title_ = + java.util.Collections.emptyList(); + private void ensureTitleIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + title_ = new java.util.ArrayList(title_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder> titleBuilder_; + + /** + * repeated .OperationSystemMessage title = 4; + */ + public java.util.List getTitleList() { + if (titleBuilder_ == null) { + return java.util.Collections.unmodifiableList(title_); + } else { + return titleBuilder_.getMessageList(); + } + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public int getTitleCount() { + if (titleBuilder_ == null) { + return title_.size(); + } else { + return titleBuilder_.getCount(); + } + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getTitle(int index) { + if (titleBuilder_ == null) { + return title_.get(index); + } else { + return titleBuilder_.getMessage(index); + } + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public Builder setTitle( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (titleBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTitleIsMutable(); + title_.set(index, value); + onChanged(); + } else { + titleBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public Builder setTitle( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (titleBuilder_ == null) { + ensureTitleIsMutable(); + title_.set(index, builderForValue.build()); + onChanged(); + } else { + titleBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public Builder addTitle(com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (titleBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTitleIsMutable(); + title_.add(value); + onChanged(); + } else { + titleBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public Builder addTitle( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (titleBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTitleIsMutable(); + title_.add(index, value); + onChanged(); + } else { + titleBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public Builder addTitle( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (titleBuilder_ == null) { + ensureTitleIsMutable(); + title_.add(builderForValue.build()); + onChanged(); + } else { + titleBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public Builder addTitle( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (titleBuilder_ == null) { + ensureTitleIsMutable(); + title_.add(index, builderForValue.build()); + onChanged(); + } else { + titleBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public Builder addAllTitle( + java.lang.Iterable values) { + if (titleBuilder_ == null) { + ensureTitleIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, title_); + onChanged(); + } else { + titleBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public Builder clearTitle() { + if (titleBuilder_ == null) { + title_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + titleBuilder_.clear(); + } + return this; + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public Builder removeTitle(int index) { + if (titleBuilder_ == null) { + ensureTitleIsMutable(); + title_.remove(index); + onChanged(); + } else { + titleBuilder_.remove(index); + } + return this; + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder getTitleBuilder( + int index) { + return getTitleFieldBuilder().getBuilder(index); + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getTitleOrBuilder( + int index) { + if (titleBuilder_ == null) { + return title_.get(index); } else { + return titleBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public java.util.List + getTitleOrBuilderList() { + if (titleBuilder_ != null) { + return titleBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(title_); + } + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder addTitleBuilder() { + return getTitleFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.getDefaultInstance()); + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder addTitleBuilder( + int index) { + return getTitleFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.getDefaultInstance()); + } + /** + * repeated .OperationSystemMessage title = 4; + */ + public java.util.List + getTitleBuilderList() { + return getTitleFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder> + getTitleFieldBuilder() { + if (titleBuilder_ == null) { + titleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder>( + title_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + title_ = null; + } + return titleBuilder_; + } + + private java.util.List msg_ = + java.util.Collections.emptyList(); + private void ensureMsgIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + msg_ = new java.util.ArrayList(msg_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder> msgBuilder_; + + /** + * repeated .OperationSystemMessage msg = 5; + */ + public java.util.List getMsgList() { + if (msgBuilder_ == null) { + return java.util.Collections.unmodifiableList(msg_); + } else { + return msgBuilder_.getMessageList(); + } + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public int getMsgCount() { + if (msgBuilder_ == null) { + return msg_.size(); + } else { + return msgBuilder_.getCount(); + } + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getMsg(int index) { + if (msgBuilder_ == null) { + return msg_.get(index); + } else { + return msgBuilder_.getMessage(index); + } + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public Builder setMsg( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (msgBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMsgIsMutable(); + msg_.set(index, value); + onChanged(); + } else { + msgBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public Builder setMsg( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (msgBuilder_ == null) { + ensureMsgIsMutable(); + msg_.set(index, builderForValue.build()); + onChanged(); + } else { + msgBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public Builder addMsg(com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (msgBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMsgIsMutable(); + msg_.add(value); + onChanged(); + } else { + msgBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public Builder addMsg( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (msgBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMsgIsMutable(); + msg_.add(index, value); + onChanged(); + } else { + msgBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public Builder addMsg( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (msgBuilder_ == null) { + ensureMsgIsMutable(); + msg_.add(builderForValue.build()); + onChanged(); + } else { + msgBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public Builder addMsg( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (msgBuilder_ == null) { + ensureMsgIsMutable(); + msg_.add(index, builderForValue.build()); + onChanged(); + } else { + msgBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public Builder addAllMsg( + java.lang.Iterable values) { + if (msgBuilder_ == null) { + ensureMsgIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, msg_); + onChanged(); + } else { + msgBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public Builder clearMsg() { + if (msgBuilder_ == null) { + msg_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + msgBuilder_.clear(); + } + return this; + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public Builder removeMsg(int index) { + if (msgBuilder_ == null) { + ensureMsgIsMutable(); + msg_.remove(index); + onChanged(); + } else { + msgBuilder_.remove(index); + } + return this; + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder getMsgBuilder( + int index) { + return getMsgFieldBuilder().getBuilder(index); + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getMsgOrBuilder( + int index) { + if (msgBuilder_ == null) { + return msg_.get(index); } else { + return msgBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public java.util.List + getMsgOrBuilderList() { + if (msgBuilder_ != null) { + return msgBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(msg_); + } + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder addMsgBuilder() { + return getMsgFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.getDefaultInstance()); + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder addMsgBuilder( + int index) { + return getMsgFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.getDefaultInstance()); + } + /** + * repeated .OperationSystemMessage msg = 5; + */ + public java.util.List + getMsgBuilderList() { + return getMsgFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder> + getMsgFieldBuilder() { + if (msgBuilder_ == null) { + msgBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder>( + msg_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + msg_ = null; + } + return msgBuilder_; + } + + private java.util.List sender_ = + java.util.Collections.emptyList(); + private void ensureSenderIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + sender_ = new java.util.ArrayList(sender_); + bitField0_ |= 0x00000020; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder> senderBuilder_; + + /** + * repeated .OperationSystemMessage sender = 6; + */ + public java.util.List getSenderList() { + if (senderBuilder_ == null) { + return java.util.Collections.unmodifiableList(sender_); + } else { + return senderBuilder_.getMessageList(); + } + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public int getSenderCount() { + if (senderBuilder_ == null) { + return sender_.size(); + } else { + return senderBuilder_.getCount(); + } + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getSender(int index) { + if (senderBuilder_ == null) { + return sender_.get(index); + } else { + return senderBuilder_.getMessage(index); + } + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public Builder setSender( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (senderBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSenderIsMutable(); + sender_.set(index, value); + onChanged(); + } else { + senderBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public Builder setSender( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (senderBuilder_ == null) { + ensureSenderIsMutable(); + sender_.set(index, builderForValue.build()); + onChanged(); + } else { + senderBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public Builder addSender(com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (senderBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSenderIsMutable(); + sender_.add(value); + onChanged(); + } else { + senderBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public Builder addSender( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (senderBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSenderIsMutable(); + sender_.add(index, value); + onChanged(); + } else { + senderBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public Builder addSender( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (senderBuilder_ == null) { + ensureSenderIsMutable(); + sender_.add(builderForValue.build()); + onChanged(); + } else { + senderBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public Builder addSender( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (senderBuilder_ == null) { + ensureSenderIsMutable(); + sender_.add(index, builderForValue.build()); + onChanged(); + } else { + senderBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public Builder addAllSender( + java.lang.Iterable values) { + if (senderBuilder_ == null) { + ensureSenderIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sender_); + onChanged(); + } else { + senderBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public Builder clearSender() { + if (senderBuilder_ == null) { + sender_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + senderBuilder_.clear(); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public Builder removeSender(int index) { + if (senderBuilder_ == null) { + ensureSenderIsMutable(); + sender_.remove(index); + onChanged(); + } else { + senderBuilder_.remove(index); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder getSenderBuilder( + int index) { + return getSenderFieldBuilder().getBuilder(index); + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getSenderOrBuilder( + int index) { + if (senderBuilder_ == null) { + return sender_.get(index); } else { + return senderBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public java.util.List + getSenderOrBuilderList() { + if (senderBuilder_ != null) { + return senderBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(sender_); + } + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder addSenderBuilder() { + return getSenderFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.getDefaultInstance()); + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder addSenderBuilder( + int index) { + return getSenderFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.getDefaultInstance()); + } + /** + * repeated .OperationSystemMessage sender = 6; + */ + public java.util.List + getSenderBuilderList() { + return getSenderFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder> + getSenderFieldBuilder() { + if (senderBuilder_ == null) { + senderBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder>( + sender_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + sender_ = null; + } + return senderBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.MOS2GS_NTF_MAIL_SEND) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.MOS2GS_NTF_MAIL_SEND) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MOS2GS_NTF_MAIL_SEND parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface MOS2GS_NTF_NOTICE_CHATOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.MOS2GS_NTF_NOTICE_CHAT) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string noticeType = 1; + * @return A list containing the noticeType. + */ + java.util.List + getNoticeTypeList(); + /** + * repeated string noticeType = 1; + * @return The count of noticeType. + */ + int getNoticeTypeCount(); + /** + * repeated string noticeType = 1; + * @param index The index of the element to return. + * @return The noticeType at the given index. + */ + java.lang.String getNoticeType(int index); + /** + * repeated string noticeType = 1; + * @param index The index of the value to return. + * @return The bytes of the noticeType at the given index. + */ + com.google.protobuf.ByteString + getNoticeTypeBytes(int index); + + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + java.util.List + getChatMessageList(); + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getChatMessage(int index); + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + int getChatMessageCount(); + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + java.util.List + getChatMessageOrBuilderList(); + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getChatMessageOrBuilder( + int index); + + /** + * repeated .OperationSystemMessage sender = 3; + */ + java.util.List + getSenderList(); + /** + * repeated .OperationSystemMessage sender = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getSender(int index); + /** + * repeated .OperationSystemMessage sender = 3; + */ + int getSenderCount(); + /** + * repeated .OperationSystemMessage sender = 3; + */ + java.util.List + getSenderOrBuilderList(); + /** + * repeated .OperationSystemMessage sender = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getSenderOrBuilder( + int index); + } + /** + * Protobuf type {@code ServerMessage.MOS2GS_NTF_NOTICE_CHAT} + */ + public static final class MOS2GS_NTF_NOTICE_CHAT extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.MOS2GS_NTF_NOTICE_CHAT) + MOS2GS_NTF_NOTICE_CHATOrBuilder { + private static final long serialVersionUID = 0L; + // Use MOS2GS_NTF_NOTICE_CHAT.newBuilder() to construct. + private MOS2GS_NTF_NOTICE_CHAT(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MOS2GS_NTF_NOTICE_CHAT() { + noticeType_ = com.google.protobuf.LazyStringArrayList.EMPTY; + chatMessage_ = java.util.Collections.emptyList(); + sender_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MOS2GS_NTF_NOTICE_CHAT(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_NOTICE_CHAT_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_NOTICE_CHAT_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.Builder.class); + } + + public static final int NOTICETYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList noticeType_; + /** + * repeated string noticeType = 1; + * @return A list containing the noticeType. + */ + public com.google.protobuf.ProtocolStringList + getNoticeTypeList() { + return noticeType_; + } + /** + * repeated string noticeType = 1; + * @return The count of noticeType. + */ + public int getNoticeTypeCount() { + return noticeType_.size(); + } + /** + * repeated string noticeType = 1; + * @param index The index of the element to return. + * @return The noticeType at the given index. + */ + public java.lang.String getNoticeType(int index) { + return noticeType_.get(index); + } + /** + * repeated string noticeType = 1; + * @param index The index of the value to return. + * @return The bytes of the noticeType at the given index. + */ + public com.google.protobuf.ByteString + getNoticeTypeBytes(int index) { + return noticeType_.getByteString(index); + } + + public static final int CHATMESSAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List chatMessage_; + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + @java.lang.Override + public java.util.List getChatMessageList() { + return chatMessage_; + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + @java.lang.Override + public java.util.List + getChatMessageOrBuilderList() { + return chatMessage_; + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + @java.lang.Override + public int getChatMessageCount() { + return chatMessage_.size(); + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getChatMessage(int index) { + return chatMessage_.get(index); + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getChatMessageOrBuilder( + int index) { + return chatMessage_.get(index); + } + + public static final int SENDER_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List sender_; + /** + * repeated .OperationSystemMessage sender = 3; + */ + @java.lang.Override + public java.util.List getSenderList() { + return sender_; + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + @java.lang.Override + public java.util.List + getSenderOrBuilderList() { + return sender_; + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + @java.lang.Override + public int getSenderCount() { + return sender_.size(); + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getSender(int index) { + return sender_.get(index); + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getSenderOrBuilder( + int index) { + return sender_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < noticeType_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, noticeType_.getRaw(i)); + } + for (int i = 0; i < chatMessage_.size(); i++) { + output.writeMessage(2, chatMessage_.get(i)); + } + for (int i = 0; i < sender_.size(); i++) { + output.writeMessage(3, sender_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < noticeType_.size(); i++) { + dataSize += computeStringSizeNoTag(noticeType_.getRaw(i)); + } + size += dataSize; + size += 1 * getNoticeTypeList().size(); + } + for (int i = 0; i < chatMessage_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, chatMessage_.get(i)); + } + for (int i = 0; i < sender_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, sender_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT) obj; + + if (!getNoticeTypeList() + .equals(other.getNoticeTypeList())) return false; + if (!getChatMessageList() + .equals(other.getChatMessageList())) return false; + if (!getSenderList() + .equals(other.getSenderList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getNoticeTypeCount() > 0) { + hash = (37 * hash) + NOTICETYPE_FIELD_NUMBER; + hash = (53 * hash) + getNoticeTypeList().hashCode(); + } + if (getChatMessageCount() > 0) { + hash = (37 * hash) + CHATMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getChatMessageList().hashCode(); + } + if (getSenderCount() > 0) { + hash = (37 * hash) + SENDER_FIELD_NUMBER; + hash = (53 * hash) + getSenderList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.MOS2GS_NTF_NOTICE_CHAT} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.MOS2GS_NTF_NOTICE_CHAT) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHATOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_NOTICE_CHAT_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_NOTICE_CHAT_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + noticeType_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + if (chatMessageBuilder_ == null) { + chatMessage_ = java.util.Collections.emptyList(); + } else { + chatMessage_ = null; + chatMessageBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + if (senderBuilder_ == null) { + sender_ = java.util.Collections.emptyList(); + } else { + sender_ = null; + senderBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_MOS2GS_NTF_NOTICE_CHAT_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT result) { + if (((bitField0_ & 0x00000001) != 0)) { + noticeType_ = noticeType_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.noticeType_ = noticeType_; + if (chatMessageBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + chatMessage_ = java.util.Collections.unmodifiableList(chatMessage_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.chatMessage_ = chatMessage_; + } else { + result.chatMessage_ = chatMessageBuilder_.build(); + } + if (senderBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + sender_ = java.util.Collections.unmodifiableList(sender_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.sender_ = sender_; + } else { + result.sender_ = senderBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.getDefaultInstance()) return this; + if (!other.noticeType_.isEmpty()) { + if (noticeType_.isEmpty()) { + noticeType_ = other.noticeType_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureNoticeTypeIsMutable(); + noticeType_.addAll(other.noticeType_); + } + onChanged(); + } + if (chatMessageBuilder_ == null) { + if (!other.chatMessage_.isEmpty()) { + if (chatMessage_.isEmpty()) { + chatMessage_ = other.chatMessage_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureChatMessageIsMutable(); + chatMessage_.addAll(other.chatMessage_); + } + onChanged(); + } + } else { + if (!other.chatMessage_.isEmpty()) { + if (chatMessageBuilder_.isEmpty()) { + chatMessageBuilder_.dispose(); + chatMessageBuilder_ = null; + chatMessage_ = other.chatMessage_; + bitField0_ = (bitField0_ & ~0x00000002); + chatMessageBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChatMessageFieldBuilder() : null; + } else { + chatMessageBuilder_.addAllMessages(other.chatMessage_); + } + } + } + if (senderBuilder_ == null) { + if (!other.sender_.isEmpty()) { + if (sender_.isEmpty()) { + sender_ = other.sender_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureSenderIsMutable(); + sender_.addAll(other.sender_); + } + onChanged(); + } + } else { + if (!other.sender_.isEmpty()) { + if (senderBuilder_.isEmpty()) { + senderBuilder_.dispose(); + senderBuilder_ = null; + sender_ = other.sender_; + bitField0_ = (bitField0_ & ~0x00000004); + senderBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSenderFieldBuilder() : null; + } else { + senderBuilder_.addAllMessages(other.sender_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureNoticeTypeIsMutable(); + noticeType_.add(s); + break; + } // case 10 + case 18: { + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.parser(), + extensionRegistry); + if (chatMessageBuilder_ == null) { + ensureChatMessageIsMutable(); + chatMessage_.add(m); + } else { + chatMessageBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.parser(), + extensionRegistry); + if (senderBuilder_ == null) { + ensureSenderIsMutable(); + sender_.add(m); + } else { + senderBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringList noticeType_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNoticeTypeIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + noticeType_ = new com.google.protobuf.LazyStringArrayList(noticeType_); + bitField0_ |= 0x00000001; + } + } + /** + * repeated string noticeType = 1; + * @return A list containing the noticeType. + */ + public com.google.protobuf.ProtocolStringList + getNoticeTypeList() { + return noticeType_.getUnmodifiableView(); + } + /** + * repeated string noticeType = 1; + * @return The count of noticeType. + */ + public int getNoticeTypeCount() { + return noticeType_.size(); + } + /** + * repeated string noticeType = 1; + * @param index The index of the element to return. + * @return The noticeType at the given index. + */ + public java.lang.String getNoticeType(int index) { + return noticeType_.get(index); + } + /** + * repeated string noticeType = 1; + * @param index The index of the value to return. + * @return The bytes of the noticeType at the given index. + */ + public com.google.protobuf.ByteString + getNoticeTypeBytes(int index) { + return noticeType_.getByteString(index); + } + /** + * repeated string noticeType = 1; + * @param index The index to set the value at. + * @param value The noticeType to set. + * @return This builder for chaining. + */ + public Builder setNoticeType( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureNoticeTypeIsMutable(); + noticeType_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string noticeType = 1; + * @param value The noticeType to add. + * @return This builder for chaining. + */ + public Builder addNoticeType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureNoticeTypeIsMutable(); + noticeType_.add(value); + onChanged(); + return this; + } + /** + * repeated string noticeType = 1; + * @param values The noticeType to add. + * @return This builder for chaining. + */ + public Builder addAllNoticeType( + java.lang.Iterable values) { + ensureNoticeTypeIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, noticeType_); + onChanged(); + return this; + } + /** + * repeated string noticeType = 1; + * @return This builder for chaining. + */ + public Builder clearNoticeType() { + noticeType_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * repeated string noticeType = 1; + * @param value The bytes of the noticeType to add. + * @return This builder for chaining. + */ + public Builder addNoticeTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureNoticeTypeIsMutable(); + noticeType_.add(value); + onChanged(); + return this; + } + + private java.util.List chatMessage_ = + java.util.Collections.emptyList(); + private void ensureChatMessageIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + chatMessage_ = new java.util.ArrayList(chatMessage_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder> chatMessageBuilder_; + + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public java.util.List getChatMessageList() { + if (chatMessageBuilder_ == null) { + return java.util.Collections.unmodifiableList(chatMessage_); + } else { + return chatMessageBuilder_.getMessageList(); + } + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public int getChatMessageCount() { + if (chatMessageBuilder_ == null) { + return chatMessage_.size(); + } else { + return chatMessageBuilder_.getCount(); + } + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getChatMessage(int index) { + if (chatMessageBuilder_ == null) { + return chatMessage_.get(index); + } else { + return chatMessageBuilder_.getMessage(index); + } + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public Builder setChatMessage( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (chatMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChatMessageIsMutable(); + chatMessage_.set(index, value); + onChanged(); + } else { + chatMessageBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public Builder setChatMessage( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (chatMessageBuilder_ == null) { + ensureChatMessageIsMutable(); + chatMessage_.set(index, builderForValue.build()); + onChanged(); + } else { + chatMessageBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public Builder addChatMessage(com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (chatMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChatMessageIsMutable(); + chatMessage_.add(value); + onChanged(); + } else { + chatMessageBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public Builder addChatMessage( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (chatMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChatMessageIsMutable(); + chatMessage_.add(index, value); + onChanged(); + } else { + chatMessageBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public Builder addChatMessage( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (chatMessageBuilder_ == null) { + ensureChatMessageIsMutable(); + chatMessage_.add(builderForValue.build()); + onChanged(); + } else { + chatMessageBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public Builder addChatMessage( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (chatMessageBuilder_ == null) { + ensureChatMessageIsMutable(); + chatMessage_.add(index, builderForValue.build()); + onChanged(); + } else { + chatMessageBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public Builder addAllChatMessage( + java.lang.Iterable values) { + if (chatMessageBuilder_ == null) { + ensureChatMessageIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, chatMessage_); + onChanged(); + } else { + chatMessageBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public Builder clearChatMessage() { + if (chatMessageBuilder_ == null) { + chatMessage_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + chatMessageBuilder_.clear(); + } + return this; + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public Builder removeChatMessage(int index) { + if (chatMessageBuilder_ == null) { + ensureChatMessageIsMutable(); + chatMessage_.remove(index); + onChanged(); + } else { + chatMessageBuilder_.remove(index); + } + return this; + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder getChatMessageBuilder( + int index) { + return getChatMessageFieldBuilder().getBuilder(index); + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getChatMessageOrBuilder( + int index) { + if (chatMessageBuilder_ == null) { + return chatMessage_.get(index); } else { + return chatMessageBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public java.util.List + getChatMessageOrBuilderList() { + if (chatMessageBuilder_ != null) { + return chatMessageBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(chatMessage_); + } + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder addChatMessageBuilder() { + return getChatMessageFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.getDefaultInstance()); + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder addChatMessageBuilder( + int index) { + return getChatMessageFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.getDefaultInstance()); + } + /** + * repeated .OperationSystemMessage chatMessage = 2; + */ + public java.util.List + getChatMessageBuilderList() { + return getChatMessageFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder> + getChatMessageFieldBuilder() { + if (chatMessageBuilder_ == null) { + chatMessageBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder>( + chatMessage_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + chatMessage_ = null; + } + return chatMessageBuilder_; + } + + private java.util.List sender_ = + java.util.Collections.emptyList(); + private void ensureSenderIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + sender_ = new java.util.ArrayList(sender_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder> senderBuilder_; + + /** + * repeated .OperationSystemMessage sender = 3; + */ + public java.util.List getSenderList() { + if (senderBuilder_ == null) { + return java.util.Collections.unmodifiableList(sender_); + } else { + return senderBuilder_.getMessageList(); + } + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public int getSenderCount() { + if (senderBuilder_ == null) { + return sender_.size(); + } else { + return senderBuilder_.getCount(); + } + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage getSender(int index) { + if (senderBuilder_ == null) { + return sender_.get(index); + } else { + return senderBuilder_.getMessage(index); + } + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public Builder setSender( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (senderBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSenderIsMutable(); + sender_.set(index, value); + onChanged(); + } else { + senderBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public Builder setSender( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (senderBuilder_ == null) { + ensureSenderIsMutable(); + sender_.set(index, builderForValue.build()); + onChanged(); + } else { + senderBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public Builder addSender(com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (senderBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSenderIsMutable(); + sender_.add(value); + onChanged(); + } else { + senderBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public Builder addSender( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage value) { + if (senderBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSenderIsMutable(); + sender_.add(index, value); + onChanged(); + } else { + senderBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public Builder addSender( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (senderBuilder_ == null) { + ensureSenderIsMutable(); + sender_.add(builderForValue.build()); + onChanged(); + } else { + senderBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public Builder addSender( + int index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder builderForValue) { + if (senderBuilder_ == null) { + ensureSenderIsMutable(); + sender_.add(index, builderForValue.build()); + onChanged(); + } else { + senderBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public Builder addAllSender( + java.lang.Iterable values) { + if (senderBuilder_ == null) { + ensureSenderIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sender_); + onChanged(); + } else { + senderBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public Builder clearSender() { + if (senderBuilder_ == null) { + sender_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + senderBuilder_.clear(); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public Builder removeSender(int index) { + if (senderBuilder_ == null) { + ensureSenderIsMutable(); + sender_.remove(index); + onChanged(); + } else { + senderBuilder_.remove(index); + } + return this; + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder getSenderBuilder( + int index) { + return getSenderFieldBuilder().getBuilder(index); + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder getSenderOrBuilder( + int index) { + if (senderBuilder_ == null) { + return sender_.get(index); } else { + return senderBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public java.util.List + getSenderOrBuilderList() { + if (senderBuilder_ != null) { + return senderBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(sender_); + } + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder addSenderBuilder() { + return getSenderFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.getDefaultInstance()); + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder addSenderBuilder( + int index) { + return getSenderFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.getDefaultInstance()); + } + /** + * repeated .OperationSystemMessage sender = 3; + */ + public java.util.List + getSenderBuilderList() { + return getSenderFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder> + getSenderFieldBuilder() { + if (senderBuilder_ == null) { + senderBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage.Builder, com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessageOrBuilder>( + sender_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + sender_ = null; + } + return senderBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.MOS2GS_NTF_NOTICE_CHAT) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.MOS2GS_NTF_NOTICE_CHAT) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MOS2GS_NTF_NOTICE_CHAT parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2MQS_NTF_FARMING_ENDOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2MQS_NTF_FARMING_END) + com.google.protobuf.MessageOrBuilder { + + /** + * string userGuid = 1; + * @return The userGuid. + */ + java.lang.String getUserGuid(); + /** + * string userGuid = 1; + * @return The bytes for userGuid. + */ + com.google.protobuf.ByteString + getUserGuidBytes(); + + /** + *
+     * Ĺ  
+     * 
+ * + * .FarmingSummary farmingSummary = 5; + * @return Whether the farmingSummary field is set. + */ + boolean hasFarmingSummary(); + /** + *
+     * Ĺ  
+     * 
+ * + * .FarmingSummary farmingSummary = 5; + * @return The farmingSummary. + */ + com.caliverse.admin.domain.RabbitMq.message.FarmingSummary getFarmingSummary(); + /** + *
+     * Ĺ  
+     * 
+ * + * .FarmingSummary farmingSummary = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.FarmingSummaryOrBuilder getFarmingSummaryOrBuilder(); + + /** + *
+     * Db Ʈ  
+     * 
+ * + * .BoolType isApplyDb = 6; + * @return The enum numeric value on the wire for isApplyDb. + */ + int getIsApplyDbValue(); + /** + *
+     * Db Ʈ  
+     * 
+ * + * .BoolType isApplyDb = 6; + * @return The isApplyDb. + */ + com.caliverse.admin.domain.RabbitMq.message.BoolType getIsApplyDb(); + } + /** + * Protobuf type {@code ServerMessage.GS2MQS_NTF_FARMING_END} + */ + public static final class GS2MQS_NTF_FARMING_END extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2MQS_NTF_FARMING_END) + GS2MQS_NTF_FARMING_ENDOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2MQS_NTF_FARMING_END.newBuilder() to construct. + private GS2MQS_NTF_FARMING_END(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2MQS_NTF_FARMING_END() { + userGuid_ = ""; + isApplyDb_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2MQS_NTF_FARMING_END(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2MQS_NTF_FARMING_END_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2MQS_NTF_FARMING_END_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.Builder.class); + } + + public static final int USERGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object userGuid_ = ""; + /** + * string userGuid = 1; + * @return The userGuid. + */ + @java.lang.Override + public java.lang.String getUserGuid() { + java.lang.Object ref = userGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userGuid_ = s; + return s; + } + } + /** + * string userGuid = 1; + * @return The bytes for userGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUserGuidBytes() { + java.lang.Object ref = userGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FARMINGSUMMARY_FIELD_NUMBER = 5; + private com.caliverse.admin.domain.RabbitMq.message.FarmingSummary farmingSummary_; + /** + *
+     * Ĺ  
+     * 
+ * + * .FarmingSummary farmingSummary = 5; + * @return Whether the farmingSummary field is set. + */ + @java.lang.Override + public boolean hasFarmingSummary() { + return farmingSummary_ != null; + } + /** + *
+     * Ĺ  
+     * 
+ * + * .FarmingSummary farmingSummary = 5; + * @return The farmingSummary. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FarmingSummary getFarmingSummary() { + return farmingSummary_ == null ? com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.getDefaultInstance() : farmingSummary_; + } + /** + *
+     * Ĺ  
+     * 
+ * + * .FarmingSummary farmingSummary = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.FarmingSummaryOrBuilder getFarmingSummaryOrBuilder() { + return farmingSummary_ == null ? com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.getDefaultInstance() : farmingSummary_; + } + + public static final int ISAPPLYDB_FIELD_NUMBER = 6; + private int isApplyDb_ = 0; + /** + *
+     * Db Ʈ  
+     * 
+ * + * .BoolType isApplyDb = 6; + * @return The enum numeric value on the wire for isApplyDb. + */ + @java.lang.Override public int getIsApplyDbValue() { + return isApplyDb_; + } + /** + *
+     * Db Ʈ  
+     * 
+ * + * .BoolType isApplyDb = 6; + * @return The isApplyDb. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsApplyDb() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isApplyDb_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userGuid_); + } + if (farmingSummary_ != null) { + output.writeMessage(5, getFarmingSummary()); + } + if (isApplyDb_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + output.writeEnum(6, isApplyDb_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userGuid_); + } + if (farmingSummary_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getFarmingSummary()); + } + if (isApplyDb_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, isApplyDb_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END) obj; + + if (!getUserGuid() + .equals(other.getUserGuid())) return false; + if (hasFarmingSummary() != other.hasFarmingSummary()) return false; + if (hasFarmingSummary()) { + if (!getFarmingSummary() + .equals(other.getFarmingSummary())) return false; + } + if (isApplyDb_ != other.isApplyDb_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + USERGUID_FIELD_NUMBER; + hash = (53 * hash) + getUserGuid().hashCode(); + if (hasFarmingSummary()) { + hash = (37 * hash) + FARMINGSUMMARY_FIELD_NUMBER; + hash = (53 * hash) + getFarmingSummary().hashCode(); + } + hash = (37 * hash) + ISAPPLYDB_FIELD_NUMBER; + hash = (53 * hash) + isApplyDb_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2MQS_NTF_FARMING_END} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2MQS_NTF_FARMING_END) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_ENDOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2MQS_NTF_FARMING_END_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2MQS_NTF_FARMING_END_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + userGuid_ = ""; + farmingSummary_ = null; + if (farmingSummaryBuilder_ != null) { + farmingSummaryBuilder_.dispose(); + farmingSummaryBuilder_ = null; + } + isApplyDb_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2MQS_NTF_FARMING_END_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.userGuid_ = userGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.farmingSummary_ = farmingSummaryBuilder_ == null + ? farmingSummary_ + : farmingSummaryBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.isApplyDb_ = isApplyDb_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.getDefaultInstance()) return this; + if (!other.getUserGuid().isEmpty()) { + userGuid_ = other.userGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasFarmingSummary()) { + mergeFarmingSummary(other.getFarmingSummary()); + } + if (other.isApplyDb_ != 0) { + setIsApplyDbValue(other.getIsApplyDbValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + userGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 42: { + input.readMessage( + getFarmingSummaryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 42 + case 48: { + isApplyDb_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object userGuid_ = ""; + /** + * string userGuid = 1; + * @return The userGuid. + */ + public java.lang.String getUserGuid() { + java.lang.Object ref = userGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string userGuid = 1; + * @return The bytes for userGuid. + */ + public com.google.protobuf.ByteString + getUserGuidBytes() { + java.lang.Object ref = userGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string userGuid = 1; + * @param value The userGuid to set. + * @return This builder for chaining. + */ + public Builder setUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + userGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string userGuid = 1; + * @return This builder for chaining. + */ + public Builder clearUserGuid() { + userGuid_ = getDefaultInstance().getUserGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string userGuid = 1; + * @param value The bytes for userGuid to set. + * @return This builder for chaining. + */ + public Builder setUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + userGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.FarmingSummary farmingSummary_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.FarmingSummary, com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.Builder, com.caliverse.admin.domain.RabbitMq.message.FarmingSummaryOrBuilder> farmingSummaryBuilder_; + /** + *
+       * Ĺ  
+       * 
+ * + * .FarmingSummary farmingSummary = 5; + * @return Whether the farmingSummary field is set. + */ + public boolean hasFarmingSummary() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+       * Ĺ  
+       * 
+ * + * .FarmingSummary farmingSummary = 5; + * @return The farmingSummary. + */ + public com.caliverse.admin.domain.RabbitMq.message.FarmingSummary getFarmingSummary() { + if (farmingSummaryBuilder_ == null) { + return farmingSummary_ == null ? com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.getDefaultInstance() : farmingSummary_; + } else { + return farmingSummaryBuilder_.getMessage(); + } + } + /** + *
+       * Ĺ  
+       * 
+ * + * .FarmingSummary farmingSummary = 5; + */ + public Builder setFarmingSummary(com.caliverse.admin.domain.RabbitMq.message.FarmingSummary value) { + if (farmingSummaryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + farmingSummary_ = value; + } else { + farmingSummaryBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Ĺ  
+       * 
+ * + * .FarmingSummary farmingSummary = 5; + */ + public Builder setFarmingSummary( + com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.Builder builderForValue) { + if (farmingSummaryBuilder_ == null) { + farmingSummary_ = builderForValue.build(); + } else { + farmingSummaryBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Ĺ  
+       * 
+ * + * .FarmingSummary farmingSummary = 5; + */ + public Builder mergeFarmingSummary(com.caliverse.admin.domain.RabbitMq.message.FarmingSummary value) { + if (farmingSummaryBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + farmingSummary_ != null && + farmingSummary_ != com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.getDefaultInstance()) { + getFarmingSummaryBuilder().mergeFrom(value); + } else { + farmingSummary_ = value; + } + } else { + farmingSummaryBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Ĺ  
+       * 
+ * + * .FarmingSummary farmingSummary = 5; + */ + public Builder clearFarmingSummary() { + bitField0_ = (bitField0_ & ~0x00000002); + farmingSummary_ = null; + if (farmingSummaryBuilder_ != null) { + farmingSummaryBuilder_.dispose(); + farmingSummaryBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Ĺ  
+       * 
+ * + * .FarmingSummary farmingSummary = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.Builder getFarmingSummaryBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getFarmingSummaryFieldBuilder().getBuilder(); + } + /** + *
+       * Ĺ  
+       * 
+ * + * .FarmingSummary farmingSummary = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.FarmingSummaryOrBuilder getFarmingSummaryOrBuilder() { + if (farmingSummaryBuilder_ != null) { + return farmingSummaryBuilder_.getMessageOrBuilder(); + } else { + return farmingSummary_ == null ? + com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.getDefaultInstance() : farmingSummary_; + } + } + /** + *
+       * Ĺ  
+       * 
+ * + * .FarmingSummary farmingSummary = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.FarmingSummary, com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.Builder, com.caliverse.admin.domain.RabbitMq.message.FarmingSummaryOrBuilder> + getFarmingSummaryFieldBuilder() { + if (farmingSummaryBuilder_ == null) { + farmingSummaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.FarmingSummary, com.caliverse.admin.domain.RabbitMq.message.FarmingSummary.Builder, com.caliverse.admin.domain.RabbitMq.message.FarmingSummaryOrBuilder>( + getFarmingSummary(), + getParentForChildren(), + isClean()); + farmingSummary_ = null; + } + return farmingSummaryBuilder_; + } + + private int isApplyDb_ = 0; + /** + *
+       * Db Ʈ  
+       * 
+ * + * .BoolType isApplyDb = 6; + * @return The enum numeric value on the wire for isApplyDb. + */ + @java.lang.Override public int getIsApplyDbValue() { + return isApplyDb_; + } + /** + *
+       * Db Ʈ  
+       * 
+ * + * .BoolType isApplyDb = 6; + * @param value The enum numeric value on the wire for isApplyDb to set. + * @return This builder for chaining. + */ + public Builder setIsApplyDbValue(int value) { + isApplyDb_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Db Ʈ  
+       * 
+ * + * .BoolType isApplyDb = 6; + * @return The isApplyDb. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsApplyDb() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isApplyDb_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + /** + *
+       * Db Ʈ  
+       * 
+ * + * .BoolType isApplyDb = 6; + * @param value The isApplyDb to set. + * @return This builder for chaining. + */ + public Builder setIsApplyDb(com.caliverse.admin.domain.RabbitMq.message.BoolType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + isApplyDb_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * Db Ʈ  
+       * 
+ * + * .BoolType isApplyDb = 6; + * @return This builder for chaining. + */ + public Builder clearIsApplyDb() { + bitField0_ = (bitField0_ & ~0x00000004); + isApplyDb_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2MQS_NTF_FARMING_END) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2MQS_NTF_FARMING_END) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2MQS_NTF_FARMING_END parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2MQS_NTF_BEACON_COMPACT_SYNCOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) + com.google.protobuf.MessageOrBuilder { + + /** + * string userGuid = 1; + * @return The userGuid. + */ + java.lang.String getUserGuid(); + /** + * string userGuid = 1; + * @return The bytes for userGuid. + */ + com.google.protobuf.ByteString + getUserGuidBytes(); + + /** + *
+     * UgcNpc   
+     * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + * @return Whether the ugcNpcCompact field is set. + */ + boolean hasUgcNpcCompact(); + /** + *
+     * UgcNpc   
+     * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + * @return The ugcNpcCompact. + */ + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact getUgcNpcCompact(); + /** + *
+     * UgcNpc   
+     * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompactOrBuilder getUgcNpcCompactOrBuilder(); + + /** + *
+     * ġ instance Guid
+     * 
+ * + * string locatedInstanceGuid = 6; + * @return The locatedInstanceGuid. + */ + java.lang.String getLocatedInstanceGuid(); + /** + *
+     * ġ instance Guid
+     * 
+ * + * string locatedInstanceGuid = 6; + * @return The bytes for locatedInstanceGuid. + */ + com.google.protobuf.ByteString + getLocatedInstanceGuidBytes(); + } + /** + * Protobuf type {@code ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC} + */ + public static final class GS2MQS_NTF_BEACON_COMPACT_SYNC extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) + GS2MQS_NTF_BEACON_COMPACT_SYNCOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2MQS_NTF_BEACON_COMPACT_SYNC.newBuilder() to construct. + private GS2MQS_NTF_BEACON_COMPACT_SYNC(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2MQS_NTF_BEACON_COMPACT_SYNC() { + userGuid_ = ""; + locatedInstanceGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2MQS_NTF_BEACON_COMPACT_SYNC(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2MQS_NTF_BEACON_COMPACT_SYNC_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2MQS_NTF_BEACON_COMPACT_SYNC_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.Builder.class); + } + + public static final int USERGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object userGuid_ = ""; + /** + * string userGuid = 1; + * @return The userGuid. + */ + @java.lang.Override + public java.lang.String getUserGuid() { + java.lang.Object ref = userGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userGuid_ = s; + return s; + } + } + /** + * string userGuid = 1; + * @return The bytes for userGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUserGuidBytes() { + java.lang.Object ref = userGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UGCNPCCOMPACT_FIELD_NUMBER = 5; + private com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact ugcNpcCompact_; + /** + *
+     * UgcNpc   
+     * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + * @return Whether the ugcNpcCompact field is set. + */ + @java.lang.Override + public boolean hasUgcNpcCompact() { + return ugcNpcCompact_ != null; + } + /** + *
+     * UgcNpc   
+     * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + * @return The ugcNpcCompact. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact getUgcNpcCompact() { + return ugcNpcCompact_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.getDefaultInstance() : ugcNpcCompact_; + } + /** + *
+     * UgcNpc   
+     * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompactOrBuilder getUgcNpcCompactOrBuilder() { + return ugcNpcCompact_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.getDefaultInstance() : ugcNpcCompact_; + } + + public static final int LOCATEDINSTANCEGUID_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object locatedInstanceGuid_ = ""; + /** + *
+     * ġ instance Guid
+     * 
+ * + * string locatedInstanceGuid = 6; + * @return The locatedInstanceGuid. + */ + @java.lang.Override + public java.lang.String getLocatedInstanceGuid() { + java.lang.Object ref = locatedInstanceGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locatedInstanceGuid_ = s; + return s; + } + } + /** + *
+     * ġ instance Guid
+     * 
+ * + * string locatedInstanceGuid = 6; + * @return The bytes for locatedInstanceGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLocatedInstanceGuidBytes() { + java.lang.Object ref = locatedInstanceGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + locatedInstanceGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userGuid_); + } + if (ugcNpcCompact_ != null) { + output.writeMessage(5, getUgcNpcCompact()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locatedInstanceGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, locatedInstanceGuid_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userGuid_); + } + if (ugcNpcCompact_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUgcNpcCompact()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locatedInstanceGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, locatedInstanceGuid_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) obj; + + if (!getUserGuid() + .equals(other.getUserGuid())) return false; + if (hasUgcNpcCompact() != other.hasUgcNpcCompact()) return false; + if (hasUgcNpcCompact()) { + if (!getUgcNpcCompact() + .equals(other.getUgcNpcCompact())) return false; + } + if (!getLocatedInstanceGuid() + .equals(other.getLocatedInstanceGuid())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + USERGUID_FIELD_NUMBER; + hash = (53 * hash) + getUserGuid().hashCode(); + if (hasUgcNpcCompact()) { + hash = (37 * hash) + UGCNPCCOMPACT_FIELD_NUMBER; + hash = (53 * hash) + getUgcNpcCompact().hashCode(); + } + hash = (37 * hash) + LOCATEDINSTANCEGUID_FIELD_NUMBER; + hash = (53 * hash) + getLocatedInstanceGuid().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNCOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2MQS_NTF_BEACON_COMPACT_SYNC_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2MQS_NTF_BEACON_COMPACT_SYNC_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + userGuid_ = ""; + ugcNpcCompact_ = null; + if (ugcNpcCompactBuilder_ != null) { + ugcNpcCompactBuilder_.dispose(); + ugcNpcCompactBuilder_ = null; + } + locatedInstanceGuid_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2MQS_NTF_BEACON_COMPACT_SYNC_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.userGuid_ = userGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.ugcNpcCompact_ = ugcNpcCompactBuilder_ == null + ? ugcNpcCompact_ + : ugcNpcCompactBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.locatedInstanceGuid_ = locatedInstanceGuid_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.getDefaultInstance()) return this; + if (!other.getUserGuid().isEmpty()) { + userGuid_ = other.userGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasUgcNpcCompact()) { + mergeUgcNpcCompact(other.getUgcNpcCompact()); + } + if (!other.getLocatedInstanceGuid().isEmpty()) { + locatedInstanceGuid_ = other.locatedInstanceGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + userGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 42: { + input.readMessage( + getUgcNpcCompactFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 42 + case 50: { + locatedInstanceGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object userGuid_ = ""; + /** + * string userGuid = 1; + * @return The userGuid. + */ + public java.lang.String getUserGuid() { + java.lang.Object ref = userGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string userGuid = 1; + * @return The bytes for userGuid. + */ + public com.google.protobuf.ByteString + getUserGuidBytes() { + java.lang.Object ref = userGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string userGuid = 1; + * @param value The userGuid to set. + * @return This builder for chaining. + */ + public Builder setUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + userGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string userGuid = 1; + * @return This builder for chaining. + */ + public Builder clearUserGuid() { + userGuid_ = getDefaultInstance().getUserGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string userGuid = 1; + * @param value The bytes for userGuid to set. + * @return This builder for chaining. + */ + public Builder setUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + userGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact ugcNpcCompact_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact, com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompactOrBuilder> ugcNpcCompactBuilder_; + /** + *
+       * UgcNpc   
+       * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + * @return Whether the ugcNpcCompact field is set. + */ + public boolean hasUgcNpcCompact() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+       * UgcNpc   
+       * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + * @return The ugcNpcCompact. + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact getUgcNpcCompact() { + if (ugcNpcCompactBuilder_ == null) { + return ugcNpcCompact_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.getDefaultInstance() : ugcNpcCompact_; + } else { + return ugcNpcCompactBuilder_.getMessage(); + } + } + /** + *
+       * UgcNpc   
+       * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + */ + public Builder setUgcNpcCompact(com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact value) { + if (ugcNpcCompactBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ugcNpcCompact_ = value; + } else { + ugcNpcCompactBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * UgcNpc   
+       * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + */ + public Builder setUgcNpcCompact( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.Builder builderForValue) { + if (ugcNpcCompactBuilder_ == null) { + ugcNpcCompact_ = builderForValue.build(); + } else { + ugcNpcCompactBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * UgcNpc   
+       * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + */ + public Builder mergeUgcNpcCompact(com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact value) { + if (ugcNpcCompactBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + ugcNpcCompact_ != null && + ugcNpcCompact_ != com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.getDefaultInstance()) { + getUgcNpcCompactBuilder().mergeFrom(value); + } else { + ugcNpcCompact_ = value; + } + } else { + ugcNpcCompactBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * UgcNpc   
+       * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + */ + public Builder clearUgcNpcCompact() { + bitField0_ = (bitField0_ & ~0x00000002); + ugcNpcCompact_ = null; + if (ugcNpcCompactBuilder_ != null) { + ugcNpcCompactBuilder_.dispose(); + ugcNpcCompactBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * UgcNpc   
+       * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.Builder getUgcNpcCompactBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getUgcNpcCompactFieldBuilder().getBuilder(); + } + /** + *
+       * UgcNpc   
+       * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompactOrBuilder getUgcNpcCompactOrBuilder() { + if (ugcNpcCompactBuilder_ != null) { + return ugcNpcCompactBuilder_.getMessageOrBuilder(); + } else { + return ugcNpcCompact_ == null ? + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.getDefaultInstance() : ugcNpcCompact_; + } + } + /** + *
+       * UgcNpc   
+       * 
+ * + * .UgcNpcCompact ugcNpcCompact = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact, com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompactOrBuilder> + getUgcNpcCompactFieldBuilder() { + if (ugcNpcCompactBuilder_ == null) { + ugcNpcCompactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact, com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompactOrBuilder>( + getUgcNpcCompact(), + getParentForChildren(), + isClean()); + ugcNpcCompact_ = null; + } + return ugcNpcCompactBuilder_; + } + + private java.lang.Object locatedInstanceGuid_ = ""; + /** + *
+       * ġ instance Guid
+       * 
+ * + * string locatedInstanceGuid = 6; + * @return The locatedInstanceGuid. + */ + public java.lang.String getLocatedInstanceGuid() { + java.lang.Object ref = locatedInstanceGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locatedInstanceGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * ġ instance Guid
+       * 
+ * + * string locatedInstanceGuid = 6; + * @return The bytes for locatedInstanceGuid. + */ + public com.google.protobuf.ByteString + getLocatedInstanceGuidBytes() { + java.lang.Object ref = locatedInstanceGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + locatedInstanceGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * ġ instance Guid
+       * 
+ * + * string locatedInstanceGuid = 6; + * @param value The locatedInstanceGuid to set. + * @return This builder for chaining. + */ + public Builder setLocatedInstanceGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + locatedInstanceGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * ġ instance Guid
+       * 
+ * + * string locatedInstanceGuid = 6; + * @return This builder for chaining. + */ + public Builder clearLocatedInstanceGuid() { + locatedInstanceGuid_ = getDefaultInstance().getLocatedInstanceGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * ġ instance Guid
+       * 
+ * + * string locatedInstanceGuid = 6; + * @param value The bytes for locatedInstanceGuid to set. + * @return This builder for chaining. + */ + public Builder setLocatedInstanceGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + locatedInstanceGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2MQS_NTF_BEACON_COMPACT_SYNC parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_NTF_RENT_FLOOROrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_NTF_RENT_FLOOR) + com.google.protobuf.MessageOrBuilder { + + /** + * string exceptServerName = 1; + * @return The exceptServerName. + */ + java.lang.String getExceptServerName(); + /** + * string exceptServerName = 1; + * @return The bytes for exceptServerName. + */ + com.google.protobuf.ByteString + getExceptServerNameBytes(); + + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + * @return Whether the rentFloorRequestInfo field is set. + */ + boolean hasRentFloorRequestInfo(); + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + * @return The rentFloorRequestInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo getRentFloorRequestInfo(); + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfoOrBuilder getRentFloorRequestInfoOrBuilder(); + + /** + * repeated string ugcNpcGuids = 3; + * @return A list containing the ugcNpcGuids. + */ + java.util.List + getUgcNpcGuidsList(); + /** + * repeated string ugcNpcGuids = 3; + * @return The count of ugcNpcGuids. + */ + int getUgcNpcGuidsCount(); + /** + * repeated string ugcNpcGuids = 3; + * @param index The index of the element to return. + * @return The ugcNpcGuids at the given index. + */ + java.lang.String getUgcNpcGuids(int index); + /** + * repeated string ugcNpcGuids = 3; + * @param index The index of the value to return. + * @return The bytes of the ugcNpcGuids at the given index. + */ + com.google.protobuf.ByteString + getUgcNpcGuidsBytes(int index); + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_RENT_FLOOR} + */ + public static final class GS2GS_NTF_RENT_FLOOR extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_NTF_RENT_FLOOR) + GS2GS_NTF_RENT_FLOOROrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_NTF_RENT_FLOOR.newBuilder() to construct. + private GS2GS_NTF_RENT_FLOOR(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_NTF_RENT_FLOOR() { + exceptServerName_ = ""; + ugcNpcGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_NTF_RENT_FLOOR(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_RENT_FLOOR_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_RENT_FLOOR_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.Builder.class); + } + + public static final int EXCEPTSERVERNAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object exceptServerName_ = ""; + /** + * string exceptServerName = 1; + * @return The exceptServerName. + */ + @java.lang.Override + public java.lang.String getExceptServerName() { + java.lang.Object ref = exceptServerName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + exceptServerName_ = s; + return s; + } + } + /** + * string exceptServerName = 1; + * @return The bytes for exceptServerName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getExceptServerNameBytes() { + java.lang.Object ref = exceptServerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + exceptServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RENTFLOORREQUESTINFO_FIELD_NUMBER = 2; + private com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo rentFloorRequestInfo_; + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + * @return Whether the rentFloorRequestInfo field is set. + */ + @java.lang.Override + public boolean hasRentFloorRequestInfo() { + return rentFloorRequestInfo_ != null; + } + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + * @return The rentFloorRequestInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo getRentFloorRequestInfo() { + return rentFloorRequestInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.getDefaultInstance() : rentFloorRequestInfo_; + } + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfoOrBuilder getRentFloorRequestInfoOrBuilder() { + return rentFloorRequestInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.getDefaultInstance() : rentFloorRequestInfo_; + } + + public static final int UGCNPCGUIDS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList ugcNpcGuids_; + /** + * repeated string ugcNpcGuids = 3; + * @return A list containing the ugcNpcGuids. + */ + public com.google.protobuf.ProtocolStringList + getUgcNpcGuidsList() { + return ugcNpcGuids_; + } + /** + * repeated string ugcNpcGuids = 3; + * @return The count of ugcNpcGuids. + */ + public int getUgcNpcGuidsCount() { + return ugcNpcGuids_.size(); + } + /** + * repeated string ugcNpcGuids = 3; + * @param index The index of the element to return. + * @return The ugcNpcGuids at the given index. + */ + public java.lang.String getUgcNpcGuids(int index) { + return ugcNpcGuids_.get(index); + } + /** + * repeated string ugcNpcGuids = 3; + * @param index The index of the value to return. + * @return The bytes of the ugcNpcGuids at the given index. + */ + public com.google.protobuf.ByteString + getUgcNpcGuidsBytes(int index) { + return ugcNpcGuids_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exceptServerName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, exceptServerName_); + } + if (rentFloorRequestInfo_ != null) { + output.writeMessage(2, getRentFloorRequestInfo()); + } + for (int i = 0; i < ugcNpcGuids_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ugcNpcGuids_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exceptServerName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, exceptServerName_); + } + if (rentFloorRequestInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRentFloorRequestInfo()); + } + { + int dataSize = 0; + for (int i = 0; i < ugcNpcGuids_.size(); i++) { + dataSize += computeStringSizeNoTag(ugcNpcGuids_.getRaw(i)); + } + size += dataSize; + size += 1 * getUgcNpcGuidsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR) obj; + + if (!getExceptServerName() + .equals(other.getExceptServerName())) return false; + if (hasRentFloorRequestInfo() != other.hasRentFloorRequestInfo()) return false; + if (hasRentFloorRequestInfo()) { + if (!getRentFloorRequestInfo() + .equals(other.getRentFloorRequestInfo())) return false; + } + if (!getUgcNpcGuidsList() + .equals(other.getUgcNpcGuidsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + EXCEPTSERVERNAME_FIELD_NUMBER; + hash = (53 * hash) + getExceptServerName().hashCode(); + if (hasRentFloorRequestInfo()) { + hash = (37 * hash) + RENTFLOORREQUESTINFO_FIELD_NUMBER; + hash = (53 * hash) + getRentFloorRequestInfo().hashCode(); + } + if (getUgcNpcGuidsCount() > 0) { + hash = (37 * hash) + UGCNPCGUIDS_FIELD_NUMBER; + hash = (53 * hash) + getUgcNpcGuidsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_RENT_FLOOR} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_NTF_RENT_FLOOR) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOROrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_RENT_FLOOR_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_RENT_FLOOR_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + exceptServerName_ = ""; + rentFloorRequestInfo_ = null; + if (rentFloorRequestInfoBuilder_ != null) { + rentFloorRequestInfoBuilder_.dispose(); + rentFloorRequestInfoBuilder_ = null; + } + ugcNpcGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_RENT_FLOOR_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR result) { + if (((bitField0_ & 0x00000004) != 0)) { + ugcNpcGuids_ = ugcNpcGuids_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.ugcNpcGuids_ = ugcNpcGuids_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.exceptServerName_ = exceptServerName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.rentFloorRequestInfo_ = rentFloorRequestInfoBuilder_ == null + ? rentFloorRequestInfo_ + : rentFloorRequestInfoBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.getDefaultInstance()) return this; + if (!other.getExceptServerName().isEmpty()) { + exceptServerName_ = other.exceptServerName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasRentFloorRequestInfo()) { + mergeRentFloorRequestInfo(other.getRentFloorRequestInfo()); + } + if (!other.ugcNpcGuids_.isEmpty()) { + if (ugcNpcGuids_.isEmpty()) { + ugcNpcGuids_ = other.ugcNpcGuids_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureUgcNpcGuidsIsMutable(); + ugcNpcGuids_.addAll(other.ugcNpcGuids_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + exceptServerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRentFloorRequestInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUgcNpcGuidsIsMutable(); + ugcNpcGuids_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object exceptServerName_ = ""; + /** + * string exceptServerName = 1; + * @return The exceptServerName. + */ + public java.lang.String getExceptServerName() { + java.lang.Object ref = exceptServerName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + exceptServerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string exceptServerName = 1; + * @return The bytes for exceptServerName. + */ + public com.google.protobuf.ByteString + getExceptServerNameBytes() { + java.lang.Object ref = exceptServerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + exceptServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string exceptServerName = 1; + * @param value The exceptServerName to set. + * @return This builder for chaining. + */ + public Builder setExceptServerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + exceptServerName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string exceptServerName = 1; + * @return This builder for chaining. + */ + public Builder clearExceptServerName() { + exceptServerName_ = getDefaultInstance().getExceptServerName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string exceptServerName = 1; + * @param value The bytes for exceptServerName to set. + * @return This builder for chaining. + */ + public Builder setExceptServerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + exceptServerName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo rentFloorRequestInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo, com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfoOrBuilder> rentFloorRequestInfoBuilder_; + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + * @return Whether the rentFloorRequestInfo field is set. + */ + public boolean hasRentFloorRequestInfo() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + * @return The rentFloorRequestInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo getRentFloorRequestInfo() { + if (rentFloorRequestInfoBuilder_ == null) { + return rentFloorRequestInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.getDefaultInstance() : rentFloorRequestInfo_; + } else { + return rentFloorRequestInfoBuilder_.getMessage(); + } + } + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + */ + public Builder setRentFloorRequestInfo(com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo value) { + if (rentFloorRequestInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rentFloorRequestInfo_ = value; + } else { + rentFloorRequestInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + */ + public Builder setRentFloorRequestInfo( + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.Builder builderForValue) { + if (rentFloorRequestInfoBuilder_ == null) { + rentFloorRequestInfo_ = builderForValue.build(); + } else { + rentFloorRequestInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + */ + public Builder mergeRentFloorRequestInfo(com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo value) { + if (rentFloorRequestInfoBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + rentFloorRequestInfo_ != null && + rentFloorRequestInfo_ != com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.getDefaultInstance()) { + getRentFloorRequestInfoBuilder().mergeFrom(value); + } else { + rentFloorRequestInfo_ = value; + } + } else { + rentFloorRequestInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + */ + public Builder clearRentFloorRequestInfo() { + bitField0_ = (bitField0_ & ~0x00000002); + rentFloorRequestInfo_ = null; + if (rentFloorRequestInfoBuilder_ != null) { + rentFloorRequestInfoBuilder_.dispose(); + rentFloorRequestInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.Builder getRentFloorRequestInfoBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getRentFloorRequestInfoFieldBuilder().getBuilder(); + } + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfoOrBuilder getRentFloorRequestInfoOrBuilder() { + if (rentFloorRequestInfoBuilder_ != null) { + return rentFloorRequestInfoBuilder_.getMessageOrBuilder(); + } else { + return rentFloorRequestInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.getDefaultInstance() : rentFloorRequestInfo_; + } + } + /** + * .RentFloorRequestInfo rentFloorRequestInfo = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo, com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfoOrBuilder> + getRentFloorRequestInfoFieldBuilder() { + if (rentFloorRequestInfoBuilder_ == null) { + rentFloorRequestInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo, com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.RentFloorRequestInfoOrBuilder>( + getRentFloorRequestInfo(), + getParentForChildren(), + isClean()); + rentFloorRequestInfo_ = null; + } + return rentFloorRequestInfoBuilder_; + } + + private com.google.protobuf.LazyStringList ugcNpcGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUgcNpcGuidsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + ugcNpcGuids_ = new com.google.protobuf.LazyStringArrayList(ugcNpcGuids_); + bitField0_ |= 0x00000004; + } + } + /** + * repeated string ugcNpcGuids = 3; + * @return A list containing the ugcNpcGuids. + */ + public com.google.protobuf.ProtocolStringList + getUgcNpcGuidsList() { + return ugcNpcGuids_.getUnmodifiableView(); + } + /** + * repeated string ugcNpcGuids = 3; + * @return The count of ugcNpcGuids. + */ + public int getUgcNpcGuidsCount() { + return ugcNpcGuids_.size(); + } + /** + * repeated string ugcNpcGuids = 3; + * @param index The index of the element to return. + * @return The ugcNpcGuids at the given index. + */ + public java.lang.String getUgcNpcGuids(int index) { + return ugcNpcGuids_.get(index); + } + /** + * repeated string ugcNpcGuids = 3; + * @param index The index of the value to return. + * @return The bytes of the ugcNpcGuids at the given index. + */ + public com.google.protobuf.ByteString + getUgcNpcGuidsBytes(int index) { + return ugcNpcGuids_.getByteString(index); + } + /** + * repeated string ugcNpcGuids = 3; + * @param index The index to set the value at. + * @param value The ugcNpcGuids to set. + * @return This builder for chaining. + */ + public Builder setUgcNpcGuids( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureUgcNpcGuidsIsMutable(); + ugcNpcGuids_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string ugcNpcGuids = 3; + * @param value The ugcNpcGuids to add. + * @return This builder for chaining. + */ + public Builder addUgcNpcGuids( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureUgcNpcGuidsIsMutable(); + ugcNpcGuids_.add(value); + onChanged(); + return this; + } + /** + * repeated string ugcNpcGuids = 3; + * @param values The ugcNpcGuids to add. + * @return This builder for chaining. + */ + public Builder addAllUgcNpcGuids( + java.lang.Iterable values) { + ensureUgcNpcGuidsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ugcNpcGuids_); + onChanged(); + return this; + } + /** + * repeated string ugcNpcGuids = 3; + * @return This builder for chaining. + */ + public Builder clearUgcNpcGuids() { + ugcNpcGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * repeated string ugcNpcGuids = 3; + * @param value The bytes of the ugcNpcGuids to add. + * @return This builder for chaining. + */ + public Builder addUgcNpcGuidsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureUgcNpcGuidsIsMutable(); + ugcNpcGuids_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_NTF_RENT_FLOOR) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_NTF_RENT_FLOOR) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_NTF_RENT_FLOOR parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOSOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) + com.google.protobuf.MessageOrBuilder { + + /** + * string exceptServerName = 1; + * @return The exceptServerName. + */ + java.lang.String getExceptServerName(); + /** + * string exceptServerName = 1; + * @return The bytes for exceptServerName. + */ + com.google.protobuf.ByteString + getExceptServerNameBytes(); + + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + java.util.List + getModifyFloorLinkedInfosList(); + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo getModifyFloorLinkedInfos(int index); + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + int getModifyFloorLinkedInfosCount(); + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + java.util.List + getModifyFloorLinkedInfosOrBuilderList(); + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfoOrBuilder getModifyFloorLinkedInfosOrBuilder( + int index); + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS} + */ + public static final class GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) + GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOSOrBuilder { + private static final long serialVersionUID = 0L; + // Use GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.newBuilder() to construct. + private GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS() { + exceptServerName_ = ""; + modifyFloorLinkedInfos_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.Builder.class); + } + + public static final int EXCEPTSERVERNAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object exceptServerName_ = ""; + /** + * string exceptServerName = 1; + * @return The exceptServerName. + */ + @java.lang.Override + public java.lang.String getExceptServerName() { + java.lang.Object ref = exceptServerName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + exceptServerName_ = s; + return s; + } + } + /** + * string exceptServerName = 1; + * @return The bytes for exceptServerName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getExceptServerNameBytes() { + java.lang.Object ref = exceptServerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + exceptServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MODIFYFLOORLINKEDINFOS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List modifyFloorLinkedInfos_; + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + @java.lang.Override + public java.util.List getModifyFloorLinkedInfosList() { + return modifyFloorLinkedInfos_; + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + @java.lang.Override + public java.util.List + getModifyFloorLinkedInfosOrBuilderList() { + return modifyFloorLinkedInfos_; + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + @java.lang.Override + public int getModifyFloorLinkedInfosCount() { + return modifyFloorLinkedInfos_.size(); + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo getModifyFloorLinkedInfos(int index) { + return modifyFloorLinkedInfos_.get(index); + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfoOrBuilder getModifyFloorLinkedInfosOrBuilder( + int index) { + return modifyFloorLinkedInfos_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exceptServerName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, exceptServerName_); + } + for (int i = 0; i < modifyFloorLinkedInfos_.size(); i++) { + output.writeMessage(2, modifyFloorLinkedInfos_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exceptServerName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, exceptServerName_); + } + for (int i = 0; i < modifyFloorLinkedInfos_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, modifyFloorLinkedInfos_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) obj; + + if (!getExceptServerName() + .equals(other.getExceptServerName())) return false; + if (!getModifyFloorLinkedInfosList() + .equals(other.getModifyFloorLinkedInfosList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + EXCEPTSERVERNAME_FIELD_NUMBER; + hash = (53 * hash) + getExceptServerName().hashCode(); + if (getModifyFloorLinkedInfosCount() > 0) { + hash = (37 * hash) + MODIFYFLOORLINKEDINFOS_FIELD_NUMBER; + hash = (53 * hash) + getModifyFloorLinkedInfosList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOSOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + exceptServerName_ = ""; + if (modifyFloorLinkedInfosBuilder_ == null) { + modifyFloorLinkedInfos_ = java.util.Collections.emptyList(); + } else { + modifyFloorLinkedInfos_ = null; + modifyFloorLinkedInfosBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS result) { + if (modifyFloorLinkedInfosBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + modifyFloorLinkedInfos_ = java.util.Collections.unmodifiableList(modifyFloorLinkedInfos_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.modifyFloorLinkedInfos_ = modifyFloorLinkedInfos_; + } else { + result.modifyFloorLinkedInfos_ = modifyFloorLinkedInfosBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.exceptServerName_ = exceptServerName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.getDefaultInstance()) return this; + if (!other.getExceptServerName().isEmpty()) { + exceptServerName_ = other.exceptServerName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (modifyFloorLinkedInfosBuilder_ == null) { + if (!other.modifyFloorLinkedInfos_.isEmpty()) { + if (modifyFloorLinkedInfos_.isEmpty()) { + modifyFloorLinkedInfos_ = other.modifyFloorLinkedInfos_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureModifyFloorLinkedInfosIsMutable(); + modifyFloorLinkedInfos_.addAll(other.modifyFloorLinkedInfos_); + } + onChanged(); + } + } else { + if (!other.modifyFloorLinkedInfos_.isEmpty()) { + if (modifyFloorLinkedInfosBuilder_.isEmpty()) { + modifyFloorLinkedInfosBuilder_.dispose(); + modifyFloorLinkedInfosBuilder_ = null; + modifyFloorLinkedInfos_ = other.modifyFloorLinkedInfos_; + bitField0_ = (bitField0_ & ~0x00000002); + modifyFloorLinkedInfosBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getModifyFloorLinkedInfosFieldBuilder() : null; + } else { + modifyFloorLinkedInfosBuilder_.addAllMessages(other.modifyFloorLinkedInfos_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + exceptServerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.parser(), + extensionRegistry); + if (modifyFloorLinkedInfosBuilder_ == null) { + ensureModifyFloorLinkedInfosIsMutable(); + modifyFloorLinkedInfos_.add(m); + } else { + modifyFloorLinkedInfosBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object exceptServerName_ = ""; + /** + * string exceptServerName = 1; + * @return The exceptServerName. + */ + public java.lang.String getExceptServerName() { + java.lang.Object ref = exceptServerName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + exceptServerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string exceptServerName = 1; + * @return The bytes for exceptServerName. + */ + public com.google.protobuf.ByteString + getExceptServerNameBytes() { + java.lang.Object ref = exceptServerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + exceptServerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string exceptServerName = 1; + * @param value The exceptServerName to set. + * @return This builder for chaining. + */ + public Builder setExceptServerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + exceptServerName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string exceptServerName = 1; + * @return This builder for chaining. + */ + public Builder clearExceptServerName() { + exceptServerName_ = getDefaultInstance().getExceptServerName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string exceptServerName = 1; + * @param value The bytes for exceptServerName to set. + * @return This builder for chaining. + */ + public Builder setExceptServerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + exceptServerName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.util.List modifyFloorLinkedInfos_ = + java.util.Collections.emptyList(); + private void ensureModifyFloorLinkedInfosIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + modifyFloorLinkedInfos_ = new java.util.ArrayList(modifyFloorLinkedInfos_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfoOrBuilder> modifyFloorLinkedInfosBuilder_; + + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public java.util.List getModifyFloorLinkedInfosList() { + if (modifyFloorLinkedInfosBuilder_ == null) { + return java.util.Collections.unmodifiableList(modifyFloorLinkedInfos_); + } else { + return modifyFloorLinkedInfosBuilder_.getMessageList(); + } + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public int getModifyFloorLinkedInfosCount() { + if (modifyFloorLinkedInfosBuilder_ == null) { + return modifyFloorLinkedInfos_.size(); + } else { + return modifyFloorLinkedInfosBuilder_.getCount(); + } + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo getModifyFloorLinkedInfos(int index) { + if (modifyFloorLinkedInfosBuilder_ == null) { + return modifyFloorLinkedInfos_.get(index); + } else { + return modifyFloorLinkedInfosBuilder_.getMessage(index); + } + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public Builder setModifyFloorLinkedInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo value) { + if (modifyFloorLinkedInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureModifyFloorLinkedInfosIsMutable(); + modifyFloorLinkedInfos_.set(index, value); + onChanged(); + } else { + modifyFloorLinkedInfosBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public Builder setModifyFloorLinkedInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.Builder builderForValue) { + if (modifyFloorLinkedInfosBuilder_ == null) { + ensureModifyFloorLinkedInfosIsMutable(); + modifyFloorLinkedInfos_.set(index, builderForValue.build()); + onChanged(); + } else { + modifyFloorLinkedInfosBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public Builder addModifyFloorLinkedInfos(com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo value) { + if (modifyFloorLinkedInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureModifyFloorLinkedInfosIsMutable(); + modifyFloorLinkedInfos_.add(value); + onChanged(); + } else { + modifyFloorLinkedInfosBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public Builder addModifyFloorLinkedInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo value) { + if (modifyFloorLinkedInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureModifyFloorLinkedInfosIsMutable(); + modifyFloorLinkedInfos_.add(index, value); + onChanged(); + } else { + modifyFloorLinkedInfosBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public Builder addModifyFloorLinkedInfos( + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.Builder builderForValue) { + if (modifyFloorLinkedInfosBuilder_ == null) { + ensureModifyFloorLinkedInfosIsMutable(); + modifyFloorLinkedInfos_.add(builderForValue.build()); + onChanged(); + } else { + modifyFloorLinkedInfosBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public Builder addModifyFloorLinkedInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.Builder builderForValue) { + if (modifyFloorLinkedInfosBuilder_ == null) { + ensureModifyFloorLinkedInfosIsMutable(); + modifyFloorLinkedInfos_.add(index, builderForValue.build()); + onChanged(); + } else { + modifyFloorLinkedInfosBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public Builder addAllModifyFloorLinkedInfos( + java.lang.Iterable values) { + if (modifyFloorLinkedInfosBuilder_ == null) { + ensureModifyFloorLinkedInfosIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, modifyFloorLinkedInfos_); + onChanged(); + } else { + modifyFloorLinkedInfosBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public Builder clearModifyFloorLinkedInfos() { + if (modifyFloorLinkedInfosBuilder_ == null) { + modifyFloorLinkedInfos_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + modifyFloorLinkedInfosBuilder_.clear(); + } + return this; + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public Builder removeModifyFloorLinkedInfos(int index) { + if (modifyFloorLinkedInfosBuilder_ == null) { + ensureModifyFloorLinkedInfosIsMutable(); + modifyFloorLinkedInfos_.remove(index); + onChanged(); + } else { + modifyFloorLinkedInfosBuilder_.remove(index); + } + return this; + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.Builder getModifyFloorLinkedInfosBuilder( + int index) { + return getModifyFloorLinkedInfosFieldBuilder().getBuilder(index); + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfoOrBuilder getModifyFloorLinkedInfosOrBuilder( + int index) { + if (modifyFloorLinkedInfosBuilder_ == null) { + return modifyFloorLinkedInfos_.get(index); } else { + return modifyFloorLinkedInfosBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public java.util.List + getModifyFloorLinkedInfosOrBuilderList() { + if (modifyFloorLinkedInfosBuilder_ != null) { + return modifyFloorLinkedInfosBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(modifyFloorLinkedInfos_); + } + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.Builder addModifyFloorLinkedInfosBuilder() { + return getModifyFloorLinkedInfosFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.getDefaultInstance()); + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.Builder addModifyFloorLinkedInfosBuilder( + int index) { + return getModifyFloorLinkedInfosFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.getDefaultInstance()); + } + /** + * repeated .ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2; + */ + public java.util.List + getModifyFloorLinkedInfosBuilderList() { + return getModifyFloorLinkedInfosFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfoOrBuilder> + getModifyFloorLinkedInfosFieldBuilder() { + if (modifyFloorLinkedInfosBuilder_ == null) { + modifyFloorLinkedInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ModifyFloorLinkedInfoOrBuilder>( + modifyFloorLinkedInfos_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + modifyFloorLinkedInfos_ = null; + } + return modifyFloorLinkedInfosBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) + } + + // @@protoc_insertion_point(class_scope:ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int msgCase_ = 0; + private java.lang.Object msg_; + public enum MsgCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + CHAT(3), + KICKREQ(4), + KICKRES(5), + WHITELISTUPDATENOTI(7), + BLACKLISTUPDATENOTI(8), + INSPECTIONREQ(9), + CHANGESERVERCONFIGREQ(10), + ALLKICKNORMALUSERNOTI(11), + AWSAUTOSCALEGROUPOPTIONREQ(12), + AWSAUTOSCALEGROUPOPTIONRES(13), + RECEIVEMAILNOTI(14), + EXCHANGEMANNEQUINDISPLAYITEMNOTI(15), + GETAWSAUTOSCALEOPTIONREQ(16), + GETAWSAUTOSCALEOPTIONRES(17), + READYFORDISTROYREQ(18), + LOGINNOTITOFRIEND(19), + LOGOUTNOTITOFRIEND(20), + MANAGERSERVERACTIVEREQ(21), + MANAGERSERVERACTIVERES(22), + RECEIVEINVITEMYHOMENOTI(23), + REPLYINVITEMYHOMENOTI(24), + STATENOTITOFRIEND(25), + FRIENDREQUESTNOTI(26), + FRIENDACCEPTNOTI(27), + FRIENDDELETENOTI(28), + CANCELFRIENDREQUESTNOTI(29), + INVITEPARTYNOTI(30), + REPLYINVITEPARTYNOTI(31), + JOINPARTYMEMBERNOTI(33), + LEAVEPARTYMEMBERNOTI(34), + CHANGEPARTYSERVERNAMENOTI(35), + CHANGEPARTYLEADERNOTI(37), + EXCHANGEPARTYNAMENOTI(38), + EXCHANGEPARTYMEMBERMARKNOTI(40), + BANPARTYNOTI(41), + SUMMONPARTYMEMBERNOTI(42), + REPLYSUMMONPARTYMEMBERNOTI(43), + NOTICECHATNOTI(44), + SYSTEMMAILNOTI(45), + PARTYVOTENOTI(46), + REPLYPARTYVOTENOTI(47), + PARTYVOTERESULTNOTI(48), + PARTYINSTANCEINFONOTI(49), + SESSIONINFONOTI(50), + KICKEDFROMFRIENDSMYHOMENOTI(51), + CANCELSUMMONPARTYMEMBERNOTI(53), + PARTYMEMBERLOCATIONNOTI(54), + NTFFRIENDLEAVINGHOME(55), + NTFINVITEPARTYRECVRESULT(56), + NTFDESTROYPARTY(57), + REQRESERVATIONENTERTOSERVER(58), + ACKRESERVATIONENTERTOSERVER(59), + NTFPARTYCHAT(60), + NTFPARTYINFO(61), + NTFRETURNUSERLOGOUT(62), + NTFCLEARPARTYSUMMON(63), + NTFCRAFTHELP(64), + REQRESERVATIONCANCELTOSERVER(65), + NTFEXCHANGEMYHOME(66), + NTFUGCNPCRANKREFRESH(67), + NTFDELETEPARTYINVITESEND(68), + NTFMYHOMEHOSTENTEREDITROOM(69), + NTFUSERKICK(70), + NTFMAILSEND(71), + NTFOPERATIONSYSTEMNOTICECHAT(72), + ACKRESERVATIONCANCELTOSERVER(73), + NTFFARMINGEND(74), + NTFRENTFLOOR(75), + NTFMODIFYFLOORLINKEDINFOS(76), + NTFBEACONCOMPACTSYNC(77), + MSG_NOT_SET(0); + private final int value; + private MsgCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MsgCase valueOf(int value) { + return forNumber(value); + } + + public static MsgCase forNumber(int value) { + switch (value) { + case 3: return CHAT; + case 4: return KICKREQ; + case 5: return KICKRES; + case 7: return WHITELISTUPDATENOTI; + case 8: return BLACKLISTUPDATENOTI; + case 9: return INSPECTIONREQ; + case 10: return CHANGESERVERCONFIGREQ; + case 11: return ALLKICKNORMALUSERNOTI; + case 12: return AWSAUTOSCALEGROUPOPTIONREQ; + case 13: return AWSAUTOSCALEGROUPOPTIONRES; + case 14: return RECEIVEMAILNOTI; + case 15: return EXCHANGEMANNEQUINDISPLAYITEMNOTI; + case 16: return GETAWSAUTOSCALEOPTIONREQ; + case 17: return GETAWSAUTOSCALEOPTIONRES; + case 18: return READYFORDISTROYREQ; + case 19: return LOGINNOTITOFRIEND; + case 20: return LOGOUTNOTITOFRIEND; + case 21: return MANAGERSERVERACTIVEREQ; + case 22: return MANAGERSERVERACTIVERES; + case 23: return RECEIVEINVITEMYHOMENOTI; + case 24: return REPLYINVITEMYHOMENOTI; + case 25: return STATENOTITOFRIEND; + case 26: return FRIENDREQUESTNOTI; + case 27: return FRIENDACCEPTNOTI; + case 28: return FRIENDDELETENOTI; + case 29: return CANCELFRIENDREQUESTNOTI; + case 30: return INVITEPARTYNOTI; + case 31: return REPLYINVITEPARTYNOTI; + case 33: return JOINPARTYMEMBERNOTI; + case 34: return LEAVEPARTYMEMBERNOTI; + case 35: return CHANGEPARTYSERVERNAMENOTI; + case 37: return CHANGEPARTYLEADERNOTI; + case 38: return EXCHANGEPARTYNAMENOTI; + case 40: return EXCHANGEPARTYMEMBERMARKNOTI; + case 41: return BANPARTYNOTI; + case 42: return SUMMONPARTYMEMBERNOTI; + case 43: return REPLYSUMMONPARTYMEMBERNOTI; + case 44: return NOTICECHATNOTI; + case 45: return SYSTEMMAILNOTI; + case 46: return PARTYVOTENOTI; + case 47: return REPLYPARTYVOTENOTI; + case 48: return PARTYVOTERESULTNOTI; + case 49: return PARTYINSTANCEINFONOTI; + case 50: return SESSIONINFONOTI; + case 51: return KICKEDFROMFRIENDSMYHOMENOTI; + case 53: return CANCELSUMMONPARTYMEMBERNOTI; + case 54: return PARTYMEMBERLOCATIONNOTI; + case 55: return NTFFRIENDLEAVINGHOME; + case 56: return NTFINVITEPARTYRECVRESULT; + case 57: return NTFDESTROYPARTY; + case 58: return REQRESERVATIONENTERTOSERVER; + case 59: return ACKRESERVATIONENTERTOSERVER; + case 60: return NTFPARTYCHAT; + case 61: return NTFPARTYINFO; + case 62: return NTFRETURNUSERLOGOUT; + case 63: return NTFCLEARPARTYSUMMON; + case 64: return NTFCRAFTHELP; + case 65: return REQRESERVATIONCANCELTOSERVER; + case 66: return NTFEXCHANGEMYHOME; + case 67: return NTFUGCNPCRANKREFRESH; + case 68: return NTFDELETEPARTYINVITESEND; + case 69: return NTFMYHOMEHOSTENTEREDITROOM; + case 70: return NTFUSERKICK; + case 71: return NTFMAILSEND; + case 72: return NTFOPERATIONSYSTEMNOTICECHAT; + case 73: return ACKRESERVATIONCANCELTOSERVER; + case 74: return NTFFARMINGEND; + case 75: return NTFRENTFLOOR; + case 76: return NTFMODIFYFLOORLINKEDINFOS; + case 77: return NTFBEACONCOMPACTSYNC; + case 0: return MSG_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public MsgCase + getMsgCase() { + return MsgCase.forNumber( + msgCase_); + } + + public static final int MESSAGETIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp messageTime_; + /** + * .google.protobuf.Timestamp messageTime = 1; + * @return Whether the messageTime field is set. + */ + @java.lang.Override + public boolean hasMessageTime() { + return messageTime_ != null; + } + /** + * .google.protobuf.Timestamp messageTime = 1; + * @return The messageTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getMessageTime() { + return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; + } + /** + * .google.protobuf.Timestamp messageTime = 1; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { + return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; + } + + public static final int MESSAGESENDER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object messageSender_ = ""; + /** + * string messageSender = 2; + * @return The messageSender. + */ + @java.lang.Override + public java.lang.String getMessageSender() { + java.lang.Object ref = messageSender_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + messageSender_ = s; + return s; + } + } + /** + * string messageSender = 2; + * @return The bytes for messageSender. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMessageSenderBytes() { + java.lang.Object ref = messageSender_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + messageSender_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CHAT_FIELD_NUMBER = 3; + /** + * .ServerMessage.Chat chat = 3; + * @return Whether the chat field is set. + */ + @java.lang.Override + public boolean hasChat() { + return msgCase_ == 3; + } + /** + * .ServerMessage.Chat chat = 3; + * @return The chat. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat getChat() { + if (msgCase_ == 3) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.getDefaultInstance(); + } + /** + * .ServerMessage.Chat chat = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChatOrBuilder getChatOrBuilder() { + if (msgCase_ == 3) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.getDefaultInstance(); + } + + public static final int KICKREQ_FIELD_NUMBER = 4; + /** + * .ServerMessage.KickReq kickReq = 4; + * @return Whether the kickReq field is set. + */ + @java.lang.Override + public boolean hasKickReq() { + return msgCase_ == 4; + } + /** + * .ServerMessage.KickReq kickReq = 4; + * @return The kickReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq getKickReq() { + if (msgCase_ == 4) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.getDefaultInstance(); + } + /** + * .ServerMessage.KickReq kickReq = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReqOrBuilder getKickReqOrBuilder() { + if (msgCase_ == 4) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.getDefaultInstance(); + } + + public static final int KICKRES_FIELD_NUMBER = 5; + /** + * .ServerMessage.KickRes kickRes = 5; + * @return Whether the kickRes field is set. + */ + @java.lang.Override + public boolean hasKickRes() { + return msgCase_ == 5; + } + /** + * .ServerMessage.KickRes kickRes = 5; + * @return The kickRes. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes getKickRes() { + if (msgCase_ == 5) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.getDefaultInstance(); + } + /** + * .ServerMessage.KickRes kickRes = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickResOrBuilder getKickResOrBuilder() { + if (msgCase_ == 5) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.getDefaultInstance(); + } + + public static final int WHITELISTUPDATENOTI_FIELD_NUMBER = 7; + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + * @return Whether the whiteListUpdateNoti field is set. + */ + @java.lang.Override + public boolean hasWhiteListUpdateNoti() { + return msgCase_ == 7; + } + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + * @return The whiteListUpdateNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti getWhiteListUpdateNoti() { + if (msgCase_ == 7) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.getDefaultInstance(); + } + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNotiOrBuilder getWhiteListUpdateNotiOrBuilder() { + if (msgCase_ == 7) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.getDefaultInstance(); + } + + public static final int BLACKLISTUPDATENOTI_FIELD_NUMBER = 8; + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + * @return Whether the blackListUpdateNoti field is set. + */ + @java.lang.Override + public boolean hasBlackListUpdateNoti() { + return msgCase_ == 8; + } + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + * @return The blackListUpdateNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti getBlackListUpdateNoti() { + if (msgCase_ == 8) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.getDefaultInstance(); + } + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNotiOrBuilder getBlackListUpdateNotiOrBuilder() { + if (msgCase_ == 8) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.getDefaultInstance(); + } + + public static final int INSPECTIONREQ_FIELD_NUMBER = 9; + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + * @return Whether the inspectionReq field is set. + */ + @java.lang.Override + public boolean hasInspectionReq() { + return msgCase_ == 9; + } + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + * @return The inspectionReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq getInspectionReq() { + if (msgCase_ == 9) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.getDefaultInstance(); + } + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReqOrBuilder getInspectionReqOrBuilder() { + if (msgCase_ == 9) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.getDefaultInstance(); + } + + public static final int CHANGESERVERCONFIGREQ_FIELD_NUMBER = 10; + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + * @return Whether the changeServerConfigReq field is set. + */ + @java.lang.Override + public boolean hasChangeServerConfigReq() { + return msgCase_ == 10; + } + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + * @return The changeServerConfigReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq getChangeServerConfigReq() { + if (msgCase_ == 10) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.getDefaultInstance(); + } + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReqOrBuilder getChangeServerConfigReqOrBuilder() { + if (msgCase_ == 10) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.getDefaultInstance(); + } + + public static final int ALLKICKNORMALUSERNOTI_FIELD_NUMBER = 11; + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + * @return Whether the allKickNormalUserNoti field is set. + */ + @java.lang.Override + public boolean hasAllKickNormalUserNoti() { + return msgCase_ == 11; + } + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + * @return The allKickNormalUserNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti getAllKickNormalUserNoti() { + if (msgCase_ == 11) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.getDefaultInstance(); + } + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNotiOrBuilder getAllKickNormalUserNotiOrBuilder() { + if (msgCase_ == 11) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.getDefaultInstance(); + } + + public static final int AWSAUTOSCALEGROUPOPTIONREQ_FIELD_NUMBER = 12; + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + * @return Whether the awsAutoScaleGroupOptionReq field is set. + */ + @java.lang.Override + public boolean hasAwsAutoScaleGroupOptionReq() { + return msgCase_ == 12; + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + * @return The awsAutoScaleGroupOptionReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq getAwsAutoScaleGroupOptionReq() { + if (msgCase_ == 12) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.getDefaultInstance(); + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReqOrBuilder getAwsAutoScaleGroupOptionReqOrBuilder() { + if (msgCase_ == 12) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.getDefaultInstance(); + } + + public static final int AWSAUTOSCALEGROUPOPTIONRES_FIELD_NUMBER = 13; + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + * @return Whether the awsAutoScaleGroupOptionRes field is set. + */ + @java.lang.Override + public boolean hasAwsAutoScaleGroupOptionRes() { + return msgCase_ == 13; + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + * @return The awsAutoScaleGroupOptionRes. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes getAwsAutoScaleGroupOptionRes() { + if (msgCase_ == 13) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.getDefaultInstance(); + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionResOrBuilder getAwsAutoScaleGroupOptionResOrBuilder() { + if (msgCase_ == 13) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.getDefaultInstance(); + } + + public static final int RECEIVEMAILNOTI_FIELD_NUMBER = 14; + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + * @return Whether the receiveMailNoti field is set. + */ + @java.lang.Override + public boolean hasReceiveMailNoti() { + return msgCase_ == 14; + } + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + * @return The receiveMailNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti getReceiveMailNoti() { + if (msgCase_ == 14) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.getDefaultInstance(); + } + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNotiOrBuilder getReceiveMailNotiOrBuilder() { + if (msgCase_ == 14) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.getDefaultInstance(); + } + + public static final int EXCHANGEMANNEQUINDISPLAYITEMNOTI_FIELD_NUMBER = 15; + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + * @return Whether the exchangeMannequinDisplayItemNoti field is set. + */ + @java.lang.Override + public boolean hasExchangeMannequinDisplayItemNoti() { + return msgCase_ == 15; + } + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + * @return The exchangeMannequinDisplayItemNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti getExchangeMannequinDisplayItemNoti() { + if (msgCase_ == 15) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.getDefaultInstance(); + } + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNotiOrBuilder getExchangeMannequinDisplayItemNotiOrBuilder() { + if (msgCase_ == 15) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.getDefaultInstance(); + } + + public static final int GETAWSAUTOSCALEOPTIONREQ_FIELD_NUMBER = 16; + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + * @return Whether the getAwsAutoScaleOptionReq field is set. + */ + @java.lang.Override + public boolean hasGetAwsAutoScaleOptionReq() { + return msgCase_ == 16; + } + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + * @return The getAwsAutoScaleOptionReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq getGetAwsAutoScaleOptionReq() { + if (msgCase_ == 16) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.getDefaultInstance(); + } + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReqOrBuilder getGetAwsAutoScaleOptionReqOrBuilder() { + if (msgCase_ == 16) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.getDefaultInstance(); + } + + public static final int GETAWSAUTOSCALEOPTIONRES_FIELD_NUMBER = 17; + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + * @return Whether the getAwsAutoScaleOptionRes field is set. + */ + @java.lang.Override + public boolean hasGetAwsAutoScaleOptionRes() { + return msgCase_ == 17; + } + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + * @return The getAwsAutoScaleOptionRes. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes getGetAwsAutoScaleOptionRes() { + if (msgCase_ == 17) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.getDefaultInstance(); + } + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionResOrBuilder getGetAwsAutoScaleOptionResOrBuilder() { + if (msgCase_ == 17) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.getDefaultInstance(); + } + + public static final int READYFORDISTROYREQ_FIELD_NUMBER = 18; + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + * @return Whether the readyForDistroyReq field is set. + */ + @java.lang.Override + public boolean hasReadyForDistroyReq() { + return msgCase_ == 18; + } + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + * @return The readyForDistroyReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq getReadyForDistroyReq() { + if (msgCase_ == 18) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.getDefaultInstance(); + } + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReqOrBuilder getReadyForDistroyReqOrBuilder() { + if (msgCase_ == 18) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.getDefaultInstance(); + } + + public static final int LOGINNOTITOFRIEND_FIELD_NUMBER = 19; + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + * @return Whether the loginNotiToFriend field is set. + */ + @java.lang.Override + public boolean hasLoginNotiToFriend() { + return msgCase_ == 19; + } + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + * @return The loginNotiToFriend. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend getLoginNotiToFriend() { + if (msgCase_ == 19) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.getDefaultInstance(); + } + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriendOrBuilder getLoginNotiToFriendOrBuilder() { + if (msgCase_ == 19) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.getDefaultInstance(); + } + + public static final int LOGOUTNOTITOFRIEND_FIELD_NUMBER = 20; + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + * @return Whether the logoutNotiToFriend field is set. + */ + @java.lang.Override + public boolean hasLogoutNotiToFriend() { + return msgCase_ == 20; + } + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + * @return The logoutNotiToFriend. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend getLogoutNotiToFriend() { + if (msgCase_ == 20) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.getDefaultInstance(); + } + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriendOrBuilder getLogoutNotiToFriendOrBuilder() { + if (msgCase_ == 20) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.getDefaultInstance(); + } + + public static final int MANAGERSERVERACTIVEREQ_FIELD_NUMBER = 21; + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + * @return Whether the managerServerActiveReq field is set. + */ + @java.lang.Override + public boolean hasManagerServerActiveReq() { + return msgCase_ == 21; + } + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + * @return The managerServerActiveReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq getManagerServerActiveReq() { + if (msgCase_ == 21) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.getDefaultInstance(); + } + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReqOrBuilder getManagerServerActiveReqOrBuilder() { + if (msgCase_ == 21) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.getDefaultInstance(); + } + + public static final int MANAGERSERVERACTIVERES_FIELD_NUMBER = 22; + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + * @return Whether the managerServerActiveRes field is set. + */ + @java.lang.Override + public boolean hasManagerServerActiveRes() { + return msgCase_ == 22; + } + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + * @return The managerServerActiveRes. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes getManagerServerActiveRes() { + if (msgCase_ == 22) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.getDefaultInstance(); + } + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveResOrBuilder getManagerServerActiveResOrBuilder() { + if (msgCase_ == 22) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.getDefaultInstance(); + } + + public static final int RECEIVEINVITEMYHOMENOTI_FIELD_NUMBER = 23; + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + * @return Whether the receiveInviteMyHomeNoti field is set. + */ + @java.lang.Override + public boolean hasReceiveInviteMyHomeNoti() { + return msgCase_ == 23; + } + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + * @return The receiveInviteMyHomeNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti getReceiveInviteMyHomeNoti() { + if (msgCase_ == 23) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.getDefaultInstance(); + } + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNotiOrBuilder getReceiveInviteMyHomeNotiOrBuilder() { + if (msgCase_ == 23) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.getDefaultInstance(); + } + + public static final int REPLYINVITEMYHOMENOTI_FIELD_NUMBER = 24; + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + * @return Whether the replyInviteMyhomeNoti field is set. + */ + @java.lang.Override + public boolean hasReplyInviteMyhomeNoti() { + return msgCase_ == 24; + } + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + * @return The replyInviteMyhomeNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti getReplyInviteMyhomeNoti() { + if (msgCase_ == 24) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.getDefaultInstance(); + } + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNotiOrBuilder getReplyInviteMyhomeNotiOrBuilder() { + if (msgCase_ == 24) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.getDefaultInstance(); + } + + public static final int STATENOTITOFRIEND_FIELD_NUMBER = 25; + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + * @return Whether the stateNotiToFriend field is set. + */ + @java.lang.Override + public boolean hasStateNotiToFriend() { + return msgCase_ == 25; + } + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + * @return The stateNotiToFriend. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend getStateNotiToFriend() { + if (msgCase_ == 25) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.getDefaultInstance(); + } + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriendOrBuilder getStateNotiToFriendOrBuilder() { + if (msgCase_ == 25) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.getDefaultInstance(); + } + + public static final int FRIENDREQUESTNOTI_FIELD_NUMBER = 26; + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + * @return Whether the friendRequestNoti field is set. + */ + @java.lang.Override + public boolean hasFriendRequestNoti() { + return msgCase_ == 26; + } + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + * @return The friendRequestNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti getFriendRequestNoti() { + if (msgCase_ == 26) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.getDefaultInstance(); + } + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNotiOrBuilder getFriendRequestNotiOrBuilder() { + if (msgCase_ == 26) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.getDefaultInstance(); + } + + public static final int FRIENDACCEPTNOTI_FIELD_NUMBER = 27; + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + * @return Whether the friendAcceptNoti field is set. + */ + @java.lang.Override + public boolean hasFriendAcceptNoti() { + return msgCase_ == 27; + } + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + * @return The friendAcceptNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti getFriendAcceptNoti() { + if (msgCase_ == 27) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.getDefaultInstance(); + } + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNotiOrBuilder getFriendAcceptNotiOrBuilder() { + if (msgCase_ == 27) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.getDefaultInstance(); + } + + public static final int FRIENDDELETENOTI_FIELD_NUMBER = 28; + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + * @return Whether the friendDeleteNoti field is set. + */ + @java.lang.Override + public boolean hasFriendDeleteNoti() { + return msgCase_ == 28; + } + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + * @return The friendDeleteNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti getFriendDeleteNoti() { + if (msgCase_ == 28) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.getDefaultInstance(); + } + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNotiOrBuilder getFriendDeleteNotiOrBuilder() { + if (msgCase_ == 28) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.getDefaultInstance(); + } + + public static final int CANCELFRIENDREQUESTNOTI_FIELD_NUMBER = 29; + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + * @return Whether the cancelFriendRequestNoti field is set. + */ + @java.lang.Override + public boolean hasCancelFriendRequestNoti() { + return msgCase_ == 29; + } + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + * @return The cancelFriendRequestNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti getCancelFriendRequestNoti() { + if (msgCase_ == 29) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.getDefaultInstance(); + } + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNotiOrBuilder getCancelFriendRequestNotiOrBuilder() { + if (msgCase_ == 29) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.getDefaultInstance(); + } + + public static final int INVITEPARTYNOTI_FIELD_NUMBER = 30; + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + * @return Whether the invitePartyNoti field is set. + */ + @java.lang.Override + public boolean hasInvitePartyNoti() { + return msgCase_ == 30; + } + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + * @return The invitePartyNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti getInvitePartyNoti() { + if (msgCase_ == 30) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.getDefaultInstance(); + } + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNotiOrBuilder getInvitePartyNotiOrBuilder() { + if (msgCase_ == 30) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.getDefaultInstance(); + } + + public static final int REPLYINVITEPARTYNOTI_FIELD_NUMBER = 31; + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + * @return Whether the replyInvitePartyNoti field is set. + */ + @java.lang.Override + public boolean hasReplyInvitePartyNoti() { + return msgCase_ == 31; + } + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + * @return The replyInvitePartyNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti getReplyInvitePartyNoti() { + if (msgCase_ == 31) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.getDefaultInstance(); + } + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNotiOrBuilder getReplyInvitePartyNotiOrBuilder() { + if (msgCase_ == 31) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.getDefaultInstance(); + } + + public static final int JOINPARTYMEMBERNOTI_FIELD_NUMBER = 33; + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + * @return Whether the joinPartyMemberNoti field is set. + */ + @java.lang.Override + public boolean hasJoinPartyMemberNoti() { + return msgCase_ == 33; + } + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + * @return The joinPartyMemberNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti getJoinPartyMemberNoti() { + if (msgCase_ == 33) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.getDefaultInstance(); + } + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNotiOrBuilder getJoinPartyMemberNotiOrBuilder() { + if (msgCase_ == 33) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.getDefaultInstance(); + } + + public static final int LEAVEPARTYMEMBERNOTI_FIELD_NUMBER = 34; + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + * @return Whether the leavePartyMemberNoti field is set. + */ + @java.lang.Override + public boolean hasLeavePartyMemberNoti() { + return msgCase_ == 34; + } + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + * @return The leavePartyMemberNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti getLeavePartyMemberNoti() { + if (msgCase_ == 34) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.getDefaultInstance(); + } + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNotiOrBuilder getLeavePartyMemberNotiOrBuilder() { + if (msgCase_ == 34) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.getDefaultInstance(); + } + + public static final int CHANGEPARTYSERVERNAMENOTI_FIELD_NUMBER = 35; + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + * @return Whether the changePartyServerNameNoti field is set. + */ + @java.lang.Override + public boolean hasChangePartyServerNameNoti() { + return msgCase_ == 35; + } + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + * @return The changePartyServerNameNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti getChangePartyServerNameNoti() { + if (msgCase_ == 35) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.getDefaultInstance(); + } + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNotiOrBuilder getChangePartyServerNameNotiOrBuilder() { + if (msgCase_ == 35) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.getDefaultInstance(); + } + + public static final int CHANGEPARTYLEADERNOTI_FIELD_NUMBER = 37; + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + * @return Whether the changePartyLeaderNoti field is set. + */ + @java.lang.Override + public boolean hasChangePartyLeaderNoti() { + return msgCase_ == 37; + } + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + * @return The changePartyLeaderNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti getChangePartyLeaderNoti() { + if (msgCase_ == 37) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.getDefaultInstance(); + } + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNotiOrBuilder getChangePartyLeaderNotiOrBuilder() { + if (msgCase_ == 37) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.getDefaultInstance(); + } + + public static final int EXCHANGEPARTYNAMENOTI_FIELD_NUMBER = 38; + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + * @return Whether the exchangePartyNameNoti field is set. + */ + @java.lang.Override + public boolean hasExchangePartyNameNoti() { + return msgCase_ == 38; + } + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + * @return The exchangePartyNameNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti getExchangePartyNameNoti() { + if (msgCase_ == 38) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.getDefaultInstance(); + } + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNotiOrBuilder getExchangePartyNameNotiOrBuilder() { + if (msgCase_ == 38) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.getDefaultInstance(); + } + + public static final int EXCHANGEPARTYMEMBERMARKNOTI_FIELD_NUMBER = 40; + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + * @return Whether the exchangePartyMemberMarkNoti field is set. + */ + @java.lang.Override + public boolean hasExchangePartyMemberMarkNoti() { + return msgCase_ == 40; + } + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + * @return The exchangePartyMemberMarkNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti getExchangePartyMemberMarkNoti() { + if (msgCase_ == 40) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.getDefaultInstance(); + } + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNotiOrBuilder getExchangePartyMemberMarkNotiOrBuilder() { + if (msgCase_ == 40) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.getDefaultInstance(); + } + + public static final int BANPARTYNOTI_FIELD_NUMBER = 41; + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + * @return Whether the banPartyNoti field is set. + */ + @java.lang.Override + public boolean hasBanPartyNoti() { + return msgCase_ == 41; + } + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + * @return The banPartyNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti getBanPartyNoti() { + if (msgCase_ == 41) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.getDefaultInstance(); + } + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNotiOrBuilder getBanPartyNotiOrBuilder() { + if (msgCase_ == 41) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.getDefaultInstance(); + } + + public static final int SUMMONPARTYMEMBERNOTI_FIELD_NUMBER = 42; + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + * @return Whether the summonPartyMemberNoti field is set. + */ + @java.lang.Override + public boolean hasSummonPartyMemberNoti() { + return msgCase_ == 42; + } + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + * @return The summonPartyMemberNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti getSummonPartyMemberNoti() { + if (msgCase_ == 42) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.getDefaultInstance(); + } + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNotiOrBuilder getSummonPartyMemberNotiOrBuilder() { + if (msgCase_ == 42) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.getDefaultInstance(); + } + + public static final int REPLYSUMMONPARTYMEMBERNOTI_FIELD_NUMBER = 43; + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + * @return Whether the replySummonPartyMemberNoti field is set. + */ + @java.lang.Override + public boolean hasReplySummonPartyMemberNoti() { + return msgCase_ == 43; + } + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + * @return The replySummonPartyMemberNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti getReplySummonPartyMemberNoti() { + if (msgCase_ == 43) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.getDefaultInstance(); + } + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNotiOrBuilder getReplySummonPartyMemberNotiOrBuilder() { + if (msgCase_ == 43) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.getDefaultInstance(); + } + + public static final int NOTICECHATNOTI_FIELD_NUMBER = 44; + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + * @return Whether the noticeChatNoti field is set. + */ + @java.lang.Override + public boolean hasNoticeChatNoti() { + return msgCase_ == 44; + } + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + * @return The noticeChatNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti getNoticeChatNoti() { + if (msgCase_ == 44) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.getDefaultInstance(); + } + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNotiOrBuilder getNoticeChatNotiOrBuilder() { + if (msgCase_ == 44) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.getDefaultInstance(); + } + + public static final int SYSTEMMAILNOTI_FIELD_NUMBER = 45; + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + * @return Whether the systemMailNoti field is set. + */ + @java.lang.Override + public boolean hasSystemMailNoti() { + return msgCase_ == 45; + } + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + * @return The systemMailNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti getSystemMailNoti() { + if (msgCase_ == 45) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.getDefaultInstance(); + } + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNotiOrBuilder getSystemMailNotiOrBuilder() { + if (msgCase_ == 45) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.getDefaultInstance(); + } + + public static final int PARTYVOTENOTI_FIELD_NUMBER = 46; + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + * @return Whether the partyVoteNoti field is set. + */ + @java.lang.Override + public boolean hasPartyVoteNoti() { + return msgCase_ == 46; + } + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + * @return The partyVoteNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti getPartyVoteNoti() { + if (msgCase_ == 46) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.getDefaultInstance(); + } + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNotiOrBuilder getPartyVoteNotiOrBuilder() { + if (msgCase_ == 46) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.getDefaultInstance(); + } + + public static final int REPLYPARTYVOTENOTI_FIELD_NUMBER = 47; + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + * @return Whether the replyPartyVoteNoti field is set. + */ + @java.lang.Override + public boolean hasReplyPartyVoteNoti() { + return msgCase_ == 47; + } + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + * @return The replyPartyVoteNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti getReplyPartyVoteNoti() { + if (msgCase_ == 47) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.getDefaultInstance(); + } + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNotiOrBuilder getReplyPartyVoteNotiOrBuilder() { + if (msgCase_ == 47) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.getDefaultInstance(); + } + + public static final int PARTYVOTERESULTNOTI_FIELD_NUMBER = 48; + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + * @return Whether the partyVoteResultNoti field is set. + */ + @java.lang.Override + public boolean hasPartyVoteResultNoti() { + return msgCase_ == 48; + } + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + * @return The partyVoteResultNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti getPartyVoteResultNoti() { + if (msgCase_ == 48) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.getDefaultInstance(); + } + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNotiOrBuilder getPartyVoteResultNotiOrBuilder() { + if (msgCase_ == 48) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.getDefaultInstance(); + } + + public static final int PARTYINSTANCEINFONOTI_FIELD_NUMBER = 49; + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + * @return Whether the partyInstanceInfoNoti field is set. + */ + @java.lang.Override + public boolean hasPartyInstanceInfoNoti() { + return msgCase_ == 49; + } + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + * @return The partyInstanceInfoNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti getPartyInstanceInfoNoti() { + if (msgCase_ == 49) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.getDefaultInstance(); + } + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNotiOrBuilder getPartyInstanceInfoNotiOrBuilder() { + if (msgCase_ == 49) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.getDefaultInstance(); + } + + public static final int SESSIONINFONOTI_FIELD_NUMBER = 50; + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + * @return Whether the sessionInfoNoti field is set. + */ + @java.lang.Override + public boolean hasSessionInfoNoti() { + return msgCase_ == 50; + } + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + * @return The sessionInfoNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti getSessionInfoNoti() { + if (msgCase_ == 50) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.getDefaultInstance(); + } + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNotiOrBuilder getSessionInfoNotiOrBuilder() { + if (msgCase_ == 50) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.getDefaultInstance(); + } + + public static final int KICKEDFROMFRIENDSMYHOMENOTI_FIELD_NUMBER = 51; + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + * @return Whether the kickedFromFriendsMyHomeNoti field is set. + */ + @java.lang.Override + public boolean hasKickedFromFriendsMyHomeNoti() { + return msgCase_ == 51; + } + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + * @return The kickedFromFriendsMyHomeNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti getKickedFromFriendsMyHomeNoti() { + if (msgCase_ == 51) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.getDefaultInstance(); + } + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNotiOrBuilder getKickedFromFriendsMyHomeNotiOrBuilder() { + if (msgCase_ == 51) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.getDefaultInstance(); + } + + public static final int CANCELSUMMONPARTYMEMBERNOTI_FIELD_NUMBER = 53; + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + * @return Whether the cancelSummonPartyMemberNoti field is set. + */ + @java.lang.Override + public boolean hasCancelSummonPartyMemberNoti() { + return msgCase_ == 53; + } + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + * @return The cancelSummonPartyMemberNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti getCancelSummonPartyMemberNoti() { + if (msgCase_ == 53) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.getDefaultInstance(); + } + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNotiOrBuilder getCancelSummonPartyMemberNotiOrBuilder() { + if (msgCase_ == 53) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.getDefaultInstance(); + } + + public static final int PARTYMEMBERLOCATIONNOTI_FIELD_NUMBER = 54; + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + * @return Whether the partyMemberLocationNoti field is set. + */ + @java.lang.Override + public boolean hasPartyMemberLocationNoti() { + return msgCase_ == 54; + } + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + * @return The partyMemberLocationNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti getPartyMemberLocationNoti() { + if (msgCase_ == 54) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.getDefaultInstance(); + } + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNotiOrBuilder getPartyMemberLocationNotiOrBuilder() { + if (msgCase_ == 54) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.getDefaultInstance(); + } + + public static final int NTFFRIENDLEAVINGHOME_FIELD_NUMBER = 55; + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + * @return Whether the ntfFriendLeavingHome field is set. + */ + @java.lang.Override + public boolean hasNtfFriendLeavingHome() { + return msgCase_ == 55; + } + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + * @return The ntfFriendLeavingHome. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME getNtfFriendLeavingHome() { + if (msgCase_ == 55) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.getDefaultInstance(); + } + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOMEOrBuilder getNtfFriendLeavingHomeOrBuilder() { + if (msgCase_ == 55) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.getDefaultInstance(); + } + + public static final int NTFINVITEPARTYRECVRESULT_FIELD_NUMBER = 56; + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + * @return Whether the ntfInvitePartyRecvResult field is set. + */ + @java.lang.Override + public boolean hasNtfInvitePartyRecvResult() { + return msgCase_ == 56; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + * @return The ntfInvitePartyRecvResult. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT getNtfInvitePartyRecvResult() { + if (msgCase_ == 56) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.getDefaultInstance(); + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULTOrBuilder getNtfInvitePartyRecvResultOrBuilder() { + if (msgCase_ == 56) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.getDefaultInstance(); + } + + public static final int NTFDESTROYPARTY_FIELD_NUMBER = 57; + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + * @return Whether the ntfDestroyParty field is set. + */ + @java.lang.Override + public boolean hasNtfDestroyParty() { + return msgCase_ == 57; + } + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + * @return The ntfDestroyParty. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY getNtfDestroyParty() { + if (msgCase_ == 57) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.getDefaultInstance(); + } + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTYOrBuilder getNtfDestroyPartyOrBuilder() { + if (msgCase_ == 57) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.getDefaultInstance(); + } + + public static final int REQRESERVATIONENTERTOSERVER_FIELD_NUMBER = 58; + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + * @return Whether the reqReservationEnterToServer field is set. + */ + @java.lang.Override + public boolean hasReqReservationEnterToServer() { + return msgCase_ == 58; + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + * @return The reqReservationEnterToServer. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER getReqReservationEnterToServer() { + if (msgCase_ == 58) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVEROrBuilder getReqReservationEnterToServerOrBuilder() { + if (msgCase_ == 58) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } + + public static final int ACKRESERVATIONENTERTOSERVER_FIELD_NUMBER = 59; + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + * @return Whether the ackReservationEnterToServer field is set. + */ + @java.lang.Override + public boolean hasAckReservationEnterToServer() { + return msgCase_ == 59; + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + * @return The ackReservationEnterToServer. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER getAckReservationEnterToServer() { + if (msgCase_ == 59) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVEROrBuilder getAckReservationEnterToServerOrBuilder() { + if (msgCase_ == 59) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } + + public static final int NTFPARTYCHAT_FIELD_NUMBER = 60; + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + * @return Whether the ntfPartyChat field is set. + */ + @java.lang.Override + public boolean hasNtfPartyChat() { + return msgCase_ == 60; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + * @return The ntfPartyChat. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT getNtfPartyChat() { + if (msgCase_ == 60) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.getDefaultInstance(); + } + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHATOrBuilder getNtfPartyChatOrBuilder() { + if (msgCase_ == 60) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.getDefaultInstance(); + } + + public static final int NTFPARTYINFO_FIELD_NUMBER = 61; + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + * @return Whether the ntfPartyInfo field is set. + */ + @java.lang.Override + public boolean hasNtfPartyInfo() { + return msgCase_ == 61; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + * @return The ntfPartyInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO getNtfPartyInfo() { + if (msgCase_ == 61) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.getDefaultInstance(); + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFOOrBuilder getNtfPartyInfoOrBuilder() { + if (msgCase_ == 61) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.getDefaultInstance(); + } + + public static final int NTFRETURNUSERLOGOUT_FIELD_NUMBER = 62; + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + * @return Whether the ntfReturnUserLogout field is set. + */ + @java.lang.Override + public boolean hasNtfReturnUserLogout() { + return msgCase_ == 62; + } + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + * @return The ntfReturnUserLogout. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT getNtfReturnUserLogout() { + if (msgCase_ == 62) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUTOrBuilder getNtfReturnUserLogoutOrBuilder() { + if (msgCase_ == 62) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.getDefaultInstance(); + } + + public static final int NTFCLEARPARTYSUMMON_FIELD_NUMBER = 63; + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + * @return Whether the ntfClearPartySummon field is set. + */ + @java.lang.Override + public boolean hasNtfClearPartySummon() { + return msgCase_ == 63; + } + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + * @return The ntfClearPartySummon. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON getNtfClearPartySummon() { + if (msgCase_ == 63) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMONOrBuilder getNtfClearPartySummonOrBuilder() { + if (msgCase_ == 63) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.getDefaultInstance(); + } + + public static final int NTFCRAFTHELP_FIELD_NUMBER = 64; + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + * @return Whether the ntfCraftHelp field is set. + */ + @java.lang.Override + public boolean hasNtfCraftHelp() { + return msgCase_ == 64; + } + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + * @return The ntfCraftHelp. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP getNtfCraftHelp() { + if (msgCase_ == 64) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELPOrBuilder getNtfCraftHelpOrBuilder() { + if (msgCase_ == 64) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.getDefaultInstance(); + } + + public static final int REQRESERVATIONCANCELTOSERVER_FIELD_NUMBER = 65; + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + * @return Whether the reqReservationCancelToServer field is set. + */ + @java.lang.Override + public boolean hasReqReservationCancelToServer() { + return msgCase_ == 65; + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + * @return The reqReservationCancelToServer. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER getReqReservationCancelToServer() { + if (msgCase_ == 65) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVEROrBuilder getReqReservationCancelToServerOrBuilder() { + if (msgCase_ == 65) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } + + public static final int NTFEXCHANGEMYHOME_FIELD_NUMBER = 66; + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + * @return Whether the ntfExchangeMyhome field is set. + */ + @java.lang.Override + public boolean hasNtfExchangeMyhome() { + return msgCase_ == 66; + } + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + * @return The ntfExchangeMyhome. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME getNtfExchangeMyhome() { + if (msgCase_ == 66) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOMEOrBuilder getNtfExchangeMyhomeOrBuilder() { + if (msgCase_ == 66) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.getDefaultInstance(); + } + + public static final int NTFUGCNPCRANKREFRESH_FIELD_NUMBER = 67; + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + * @return Whether the ntfUgcNpcRankRefresh field is set. + */ + @java.lang.Override + public boolean hasNtfUgcNpcRankRefresh() { + return msgCase_ == 67; + } + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + * @return The ntfUgcNpcRankRefresh. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH getNtfUgcNpcRankRefresh() { + if (msgCase_ == 67) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESHOrBuilder getNtfUgcNpcRankRefreshOrBuilder() { + if (msgCase_ == 67) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.getDefaultInstance(); + } + + public static final int NTFDELETEPARTYINVITESEND_FIELD_NUMBER = 68; + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + * @return Whether the ntfDeletePartyInviteSend field is set. + */ + @java.lang.Override + public boolean hasNtfDeletePartyInviteSend() { + return msgCase_ == 68; + } + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + * @return The ntfDeletePartyInviteSend. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND getNtfDeletePartyInviteSend() { + if (msgCase_ == 68) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SENDOrBuilder getNtfDeletePartyInviteSendOrBuilder() { + if (msgCase_ == 68) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.getDefaultInstance(); + } + + public static final int NTFMYHOMEHOSTENTEREDITROOM_FIELD_NUMBER = 69; + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + * @return Whether the ntfMyhomeHostEnterEditRoom field is set. + */ + @java.lang.Override + public boolean hasNtfMyhomeHostEnterEditRoom() { + return msgCase_ == 69; + } + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + * @return The ntfMyhomeHostEnterEditRoom. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM getNtfMyhomeHostEnterEditRoom() { + if (msgCase_ == 69) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOMOrBuilder getNtfMyhomeHostEnterEditRoomOrBuilder() { + if (msgCase_ == 69) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.getDefaultInstance(); + } + + public static final int NTFUSERKICK_FIELD_NUMBER = 70; + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + * @return Whether the ntfUserKick field is set. + */ + @java.lang.Override + public boolean hasNtfUserKick() { + return msgCase_ == 70; + } + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + * @return The ntfUserKick. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK getNtfUserKick() { + if (msgCase_ == 70) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.getDefaultInstance(); + } + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICKOrBuilder getNtfUserKickOrBuilder() { + if (msgCase_ == 70) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.getDefaultInstance(); + } + + public static final int NTFMAILSEND_FIELD_NUMBER = 71; + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + * @return Whether the ntfMailSend field is set. + */ + @java.lang.Override + public boolean hasNtfMailSend() { + return msgCase_ == 71; + } + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + * @return The ntfMailSend. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND getNtfMailSend() { + if (msgCase_ == 71) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.getDefaultInstance(); + } + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SENDOrBuilder getNtfMailSendOrBuilder() { + if (msgCase_ == 71) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.getDefaultInstance(); + } + + public static final int NTFOPERATIONSYSTEMNOTICECHAT_FIELD_NUMBER = 72; + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + * @return Whether the ntfOperationSystemNoticeChat field is set. + */ + @java.lang.Override + public boolean hasNtfOperationSystemNoticeChat() { + return msgCase_ == 72; + } + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + * @return The ntfOperationSystemNoticeChat. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT getNtfOperationSystemNoticeChat() { + if (msgCase_ == 72) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.getDefaultInstance(); + } + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHATOrBuilder getNtfOperationSystemNoticeChatOrBuilder() { + if (msgCase_ == 72) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.getDefaultInstance(); + } + + public static final int ACKRESERVATIONCANCELTOSERVER_FIELD_NUMBER = 73; + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + * @return Whether the ackReservationCancelToServer field is set. + */ + @java.lang.Override + public boolean hasAckReservationCancelToServer() { + return msgCase_ == 73; + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + * @return The ackReservationCancelToServer. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER getAckReservationCancelToServer() { + if (msgCase_ == 73) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVEROrBuilder getAckReservationCancelToServerOrBuilder() { + if (msgCase_ == 73) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } + + public static final int NTFFARMINGEND_FIELD_NUMBER = 74; + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + * @return Whether the ntfFarmingEnd field is set. + */ + @java.lang.Override + public boolean hasNtfFarmingEnd() { + return msgCase_ == 74; + } + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + * @return The ntfFarmingEnd. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END getNtfFarmingEnd() { + if (msgCase_ == 74) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.getDefaultInstance(); + } + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_ENDOrBuilder getNtfFarmingEndOrBuilder() { + if (msgCase_ == 74) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.getDefaultInstance(); + } + + public static final int NTFRENTFLOOR_FIELD_NUMBER = 75; + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + * @return Whether the ntfRentFloor field is set. + */ + @java.lang.Override + public boolean hasNtfRentFloor() { + return msgCase_ == 75; + } + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + * @return The ntfRentFloor. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR getNtfRentFloor() { + if (msgCase_ == 75) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOROrBuilder getNtfRentFloorOrBuilder() { + if (msgCase_ == 75) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.getDefaultInstance(); + } + + public static final int NTFMODIFYFLOORLINKEDINFOS_FIELD_NUMBER = 76; + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + * @return Whether the ntfModifyFloorLinkedInfos field is set. + */ + @java.lang.Override + public boolean hasNtfModifyFloorLinkedInfos() { + return msgCase_ == 76; + } + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + * @return The ntfModifyFloorLinkedInfos. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS getNtfModifyFloorLinkedInfos() { + if (msgCase_ == 76) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.getDefaultInstance(); + } + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOSOrBuilder getNtfModifyFloorLinkedInfosOrBuilder() { + if (msgCase_ == 76) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.getDefaultInstance(); + } + + public static final int NTFBEACONCOMPACTSYNC_FIELD_NUMBER = 77; + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + * @return Whether the ntfBeaconCompactSync field is set. + */ + @java.lang.Override + public boolean hasNtfBeaconCompactSync() { + return msgCase_ == 77; + } + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + * @return The ntfBeaconCompactSync. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC getNtfBeaconCompactSync() { + if (msgCase_ == 77) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.getDefaultInstance(); + } + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNCOrBuilder getNtfBeaconCompactSyncOrBuilder() { + if (msgCase_ == 77) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (messageTime_ != null) { + output.writeMessage(1, getMessageTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageSender_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, messageSender_); + } + if (msgCase_ == 3) { + output.writeMessage(3, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat) msg_); + } + if (msgCase_ == 4) { + output.writeMessage(4, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq) msg_); + } + if (msgCase_ == 5) { + output.writeMessage(5, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes) msg_); + } + if (msgCase_ == 7) { + output.writeMessage(7, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti) msg_); + } + if (msgCase_ == 8) { + output.writeMessage(8, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti) msg_); + } + if (msgCase_ == 9) { + output.writeMessage(9, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq) msg_); + } + if (msgCase_ == 10) { + output.writeMessage(10, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq) msg_); + } + if (msgCase_ == 11) { + output.writeMessage(11, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti) msg_); + } + if (msgCase_ == 12) { + output.writeMessage(12, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq) msg_); + } + if (msgCase_ == 13) { + output.writeMessage(13, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes) msg_); + } + if (msgCase_ == 14) { + output.writeMessage(14, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti) msg_); + } + if (msgCase_ == 15) { + output.writeMessage(15, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti) msg_); + } + if (msgCase_ == 16) { + output.writeMessage(16, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq) msg_); + } + if (msgCase_ == 17) { + output.writeMessage(17, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes) msg_); + } + if (msgCase_ == 18) { + output.writeMessage(18, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq) msg_); + } + if (msgCase_ == 19) { + output.writeMessage(19, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend) msg_); + } + if (msgCase_ == 20) { + output.writeMessage(20, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend) msg_); + } + if (msgCase_ == 21) { + output.writeMessage(21, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq) msg_); + } + if (msgCase_ == 22) { + output.writeMessage(22, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes) msg_); + } + if (msgCase_ == 23) { + output.writeMessage(23, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti) msg_); + } + if (msgCase_ == 24) { + output.writeMessage(24, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti) msg_); + } + if (msgCase_ == 25) { + output.writeMessage(25, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend) msg_); + } + if (msgCase_ == 26) { + output.writeMessage(26, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti) msg_); + } + if (msgCase_ == 27) { + output.writeMessage(27, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti) msg_); + } + if (msgCase_ == 28) { + output.writeMessage(28, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti) msg_); + } + if (msgCase_ == 29) { + output.writeMessage(29, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti) msg_); + } + if (msgCase_ == 30) { + output.writeMessage(30, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti) msg_); + } + if (msgCase_ == 31) { + output.writeMessage(31, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti) msg_); + } + if (msgCase_ == 33) { + output.writeMessage(33, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti) msg_); + } + if (msgCase_ == 34) { + output.writeMessage(34, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti) msg_); + } + if (msgCase_ == 35) { + output.writeMessage(35, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti) msg_); + } + if (msgCase_ == 37) { + output.writeMessage(37, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti) msg_); + } + if (msgCase_ == 38) { + output.writeMessage(38, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti) msg_); + } + if (msgCase_ == 40) { + output.writeMessage(40, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti) msg_); + } + if (msgCase_ == 41) { + output.writeMessage(41, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti) msg_); + } + if (msgCase_ == 42) { + output.writeMessage(42, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti) msg_); + } + if (msgCase_ == 43) { + output.writeMessage(43, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti) msg_); + } + if (msgCase_ == 44) { + output.writeMessage(44, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti) msg_); + } + if (msgCase_ == 45) { + output.writeMessage(45, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti) msg_); + } + if (msgCase_ == 46) { + output.writeMessage(46, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti) msg_); + } + if (msgCase_ == 47) { + output.writeMessage(47, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti) msg_); + } + if (msgCase_ == 48) { + output.writeMessage(48, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti) msg_); + } + if (msgCase_ == 49) { + output.writeMessage(49, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti) msg_); + } + if (msgCase_ == 50) { + output.writeMessage(50, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti) msg_); + } + if (msgCase_ == 51) { + output.writeMessage(51, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti) msg_); + } + if (msgCase_ == 53) { + output.writeMessage(53, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti) msg_); + } + if (msgCase_ == 54) { + output.writeMessage(54, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti) msg_); + } + if (msgCase_ == 55) { + output.writeMessage(55, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) msg_); + } + if (msgCase_ == 56) { + output.writeMessage(56, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) msg_); + } + if (msgCase_ == 57) { + output.writeMessage(57, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY) msg_); + } + if (msgCase_ == 58) { + output.writeMessage(58, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) msg_); + } + if (msgCase_ == 59) { + output.writeMessage(59, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) msg_); + } + if (msgCase_ == 60) { + output.writeMessage(60, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT) msg_); + } + if (msgCase_ == 61) { + output.writeMessage(61, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO) msg_); + } + if (msgCase_ == 62) { + output.writeMessage(62, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) msg_); + } + if (msgCase_ == 63) { + output.writeMessage(63, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) msg_); + } + if (msgCase_ == 64) { + output.writeMessage(64, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP) msg_); + } + if (msgCase_ == 65) { + output.writeMessage(65, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) msg_); + } + if (msgCase_ == 66) { + output.writeMessage(66, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) msg_); + } + if (msgCase_ == 67) { + output.writeMessage(67, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) msg_); + } + if (msgCase_ == 68) { + output.writeMessage(68, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) msg_); + } + if (msgCase_ == 69) { + output.writeMessage(69, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) msg_); + } + if (msgCase_ == 70) { + output.writeMessage(70, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK) msg_); + } + if (msgCase_ == 71) { + output.writeMessage(71, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND) msg_); + } + if (msgCase_ == 72) { + output.writeMessage(72, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT) msg_); + } + if (msgCase_ == 73) { + output.writeMessage(73, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) msg_); + } + if (msgCase_ == 74) { + output.writeMessage(74, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END) msg_); + } + if (msgCase_ == 75) { + output.writeMessage(75, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR) msg_); + } + if (msgCase_ == 76) { + output.writeMessage(76, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) msg_); + } + if (msgCase_ == 77) { + output.writeMessage(77, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) msg_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (messageTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMessageTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageSender_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, messageSender_); + } + if (msgCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat) msg_); + } + if (msgCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq) msg_); + } + if (msgCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes) msg_); + } + if (msgCase_ == 7) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti) msg_); + } + if (msgCase_ == 8) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti) msg_); + } + if (msgCase_ == 9) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq) msg_); + } + if (msgCase_ == 10) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq) msg_); + } + if (msgCase_ == 11) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti) msg_); + } + if (msgCase_ == 12) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq) msg_); + } + if (msgCase_ == 13) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes) msg_); + } + if (msgCase_ == 14) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti) msg_); + } + if (msgCase_ == 15) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti) msg_); + } + if (msgCase_ == 16) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq) msg_); + } + if (msgCase_ == 17) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes) msg_); + } + if (msgCase_ == 18) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq) msg_); + } + if (msgCase_ == 19) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend) msg_); + } + if (msgCase_ == 20) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend) msg_); + } + if (msgCase_ == 21) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq) msg_); + } + if (msgCase_ == 22) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes) msg_); + } + if (msgCase_ == 23) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti) msg_); + } + if (msgCase_ == 24) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti) msg_); + } + if (msgCase_ == 25) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend) msg_); + } + if (msgCase_ == 26) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti) msg_); + } + if (msgCase_ == 27) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti) msg_); + } + if (msgCase_ == 28) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti) msg_); + } + if (msgCase_ == 29) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti) msg_); + } + if (msgCase_ == 30) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti) msg_); + } + if (msgCase_ == 31) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(31, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti) msg_); + } + if (msgCase_ == 33) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(33, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti) msg_); + } + if (msgCase_ == 34) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(34, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti) msg_); + } + if (msgCase_ == 35) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(35, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti) msg_); + } + if (msgCase_ == 37) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(37, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti) msg_); + } + if (msgCase_ == 38) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(38, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti) msg_); + } + if (msgCase_ == 40) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(40, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti) msg_); + } + if (msgCase_ == 41) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(41, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti) msg_); + } + if (msgCase_ == 42) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(42, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti) msg_); + } + if (msgCase_ == 43) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(43, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti) msg_); + } + if (msgCase_ == 44) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(44, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti) msg_); + } + if (msgCase_ == 45) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(45, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti) msg_); + } + if (msgCase_ == 46) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(46, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti) msg_); + } + if (msgCase_ == 47) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(47, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti) msg_); + } + if (msgCase_ == 48) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(48, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti) msg_); + } + if (msgCase_ == 49) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(49, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti) msg_); + } + if (msgCase_ == 50) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(50, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti) msg_); + } + if (msgCase_ == 51) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(51, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti) msg_); + } + if (msgCase_ == 53) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(53, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti) msg_); + } + if (msgCase_ == 54) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(54, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti) msg_); + } + if (msgCase_ == 55) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(55, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) msg_); + } + if (msgCase_ == 56) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(56, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) msg_); + } + if (msgCase_ == 57) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(57, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY) msg_); + } + if (msgCase_ == 58) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(58, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) msg_); + } + if (msgCase_ == 59) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(59, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) msg_); + } + if (msgCase_ == 60) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(60, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT) msg_); + } + if (msgCase_ == 61) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(61, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO) msg_); + } + if (msgCase_ == 62) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(62, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) msg_); + } + if (msgCase_ == 63) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(63, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) msg_); + } + if (msgCase_ == 64) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(64, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP) msg_); + } + if (msgCase_ == 65) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(65, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) msg_); + } + if (msgCase_ == 66) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(66, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) msg_); + } + if (msgCase_ == 67) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(67, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) msg_); + } + if (msgCase_ == 68) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(68, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) msg_); + } + if (msgCase_ == 69) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(69, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) msg_); + } + if (msgCase_ == 70) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(70, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK) msg_); + } + if (msgCase_ == 71) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(71, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND) msg_); + } + if (msgCase_ == 72) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(72, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT) msg_); + } + if (msgCase_ == 73) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(73, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) msg_); + } + if (msgCase_ == 74) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(74, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END) msg_); + } + if (msgCase_ == 75) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(75, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR) msg_); + } + if (msgCase_ == 76) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(76, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) msg_); + } + if (msgCase_ == 77) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(77, (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) msg_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerMessage other = (com.caliverse.admin.domain.RabbitMq.message.ServerMessage) obj; + + if (hasMessageTime() != other.hasMessageTime()) return false; + if (hasMessageTime()) { + if (!getMessageTime() + .equals(other.getMessageTime())) return false; + } + if (!getMessageSender() + .equals(other.getMessageSender())) return false; + if (!getMsgCase().equals(other.getMsgCase())) return false; + switch (msgCase_) { + case 3: + if (!getChat() + .equals(other.getChat())) return false; + break; + case 4: + if (!getKickReq() + .equals(other.getKickReq())) return false; + break; + case 5: + if (!getKickRes() + .equals(other.getKickRes())) return false; + break; + case 7: + if (!getWhiteListUpdateNoti() + .equals(other.getWhiteListUpdateNoti())) return false; + break; + case 8: + if (!getBlackListUpdateNoti() + .equals(other.getBlackListUpdateNoti())) return false; + break; + case 9: + if (!getInspectionReq() + .equals(other.getInspectionReq())) return false; + break; + case 10: + if (!getChangeServerConfigReq() + .equals(other.getChangeServerConfigReq())) return false; + break; + case 11: + if (!getAllKickNormalUserNoti() + .equals(other.getAllKickNormalUserNoti())) return false; + break; + case 12: + if (!getAwsAutoScaleGroupOptionReq() + .equals(other.getAwsAutoScaleGroupOptionReq())) return false; + break; + case 13: + if (!getAwsAutoScaleGroupOptionRes() + .equals(other.getAwsAutoScaleGroupOptionRes())) return false; + break; + case 14: + if (!getReceiveMailNoti() + .equals(other.getReceiveMailNoti())) return false; + break; + case 15: + if (!getExchangeMannequinDisplayItemNoti() + .equals(other.getExchangeMannequinDisplayItemNoti())) return false; + break; + case 16: + if (!getGetAwsAutoScaleOptionReq() + .equals(other.getGetAwsAutoScaleOptionReq())) return false; + break; + case 17: + if (!getGetAwsAutoScaleOptionRes() + .equals(other.getGetAwsAutoScaleOptionRes())) return false; + break; + case 18: + if (!getReadyForDistroyReq() + .equals(other.getReadyForDistroyReq())) return false; + break; + case 19: + if (!getLoginNotiToFriend() + .equals(other.getLoginNotiToFriend())) return false; + break; + case 20: + if (!getLogoutNotiToFriend() + .equals(other.getLogoutNotiToFriend())) return false; + break; + case 21: + if (!getManagerServerActiveReq() + .equals(other.getManagerServerActiveReq())) return false; + break; + case 22: + if (!getManagerServerActiveRes() + .equals(other.getManagerServerActiveRes())) return false; + break; + case 23: + if (!getReceiveInviteMyHomeNoti() + .equals(other.getReceiveInviteMyHomeNoti())) return false; + break; + case 24: + if (!getReplyInviteMyhomeNoti() + .equals(other.getReplyInviteMyhomeNoti())) return false; + break; + case 25: + if (!getStateNotiToFriend() + .equals(other.getStateNotiToFriend())) return false; + break; + case 26: + if (!getFriendRequestNoti() + .equals(other.getFriendRequestNoti())) return false; + break; + case 27: + if (!getFriendAcceptNoti() + .equals(other.getFriendAcceptNoti())) return false; + break; + case 28: + if (!getFriendDeleteNoti() + .equals(other.getFriendDeleteNoti())) return false; + break; + case 29: + if (!getCancelFriendRequestNoti() + .equals(other.getCancelFriendRequestNoti())) return false; + break; + case 30: + if (!getInvitePartyNoti() + .equals(other.getInvitePartyNoti())) return false; + break; + case 31: + if (!getReplyInvitePartyNoti() + .equals(other.getReplyInvitePartyNoti())) return false; + break; + case 33: + if (!getJoinPartyMemberNoti() + .equals(other.getJoinPartyMemberNoti())) return false; + break; + case 34: + if (!getLeavePartyMemberNoti() + .equals(other.getLeavePartyMemberNoti())) return false; + break; + case 35: + if (!getChangePartyServerNameNoti() + .equals(other.getChangePartyServerNameNoti())) return false; + break; + case 37: + if (!getChangePartyLeaderNoti() + .equals(other.getChangePartyLeaderNoti())) return false; + break; + case 38: + if (!getExchangePartyNameNoti() + .equals(other.getExchangePartyNameNoti())) return false; + break; + case 40: + if (!getExchangePartyMemberMarkNoti() + .equals(other.getExchangePartyMemberMarkNoti())) return false; + break; + case 41: + if (!getBanPartyNoti() + .equals(other.getBanPartyNoti())) return false; + break; + case 42: + if (!getSummonPartyMemberNoti() + .equals(other.getSummonPartyMemberNoti())) return false; + break; + case 43: + if (!getReplySummonPartyMemberNoti() + .equals(other.getReplySummonPartyMemberNoti())) return false; + break; + case 44: + if (!getNoticeChatNoti() + .equals(other.getNoticeChatNoti())) return false; + break; + case 45: + if (!getSystemMailNoti() + .equals(other.getSystemMailNoti())) return false; + break; + case 46: + if (!getPartyVoteNoti() + .equals(other.getPartyVoteNoti())) return false; + break; + case 47: + if (!getReplyPartyVoteNoti() + .equals(other.getReplyPartyVoteNoti())) return false; + break; + case 48: + if (!getPartyVoteResultNoti() + .equals(other.getPartyVoteResultNoti())) return false; + break; + case 49: + if (!getPartyInstanceInfoNoti() + .equals(other.getPartyInstanceInfoNoti())) return false; + break; + case 50: + if (!getSessionInfoNoti() + .equals(other.getSessionInfoNoti())) return false; + break; + case 51: + if (!getKickedFromFriendsMyHomeNoti() + .equals(other.getKickedFromFriendsMyHomeNoti())) return false; + break; + case 53: + if (!getCancelSummonPartyMemberNoti() + .equals(other.getCancelSummonPartyMemberNoti())) return false; + break; + case 54: + if (!getPartyMemberLocationNoti() + .equals(other.getPartyMemberLocationNoti())) return false; + break; + case 55: + if (!getNtfFriendLeavingHome() + .equals(other.getNtfFriendLeavingHome())) return false; + break; + case 56: + if (!getNtfInvitePartyRecvResult() + .equals(other.getNtfInvitePartyRecvResult())) return false; + break; + case 57: + if (!getNtfDestroyParty() + .equals(other.getNtfDestroyParty())) return false; + break; + case 58: + if (!getReqReservationEnterToServer() + .equals(other.getReqReservationEnterToServer())) return false; + break; + case 59: + if (!getAckReservationEnterToServer() + .equals(other.getAckReservationEnterToServer())) return false; + break; + case 60: + if (!getNtfPartyChat() + .equals(other.getNtfPartyChat())) return false; + break; + case 61: + if (!getNtfPartyInfo() + .equals(other.getNtfPartyInfo())) return false; + break; + case 62: + if (!getNtfReturnUserLogout() + .equals(other.getNtfReturnUserLogout())) return false; + break; + case 63: + if (!getNtfClearPartySummon() + .equals(other.getNtfClearPartySummon())) return false; + break; + case 64: + if (!getNtfCraftHelp() + .equals(other.getNtfCraftHelp())) return false; + break; + case 65: + if (!getReqReservationCancelToServer() + .equals(other.getReqReservationCancelToServer())) return false; + break; + case 66: + if (!getNtfExchangeMyhome() + .equals(other.getNtfExchangeMyhome())) return false; + break; + case 67: + if (!getNtfUgcNpcRankRefresh() + .equals(other.getNtfUgcNpcRankRefresh())) return false; + break; + case 68: + if (!getNtfDeletePartyInviteSend() + .equals(other.getNtfDeletePartyInviteSend())) return false; + break; + case 69: + if (!getNtfMyhomeHostEnterEditRoom() + .equals(other.getNtfMyhomeHostEnterEditRoom())) return false; + break; + case 70: + if (!getNtfUserKick() + .equals(other.getNtfUserKick())) return false; + break; + case 71: + if (!getNtfMailSend() + .equals(other.getNtfMailSend())) return false; + break; + case 72: + if (!getNtfOperationSystemNoticeChat() + .equals(other.getNtfOperationSystemNoticeChat())) return false; + break; + case 73: + if (!getAckReservationCancelToServer() + .equals(other.getAckReservationCancelToServer())) return false; + break; + case 74: + if (!getNtfFarmingEnd() + .equals(other.getNtfFarmingEnd())) return false; + break; + case 75: + if (!getNtfRentFloor() + .equals(other.getNtfRentFloor())) return false; + break; + case 76: + if (!getNtfModifyFloorLinkedInfos() + .equals(other.getNtfModifyFloorLinkedInfos())) return false; + break; + case 77: + if (!getNtfBeaconCompactSync() + .equals(other.getNtfBeaconCompactSync())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasMessageTime()) { + hash = (37 * hash) + MESSAGETIME_FIELD_NUMBER; + hash = (53 * hash) + getMessageTime().hashCode(); + } + hash = (37 * hash) + MESSAGESENDER_FIELD_NUMBER; + hash = (53 * hash) + getMessageSender().hashCode(); + switch (msgCase_) { + case 3: + hash = (37 * hash) + CHAT_FIELD_NUMBER; + hash = (53 * hash) + getChat().hashCode(); + break; + case 4: + hash = (37 * hash) + KICKREQ_FIELD_NUMBER; + hash = (53 * hash) + getKickReq().hashCode(); + break; + case 5: + hash = (37 * hash) + KICKRES_FIELD_NUMBER; + hash = (53 * hash) + getKickRes().hashCode(); + break; + case 7: + hash = (37 * hash) + WHITELISTUPDATENOTI_FIELD_NUMBER; + hash = (53 * hash) + getWhiteListUpdateNoti().hashCode(); + break; + case 8: + hash = (37 * hash) + BLACKLISTUPDATENOTI_FIELD_NUMBER; + hash = (53 * hash) + getBlackListUpdateNoti().hashCode(); + break; + case 9: + hash = (37 * hash) + INSPECTIONREQ_FIELD_NUMBER; + hash = (53 * hash) + getInspectionReq().hashCode(); + break; + case 10: + hash = (37 * hash) + CHANGESERVERCONFIGREQ_FIELD_NUMBER; + hash = (53 * hash) + getChangeServerConfigReq().hashCode(); + break; + case 11: + hash = (37 * hash) + ALLKICKNORMALUSERNOTI_FIELD_NUMBER; + hash = (53 * hash) + getAllKickNormalUserNoti().hashCode(); + break; + case 12: + hash = (37 * hash) + AWSAUTOSCALEGROUPOPTIONREQ_FIELD_NUMBER; + hash = (53 * hash) + getAwsAutoScaleGroupOptionReq().hashCode(); + break; + case 13: + hash = (37 * hash) + AWSAUTOSCALEGROUPOPTIONRES_FIELD_NUMBER; + hash = (53 * hash) + getAwsAutoScaleGroupOptionRes().hashCode(); + break; + case 14: + hash = (37 * hash) + RECEIVEMAILNOTI_FIELD_NUMBER; + hash = (53 * hash) + getReceiveMailNoti().hashCode(); + break; + case 15: + hash = (37 * hash) + EXCHANGEMANNEQUINDISPLAYITEMNOTI_FIELD_NUMBER; + hash = (53 * hash) + getExchangeMannequinDisplayItemNoti().hashCode(); + break; + case 16: + hash = (37 * hash) + GETAWSAUTOSCALEOPTIONREQ_FIELD_NUMBER; + hash = (53 * hash) + getGetAwsAutoScaleOptionReq().hashCode(); + break; + case 17: + hash = (37 * hash) + GETAWSAUTOSCALEOPTIONRES_FIELD_NUMBER; + hash = (53 * hash) + getGetAwsAutoScaleOptionRes().hashCode(); + break; + case 18: + hash = (37 * hash) + READYFORDISTROYREQ_FIELD_NUMBER; + hash = (53 * hash) + getReadyForDistroyReq().hashCode(); + break; + case 19: + hash = (37 * hash) + LOGINNOTITOFRIEND_FIELD_NUMBER; + hash = (53 * hash) + getLoginNotiToFriend().hashCode(); + break; + case 20: + hash = (37 * hash) + LOGOUTNOTITOFRIEND_FIELD_NUMBER; + hash = (53 * hash) + getLogoutNotiToFriend().hashCode(); + break; + case 21: + hash = (37 * hash) + MANAGERSERVERACTIVEREQ_FIELD_NUMBER; + hash = (53 * hash) + getManagerServerActiveReq().hashCode(); + break; + case 22: + hash = (37 * hash) + MANAGERSERVERACTIVERES_FIELD_NUMBER; + hash = (53 * hash) + getManagerServerActiveRes().hashCode(); + break; + case 23: + hash = (37 * hash) + RECEIVEINVITEMYHOMENOTI_FIELD_NUMBER; + hash = (53 * hash) + getReceiveInviteMyHomeNoti().hashCode(); + break; + case 24: + hash = (37 * hash) + REPLYINVITEMYHOMENOTI_FIELD_NUMBER; + hash = (53 * hash) + getReplyInviteMyhomeNoti().hashCode(); + break; + case 25: + hash = (37 * hash) + STATENOTITOFRIEND_FIELD_NUMBER; + hash = (53 * hash) + getStateNotiToFriend().hashCode(); + break; + case 26: + hash = (37 * hash) + FRIENDREQUESTNOTI_FIELD_NUMBER; + hash = (53 * hash) + getFriendRequestNoti().hashCode(); + break; + case 27: + hash = (37 * hash) + FRIENDACCEPTNOTI_FIELD_NUMBER; + hash = (53 * hash) + getFriendAcceptNoti().hashCode(); + break; + case 28: + hash = (37 * hash) + FRIENDDELETENOTI_FIELD_NUMBER; + hash = (53 * hash) + getFriendDeleteNoti().hashCode(); + break; + case 29: + hash = (37 * hash) + CANCELFRIENDREQUESTNOTI_FIELD_NUMBER; + hash = (53 * hash) + getCancelFriendRequestNoti().hashCode(); + break; + case 30: + hash = (37 * hash) + INVITEPARTYNOTI_FIELD_NUMBER; + hash = (53 * hash) + getInvitePartyNoti().hashCode(); + break; + case 31: + hash = (37 * hash) + REPLYINVITEPARTYNOTI_FIELD_NUMBER; + hash = (53 * hash) + getReplyInvitePartyNoti().hashCode(); + break; + case 33: + hash = (37 * hash) + JOINPARTYMEMBERNOTI_FIELD_NUMBER; + hash = (53 * hash) + getJoinPartyMemberNoti().hashCode(); + break; + case 34: + hash = (37 * hash) + LEAVEPARTYMEMBERNOTI_FIELD_NUMBER; + hash = (53 * hash) + getLeavePartyMemberNoti().hashCode(); + break; + case 35: + hash = (37 * hash) + CHANGEPARTYSERVERNAMENOTI_FIELD_NUMBER; + hash = (53 * hash) + getChangePartyServerNameNoti().hashCode(); + break; + case 37: + hash = (37 * hash) + CHANGEPARTYLEADERNOTI_FIELD_NUMBER; + hash = (53 * hash) + getChangePartyLeaderNoti().hashCode(); + break; + case 38: + hash = (37 * hash) + EXCHANGEPARTYNAMENOTI_FIELD_NUMBER; + hash = (53 * hash) + getExchangePartyNameNoti().hashCode(); + break; + case 40: + hash = (37 * hash) + EXCHANGEPARTYMEMBERMARKNOTI_FIELD_NUMBER; + hash = (53 * hash) + getExchangePartyMemberMarkNoti().hashCode(); + break; + case 41: + hash = (37 * hash) + BANPARTYNOTI_FIELD_NUMBER; + hash = (53 * hash) + getBanPartyNoti().hashCode(); + break; + case 42: + hash = (37 * hash) + SUMMONPARTYMEMBERNOTI_FIELD_NUMBER; + hash = (53 * hash) + getSummonPartyMemberNoti().hashCode(); + break; + case 43: + hash = (37 * hash) + REPLYSUMMONPARTYMEMBERNOTI_FIELD_NUMBER; + hash = (53 * hash) + getReplySummonPartyMemberNoti().hashCode(); + break; + case 44: + hash = (37 * hash) + NOTICECHATNOTI_FIELD_NUMBER; + hash = (53 * hash) + getNoticeChatNoti().hashCode(); + break; + case 45: + hash = (37 * hash) + SYSTEMMAILNOTI_FIELD_NUMBER; + hash = (53 * hash) + getSystemMailNoti().hashCode(); + break; + case 46: + hash = (37 * hash) + PARTYVOTENOTI_FIELD_NUMBER; + hash = (53 * hash) + getPartyVoteNoti().hashCode(); + break; + case 47: + hash = (37 * hash) + REPLYPARTYVOTENOTI_FIELD_NUMBER; + hash = (53 * hash) + getReplyPartyVoteNoti().hashCode(); + break; + case 48: + hash = (37 * hash) + PARTYVOTERESULTNOTI_FIELD_NUMBER; + hash = (53 * hash) + getPartyVoteResultNoti().hashCode(); + break; + case 49: + hash = (37 * hash) + PARTYINSTANCEINFONOTI_FIELD_NUMBER; + hash = (53 * hash) + getPartyInstanceInfoNoti().hashCode(); + break; + case 50: + hash = (37 * hash) + SESSIONINFONOTI_FIELD_NUMBER; + hash = (53 * hash) + getSessionInfoNoti().hashCode(); + break; + case 51: + hash = (37 * hash) + KICKEDFROMFRIENDSMYHOMENOTI_FIELD_NUMBER; + hash = (53 * hash) + getKickedFromFriendsMyHomeNoti().hashCode(); + break; + case 53: + hash = (37 * hash) + CANCELSUMMONPARTYMEMBERNOTI_FIELD_NUMBER; + hash = (53 * hash) + getCancelSummonPartyMemberNoti().hashCode(); + break; + case 54: + hash = (37 * hash) + PARTYMEMBERLOCATIONNOTI_FIELD_NUMBER; + hash = (53 * hash) + getPartyMemberLocationNoti().hashCode(); + break; + case 55: + hash = (37 * hash) + NTFFRIENDLEAVINGHOME_FIELD_NUMBER; + hash = (53 * hash) + getNtfFriendLeavingHome().hashCode(); + break; + case 56: + hash = (37 * hash) + NTFINVITEPARTYRECVRESULT_FIELD_NUMBER; + hash = (53 * hash) + getNtfInvitePartyRecvResult().hashCode(); + break; + case 57: + hash = (37 * hash) + NTFDESTROYPARTY_FIELD_NUMBER; + hash = (53 * hash) + getNtfDestroyParty().hashCode(); + break; + case 58: + hash = (37 * hash) + REQRESERVATIONENTERTOSERVER_FIELD_NUMBER; + hash = (53 * hash) + getReqReservationEnterToServer().hashCode(); + break; + case 59: + hash = (37 * hash) + ACKRESERVATIONENTERTOSERVER_FIELD_NUMBER; + hash = (53 * hash) + getAckReservationEnterToServer().hashCode(); + break; + case 60: + hash = (37 * hash) + NTFPARTYCHAT_FIELD_NUMBER; + hash = (53 * hash) + getNtfPartyChat().hashCode(); + break; + case 61: + hash = (37 * hash) + NTFPARTYINFO_FIELD_NUMBER; + hash = (53 * hash) + getNtfPartyInfo().hashCode(); + break; + case 62: + hash = (37 * hash) + NTFRETURNUSERLOGOUT_FIELD_NUMBER; + hash = (53 * hash) + getNtfReturnUserLogout().hashCode(); + break; + case 63: + hash = (37 * hash) + NTFCLEARPARTYSUMMON_FIELD_NUMBER; + hash = (53 * hash) + getNtfClearPartySummon().hashCode(); + break; + case 64: + hash = (37 * hash) + NTFCRAFTHELP_FIELD_NUMBER; + hash = (53 * hash) + getNtfCraftHelp().hashCode(); + break; + case 65: + hash = (37 * hash) + REQRESERVATIONCANCELTOSERVER_FIELD_NUMBER; + hash = (53 * hash) + getReqReservationCancelToServer().hashCode(); + break; + case 66: + hash = (37 * hash) + NTFEXCHANGEMYHOME_FIELD_NUMBER; + hash = (53 * hash) + getNtfExchangeMyhome().hashCode(); + break; + case 67: + hash = (37 * hash) + NTFUGCNPCRANKREFRESH_FIELD_NUMBER; + hash = (53 * hash) + getNtfUgcNpcRankRefresh().hashCode(); + break; + case 68: + hash = (37 * hash) + NTFDELETEPARTYINVITESEND_FIELD_NUMBER; + hash = (53 * hash) + getNtfDeletePartyInviteSend().hashCode(); + break; + case 69: + hash = (37 * hash) + NTFMYHOMEHOSTENTEREDITROOM_FIELD_NUMBER; + hash = (53 * hash) + getNtfMyhomeHostEnterEditRoom().hashCode(); + break; + case 70: + hash = (37 * hash) + NTFUSERKICK_FIELD_NUMBER; + hash = (53 * hash) + getNtfUserKick().hashCode(); + break; + case 71: + hash = (37 * hash) + NTFMAILSEND_FIELD_NUMBER; + hash = (53 * hash) + getNtfMailSend().hashCode(); + break; + case 72: + hash = (37 * hash) + NTFOPERATIONSYSTEMNOTICECHAT_FIELD_NUMBER; + hash = (53 * hash) + getNtfOperationSystemNoticeChat().hashCode(); + break; + case 73: + hash = (37 * hash) + ACKRESERVATIONCANCELTOSERVER_FIELD_NUMBER; + hash = (53 * hash) + getAckReservationCancelToServer().hashCode(); + break; + case 74: + hash = (37 * hash) + NTFFARMINGEND_FIELD_NUMBER; + hash = (53 * hash) + getNtfFarmingEnd().hashCode(); + break; + case 75: + hash = (37 * hash) + NTFRENTFLOOR_FIELD_NUMBER; + hash = (53 * hash) + getNtfRentFloor().hashCode(); + break; + case 76: + hash = (37 * hash) + NTFMODIFYFLOORLINKEDINFOS_FIELD_NUMBER; + hash = (53 * hash) + getNtfModifyFloorLinkedInfos().hashCode(); + break; + case 77: + hash = (37 * hash) + NTFBEACONCOMPACTSYNC_FIELD_NUMBER; + hash = (53 * hash) + getNtfBeaconCompactSync().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerMessage prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerMessage) + com.caliverse.admin.domain.RabbitMq.message.ServerMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.class, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerMessage.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + bitField1_ = 0; + bitField2_ = 0; + messageTime_ = null; + if (messageTimeBuilder_ != null) { + messageTimeBuilder_.dispose(); + messageTimeBuilder_ = null; + } + messageSender_ = ""; + if (chatBuilder_ != null) { + chatBuilder_.clear(); + } + if (kickReqBuilder_ != null) { + kickReqBuilder_.clear(); + } + if (kickResBuilder_ != null) { + kickResBuilder_.clear(); + } + if (whiteListUpdateNotiBuilder_ != null) { + whiteListUpdateNotiBuilder_.clear(); + } + if (blackListUpdateNotiBuilder_ != null) { + blackListUpdateNotiBuilder_.clear(); + } + if (inspectionReqBuilder_ != null) { + inspectionReqBuilder_.clear(); + } + if (changeServerConfigReqBuilder_ != null) { + changeServerConfigReqBuilder_.clear(); + } + if (allKickNormalUserNotiBuilder_ != null) { + allKickNormalUserNotiBuilder_.clear(); + } + if (awsAutoScaleGroupOptionReqBuilder_ != null) { + awsAutoScaleGroupOptionReqBuilder_.clear(); + } + if (awsAutoScaleGroupOptionResBuilder_ != null) { + awsAutoScaleGroupOptionResBuilder_.clear(); + } + if (receiveMailNotiBuilder_ != null) { + receiveMailNotiBuilder_.clear(); + } + if (exchangeMannequinDisplayItemNotiBuilder_ != null) { + exchangeMannequinDisplayItemNotiBuilder_.clear(); + } + if (getAwsAutoScaleOptionReqBuilder_ != null) { + getAwsAutoScaleOptionReqBuilder_.clear(); + } + if (getAwsAutoScaleOptionResBuilder_ != null) { + getAwsAutoScaleOptionResBuilder_.clear(); + } + if (readyForDistroyReqBuilder_ != null) { + readyForDistroyReqBuilder_.clear(); + } + if (loginNotiToFriendBuilder_ != null) { + loginNotiToFriendBuilder_.clear(); + } + if (logoutNotiToFriendBuilder_ != null) { + logoutNotiToFriendBuilder_.clear(); + } + if (managerServerActiveReqBuilder_ != null) { + managerServerActiveReqBuilder_.clear(); + } + if (managerServerActiveResBuilder_ != null) { + managerServerActiveResBuilder_.clear(); + } + if (receiveInviteMyHomeNotiBuilder_ != null) { + receiveInviteMyHomeNotiBuilder_.clear(); + } + if (replyInviteMyhomeNotiBuilder_ != null) { + replyInviteMyhomeNotiBuilder_.clear(); + } + if (stateNotiToFriendBuilder_ != null) { + stateNotiToFriendBuilder_.clear(); + } + if (friendRequestNotiBuilder_ != null) { + friendRequestNotiBuilder_.clear(); + } + if (friendAcceptNotiBuilder_ != null) { + friendAcceptNotiBuilder_.clear(); + } + if (friendDeleteNotiBuilder_ != null) { + friendDeleteNotiBuilder_.clear(); + } + if (cancelFriendRequestNotiBuilder_ != null) { + cancelFriendRequestNotiBuilder_.clear(); + } + if (invitePartyNotiBuilder_ != null) { + invitePartyNotiBuilder_.clear(); + } + if (replyInvitePartyNotiBuilder_ != null) { + replyInvitePartyNotiBuilder_.clear(); + } + if (joinPartyMemberNotiBuilder_ != null) { + joinPartyMemberNotiBuilder_.clear(); + } + if (leavePartyMemberNotiBuilder_ != null) { + leavePartyMemberNotiBuilder_.clear(); + } + if (changePartyServerNameNotiBuilder_ != null) { + changePartyServerNameNotiBuilder_.clear(); + } + if (changePartyLeaderNotiBuilder_ != null) { + changePartyLeaderNotiBuilder_.clear(); + } + if (exchangePartyNameNotiBuilder_ != null) { + exchangePartyNameNotiBuilder_.clear(); + } + if (exchangePartyMemberMarkNotiBuilder_ != null) { + exchangePartyMemberMarkNotiBuilder_.clear(); + } + if (banPartyNotiBuilder_ != null) { + banPartyNotiBuilder_.clear(); + } + if (summonPartyMemberNotiBuilder_ != null) { + summonPartyMemberNotiBuilder_.clear(); + } + if (replySummonPartyMemberNotiBuilder_ != null) { + replySummonPartyMemberNotiBuilder_.clear(); + } + if (noticeChatNotiBuilder_ != null) { + noticeChatNotiBuilder_.clear(); + } + if (systemMailNotiBuilder_ != null) { + systemMailNotiBuilder_.clear(); + } + if (partyVoteNotiBuilder_ != null) { + partyVoteNotiBuilder_.clear(); + } + if (replyPartyVoteNotiBuilder_ != null) { + replyPartyVoteNotiBuilder_.clear(); + } + if (partyVoteResultNotiBuilder_ != null) { + partyVoteResultNotiBuilder_.clear(); + } + if (partyInstanceInfoNotiBuilder_ != null) { + partyInstanceInfoNotiBuilder_.clear(); + } + if (sessionInfoNotiBuilder_ != null) { + sessionInfoNotiBuilder_.clear(); + } + if (kickedFromFriendsMyHomeNotiBuilder_ != null) { + kickedFromFriendsMyHomeNotiBuilder_.clear(); + } + if (cancelSummonPartyMemberNotiBuilder_ != null) { + cancelSummonPartyMemberNotiBuilder_.clear(); + } + if (partyMemberLocationNotiBuilder_ != null) { + partyMemberLocationNotiBuilder_.clear(); + } + if (ntfFriendLeavingHomeBuilder_ != null) { + ntfFriendLeavingHomeBuilder_.clear(); + } + if (ntfInvitePartyRecvResultBuilder_ != null) { + ntfInvitePartyRecvResultBuilder_.clear(); + } + if (ntfDestroyPartyBuilder_ != null) { + ntfDestroyPartyBuilder_.clear(); + } + if (reqReservationEnterToServerBuilder_ != null) { + reqReservationEnterToServerBuilder_.clear(); + } + if (ackReservationEnterToServerBuilder_ != null) { + ackReservationEnterToServerBuilder_.clear(); + } + if (ntfPartyChatBuilder_ != null) { + ntfPartyChatBuilder_.clear(); + } + if (ntfPartyInfoBuilder_ != null) { + ntfPartyInfoBuilder_.clear(); + } + if (ntfReturnUserLogoutBuilder_ != null) { + ntfReturnUserLogoutBuilder_.clear(); + } + if (ntfClearPartySummonBuilder_ != null) { + ntfClearPartySummonBuilder_.clear(); + } + if (ntfCraftHelpBuilder_ != null) { + ntfCraftHelpBuilder_.clear(); + } + if (reqReservationCancelToServerBuilder_ != null) { + reqReservationCancelToServerBuilder_.clear(); + } + if (ntfExchangeMyhomeBuilder_ != null) { + ntfExchangeMyhomeBuilder_.clear(); + } + if (ntfUgcNpcRankRefreshBuilder_ != null) { + ntfUgcNpcRankRefreshBuilder_.clear(); + } + if (ntfDeletePartyInviteSendBuilder_ != null) { + ntfDeletePartyInviteSendBuilder_.clear(); + } + if (ntfMyhomeHostEnterEditRoomBuilder_ != null) { + ntfMyhomeHostEnterEditRoomBuilder_.clear(); + } + if (ntfUserKickBuilder_ != null) { + ntfUserKickBuilder_.clear(); + } + if (ntfMailSendBuilder_ != null) { + ntfMailSendBuilder_.clear(); + } + if (ntfOperationSystemNoticeChatBuilder_ != null) { + ntfOperationSystemNoticeChatBuilder_.clear(); + } + if (ackReservationCancelToServerBuilder_ != null) { + ackReservationCancelToServerBuilder_.clear(); + } + if (ntfFarmingEndBuilder_ != null) { + ntfFarmingEndBuilder_.clear(); + } + if (ntfRentFloorBuilder_ != null) { + ntfRentFloorBuilder_.clear(); + } + if (ntfModifyFloorLinkedInfosBuilder_ != null) { + ntfModifyFloorLinkedInfosBuilder_.clear(); + } + if (ntfBeaconCompactSyncBuilder_ != null) { + ntfBeaconCompactSyncBuilder_.clear(); + } + msgCase_ = 0; + msg_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessageOuterClass.internal_static_ServerMessage_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage build() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerMessage result = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage(this); + if (bitField0_ != 0) { buildPartial0(result); } + if (bitField1_ != 0) { buildPartial1(result); } + if (bitField2_ != 0) { buildPartial2(result); } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerMessage result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.messageTime_ = messageTimeBuilder_ == null + ? messageTime_ + : messageTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.messageSender_ = messageSender_; + } + } + + private void buildPartial1(com.caliverse.admin.domain.RabbitMq.message.ServerMessage result) { + int from_bitField1_ = bitField1_; + } + + private void buildPartial2(com.caliverse.admin.domain.RabbitMq.message.ServerMessage result) { + int from_bitField2_ = bitField2_; + } + + private void buildPartialOneofs(com.caliverse.admin.domain.RabbitMq.message.ServerMessage result) { + result.msgCase_ = msgCase_; + result.msg_ = this.msg_; + if (msgCase_ == 3 && + chatBuilder_ != null) { + result.msg_ = chatBuilder_.build(); + } + if (msgCase_ == 4 && + kickReqBuilder_ != null) { + result.msg_ = kickReqBuilder_.build(); + } + if (msgCase_ == 5 && + kickResBuilder_ != null) { + result.msg_ = kickResBuilder_.build(); + } + if (msgCase_ == 7 && + whiteListUpdateNotiBuilder_ != null) { + result.msg_ = whiteListUpdateNotiBuilder_.build(); + } + if (msgCase_ == 8 && + blackListUpdateNotiBuilder_ != null) { + result.msg_ = blackListUpdateNotiBuilder_.build(); + } + if (msgCase_ == 9 && + inspectionReqBuilder_ != null) { + result.msg_ = inspectionReqBuilder_.build(); + } + if (msgCase_ == 10 && + changeServerConfigReqBuilder_ != null) { + result.msg_ = changeServerConfigReqBuilder_.build(); + } + if (msgCase_ == 11 && + allKickNormalUserNotiBuilder_ != null) { + result.msg_ = allKickNormalUserNotiBuilder_.build(); + } + if (msgCase_ == 12 && + awsAutoScaleGroupOptionReqBuilder_ != null) { + result.msg_ = awsAutoScaleGroupOptionReqBuilder_.build(); + } + if (msgCase_ == 13 && + awsAutoScaleGroupOptionResBuilder_ != null) { + result.msg_ = awsAutoScaleGroupOptionResBuilder_.build(); + } + if (msgCase_ == 14 && + receiveMailNotiBuilder_ != null) { + result.msg_ = receiveMailNotiBuilder_.build(); + } + if (msgCase_ == 15 && + exchangeMannequinDisplayItemNotiBuilder_ != null) { + result.msg_ = exchangeMannequinDisplayItemNotiBuilder_.build(); + } + if (msgCase_ == 16 && + getAwsAutoScaleOptionReqBuilder_ != null) { + result.msg_ = getAwsAutoScaleOptionReqBuilder_.build(); + } + if (msgCase_ == 17 && + getAwsAutoScaleOptionResBuilder_ != null) { + result.msg_ = getAwsAutoScaleOptionResBuilder_.build(); + } + if (msgCase_ == 18 && + readyForDistroyReqBuilder_ != null) { + result.msg_ = readyForDistroyReqBuilder_.build(); + } + if (msgCase_ == 19 && + loginNotiToFriendBuilder_ != null) { + result.msg_ = loginNotiToFriendBuilder_.build(); + } + if (msgCase_ == 20 && + logoutNotiToFriendBuilder_ != null) { + result.msg_ = logoutNotiToFriendBuilder_.build(); + } + if (msgCase_ == 21 && + managerServerActiveReqBuilder_ != null) { + result.msg_ = managerServerActiveReqBuilder_.build(); + } + if (msgCase_ == 22 && + managerServerActiveResBuilder_ != null) { + result.msg_ = managerServerActiveResBuilder_.build(); + } + if (msgCase_ == 23 && + receiveInviteMyHomeNotiBuilder_ != null) { + result.msg_ = receiveInviteMyHomeNotiBuilder_.build(); + } + if (msgCase_ == 24 && + replyInviteMyhomeNotiBuilder_ != null) { + result.msg_ = replyInviteMyhomeNotiBuilder_.build(); + } + if (msgCase_ == 25 && + stateNotiToFriendBuilder_ != null) { + result.msg_ = stateNotiToFriendBuilder_.build(); + } + if (msgCase_ == 26 && + friendRequestNotiBuilder_ != null) { + result.msg_ = friendRequestNotiBuilder_.build(); + } + if (msgCase_ == 27 && + friendAcceptNotiBuilder_ != null) { + result.msg_ = friendAcceptNotiBuilder_.build(); + } + if (msgCase_ == 28 && + friendDeleteNotiBuilder_ != null) { + result.msg_ = friendDeleteNotiBuilder_.build(); + } + if (msgCase_ == 29 && + cancelFriendRequestNotiBuilder_ != null) { + result.msg_ = cancelFriendRequestNotiBuilder_.build(); + } + if (msgCase_ == 30 && + invitePartyNotiBuilder_ != null) { + result.msg_ = invitePartyNotiBuilder_.build(); + } + if (msgCase_ == 31 && + replyInvitePartyNotiBuilder_ != null) { + result.msg_ = replyInvitePartyNotiBuilder_.build(); + } + if (msgCase_ == 33 && + joinPartyMemberNotiBuilder_ != null) { + result.msg_ = joinPartyMemberNotiBuilder_.build(); + } + if (msgCase_ == 34 && + leavePartyMemberNotiBuilder_ != null) { + result.msg_ = leavePartyMemberNotiBuilder_.build(); + } + if (msgCase_ == 35 && + changePartyServerNameNotiBuilder_ != null) { + result.msg_ = changePartyServerNameNotiBuilder_.build(); + } + if (msgCase_ == 37 && + changePartyLeaderNotiBuilder_ != null) { + result.msg_ = changePartyLeaderNotiBuilder_.build(); + } + if (msgCase_ == 38 && + exchangePartyNameNotiBuilder_ != null) { + result.msg_ = exchangePartyNameNotiBuilder_.build(); + } + if (msgCase_ == 40 && + exchangePartyMemberMarkNotiBuilder_ != null) { + result.msg_ = exchangePartyMemberMarkNotiBuilder_.build(); + } + if (msgCase_ == 41 && + banPartyNotiBuilder_ != null) { + result.msg_ = banPartyNotiBuilder_.build(); + } + if (msgCase_ == 42 && + summonPartyMemberNotiBuilder_ != null) { + result.msg_ = summonPartyMemberNotiBuilder_.build(); + } + if (msgCase_ == 43 && + replySummonPartyMemberNotiBuilder_ != null) { + result.msg_ = replySummonPartyMemberNotiBuilder_.build(); + } + if (msgCase_ == 44 && + noticeChatNotiBuilder_ != null) { + result.msg_ = noticeChatNotiBuilder_.build(); + } + if (msgCase_ == 45 && + systemMailNotiBuilder_ != null) { + result.msg_ = systemMailNotiBuilder_.build(); + } + if (msgCase_ == 46 && + partyVoteNotiBuilder_ != null) { + result.msg_ = partyVoteNotiBuilder_.build(); + } + if (msgCase_ == 47 && + replyPartyVoteNotiBuilder_ != null) { + result.msg_ = replyPartyVoteNotiBuilder_.build(); + } + if (msgCase_ == 48 && + partyVoteResultNotiBuilder_ != null) { + result.msg_ = partyVoteResultNotiBuilder_.build(); + } + if (msgCase_ == 49 && + partyInstanceInfoNotiBuilder_ != null) { + result.msg_ = partyInstanceInfoNotiBuilder_.build(); + } + if (msgCase_ == 50 && + sessionInfoNotiBuilder_ != null) { + result.msg_ = sessionInfoNotiBuilder_.build(); + } + if (msgCase_ == 51 && + kickedFromFriendsMyHomeNotiBuilder_ != null) { + result.msg_ = kickedFromFriendsMyHomeNotiBuilder_.build(); + } + if (msgCase_ == 53 && + cancelSummonPartyMemberNotiBuilder_ != null) { + result.msg_ = cancelSummonPartyMemberNotiBuilder_.build(); + } + if (msgCase_ == 54 && + partyMemberLocationNotiBuilder_ != null) { + result.msg_ = partyMemberLocationNotiBuilder_.build(); + } + if (msgCase_ == 55 && + ntfFriendLeavingHomeBuilder_ != null) { + result.msg_ = ntfFriendLeavingHomeBuilder_.build(); + } + if (msgCase_ == 56 && + ntfInvitePartyRecvResultBuilder_ != null) { + result.msg_ = ntfInvitePartyRecvResultBuilder_.build(); + } + if (msgCase_ == 57 && + ntfDestroyPartyBuilder_ != null) { + result.msg_ = ntfDestroyPartyBuilder_.build(); + } + if (msgCase_ == 58 && + reqReservationEnterToServerBuilder_ != null) { + result.msg_ = reqReservationEnterToServerBuilder_.build(); + } + if (msgCase_ == 59 && + ackReservationEnterToServerBuilder_ != null) { + result.msg_ = ackReservationEnterToServerBuilder_.build(); + } + if (msgCase_ == 60 && + ntfPartyChatBuilder_ != null) { + result.msg_ = ntfPartyChatBuilder_.build(); + } + if (msgCase_ == 61 && + ntfPartyInfoBuilder_ != null) { + result.msg_ = ntfPartyInfoBuilder_.build(); + } + if (msgCase_ == 62 && + ntfReturnUserLogoutBuilder_ != null) { + result.msg_ = ntfReturnUserLogoutBuilder_.build(); + } + if (msgCase_ == 63 && + ntfClearPartySummonBuilder_ != null) { + result.msg_ = ntfClearPartySummonBuilder_.build(); + } + if (msgCase_ == 64 && + ntfCraftHelpBuilder_ != null) { + result.msg_ = ntfCraftHelpBuilder_.build(); + } + if (msgCase_ == 65 && + reqReservationCancelToServerBuilder_ != null) { + result.msg_ = reqReservationCancelToServerBuilder_.build(); + } + if (msgCase_ == 66 && + ntfExchangeMyhomeBuilder_ != null) { + result.msg_ = ntfExchangeMyhomeBuilder_.build(); + } + if (msgCase_ == 67 && + ntfUgcNpcRankRefreshBuilder_ != null) { + result.msg_ = ntfUgcNpcRankRefreshBuilder_.build(); + } + if (msgCase_ == 68 && + ntfDeletePartyInviteSendBuilder_ != null) { + result.msg_ = ntfDeletePartyInviteSendBuilder_.build(); + } + if (msgCase_ == 69 && + ntfMyhomeHostEnterEditRoomBuilder_ != null) { + result.msg_ = ntfMyhomeHostEnterEditRoomBuilder_.build(); + } + if (msgCase_ == 70 && + ntfUserKickBuilder_ != null) { + result.msg_ = ntfUserKickBuilder_.build(); + } + if (msgCase_ == 71 && + ntfMailSendBuilder_ != null) { + result.msg_ = ntfMailSendBuilder_.build(); + } + if (msgCase_ == 72 && + ntfOperationSystemNoticeChatBuilder_ != null) { + result.msg_ = ntfOperationSystemNoticeChatBuilder_.build(); + } + if (msgCase_ == 73 && + ackReservationCancelToServerBuilder_ != null) { + result.msg_ = ackReservationCancelToServerBuilder_.build(); + } + if (msgCase_ == 74 && + ntfFarmingEndBuilder_ != null) { + result.msg_ = ntfFarmingEndBuilder_.build(); + } + if (msgCase_ == 75 && + ntfRentFloorBuilder_ != null) { + result.msg_ = ntfRentFloorBuilder_.build(); + } + if (msgCase_ == 76 && + ntfModifyFloorLinkedInfosBuilder_ != null) { + result.msg_ = ntfModifyFloorLinkedInfosBuilder_.build(); + } + if (msgCase_ == 77 && + ntfBeaconCompactSyncBuilder_ != null) { + result.msg_ = ntfBeaconCompactSyncBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerMessage) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerMessage.getDefaultInstance()) return this; + if (other.hasMessageTime()) { + mergeMessageTime(other.getMessageTime()); + } + if (!other.getMessageSender().isEmpty()) { + messageSender_ = other.messageSender_; + bitField0_ |= 0x00000002; + onChanged(); + } + switch (other.getMsgCase()) { + case CHAT: { + mergeChat(other.getChat()); + break; + } + case KICKREQ: { + mergeKickReq(other.getKickReq()); + break; + } + case KICKRES: { + mergeKickRes(other.getKickRes()); + break; + } + case WHITELISTUPDATENOTI: { + mergeWhiteListUpdateNoti(other.getWhiteListUpdateNoti()); + break; + } + case BLACKLISTUPDATENOTI: { + mergeBlackListUpdateNoti(other.getBlackListUpdateNoti()); + break; + } + case INSPECTIONREQ: { + mergeInspectionReq(other.getInspectionReq()); + break; + } + case CHANGESERVERCONFIGREQ: { + mergeChangeServerConfigReq(other.getChangeServerConfigReq()); + break; + } + case ALLKICKNORMALUSERNOTI: { + mergeAllKickNormalUserNoti(other.getAllKickNormalUserNoti()); + break; + } + case AWSAUTOSCALEGROUPOPTIONREQ: { + mergeAwsAutoScaleGroupOptionReq(other.getAwsAutoScaleGroupOptionReq()); + break; + } + case AWSAUTOSCALEGROUPOPTIONRES: { + mergeAwsAutoScaleGroupOptionRes(other.getAwsAutoScaleGroupOptionRes()); + break; + } + case RECEIVEMAILNOTI: { + mergeReceiveMailNoti(other.getReceiveMailNoti()); + break; + } + case EXCHANGEMANNEQUINDISPLAYITEMNOTI: { + mergeExchangeMannequinDisplayItemNoti(other.getExchangeMannequinDisplayItemNoti()); + break; + } + case GETAWSAUTOSCALEOPTIONREQ: { + mergeGetAwsAutoScaleOptionReq(other.getGetAwsAutoScaleOptionReq()); + break; + } + case GETAWSAUTOSCALEOPTIONRES: { + mergeGetAwsAutoScaleOptionRes(other.getGetAwsAutoScaleOptionRes()); + break; + } + case READYFORDISTROYREQ: { + mergeReadyForDistroyReq(other.getReadyForDistroyReq()); + break; + } + case LOGINNOTITOFRIEND: { + mergeLoginNotiToFriend(other.getLoginNotiToFriend()); + break; + } + case LOGOUTNOTITOFRIEND: { + mergeLogoutNotiToFriend(other.getLogoutNotiToFriend()); + break; + } + case MANAGERSERVERACTIVEREQ: { + mergeManagerServerActiveReq(other.getManagerServerActiveReq()); + break; + } + case MANAGERSERVERACTIVERES: { + mergeManagerServerActiveRes(other.getManagerServerActiveRes()); + break; + } + case RECEIVEINVITEMYHOMENOTI: { + mergeReceiveInviteMyHomeNoti(other.getReceiveInviteMyHomeNoti()); + break; + } + case REPLYINVITEMYHOMENOTI: { + mergeReplyInviteMyhomeNoti(other.getReplyInviteMyhomeNoti()); + break; + } + case STATENOTITOFRIEND: { + mergeStateNotiToFriend(other.getStateNotiToFriend()); + break; + } + case FRIENDREQUESTNOTI: { + mergeFriendRequestNoti(other.getFriendRequestNoti()); + break; + } + case FRIENDACCEPTNOTI: { + mergeFriendAcceptNoti(other.getFriendAcceptNoti()); + break; + } + case FRIENDDELETENOTI: { + mergeFriendDeleteNoti(other.getFriendDeleteNoti()); + break; + } + case CANCELFRIENDREQUESTNOTI: { + mergeCancelFriendRequestNoti(other.getCancelFriendRequestNoti()); + break; + } + case INVITEPARTYNOTI: { + mergeInvitePartyNoti(other.getInvitePartyNoti()); + break; + } + case REPLYINVITEPARTYNOTI: { + mergeReplyInvitePartyNoti(other.getReplyInvitePartyNoti()); + break; + } + case JOINPARTYMEMBERNOTI: { + mergeJoinPartyMemberNoti(other.getJoinPartyMemberNoti()); + break; + } + case LEAVEPARTYMEMBERNOTI: { + mergeLeavePartyMemberNoti(other.getLeavePartyMemberNoti()); + break; + } + case CHANGEPARTYSERVERNAMENOTI: { + mergeChangePartyServerNameNoti(other.getChangePartyServerNameNoti()); + break; + } + case CHANGEPARTYLEADERNOTI: { + mergeChangePartyLeaderNoti(other.getChangePartyLeaderNoti()); + break; + } + case EXCHANGEPARTYNAMENOTI: { + mergeExchangePartyNameNoti(other.getExchangePartyNameNoti()); + break; + } + case EXCHANGEPARTYMEMBERMARKNOTI: { + mergeExchangePartyMemberMarkNoti(other.getExchangePartyMemberMarkNoti()); + break; + } + case BANPARTYNOTI: { + mergeBanPartyNoti(other.getBanPartyNoti()); + break; + } + case SUMMONPARTYMEMBERNOTI: { + mergeSummonPartyMemberNoti(other.getSummonPartyMemberNoti()); + break; + } + case REPLYSUMMONPARTYMEMBERNOTI: { + mergeReplySummonPartyMemberNoti(other.getReplySummonPartyMemberNoti()); + break; + } + case NOTICECHATNOTI: { + mergeNoticeChatNoti(other.getNoticeChatNoti()); + break; + } + case SYSTEMMAILNOTI: { + mergeSystemMailNoti(other.getSystemMailNoti()); + break; + } + case PARTYVOTENOTI: { + mergePartyVoteNoti(other.getPartyVoteNoti()); + break; + } + case REPLYPARTYVOTENOTI: { + mergeReplyPartyVoteNoti(other.getReplyPartyVoteNoti()); + break; + } + case PARTYVOTERESULTNOTI: { + mergePartyVoteResultNoti(other.getPartyVoteResultNoti()); + break; + } + case PARTYINSTANCEINFONOTI: { + mergePartyInstanceInfoNoti(other.getPartyInstanceInfoNoti()); + break; + } + case SESSIONINFONOTI: { + mergeSessionInfoNoti(other.getSessionInfoNoti()); + break; + } + case KICKEDFROMFRIENDSMYHOMENOTI: { + mergeKickedFromFriendsMyHomeNoti(other.getKickedFromFriendsMyHomeNoti()); + break; + } + case CANCELSUMMONPARTYMEMBERNOTI: { + mergeCancelSummonPartyMemberNoti(other.getCancelSummonPartyMemberNoti()); + break; + } + case PARTYMEMBERLOCATIONNOTI: { + mergePartyMemberLocationNoti(other.getPartyMemberLocationNoti()); + break; + } + case NTFFRIENDLEAVINGHOME: { + mergeNtfFriendLeavingHome(other.getNtfFriendLeavingHome()); + break; + } + case NTFINVITEPARTYRECVRESULT: { + mergeNtfInvitePartyRecvResult(other.getNtfInvitePartyRecvResult()); + break; + } + case NTFDESTROYPARTY: { + mergeNtfDestroyParty(other.getNtfDestroyParty()); + break; + } + case REQRESERVATIONENTERTOSERVER: { + mergeReqReservationEnterToServer(other.getReqReservationEnterToServer()); + break; + } + case ACKRESERVATIONENTERTOSERVER: { + mergeAckReservationEnterToServer(other.getAckReservationEnterToServer()); + break; + } + case NTFPARTYCHAT: { + mergeNtfPartyChat(other.getNtfPartyChat()); + break; + } + case NTFPARTYINFO: { + mergeNtfPartyInfo(other.getNtfPartyInfo()); + break; + } + case NTFRETURNUSERLOGOUT: { + mergeNtfReturnUserLogout(other.getNtfReturnUserLogout()); + break; + } + case NTFCLEARPARTYSUMMON: { + mergeNtfClearPartySummon(other.getNtfClearPartySummon()); + break; + } + case NTFCRAFTHELP: { + mergeNtfCraftHelp(other.getNtfCraftHelp()); + break; + } + case REQRESERVATIONCANCELTOSERVER: { + mergeReqReservationCancelToServer(other.getReqReservationCancelToServer()); + break; + } + case NTFEXCHANGEMYHOME: { + mergeNtfExchangeMyhome(other.getNtfExchangeMyhome()); + break; + } + case NTFUGCNPCRANKREFRESH: { + mergeNtfUgcNpcRankRefresh(other.getNtfUgcNpcRankRefresh()); + break; + } + case NTFDELETEPARTYINVITESEND: { + mergeNtfDeletePartyInviteSend(other.getNtfDeletePartyInviteSend()); + break; + } + case NTFMYHOMEHOSTENTEREDITROOM: { + mergeNtfMyhomeHostEnterEditRoom(other.getNtfMyhomeHostEnterEditRoom()); + break; + } + case NTFUSERKICK: { + mergeNtfUserKick(other.getNtfUserKick()); + break; + } + case NTFMAILSEND: { + mergeNtfMailSend(other.getNtfMailSend()); + break; + } + case NTFOPERATIONSYSTEMNOTICECHAT: { + mergeNtfOperationSystemNoticeChat(other.getNtfOperationSystemNoticeChat()); + break; + } + case ACKRESERVATIONCANCELTOSERVER: { + mergeAckReservationCancelToServer(other.getAckReservationCancelToServer()); + break; + } + case NTFFARMINGEND: { + mergeNtfFarmingEnd(other.getNtfFarmingEnd()); + break; + } + case NTFRENTFLOOR: { + mergeNtfRentFloor(other.getNtfRentFloor()); + break; + } + case NTFMODIFYFLOORLINKEDINFOS: { + mergeNtfModifyFloorLinkedInfos(other.getNtfModifyFloorLinkedInfos()); + break; + } + case NTFBEACONCOMPACTSYNC: { + mergeNtfBeaconCompactSync(other.getNtfBeaconCompactSync()); + break; + } + case MSG_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getMessageTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + messageSender_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getChatFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getKickReqFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getKickResFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 5; + break; + } // case 42 + case 58: { + input.readMessage( + getWhiteListUpdateNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 7; + break; + } // case 58 + case 66: { + input.readMessage( + getBlackListUpdateNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 8; + break; + } // case 66 + case 74: { + input.readMessage( + getInspectionReqFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 9; + break; + } // case 74 + case 82: { + input.readMessage( + getChangeServerConfigReqFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 10; + break; + } // case 82 + case 90: { + input.readMessage( + getAllKickNormalUserNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 11; + break; + } // case 90 + case 98: { + input.readMessage( + getAwsAutoScaleGroupOptionReqFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 12; + break; + } // case 98 + case 106: { + input.readMessage( + getAwsAutoScaleGroupOptionResFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 13; + break; + } // case 106 + case 114: { + input.readMessage( + getReceiveMailNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 14; + break; + } // case 114 + case 122: { + input.readMessage( + getExchangeMannequinDisplayItemNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 15; + break; + } // case 122 + case 130: { + input.readMessage( + getGetAwsAutoScaleOptionReqFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 16; + break; + } // case 130 + case 138: { + input.readMessage( + getGetAwsAutoScaleOptionResFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 17; + break; + } // case 138 + case 146: { + input.readMessage( + getReadyForDistroyReqFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 18; + break; + } // case 146 + case 154: { + input.readMessage( + getLoginNotiToFriendFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 19; + break; + } // case 154 + case 162: { + input.readMessage( + getLogoutNotiToFriendFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 20; + break; + } // case 162 + case 170: { + input.readMessage( + getManagerServerActiveReqFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 21; + break; + } // case 170 + case 178: { + input.readMessage( + getManagerServerActiveResFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 22; + break; + } // case 178 + case 186: { + input.readMessage( + getReceiveInviteMyHomeNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 23; + break; + } // case 186 + case 194: { + input.readMessage( + getReplyInviteMyhomeNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 24; + break; + } // case 194 + case 202: { + input.readMessage( + getStateNotiToFriendFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 25; + break; + } // case 202 + case 210: { + input.readMessage( + getFriendRequestNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 26; + break; + } // case 210 + case 218: { + input.readMessage( + getFriendAcceptNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 27; + break; + } // case 218 + case 226: { + input.readMessage( + getFriendDeleteNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 28; + break; + } // case 226 + case 234: { + input.readMessage( + getCancelFriendRequestNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 29; + break; + } // case 234 + case 242: { + input.readMessage( + getInvitePartyNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 30; + break; + } // case 242 + case 250: { + input.readMessage( + getReplyInvitePartyNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 31; + break; + } // case 250 + case 266: { + input.readMessage( + getJoinPartyMemberNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 33; + break; + } // case 266 + case 274: { + input.readMessage( + getLeavePartyMemberNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 34; + break; + } // case 274 + case 282: { + input.readMessage( + getChangePartyServerNameNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 35; + break; + } // case 282 + case 298: { + input.readMessage( + getChangePartyLeaderNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 37; + break; + } // case 298 + case 306: { + input.readMessage( + getExchangePartyNameNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 38; + break; + } // case 306 + case 322: { + input.readMessage( + getExchangePartyMemberMarkNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 40; + break; + } // case 322 + case 330: { + input.readMessage( + getBanPartyNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 41; + break; + } // case 330 + case 338: { + input.readMessage( + getSummonPartyMemberNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 42; + break; + } // case 338 + case 346: { + input.readMessage( + getReplySummonPartyMemberNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 43; + break; + } // case 346 + case 354: { + input.readMessage( + getNoticeChatNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 44; + break; + } // case 354 + case 362: { + input.readMessage( + getSystemMailNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 45; + break; + } // case 362 + case 370: { + input.readMessage( + getPartyVoteNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 46; + break; + } // case 370 + case 378: { + input.readMessage( + getReplyPartyVoteNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 47; + break; + } // case 378 + case 386: { + input.readMessage( + getPartyVoteResultNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 48; + break; + } // case 386 + case 394: { + input.readMessage( + getPartyInstanceInfoNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 49; + break; + } // case 394 + case 402: { + input.readMessage( + getSessionInfoNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 50; + break; + } // case 402 + case 410: { + input.readMessage( + getKickedFromFriendsMyHomeNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 51; + break; + } // case 410 + case 426: { + input.readMessage( + getCancelSummonPartyMemberNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 53; + break; + } // case 426 + case 434: { + input.readMessage( + getPartyMemberLocationNotiFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 54; + break; + } // case 434 + case 442: { + input.readMessage( + getNtfFriendLeavingHomeFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 55; + break; + } // case 442 + case 450: { + input.readMessage( + getNtfInvitePartyRecvResultFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 56; + break; + } // case 450 + case 458: { + input.readMessage( + getNtfDestroyPartyFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 57; + break; + } // case 458 + case 466: { + input.readMessage( + getReqReservationEnterToServerFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 58; + break; + } // case 466 + case 474: { + input.readMessage( + getAckReservationEnterToServerFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 59; + break; + } // case 474 + case 482: { + input.readMessage( + getNtfPartyChatFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 60; + break; + } // case 482 + case 490: { + input.readMessage( + getNtfPartyInfoFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 61; + break; + } // case 490 + case 498: { + input.readMessage( + getNtfReturnUserLogoutFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 62; + break; + } // case 498 + case 506: { + input.readMessage( + getNtfClearPartySummonFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 63; + break; + } // case 506 + case 514: { + input.readMessage( + getNtfCraftHelpFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 64; + break; + } // case 514 + case 522: { + input.readMessage( + getReqReservationCancelToServerFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 65; + break; + } // case 522 + case 530: { + input.readMessage( + getNtfExchangeMyhomeFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 66; + break; + } // case 530 + case 538: { + input.readMessage( + getNtfUgcNpcRankRefreshFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 67; + break; + } // case 538 + case 546: { + input.readMessage( + getNtfDeletePartyInviteSendFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 68; + break; + } // case 546 + case 554: { + input.readMessage( + getNtfMyhomeHostEnterEditRoomFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 69; + break; + } // case 554 + case 562: { + input.readMessage( + getNtfUserKickFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 70; + break; + } // case 562 + case 570: { + input.readMessage( + getNtfMailSendFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 71; + break; + } // case 570 + case 578: { + input.readMessage( + getNtfOperationSystemNoticeChatFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 72; + break; + } // case 578 + case 586: { + input.readMessage( + getAckReservationCancelToServerFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 73; + break; + } // case 586 + case 594: { + input.readMessage( + getNtfFarmingEndFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 74; + break; + } // case 594 + case 602: { + input.readMessage( + getNtfRentFloorFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 75; + break; + } // case 602 + case 610: { + input.readMessage( + getNtfModifyFloorLinkedInfosFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 76; + break; + } // case 610 + case 618: { + input.readMessage( + getNtfBeaconCompactSyncFieldBuilder().getBuilder(), + extensionRegistry); + msgCase_ = 77; + break; + } // case 618 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int msgCase_ = 0; + private java.lang.Object msg_; + public MsgCase + getMsgCase() { + return MsgCase.forNumber( + msgCase_); + } + + public Builder clearMsg() { + msgCase_ = 0; + msg_ = null; + onChanged(); + return this; + } + + private int bitField0_; + private int bitField1_; + private int bitField2_; + + private com.google.protobuf.Timestamp messageTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> messageTimeBuilder_; + /** + * .google.protobuf.Timestamp messageTime = 1; + * @return Whether the messageTime field is set. + */ + public boolean hasMessageTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .google.protobuf.Timestamp messageTime = 1; + * @return The messageTime. + */ + public com.google.protobuf.Timestamp getMessageTime() { + if (messageTimeBuilder_ == null) { + return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; + } else { + return messageTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp messageTime = 1; + */ + public Builder setMessageTime(com.google.protobuf.Timestamp value) { + if (messageTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + messageTime_ = value; + } else { + messageTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp messageTime = 1; + */ + public Builder setMessageTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (messageTimeBuilder_ == null) { + messageTime_ = builderForValue.build(); + } else { + messageTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp messageTime = 1; + */ + public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { + if (messageTimeBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + messageTime_ != null && + messageTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getMessageTimeBuilder().mergeFrom(value); + } else { + messageTime_ = value; + } + } else { + messageTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp messageTime = 1; + */ + public Builder clearMessageTime() { + bitField0_ = (bitField0_ & ~0x00000001); + messageTime_ = null; + if (messageTimeBuilder_ != null) { + messageTimeBuilder_.dispose(); + messageTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp messageTime = 1; + */ + public com.google.protobuf.Timestamp.Builder getMessageTimeBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getMessageTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp messageTime = 1; + */ + public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { + if (messageTimeBuilder_ != null) { + return messageTimeBuilder_.getMessageOrBuilder(); + } else { + return messageTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_; + } + } + /** + * .google.protobuf.Timestamp messageTime = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getMessageTimeFieldBuilder() { + if (messageTimeBuilder_ == null) { + messageTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getMessageTime(), + getParentForChildren(), + isClean()); + messageTime_ = null; + } + return messageTimeBuilder_; + } + + private java.lang.Object messageSender_ = ""; + /** + * string messageSender = 2; + * @return The messageSender. + */ + public java.lang.String getMessageSender() { + java.lang.Object ref = messageSender_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + messageSender_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string messageSender = 2; + * @return The bytes for messageSender. + */ + public com.google.protobuf.ByteString + getMessageSenderBytes() { + java.lang.Object ref = messageSender_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + messageSender_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string messageSender = 2; + * @param value The messageSender to set. + * @return This builder for chaining. + */ + public Builder setMessageSender( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + messageSender_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string messageSender = 2; + * @return This builder for chaining. + */ + public Builder clearMessageSender() { + messageSender_ = getDefaultInstance().getMessageSender(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string messageSender = 2; + * @param value The bytes for messageSender to set. + * @return This builder for chaining. + */ + public Builder setMessageSenderBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + messageSender_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChatOrBuilder> chatBuilder_; + /** + * .ServerMessage.Chat chat = 3; + * @return Whether the chat field is set. + */ + @java.lang.Override + public boolean hasChat() { + return msgCase_ == 3; + } + /** + * .ServerMessage.Chat chat = 3; + * @return The chat. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat getChat() { + if (chatBuilder_ == null) { + if (msgCase_ == 3) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.getDefaultInstance(); + } else { + if (msgCase_ == 3) { + return chatBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.getDefaultInstance(); + } + } + /** + * .ServerMessage.Chat chat = 3; + */ + public Builder setChat(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat value) { + if (chatBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + chatBuilder_.setMessage(value); + } + msgCase_ = 3; + return this; + } + /** + * .ServerMessage.Chat chat = 3; + */ + public Builder setChat( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.Builder builderForValue) { + if (chatBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + chatBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 3; + return this; + } + /** + * .ServerMessage.Chat chat = 3; + */ + public Builder mergeChat(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat value) { + if (chatBuilder_ == null) { + if (msgCase_ == 3 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 3) { + chatBuilder_.mergeFrom(value); + } else { + chatBuilder_.setMessage(value); + } + } + msgCase_ = 3; + return this; + } + /** + * .ServerMessage.Chat chat = 3; + */ + public Builder clearChat() { + if (chatBuilder_ == null) { + if (msgCase_ == 3) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 3) { + msgCase_ = 0; + msg_ = null; + } + chatBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.Chat chat = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.Builder getChatBuilder() { + return getChatFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.Chat chat = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChatOrBuilder getChatOrBuilder() { + if ((msgCase_ == 3) && (chatBuilder_ != null)) { + return chatBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 3) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.getDefaultInstance(); + } + } + /** + * .ServerMessage.Chat chat = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChatOrBuilder> + getChatFieldBuilder() { + if (chatBuilder_ == null) { + if (!(msgCase_ == 3)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.getDefaultInstance(); + } + chatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChatOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 3; + onChanged(); + return chatBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReqOrBuilder> kickReqBuilder_; + /** + * .ServerMessage.KickReq kickReq = 4; + * @return Whether the kickReq field is set. + */ + @java.lang.Override + public boolean hasKickReq() { + return msgCase_ == 4; + } + /** + * .ServerMessage.KickReq kickReq = 4; + * @return The kickReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq getKickReq() { + if (kickReqBuilder_ == null) { + if (msgCase_ == 4) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.getDefaultInstance(); + } else { + if (msgCase_ == 4) { + return kickReqBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.KickReq kickReq = 4; + */ + public Builder setKickReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq value) { + if (kickReqBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + kickReqBuilder_.setMessage(value); + } + msgCase_ = 4; + return this; + } + /** + * .ServerMessage.KickReq kickReq = 4; + */ + public Builder setKickReq( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.Builder builderForValue) { + if (kickReqBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + kickReqBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 4; + return this; + } + /** + * .ServerMessage.KickReq kickReq = 4; + */ + public Builder mergeKickReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq value) { + if (kickReqBuilder_ == null) { + if (msgCase_ == 4 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 4) { + kickReqBuilder_.mergeFrom(value); + } else { + kickReqBuilder_.setMessage(value); + } + } + msgCase_ = 4; + return this; + } + /** + * .ServerMessage.KickReq kickReq = 4; + */ + public Builder clearKickReq() { + if (kickReqBuilder_ == null) { + if (msgCase_ == 4) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 4) { + msgCase_ = 0; + msg_ = null; + } + kickReqBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.KickReq kickReq = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.Builder getKickReqBuilder() { + return getKickReqFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.KickReq kickReq = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReqOrBuilder getKickReqOrBuilder() { + if ((msgCase_ == 4) && (kickReqBuilder_ != null)) { + return kickReqBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 4) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.KickReq kickReq = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReqOrBuilder> + getKickReqFieldBuilder() { + if (kickReqBuilder_ == null) { + if (!(msgCase_ == 4)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.getDefaultInstance(); + } + kickReqBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReqOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 4; + onChanged(); + return kickReqBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickResOrBuilder> kickResBuilder_; + /** + * .ServerMessage.KickRes kickRes = 5; + * @return Whether the kickRes field is set. + */ + @java.lang.Override + public boolean hasKickRes() { + return msgCase_ == 5; + } + /** + * .ServerMessage.KickRes kickRes = 5; + * @return The kickRes. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes getKickRes() { + if (kickResBuilder_ == null) { + if (msgCase_ == 5) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.getDefaultInstance(); + } else { + if (msgCase_ == 5) { + return kickResBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.getDefaultInstance(); + } + } + /** + * .ServerMessage.KickRes kickRes = 5; + */ + public Builder setKickRes(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes value) { + if (kickResBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + kickResBuilder_.setMessage(value); + } + msgCase_ = 5; + return this; + } + /** + * .ServerMessage.KickRes kickRes = 5; + */ + public Builder setKickRes( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.Builder builderForValue) { + if (kickResBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + kickResBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 5; + return this; + } + /** + * .ServerMessage.KickRes kickRes = 5; + */ + public Builder mergeKickRes(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes value) { + if (kickResBuilder_ == null) { + if (msgCase_ == 5 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 5) { + kickResBuilder_.mergeFrom(value); + } else { + kickResBuilder_.setMessage(value); + } + } + msgCase_ = 5; + return this; + } + /** + * .ServerMessage.KickRes kickRes = 5; + */ + public Builder clearKickRes() { + if (kickResBuilder_ == null) { + if (msgCase_ == 5) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 5) { + msgCase_ = 0; + msg_ = null; + } + kickResBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.KickRes kickRes = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.Builder getKickResBuilder() { + return getKickResFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.KickRes kickRes = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickResOrBuilder getKickResOrBuilder() { + if ((msgCase_ == 5) && (kickResBuilder_ != null)) { + return kickResBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 5) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.getDefaultInstance(); + } + } + /** + * .ServerMessage.KickRes kickRes = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickResOrBuilder> + getKickResFieldBuilder() { + if (kickResBuilder_ == null) { + if (!(msgCase_ == 5)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.getDefaultInstance(); + } + kickResBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickResOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 5; + onChanged(); + return kickResBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNotiOrBuilder> whiteListUpdateNotiBuilder_; + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + * @return Whether the whiteListUpdateNoti field is set. + */ + @java.lang.Override + public boolean hasWhiteListUpdateNoti() { + return msgCase_ == 7; + } + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + * @return The whiteListUpdateNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti getWhiteListUpdateNoti() { + if (whiteListUpdateNotiBuilder_ == null) { + if (msgCase_ == 7) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.getDefaultInstance(); + } else { + if (msgCase_ == 7) { + return whiteListUpdateNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + */ + public Builder setWhiteListUpdateNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti value) { + if (whiteListUpdateNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + whiteListUpdateNotiBuilder_.setMessage(value); + } + msgCase_ = 7; + return this; + } + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + */ + public Builder setWhiteListUpdateNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.Builder builderForValue) { + if (whiteListUpdateNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + whiteListUpdateNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 7; + return this; + } + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + */ + public Builder mergeWhiteListUpdateNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti value) { + if (whiteListUpdateNotiBuilder_ == null) { + if (msgCase_ == 7 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 7) { + whiteListUpdateNotiBuilder_.mergeFrom(value); + } else { + whiteListUpdateNotiBuilder_.setMessage(value); + } + } + msgCase_ = 7; + return this; + } + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + */ + public Builder clearWhiteListUpdateNoti() { + if (whiteListUpdateNotiBuilder_ == null) { + if (msgCase_ == 7) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 7) { + msgCase_ = 0; + msg_ = null; + } + whiteListUpdateNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.Builder getWhiteListUpdateNotiBuilder() { + return getWhiteListUpdateNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNotiOrBuilder getWhiteListUpdateNotiOrBuilder() { + if ((msgCase_ == 7) && (whiteListUpdateNotiBuilder_ != null)) { + return whiteListUpdateNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 7) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNotiOrBuilder> + getWhiteListUpdateNotiFieldBuilder() { + if (whiteListUpdateNotiBuilder_ == null) { + if (!(msgCase_ == 7)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.getDefaultInstance(); + } + whiteListUpdateNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 7; + onChanged(); + return whiteListUpdateNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNotiOrBuilder> blackListUpdateNotiBuilder_; + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + * @return Whether the blackListUpdateNoti field is set. + */ + @java.lang.Override + public boolean hasBlackListUpdateNoti() { + return msgCase_ == 8; + } + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + * @return The blackListUpdateNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti getBlackListUpdateNoti() { + if (blackListUpdateNotiBuilder_ == null) { + if (msgCase_ == 8) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.getDefaultInstance(); + } else { + if (msgCase_ == 8) { + return blackListUpdateNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + */ + public Builder setBlackListUpdateNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti value) { + if (blackListUpdateNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + blackListUpdateNotiBuilder_.setMessage(value); + } + msgCase_ = 8; + return this; + } + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + */ + public Builder setBlackListUpdateNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.Builder builderForValue) { + if (blackListUpdateNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + blackListUpdateNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 8; + return this; + } + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + */ + public Builder mergeBlackListUpdateNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti value) { + if (blackListUpdateNotiBuilder_ == null) { + if (msgCase_ == 8 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 8) { + blackListUpdateNotiBuilder_.mergeFrom(value); + } else { + blackListUpdateNotiBuilder_.setMessage(value); + } + } + msgCase_ = 8; + return this; + } + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + */ + public Builder clearBlackListUpdateNoti() { + if (blackListUpdateNotiBuilder_ == null) { + if (msgCase_ == 8) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 8) { + msgCase_ = 0; + msg_ = null; + } + blackListUpdateNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.Builder getBlackListUpdateNotiBuilder() { + return getBlackListUpdateNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNotiOrBuilder getBlackListUpdateNotiOrBuilder() { + if ((msgCase_ == 8) && (blackListUpdateNotiBuilder_ != null)) { + return blackListUpdateNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 8) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNotiOrBuilder> + getBlackListUpdateNotiFieldBuilder() { + if (blackListUpdateNotiBuilder_ == null) { + if (!(msgCase_ == 8)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.getDefaultInstance(); + } + blackListUpdateNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 8; + onChanged(); + return blackListUpdateNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReqOrBuilder> inspectionReqBuilder_; + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + * @return Whether the inspectionReq field is set. + */ + @java.lang.Override + public boolean hasInspectionReq() { + return msgCase_ == 9; + } + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + * @return The inspectionReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq getInspectionReq() { + if (inspectionReqBuilder_ == null) { + if (msgCase_ == 9) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.getDefaultInstance(); + } else { + if (msgCase_ == 9) { + return inspectionReqBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + */ + public Builder setInspectionReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq value) { + if (inspectionReqBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + inspectionReqBuilder_.setMessage(value); + } + msgCase_ = 9; + return this; + } + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + */ + public Builder setInspectionReq( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.Builder builderForValue) { + if (inspectionReqBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + inspectionReqBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 9; + return this; + } + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + */ + public Builder mergeInspectionReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq value) { + if (inspectionReqBuilder_ == null) { + if (msgCase_ == 9 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 9) { + inspectionReqBuilder_.mergeFrom(value); + } else { + inspectionReqBuilder_.setMessage(value); + } + } + msgCase_ = 9; + return this; + } + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + */ + public Builder clearInspectionReq() { + if (inspectionReqBuilder_ == null) { + if (msgCase_ == 9) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 9) { + msgCase_ = 0; + msg_ = null; + } + inspectionReqBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.Builder getInspectionReqBuilder() { + return getInspectionReqFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReqOrBuilder getInspectionReqOrBuilder() { + if ((msgCase_ == 9) && (inspectionReqBuilder_ != null)) { + return inspectionReqBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 9) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReqOrBuilder> + getInspectionReqFieldBuilder() { + if (inspectionReqBuilder_ == null) { + if (!(msgCase_ == 9)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.getDefaultInstance(); + } + inspectionReqBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReqOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 9; + onChanged(); + return inspectionReqBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReqOrBuilder> changeServerConfigReqBuilder_; + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + * @return Whether the changeServerConfigReq field is set. + */ + @java.lang.Override + public boolean hasChangeServerConfigReq() { + return msgCase_ == 10; + } + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + * @return The changeServerConfigReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq getChangeServerConfigReq() { + if (changeServerConfigReqBuilder_ == null) { + if (msgCase_ == 10) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.getDefaultInstance(); + } else { + if (msgCase_ == 10) { + return changeServerConfigReqBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + */ + public Builder setChangeServerConfigReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq value) { + if (changeServerConfigReqBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + changeServerConfigReqBuilder_.setMessage(value); + } + msgCase_ = 10; + return this; + } + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + */ + public Builder setChangeServerConfigReq( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.Builder builderForValue) { + if (changeServerConfigReqBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + changeServerConfigReqBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 10; + return this; + } + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + */ + public Builder mergeChangeServerConfigReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq value) { + if (changeServerConfigReqBuilder_ == null) { + if (msgCase_ == 10 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 10) { + changeServerConfigReqBuilder_.mergeFrom(value); + } else { + changeServerConfigReqBuilder_.setMessage(value); + } + } + msgCase_ = 10; + return this; + } + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + */ + public Builder clearChangeServerConfigReq() { + if (changeServerConfigReqBuilder_ == null) { + if (msgCase_ == 10) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 10) { + msgCase_ = 0; + msg_ = null; + } + changeServerConfigReqBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.Builder getChangeServerConfigReqBuilder() { + return getChangeServerConfigReqFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReqOrBuilder getChangeServerConfigReqOrBuilder() { + if ((msgCase_ == 10) && (changeServerConfigReqBuilder_ != null)) { + return changeServerConfigReqBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 10) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReqOrBuilder> + getChangeServerConfigReqFieldBuilder() { + if (changeServerConfigReqBuilder_ == null) { + if (!(msgCase_ == 10)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.getDefaultInstance(); + } + changeServerConfigReqBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReqOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 10; + onChanged(); + return changeServerConfigReqBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNotiOrBuilder> allKickNormalUserNotiBuilder_; + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + * @return Whether the allKickNormalUserNoti field is set. + */ + @java.lang.Override + public boolean hasAllKickNormalUserNoti() { + return msgCase_ == 11; + } + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + * @return The allKickNormalUserNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti getAllKickNormalUserNoti() { + if (allKickNormalUserNotiBuilder_ == null) { + if (msgCase_ == 11) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.getDefaultInstance(); + } else { + if (msgCase_ == 11) { + return allKickNormalUserNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + */ + public Builder setAllKickNormalUserNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti value) { + if (allKickNormalUserNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + allKickNormalUserNotiBuilder_.setMessage(value); + } + msgCase_ = 11; + return this; + } + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + */ + public Builder setAllKickNormalUserNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.Builder builderForValue) { + if (allKickNormalUserNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + allKickNormalUserNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 11; + return this; + } + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + */ + public Builder mergeAllKickNormalUserNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti value) { + if (allKickNormalUserNotiBuilder_ == null) { + if (msgCase_ == 11 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 11) { + allKickNormalUserNotiBuilder_.mergeFrom(value); + } else { + allKickNormalUserNotiBuilder_.setMessage(value); + } + } + msgCase_ = 11; + return this; + } + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + */ + public Builder clearAllKickNormalUserNoti() { + if (allKickNormalUserNotiBuilder_ == null) { + if (msgCase_ == 11) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 11) { + msgCase_ = 0; + msg_ = null; + } + allKickNormalUserNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.Builder getAllKickNormalUserNotiBuilder() { + return getAllKickNormalUserNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNotiOrBuilder getAllKickNormalUserNotiOrBuilder() { + if ((msgCase_ == 11) && (allKickNormalUserNotiBuilder_ != null)) { + return allKickNormalUserNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 11) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNotiOrBuilder> + getAllKickNormalUserNotiFieldBuilder() { + if (allKickNormalUserNotiBuilder_ == null) { + if (!(msgCase_ == 11)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.getDefaultInstance(); + } + allKickNormalUserNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 11; + onChanged(); + return allKickNormalUserNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReqOrBuilder> awsAutoScaleGroupOptionReqBuilder_; + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + * @return Whether the awsAutoScaleGroupOptionReq field is set. + */ + @java.lang.Override + public boolean hasAwsAutoScaleGroupOptionReq() { + return msgCase_ == 12; + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + * @return The awsAutoScaleGroupOptionReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq getAwsAutoScaleGroupOptionReq() { + if (awsAutoScaleGroupOptionReqBuilder_ == null) { + if (msgCase_ == 12) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.getDefaultInstance(); + } else { + if (msgCase_ == 12) { + return awsAutoScaleGroupOptionReqBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + */ + public Builder setAwsAutoScaleGroupOptionReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq value) { + if (awsAutoScaleGroupOptionReqBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + awsAutoScaleGroupOptionReqBuilder_.setMessage(value); + } + msgCase_ = 12; + return this; + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + */ + public Builder setAwsAutoScaleGroupOptionReq( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.Builder builderForValue) { + if (awsAutoScaleGroupOptionReqBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + awsAutoScaleGroupOptionReqBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 12; + return this; + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + */ + public Builder mergeAwsAutoScaleGroupOptionReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq value) { + if (awsAutoScaleGroupOptionReqBuilder_ == null) { + if (msgCase_ == 12 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 12) { + awsAutoScaleGroupOptionReqBuilder_.mergeFrom(value); + } else { + awsAutoScaleGroupOptionReqBuilder_.setMessage(value); + } + } + msgCase_ = 12; + return this; + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + */ + public Builder clearAwsAutoScaleGroupOptionReq() { + if (awsAutoScaleGroupOptionReqBuilder_ == null) { + if (msgCase_ == 12) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 12) { + msgCase_ = 0; + msg_ = null; + } + awsAutoScaleGroupOptionReqBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.Builder getAwsAutoScaleGroupOptionReqBuilder() { + return getAwsAutoScaleGroupOptionReqFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReqOrBuilder getAwsAutoScaleGroupOptionReqOrBuilder() { + if ((msgCase_ == 12) && (awsAutoScaleGroupOptionReqBuilder_ != null)) { + return awsAutoScaleGroupOptionReqBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 12) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReqOrBuilder> + getAwsAutoScaleGroupOptionReqFieldBuilder() { + if (awsAutoScaleGroupOptionReqBuilder_ == null) { + if (!(msgCase_ == 12)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.getDefaultInstance(); + } + awsAutoScaleGroupOptionReqBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReqOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 12; + onChanged(); + return awsAutoScaleGroupOptionReqBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionResOrBuilder> awsAutoScaleGroupOptionResBuilder_; + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + * @return Whether the awsAutoScaleGroupOptionRes field is set. + */ + @java.lang.Override + public boolean hasAwsAutoScaleGroupOptionRes() { + return msgCase_ == 13; + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + * @return The awsAutoScaleGroupOptionRes. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes getAwsAutoScaleGroupOptionRes() { + if (awsAutoScaleGroupOptionResBuilder_ == null) { + if (msgCase_ == 13) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.getDefaultInstance(); + } else { + if (msgCase_ == 13) { + return awsAutoScaleGroupOptionResBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.getDefaultInstance(); + } + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + */ + public Builder setAwsAutoScaleGroupOptionRes(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes value) { + if (awsAutoScaleGroupOptionResBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + awsAutoScaleGroupOptionResBuilder_.setMessage(value); + } + msgCase_ = 13; + return this; + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + */ + public Builder setAwsAutoScaleGroupOptionRes( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.Builder builderForValue) { + if (awsAutoScaleGroupOptionResBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + awsAutoScaleGroupOptionResBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 13; + return this; + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + */ + public Builder mergeAwsAutoScaleGroupOptionRes(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes value) { + if (awsAutoScaleGroupOptionResBuilder_ == null) { + if (msgCase_ == 13 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 13) { + awsAutoScaleGroupOptionResBuilder_.mergeFrom(value); + } else { + awsAutoScaleGroupOptionResBuilder_.setMessage(value); + } + } + msgCase_ = 13; + return this; + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + */ + public Builder clearAwsAutoScaleGroupOptionRes() { + if (awsAutoScaleGroupOptionResBuilder_ == null) { + if (msgCase_ == 13) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 13) { + msgCase_ = 0; + msg_ = null; + } + awsAutoScaleGroupOptionResBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.Builder getAwsAutoScaleGroupOptionResBuilder() { + return getAwsAutoScaleGroupOptionResFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionResOrBuilder getAwsAutoScaleGroupOptionResOrBuilder() { + if ((msgCase_ == 13) && (awsAutoScaleGroupOptionResBuilder_ != null)) { + return awsAutoScaleGroupOptionResBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 13) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.getDefaultInstance(); + } + } + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionResOrBuilder> + getAwsAutoScaleGroupOptionResFieldBuilder() { + if (awsAutoScaleGroupOptionResBuilder_ == null) { + if (!(msgCase_ == 13)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.getDefaultInstance(); + } + awsAutoScaleGroupOptionResBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionResOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 13; + onChanged(); + return awsAutoScaleGroupOptionResBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNotiOrBuilder> receiveMailNotiBuilder_; + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + * @return Whether the receiveMailNoti field is set. + */ + @java.lang.Override + public boolean hasReceiveMailNoti() { + return msgCase_ == 14; + } + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + * @return The receiveMailNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti getReceiveMailNoti() { + if (receiveMailNotiBuilder_ == null) { + if (msgCase_ == 14) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.getDefaultInstance(); + } else { + if (msgCase_ == 14) { + return receiveMailNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + */ + public Builder setReceiveMailNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti value) { + if (receiveMailNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + receiveMailNotiBuilder_.setMessage(value); + } + msgCase_ = 14; + return this; + } + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + */ + public Builder setReceiveMailNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.Builder builderForValue) { + if (receiveMailNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + receiveMailNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 14; + return this; + } + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + */ + public Builder mergeReceiveMailNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti value) { + if (receiveMailNotiBuilder_ == null) { + if (msgCase_ == 14 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 14) { + receiveMailNotiBuilder_.mergeFrom(value); + } else { + receiveMailNotiBuilder_.setMessage(value); + } + } + msgCase_ = 14; + return this; + } + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + */ + public Builder clearReceiveMailNoti() { + if (receiveMailNotiBuilder_ == null) { + if (msgCase_ == 14) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 14) { + msgCase_ = 0; + msg_ = null; + } + receiveMailNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.Builder getReceiveMailNotiBuilder() { + return getReceiveMailNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNotiOrBuilder getReceiveMailNotiOrBuilder() { + if ((msgCase_ == 14) && (receiveMailNotiBuilder_ != null)) { + return receiveMailNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 14) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNotiOrBuilder> + getReceiveMailNotiFieldBuilder() { + if (receiveMailNotiBuilder_ == null) { + if (!(msgCase_ == 14)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.getDefaultInstance(); + } + receiveMailNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 14; + onChanged(); + return receiveMailNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNotiOrBuilder> exchangeMannequinDisplayItemNotiBuilder_; + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + * @return Whether the exchangeMannequinDisplayItemNoti field is set. + */ + @java.lang.Override + public boolean hasExchangeMannequinDisplayItemNoti() { + return msgCase_ == 15; + } + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + * @return The exchangeMannequinDisplayItemNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti getExchangeMannequinDisplayItemNoti() { + if (exchangeMannequinDisplayItemNotiBuilder_ == null) { + if (msgCase_ == 15) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.getDefaultInstance(); + } else { + if (msgCase_ == 15) { + return exchangeMannequinDisplayItemNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + */ + public Builder setExchangeMannequinDisplayItemNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti value) { + if (exchangeMannequinDisplayItemNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + exchangeMannequinDisplayItemNotiBuilder_.setMessage(value); + } + msgCase_ = 15; + return this; + } + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + */ + public Builder setExchangeMannequinDisplayItemNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.Builder builderForValue) { + if (exchangeMannequinDisplayItemNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + exchangeMannequinDisplayItemNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 15; + return this; + } + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + */ + public Builder mergeExchangeMannequinDisplayItemNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti value) { + if (exchangeMannequinDisplayItemNotiBuilder_ == null) { + if (msgCase_ == 15 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 15) { + exchangeMannequinDisplayItemNotiBuilder_.mergeFrom(value); + } else { + exchangeMannequinDisplayItemNotiBuilder_.setMessage(value); + } + } + msgCase_ = 15; + return this; + } + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + */ + public Builder clearExchangeMannequinDisplayItemNoti() { + if (exchangeMannequinDisplayItemNotiBuilder_ == null) { + if (msgCase_ == 15) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 15) { + msgCase_ = 0; + msg_ = null; + } + exchangeMannequinDisplayItemNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.Builder getExchangeMannequinDisplayItemNotiBuilder() { + return getExchangeMannequinDisplayItemNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNotiOrBuilder getExchangeMannequinDisplayItemNotiOrBuilder() { + if ((msgCase_ == 15) && (exchangeMannequinDisplayItemNotiBuilder_ != null)) { + return exchangeMannequinDisplayItemNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 15) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNotiOrBuilder> + getExchangeMannequinDisplayItemNotiFieldBuilder() { + if (exchangeMannequinDisplayItemNotiBuilder_ == null) { + if (!(msgCase_ == 15)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.getDefaultInstance(); + } + exchangeMannequinDisplayItemNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 15; + onChanged(); + return exchangeMannequinDisplayItemNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReqOrBuilder> getAwsAutoScaleOptionReqBuilder_; + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + * @return Whether the getAwsAutoScaleOptionReq field is set. + */ + @java.lang.Override + public boolean hasGetAwsAutoScaleOptionReq() { + return msgCase_ == 16; + } + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + * @return The getAwsAutoScaleOptionReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq getGetAwsAutoScaleOptionReq() { + if (getAwsAutoScaleOptionReqBuilder_ == null) { + if (msgCase_ == 16) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.getDefaultInstance(); + } else { + if (msgCase_ == 16) { + return getAwsAutoScaleOptionReqBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + */ + public Builder setGetAwsAutoScaleOptionReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq value) { + if (getAwsAutoScaleOptionReqBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + getAwsAutoScaleOptionReqBuilder_.setMessage(value); + } + msgCase_ = 16; + return this; + } + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + */ + public Builder setGetAwsAutoScaleOptionReq( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.Builder builderForValue) { + if (getAwsAutoScaleOptionReqBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + getAwsAutoScaleOptionReqBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 16; + return this; + } + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + */ + public Builder mergeGetAwsAutoScaleOptionReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq value) { + if (getAwsAutoScaleOptionReqBuilder_ == null) { + if (msgCase_ == 16 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 16) { + getAwsAutoScaleOptionReqBuilder_.mergeFrom(value); + } else { + getAwsAutoScaleOptionReqBuilder_.setMessage(value); + } + } + msgCase_ = 16; + return this; + } + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + */ + public Builder clearGetAwsAutoScaleOptionReq() { + if (getAwsAutoScaleOptionReqBuilder_ == null) { + if (msgCase_ == 16) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 16) { + msgCase_ = 0; + msg_ = null; + } + getAwsAutoScaleOptionReqBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.Builder getGetAwsAutoScaleOptionReqBuilder() { + return getGetAwsAutoScaleOptionReqFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReqOrBuilder getGetAwsAutoScaleOptionReqOrBuilder() { + if ((msgCase_ == 16) && (getAwsAutoScaleOptionReqBuilder_ != null)) { + return getAwsAutoScaleOptionReqBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 16) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReqOrBuilder> + getGetAwsAutoScaleOptionReqFieldBuilder() { + if (getAwsAutoScaleOptionReqBuilder_ == null) { + if (!(msgCase_ == 16)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.getDefaultInstance(); + } + getAwsAutoScaleOptionReqBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReqOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 16; + onChanged(); + return getAwsAutoScaleOptionReqBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionResOrBuilder> getAwsAutoScaleOptionResBuilder_; + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + * @return Whether the getAwsAutoScaleOptionRes field is set. + */ + @java.lang.Override + public boolean hasGetAwsAutoScaleOptionRes() { + return msgCase_ == 17; + } + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + * @return The getAwsAutoScaleOptionRes. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes getGetAwsAutoScaleOptionRes() { + if (getAwsAutoScaleOptionResBuilder_ == null) { + if (msgCase_ == 17) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.getDefaultInstance(); + } else { + if (msgCase_ == 17) { + return getAwsAutoScaleOptionResBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.getDefaultInstance(); + } + } + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + */ + public Builder setGetAwsAutoScaleOptionRes(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes value) { + if (getAwsAutoScaleOptionResBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + getAwsAutoScaleOptionResBuilder_.setMessage(value); + } + msgCase_ = 17; + return this; + } + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + */ + public Builder setGetAwsAutoScaleOptionRes( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.Builder builderForValue) { + if (getAwsAutoScaleOptionResBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + getAwsAutoScaleOptionResBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 17; + return this; + } + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + */ + public Builder mergeGetAwsAutoScaleOptionRes(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes value) { + if (getAwsAutoScaleOptionResBuilder_ == null) { + if (msgCase_ == 17 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 17) { + getAwsAutoScaleOptionResBuilder_.mergeFrom(value); + } else { + getAwsAutoScaleOptionResBuilder_.setMessage(value); + } + } + msgCase_ = 17; + return this; + } + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + */ + public Builder clearGetAwsAutoScaleOptionRes() { + if (getAwsAutoScaleOptionResBuilder_ == null) { + if (msgCase_ == 17) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 17) { + msgCase_ = 0; + msg_ = null; + } + getAwsAutoScaleOptionResBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.Builder getGetAwsAutoScaleOptionResBuilder() { + return getGetAwsAutoScaleOptionResFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionResOrBuilder getGetAwsAutoScaleOptionResOrBuilder() { + if ((msgCase_ == 17) && (getAwsAutoScaleOptionResBuilder_ != null)) { + return getAwsAutoScaleOptionResBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 17) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.getDefaultInstance(); + } + } + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionResOrBuilder> + getGetAwsAutoScaleOptionResFieldBuilder() { + if (getAwsAutoScaleOptionResBuilder_ == null) { + if (!(msgCase_ == 17)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.getDefaultInstance(); + } + getAwsAutoScaleOptionResBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionResOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 17; + onChanged(); + return getAwsAutoScaleOptionResBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReqOrBuilder> readyForDistroyReqBuilder_; + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + * @return Whether the readyForDistroyReq field is set. + */ + @java.lang.Override + public boolean hasReadyForDistroyReq() { + return msgCase_ == 18; + } + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + * @return The readyForDistroyReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq getReadyForDistroyReq() { + if (readyForDistroyReqBuilder_ == null) { + if (msgCase_ == 18) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.getDefaultInstance(); + } else { + if (msgCase_ == 18) { + return readyForDistroyReqBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + */ + public Builder setReadyForDistroyReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq value) { + if (readyForDistroyReqBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + readyForDistroyReqBuilder_.setMessage(value); + } + msgCase_ = 18; + return this; + } + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + */ + public Builder setReadyForDistroyReq( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.Builder builderForValue) { + if (readyForDistroyReqBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + readyForDistroyReqBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 18; + return this; + } + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + */ + public Builder mergeReadyForDistroyReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq value) { + if (readyForDistroyReqBuilder_ == null) { + if (msgCase_ == 18 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 18) { + readyForDistroyReqBuilder_.mergeFrom(value); + } else { + readyForDistroyReqBuilder_.setMessage(value); + } + } + msgCase_ = 18; + return this; + } + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + */ + public Builder clearReadyForDistroyReq() { + if (readyForDistroyReqBuilder_ == null) { + if (msgCase_ == 18) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 18) { + msgCase_ = 0; + msg_ = null; + } + readyForDistroyReqBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.Builder getReadyForDistroyReqBuilder() { + return getReadyForDistroyReqFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReqOrBuilder getReadyForDistroyReqOrBuilder() { + if ((msgCase_ == 18) && (readyForDistroyReqBuilder_ != null)) { + return readyForDistroyReqBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 18) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReqOrBuilder> + getReadyForDistroyReqFieldBuilder() { + if (readyForDistroyReqBuilder_ == null) { + if (!(msgCase_ == 18)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.getDefaultInstance(); + } + readyForDistroyReqBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReqOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 18; + onChanged(); + return readyForDistroyReqBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriendOrBuilder> loginNotiToFriendBuilder_; + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + * @return Whether the loginNotiToFriend field is set. + */ + @java.lang.Override + public boolean hasLoginNotiToFriend() { + return msgCase_ == 19; + } + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + * @return The loginNotiToFriend. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend getLoginNotiToFriend() { + if (loginNotiToFriendBuilder_ == null) { + if (msgCase_ == 19) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.getDefaultInstance(); + } else { + if (msgCase_ == 19) { + return loginNotiToFriendBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.getDefaultInstance(); + } + } + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + */ + public Builder setLoginNotiToFriend(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend value) { + if (loginNotiToFriendBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + loginNotiToFriendBuilder_.setMessage(value); + } + msgCase_ = 19; + return this; + } + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + */ + public Builder setLoginNotiToFriend( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.Builder builderForValue) { + if (loginNotiToFriendBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + loginNotiToFriendBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 19; + return this; + } + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + */ + public Builder mergeLoginNotiToFriend(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend value) { + if (loginNotiToFriendBuilder_ == null) { + if (msgCase_ == 19 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 19) { + loginNotiToFriendBuilder_.mergeFrom(value); + } else { + loginNotiToFriendBuilder_.setMessage(value); + } + } + msgCase_ = 19; + return this; + } + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + */ + public Builder clearLoginNotiToFriend() { + if (loginNotiToFriendBuilder_ == null) { + if (msgCase_ == 19) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 19) { + msgCase_ = 0; + msg_ = null; + } + loginNotiToFriendBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.Builder getLoginNotiToFriendBuilder() { + return getLoginNotiToFriendFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriendOrBuilder getLoginNotiToFriendOrBuilder() { + if ((msgCase_ == 19) && (loginNotiToFriendBuilder_ != null)) { + return loginNotiToFriendBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 19) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.getDefaultInstance(); + } + } + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriendOrBuilder> + getLoginNotiToFriendFieldBuilder() { + if (loginNotiToFriendBuilder_ == null) { + if (!(msgCase_ == 19)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.getDefaultInstance(); + } + loginNotiToFriendBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriendOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 19; + onChanged(); + return loginNotiToFriendBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriendOrBuilder> logoutNotiToFriendBuilder_; + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + * @return Whether the logoutNotiToFriend field is set. + */ + @java.lang.Override + public boolean hasLogoutNotiToFriend() { + return msgCase_ == 20; + } + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + * @return The logoutNotiToFriend. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend getLogoutNotiToFriend() { + if (logoutNotiToFriendBuilder_ == null) { + if (msgCase_ == 20) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.getDefaultInstance(); + } else { + if (msgCase_ == 20) { + return logoutNotiToFriendBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.getDefaultInstance(); + } + } + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + */ + public Builder setLogoutNotiToFriend(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend value) { + if (logoutNotiToFriendBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + logoutNotiToFriendBuilder_.setMessage(value); + } + msgCase_ = 20; + return this; + } + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + */ + public Builder setLogoutNotiToFriend( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.Builder builderForValue) { + if (logoutNotiToFriendBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + logoutNotiToFriendBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 20; + return this; + } + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + */ + public Builder mergeLogoutNotiToFriend(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend value) { + if (logoutNotiToFriendBuilder_ == null) { + if (msgCase_ == 20 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 20) { + logoutNotiToFriendBuilder_.mergeFrom(value); + } else { + logoutNotiToFriendBuilder_.setMessage(value); + } + } + msgCase_ = 20; + return this; + } + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + */ + public Builder clearLogoutNotiToFriend() { + if (logoutNotiToFriendBuilder_ == null) { + if (msgCase_ == 20) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 20) { + msgCase_ = 0; + msg_ = null; + } + logoutNotiToFriendBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.Builder getLogoutNotiToFriendBuilder() { + return getLogoutNotiToFriendFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriendOrBuilder getLogoutNotiToFriendOrBuilder() { + if ((msgCase_ == 20) && (logoutNotiToFriendBuilder_ != null)) { + return logoutNotiToFriendBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 20) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.getDefaultInstance(); + } + } + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriendOrBuilder> + getLogoutNotiToFriendFieldBuilder() { + if (logoutNotiToFriendBuilder_ == null) { + if (!(msgCase_ == 20)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.getDefaultInstance(); + } + logoutNotiToFriendBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriendOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 20; + onChanged(); + return logoutNotiToFriendBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReqOrBuilder> managerServerActiveReqBuilder_; + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + * @return Whether the managerServerActiveReq field is set. + */ + @java.lang.Override + public boolean hasManagerServerActiveReq() { + return msgCase_ == 21; + } + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + * @return The managerServerActiveReq. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq getManagerServerActiveReq() { + if (managerServerActiveReqBuilder_ == null) { + if (msgCase_ == 21) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.getDefaultInstance(); + } else { + if (msgCase_ == 21) { + return managerServerActiveReqBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + */ + public Builder setManagerServerActiveReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq value) { + if (managerServerActiveReqBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + managerServerActiveReqBuilder_.setMessage(value); + } + msgCase_ = 21; + return this; + } + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + */ + public Builder setManagerServerActiveReq( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.Builder builderForValue) { + if (managerServerActiveReqBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + managerServerActiveReqBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 21; + return this; + } + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + */ + public Builder mergeManagerServerActiveReq(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq value) { + if (managerServerActiveReqBuilder_ == null) { + if (msgCase_ == 21 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 21) { + managerServerActiveReqBuilder_.mergeFrom(value); + } else { + managerServerActiveReqBuilder_.setMessage(value); + } + } + msgCase_ = 21; + return this; + } + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + */ + public Builder clearManagerServerActiveReq() { + if (managerServerActiveReqBuilder_ == null) { + if (msgCase_ == 21) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 21) { + msgCase_ = 0; + msg_ = null; + } + managerServerActiveReqBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.Builder getManagerServerActiveReqBuilder() { + return getManagerServerActiveReqFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReqOrBuilder getManagerServerActiveReqOrBuilder() { + if ((msgCase_ == 21) && (managerServerActiveReqBuilder_ != null)) { + return managerServerActiveReqBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 21) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.getDefaultInstance(); + } + } + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReqOrBuilder> + getManagerServerActiveReqFieldBuilder() { + if (managerServerActiveReqBuilder_ == null) { + if (!(msgCase_ == 21)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.getDefaultInstance(); + } + managerServerActiveReqBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReqOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 21; + onChanged(); + return managerServerActiveReqBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveResOrBuilder> managerServerActiveResBuilder_; + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + * @return Whether the managerServerActiveRes field is set. + */ + @java.lang.Override + public boolean hasManagerServerActiveRes() { + return msgCase_ == 22; + } + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + * @return The managerServerActiveRes. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes getManagerServerActiveRes() { + if (managerServerActiveResBuilder_ == null) { + if (msgCase_ == 22) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.getDefaultInstance(); + } else { + if (msgCase_ == 22) { + return managerServerActiveResBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.getDefaultInstance(); + } + } + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + */ + public Builder setManagerServerActiveRes(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes value) { + if (managerServerActiveResBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + managerServerActiveResBuilder_.setMessage(value); + } + msgCase_ = 22; + return this; + } + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + */ + public Builder setManagerServerActiveRes( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.Builder builderForValue) { + if (managerServerActiveResBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + managerServerActiveResBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 22; + return this; + } + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + */ + public Builder mergeManagerServerActiveRes(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes value) { + if (managerServerActiveResBuilder_ == null) { + if (msgCase_ == 22 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 22) { + managerServerActiveResBuilder_.mergeFrom(value); + } else { + managerServerActiveResBuilder_.setMessage(value); + } + } + msgCase_ = 22; + return this; + } + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + */ + public Builder clearManagerServerActiveRes() { + if (managerServerActiveResBuilder_ == null) { + if (msgCase_ == 22) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 22) { + msgCase_ = 0; + msg_ = null; + } + managerServerActiveResBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.Builder getManagerServerActiveResBuilder() { + return getManagerServerActiveResFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveResOrBuilder getManagerServerActiveResOrBuilder() { + if ((msgCase_ == 22) && (managerServerActiveResBuilder_ != null)) { + return managerServerActiveResBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 22) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.getDefaultInstance(); + } + } + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveResOrBuilder> + getManagerServerActiveResFieldBuilder() { + if (managerServerActiveResBuilder_ == null) { + if (!(msgCase_ == 22)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.getDefaultInstance(); + } + managerServerActiveResBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveResOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 22; + onChanged(); + return managerServerActiveResBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNotiOrBuilder> receiveInviteMyHomeNotiBuilder_; + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + * @return Whether the receiveInviteMyHomeNoti field is set. + */ + @java.lang.Override + public boolean hasReceiveInviteMyHomeNoti() { + return msgCase_ == 23; + } + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + * @return The receiveInviteMyHomeNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti getReceiveInviteMyHomeNoti() { + if (receiveInviteMyHomeNotiBuilder_ == null) { + if (msgCase_ == 23) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.getDefaultInstance(); + } else { + if (msgCase_ == 23) { + return receiveInviteMyHomeNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + */ + public Builder setReceiveInviteMyHomeNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti value) { + if (receiveInviteMyHomeNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + receiveInviteMyHomeNotiBuilder_.setMessage(value); + } + msgCase_ = 23; + return this; + } + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + */ + public Builder setReceiveInviteMyHomeNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.Builder builderForValue) { + if (receiveInviteMyHomeNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + receiveInviteMyHomeNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 23; + return this; + } + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + */ + public Builder mergeReceiveInviteMyHomeNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti value) { + if (receiveInviteMyHomeNotiBuilder_ == null) { + if (msgCase_ == 23 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 23) { + receiveInviteMyHomeNotiBuilder_.mergeFrom(value); + } else { + receiveInviteMyHomeNotiBuilder_.setMessage(value); + } + } + msgCase_ = 23; + return this; + } + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + */ + public Builder clearReceiveInviteMyHomeNoti() { + if (receiveInviteMyHomeNotiBuilder_ == null) { + if (msgCase_ == 23) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 23) { + msgCase_ = 0; + msg_ = null; + } + receiveInviteMyHomeNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.Builder getReceiveInviteMyHomeNotiBuilder() { + return getReceiveInviteMyHomeNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNotiOrBuilder getReceiveInviteMyHomeNotiOrBuilder() { + if ((msgCase_ == 23) && (receiveInviteMyHomeNotiBuilder_ != null)) { + return receiveInviteMyHomeNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 23) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNotiOrBuilder> + getReceiveInviteMyHomeNotiFieldBuilder() { + if (receiveInviteMyHomeNotiBuilder_ == null) { + if (!(msgCase_ == 23)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.getDefaultInstance(); + } + receiveInviteMyHomeNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 23; + onChanged(); + return receiveInviteMyHomeNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNotiOrBuilder> replyInviteMyhomeNotiBuilder_; + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + * @return Whether the replyInviteMyhomeNoti field is set. + */ + @java.lang.Override + public boolean hasReplyInviteMyhomeNoti() { + return msgCase_ == 24; + } + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + * @return The replyInviteMyhomeNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti getReplyInviteMyhomeNoti() { + if (replyInviteMyhomeNotiBuilder_ == null) { + if (msgCase_ == 24) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.getDefaultInstance(); + } else { + if (msgCase_ == 24) { + return replyInviteMyhomeNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + */ + public Builder setReplyInviteMyhomeNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti value) { + if (replyInviteMyhomeNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + replyInviteMyhomeNotiBuilder_.setMessage(value); + } + msgCase_ = 24; + return this; + } + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + */ + public Builder setReplyInviteMyhomeNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.Builder builderForValue) { + if (replyInviteMyhomeNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + replyInviteMyhomeNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 24; + return this; + } + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + */ + public Builder mergeReplyInviteMyhomeNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti value) { + if (replyInviteMyhomeNotiBuilder_ == null) { + if (msgCase_ == 24 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 24) { + replyInviteMyhomeNotiBuilder_.mergeFrom(value); + } else { + replyInviteMyhomeNotiBuilder_.setMessage(value); + } + } + msgCase_ = 24; + return this; + } + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + */ + public Builder clearReplyInviteMyhomeNoti() { + if (replyInviteMyhomeNotiBuilder_ == null) { + if (msgCase_ == 24) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 24) { + msgCase_ = 0; + msg_ = null; + } + replyInviteMyhomeNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.Builder getReplyInviteMyhomeNotiBuilder() { + return getReplyInviteMyhomeNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNotiOrBuilder getReplyInviteMyhomeNotiOrBuilder() { + if ((msgCase_ == 24) && (replyInviteMyhomeNotiBuilder_ != null)) { + return replyInviteMyhomeNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 24) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNotiOrBuilder> + getReplyInviteMyhomeNotiFieldBuilder() { + if (replyInviteMyhomeNotiBuilder_ == null) { + if (!(msgCase_ == 24)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.getDefaultInstance(); + } + replyInviteMyhomeNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 24; + onChanged(); + return replyInviteMyhomeNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriendOrBuilder> stateNotiToFriendBuilder_; + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + * @return Whether the stateNotiToFriend field is set. + */ + @java.lang.Override + public boolean hasStateNotiToFriend() { + return msgCase_ == 25; + } + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + * @return The stateNotiToFriend. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend getStateNotiToFriend() { + if (stateNotiToFriendBuilder_ == null) { + if (msgCase_ == 25) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.getDefaultInstance(); + } else { + if (msgCase_ == 25) { + return stateNotiToFriendBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.getDefaultInstance(); + } + } + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + */ + public Builder setStateNotiToFriend(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend value) { + if (stateNotiToFriendBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + stateNotiToFriendBuilder_.setMessage(value); + } + msgCase_ = 25; + return this; + } + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + */ + public Builder setStateNotiToFriend( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.Builder builderForValue) { + if (stateNotiToFriendBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + stateNotiToFriendBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 25; + return this; + } + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + */ + public Builder mergeStateNotiToFriend(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend value) { + if (stateNotiToFriendBuilder_ == null) { + if (msgCase_ == 25 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 25) { + stateNotiToFriendBuilder_.mergeFrom(value); + } else { + stateNotiToFriendBuilder_.setMessage(value); + } + } + msgCase_ = 25; + return this; + } + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + */ + public Builder clearStateNotiToFriend() { + if (stateNotiToFriendBuilder_ == null) { + if (msgCase_ == 25) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 25) { + msgCase_ = 0; + msg_ = null; + } + stateNotiToFriendBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.Builder getStateNotiToFriendBuilder() { + return getStateNotiToFriendFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriendOrBuilder getStateNotiToFriendOrBuilder() { + if ((msgCase_ == 25) && (stateNotiToFriendBuilder_ != null)) { + return stateNotiToFriendBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 25) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.getDefaultInstance(); + } + } + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriendOrBuilder> + getStateNotiToFriendFieldBuilder() { + if (stateNotiToFriendBuilder_ == null) { + if (!(msgCase_ == 25)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.getDefaultInstance(); + } + stateNotiToFriendBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriendOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 25; + onChanged(); + return stateNotiToFriendBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNotiOrBuilder> friendRequestNotiBuilder_; + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + * @return Whether the friendRequestNoti field is set. + */ + @java.lang.Override + public boolean hasFriendRequestNoti() { + return msgCase_ == 26; + } + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + * @return The friendRequestNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti getFriendRequestNoti() { + if (friendRequestNotiBuilder_ == null) { + if (msgCase_ == 26) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.getDefaultInstance(); + } else { + if (msgCase_ == 26) { + return friendRequestNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + */ + public Builder setFriendRequestNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti value) { + if (friendRequestNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + friendRequestNotiBuilder_.setMessage(value); + } + msgCase_ = 26; + return this; + } + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + */ + public Builder setFriendRequestNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.Builder builderForValue) { + if (friendRequestNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + friendRequestNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 26; + return this; + } + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + */ + public Builder mergeFriendRequestNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti value) { + if (friendRequestNotiBuilder_ == null) { + if (msgCase_ == 26 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 26) { + friendRequestNotiBuilder_.mergeFrom(value); + } else { + friendRequestNotiBuilder_.setMessage(value); + } + } + msgCase_ = 26; + return this; + } + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + */ + public Builder clearFriendRequestNoti() { + if (friendRequestNotiBuilder_ == null) { + if (msgCase_ == 26) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 26) { + msgCase_ = 0; + msg_ = null; + } + friendRequestNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.Builder getFriendRequestNotiBuilder() { + return getFriendRequestNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNotiOrBuilder getFriendRequestNotiOrBuilder() { + if ((msgCase_ == 26) && (friendRequestNotiBuilder_ != null)) { + return friendRequestNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 26) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNotiOrBuilder> + getFriendRequestNotiFieldBuilder() { + if (friendRequestNotiBuilder_ == null) { + if (!(msgCase_ == 26)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.getDefaultInstance(); + } + friendRequestNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 26; + onChanged(); + return friendRequestNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNotiOrBuilder> friendAcceptNotiBuilder_; + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + * @return Whether the friendAcceptNoti field is set. + */ + @java.lang.Override + public boolean hasFriendAcceptNoti() { + return msgCase_ == 27; + } + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + * @return The friendAcceptNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti getFriendAcceptNoti() { + if (friendAcceptNotiBuilder_ == null) { + if (msgCase_ == 27) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.getDefaultInstance(); + } else { + if (msgCase_ == 27) { + return friendAcceptNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + */ + public Builder setFriendAcceptNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti value) { + if (friendAcceptNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + friendAcceptNotiBuilder_.setMessage(value); + } + msgCase_ = 27; + return this; + } + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + */ + public Builder setFriendAcceptNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.Builder builderForValue) { + if (friendAcceptNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + friendAcceptNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 27; + return this; + } + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + */ + public Builder mergeFriendAcceptNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti value) { + if (friendAcceptNotiBuilder_ == null) { + if (msgCase_ == 27 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 27) { + friendAcceptNotiBuilder_.mergeFrom(value); + } else { + friendAcceptNotiBuilder_.setMessage(value); + } + } + msgCase_ = 27; + return this; + } + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + */ + public Builder clearFriendAcceptNoti() { + if (friendAcceptNotiBuilder_ == null) { + if (msgCase_ == 27) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 27) { + msgCase_ = 0; + msg_ = null; + } + friendAcceptNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.Builder getFriendAcceptNotiBuilder() { + return getFriendAcceptNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNotiOrBuilder getFriendAcceptNotiOrBuilder() { + if ((msgCase_ == 27) && (friendAcceptNotiBuilder_ != null)) { + return friendAcceptNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 27) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNotiOrBuilder> + getFriendAcceptNotiFieldBuilder() { + if (friendAcceptNotiBuilder_ == null) { + if (!(msgCase_ == 27)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.getDefaultInstance(); + } + friendAcceptNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 27; + onChanged(); + return friendAcceptNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNotiOrBuilder> friendDeleteNotiBuilder_; + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + * @return Whether the friendDeleteNoti field is set. + */ + @java.lang.Override + public boolean hasFriendDeleteNoti() { + return msgCase_ == 28; + } + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + * @return The friendDeleteNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti getFriendDeleteNoti() { + if (friendDeleteNotiBuilder_ == null) { + if (msgCase_ == 28) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.getDefaultInstance(); + } else { + if (msgCase_ == 28) { + return friendDeleteNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + */ + public Builder setFriendDeleteNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti value) { + if (friendDeleteNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + friendDeleteNotiBuilder_.setMessage(value); + } + msgCase_ = 28; + return this; + } + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + */ + public Builder setFriendDeleteNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.Builder builderForValue) { + if (friendDeleteNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + friendDeleteNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 28; + return this; + } + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + */ + public Builder mergeFriendDeleteNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti value) { + if (friendDeleteNotiBuilder_ == null) { + if (msgCase_ == 28 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 28) { + friendDeleteNotiBuilder_.mergeFrom(value); + } else { + friendDeleteNotiBuilder_.setMessage(value); + } + } + msgCase_ = 28; + return this; + } + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + */ + public Builder clearFriendDeleteNoti() { + if (friendDeleteNotiBuilder_ == null) { + if (msgCase_ == 28) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 28) { + msgCase_ = 0; + msg_ = null; + } + friendDeleteNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.Builder getFriendDeleteNotiBuilder() { + return getFriendDeleteNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNotiOrBuilder getFriendDeleteNotiOrBuilder() { + if ((msgCase_ == 28) && (friendDeleteNotiBuilder_ != null)) { + return friendDeleteNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 28) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNotiOrBuilder> + getFriendDeleteNotiFieldBuilder() { + if (friendDeleteNotiBuilder_ == null) { + if (!(msgCase_ == 28)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.getDefaultInstance(); + } + friendDeleteNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 28; + onChanged(); + return friendDeleteNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNotiOrBuilder> cancelFriendRequestNotiBuilder_; + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + * @return Whether the cancelFriendRequestNoti field is set. + */ + @java.lang.Override + public boolean hasCancelFriendRequestNoti() { + return msgCase_ == 29; + } + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + * @return The cancelFriendRequestNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti getCancelFriendRequestNoti() { + if (cancelFriendRequestNotiBuilder_ == null) { + if (msgCase_ == 29) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.getDefaultInstance(); + } else { + if (msgCase_ == 29) { + return cancelFriendRequestNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + */ + public Builder setCancelFriendRequestNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti value) { + if (cancelFriendRequestNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + cancelFriendRequestNotiBuilder_.setMessage(value); + } + msgCase_ = 29; + return this; + } + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + */ + public Builder setCancelFriendRequestNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.Builder builderForValue) { + if (cancelFriendRequestNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + cancelFriendRequestNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 29; + return this; + } + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + */ + public Builder mergeCancelFriendRequestNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti value) { + if (cancelFriendRequestNotiBuilder_ == null) { + if (msgCase_ == 29 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 29) { + cancelFriendRequestNotiBuilder_.mergeFrom(value); + } else { + cancelFriendRequestNotiBuilder_.setMessage(value); + } + } + msgCase_ = 29; + return this; + } + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + */ + public Builder clearCancelFriendRequestNoti() { + if (cancelFriendRequestNotiBuilder_ == null) { + if (msgCase_ == 29) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 29) { + msgCase_ = 0; + msg_ = null; + } + cancelFriendRequestNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.Builder getCancelFriendRequestNotiBuilder() { + return getCancelFriendRequestNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNotiOrBuilder getCancelFriendRequestNotiOrBuilder() { + if ((msgCase_ == 29) && (cancelFriendRequestNotiBuilder_ != null)) { + return cancelFriendRequestNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 29) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNotiOrBuilder> + getCancelFriendRequestNotiFieldBuilder() { + if (cancelFriendRequestNotiBuilder_ == null) { + if (!(msgCase_ == 29)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.getDefaultInstance(); + } + cancelFriendRequestNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 29; + onChanged(); + return cancelFriendRequestNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNotiOrBuilder> invitePartyNotiBuilder_; + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + * @return Whether the invitePartyNoti field is set. + */ + @java.lang.Override + public boolean hasInvitePartyNoti() { + return msgCase_ == 30; + } + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + * @return The invitePartyNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti getInvitePartyNoti() { + if (invitePartyNotiBuilder_ == null) { + if (msgCase_ == 30) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.getDefaultInstance(); + } else { + if (msgCase_ == 30) { + return invitePartyNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + */ + public Builder setInvitePartyNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti value) { + if (invitePartyNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + invitePartyNotiBuilder_.setMessage(value); + } + msgCase_ = 30; + return this; + } + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + */ + public Builder setInvitePartyNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.Builder builderForValue) { + if (invitePartyNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + invitePartyNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 30; + return this; + } + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + */ + public Builder mergeInvitePartyNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti value) { + if (invitePartyNotiBuilder_ == null) { + if (msgCase_ == 30 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 30) { + invitePartyNotiBuilder_.mergeFrom(value); + } else { + invitePartyNotiBuilder_.setMessage(value); + } + } + msgCase_ = 30; + return this; + } + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + */ + public Builder clearInvitePartyNoti() { + if (invitePartyNotiBuilder_ == null) { + if (msgCase_ == 30) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 30) { + msgCase_ = 0; + msg_ = null; + } + invitePartyNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.Builder getInvitePartyNotiBuilder() { + return getInvitePartyNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNotiOrBuilder getInvitePartyNotiOrBuilder() { + if ((msgCase_ == 30) && (invitePartyNotiBuilder_ != null)) { + return invitePartyNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 30) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNotiOrBuilder> + getInvitePartyNotiFieldBuilder() { + if (invitePartyNotiBuilder_ == null) { + if (!(msgCase_ == 30)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.getDefaultInstance(); + } + invitePartyNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 30; + onChanged(); + return invitePartyNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNotiOrBuilder> replyInvitePartyNotiBuilder_; + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + * @return Whether the replyInvitePartyNoti field is set. + */ + @java.lang.Override + public boolean hasReplyInvitePartyNoti() { + return msgCase_ == 31; + } + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + * @return The replyInvitePartyNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti getReplyInvitePartyNoti() { + if (replyInvitePartyNotiBuilder_ == null) { + if (msgCase_ == 31) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.getDefaultInstance(); + } else { + if (msgCase_ == 31) { + return replyInvitePartyNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + */ + public Builder setReplyInvitePartyNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti value) { + if (replyInvitePartyNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + replyInvitePartyNotiBuilder_.setMessage(value); + } + msgCase_ = 31; + return this; + } + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + */ + public Builder setReplyInvitePartyNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.Builder builderForValue) { + if (replyInvitePartyNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + replyInvitePartyNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 31; + return this; + } + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + */ + public Builder mergeReplyInvitePartyNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti value) { + if (replyInvitePartyNotiBuilder_ == null) { + if (msgCase_ == 31 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 31) { + replyInvitePartyNotiBuilder_.mergeFrom(value); + } else { + replyInvitePartyNotiBuilder_.setMessage(value); + } + } + msgCase_ = 31; + return this; + } + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + */ + public Builder clearReplyInvitePartyNoti() { + if (replyInvitePartyNotiBuilder_ == null) { + if (msgCase_ == 31) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 31) { + msgCase_ = 0; + msg_ = null; + } + replyInvitePartyNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.Builder getReplyInvitePartyNotiBuilder() { + return getReplyInvitePartyNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNotiOrBuilder getReplyInvitePartyNotiOrBuilder() { + if ((msgCase_ == 31) && (replyInvitePartyNotiBuilder_ != null)) { + return replyInvitePartyNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 31) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNotiOrBuilder> + getReplyInvitePartyNotiFieldBuilder() { + if (replyInvitePartyNotiBuilder_ == null) { + if (!(msgCase_ == 31)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.getDefaultInstance(); + } + replyInvitePartyNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 31; + onChanged(); + return replyInvitePartyNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNotiOrBuilder> joinPartyMemberNotiBuilder_; + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + * @return Whether the joinPartyMemberNoti field is set. + */ + @java.lang.Override + public boolean hasJoinPartyMemberNoti() { + return msgCase_ == 33; + } + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + * @return The joinPartyMemberNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti getJoinPartyMemberNoti() { + if (joinPartyMemberNotiBuilder_ == null) { + if (msgCase_ == 33) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.getDefaultInstance(); + } else { + if (msgCase_ == 33) { + return joinPartyMemberNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + */ + public Builder setJoinPartyMemberNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti value) { + if (joinPartyMemberNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + joinPartyMemberNotiBuilder_.setMessage(value); + } + msgCase_ = 33; + return this; + } + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + */ + public Builder setJoinPartyMemberNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.Builder builderForValue) { + if (joinPartyMemberNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + joinPartyMemberNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 33; + return this; + } + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + */ + public Builder mergeJoinPartyMemberNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti value) { + if (joinPartyMemberNotiBuilder_ == null) { + if (msgCase_ == 33 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 33) { + joinPartyMemberNotiBuilder_.mergeFrom(value); + } else { + joinPartyMemberNotiBuilder_.setMessage(value); + } + } + msgCase_ = 33; + return this; + } + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + */ + public Builder clearJoinPartyMemberNoti() { + if (joinPartyMemberNotiBuilder_ == null) { + if (msgCase_ == 33) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 33) { + msgCase_ = 0; + msg_ = null; + } + joinPartyMemberNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.Builder getJoinPartyMemberNotiBuilder() { + return getJoinPartyMemberNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNotiOrBuilder getJoinPartyMemberNotiOrBuilder() { + if ((msgCase_ == 33) && (joinPartyMemberNotiBuilder_ != null)) { + return joinPartyMemberNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 33) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNotiOrBuilder> + getJoinPartyMemberNotiFieldBuilder() { + if (joinPartyMemberNotiBuilder_ == null) { + if (!(msgCase_ == 33)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.getDefaultInstance(); + } + joinPartyMemberNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 33; + onChanged(); + return joinPartyMemberNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNotiOrBuilder> leavePartyMemberNotiBuilder_; + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + * @return Whether the leavePartyMemberNoti field is set. + */ + @java.lang.Override + public boolean hasLeavePartyMemberNoti() { + return msgCase_ == 34; + } + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + * @return The leavePartyMemberNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti getLeavePartyMemberNoti() { + if (leavePartyMemberNotiBuilder_ == null) { + if (msgCase_ == 34) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.getDefaultInstance(); + } else { + if (msgCase_ == 34) { + return leavePartyMemberNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + */ + public Builder setLeavePartyMemberNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti value) { + if (leavePartyMemberNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + leavePartyMemberNotiBuilder_.setMessage(value); + } + msgCase_ = 34; + return this; + } + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + */ + public Builder setLeavePartyMemberNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.Builder builderForValue) { + if (leavePartyMemberNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + leavePartyMemberNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 34; + return this; + } + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + */ + public Builder mergeLeavePartyMemberNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti value) { + if (leavePartyMemberNotiBuilder_ == null) { + if (msgCase_ == 34 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 34) { + leavePartyMemberNotiBuilder_.mergeFrom(value); + } else { + leavePartyMemberNotiBuilder_.setMessage(value); + } + } + msgCase_ = 34; + return this; + } + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + */ + public Builder clearLeavePartyMemberNoti() { + if (leavePartyMemberNotiBuilder_ == null) { + if (msgCase_ == 34) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 34) { + msgCase_ = 0; + msg_ = null; + } + leavePartyMemberNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.Builder getLeavePartyMemberNotiBuilder() { + return getLeavePartyMemberNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNotiOrBuilder getLeavePartyMemberNotiOrBuilder() { + if ((msgCase_ == 34) && (leavePartyMemberNotiBuilder_ != null)) { + return leavePartyMemberNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 34) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNotiOrBuilder> + getLeavePartyMemberNotiFieldBuilder() { + if (leavePartyMemberNotiBuilder_ == null) { + if (!(msgCase_ == 34)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.getDefaultInstance(); + } + leavePartyMemberNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 34; + onChanged(); + return leavePartyMemberNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNotiOrBuilder> changePartyServerNameNotiBuilder_; + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + * @return Whether the changePartyServerNameNoti field is set. + */ + @java.lang.Override + public boolean hasChangePartyServerNameNoti() { + return msgCase_ == 35; + } + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + * @return The changePartyServerNameNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti getChangePartyServerNameNoti() { + if (changePartyServerNameNotiBuilder_ == null) { + if (msgCase_ == 35) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.getDefaultInstance(); + } else { + if (msgCase_ == 35) { + return changePartyServerNameNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + */ + public Builder setChangePartyServerNameNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti value) { + if (changePartyServerNameNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + changePartyServerNameNotiBuilder_.setMessage(value); + } + msgCase_ = 35; + return this; + } + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + */ + public Builder setChangePartyServerNameNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.Builder builderForValue) { + if (changePartyServerNameNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + changePartyServerNameNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 35; + return this; + } + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + */ + public Builder mergeChangePartyServerNameNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti value) { + if (changePartyServerNameNotiBuilder_ == null) { + if (msgCase_ == 35 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 35) { + changePartyServerNameNotiBuilder_.mergeFrom(value); + } else { + changePartyServerNameNotiBuilder_.setMessage(value); + } + } + msgCase_ = 35; + return this; + } + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + */ + public Builder clearChangePartyServerNameNoti() { + if (changePartyServerNameNotiBuilder_ == null) { + if (msgCase_ == 35) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 35) { + msgCase_ = 0; + msg_ = null; + } + changePartyServerNameNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.Builder getChangePartyServerNameNotiBuilder() { + return getChangePartyServerNameNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNotiOrBuilder getChangePartyServerNameNotiOrBuilder() { + if ((msgCase_ == 35) && (changePartyServerNameNotiBuilder_ != null)) { + return changePartyServerNameNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 35) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNotiOrBuilder> + getChangePartyServerNameNotiFieldBuilder() { + if (changePartyServerNameNotiBuilder_ == null) { + if (!(msgCase_ == 35)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.getDefaultInstance(); + } + changePartyServerNameNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 35; + onChanged(); + return changePartyServerNameNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNotiOrBuilder> changePartyLeaderNotiBuilder_; + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + * @return Whether the changePartyLeaderNoti field is set. + */ + @java.lang.Override + public boolean hasChangePartyLeaderNoti() { + return msgCase_ == 37; + } + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + * @return The changePartyLeaderNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti getChangePartyLeaderNoti() { + if (changePartyLeaderNotiBuilder_ == null) { + if (msgCase_ == 37) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.getDefaultInstance(); + } else { + if (msgCase_ == 37) { + return changePartyLeaderNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + */ + public Builder setChangePartyLeaderNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti value) { + if (changePartyLeaderNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + changePartyLeaderNotiBuilder_.setMessage(value); + } + msgCase_ = 37; + return this; + } + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + */ + public Builder setChangePartyLeaderNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.Builder builderForValue) { + if (changePartyLeaderNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + changePartyLeaderNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 37; + return this; + } + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + */ + public Builder mergeChangePartyLeaderNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti value) { + if (changePartyLeaderNotiBuilder_ == null) { + if (msgCase_ == 37 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 37) { + changePartyLeaderNotiBuilder_.mergeFrom(value); + } else { + changePartyLeaderNotiBuilder_.setMessage(value); + } + } + msgCase_ = 37; + return this; + } + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + */ + public Builder clearChangePartyLeaderNoti() { + if (changePartyLeaderNotiBuilder_ == null) { + if (msgCase_ == 37) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 37) { + msgCase_ = 0; + msg_ = null; + } + changePartyLeaderNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.Builder getChangePartyLeaderNotiBuilder() { + return getChangePartyLeaderNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNotiOrBuilder getChangePartyLeaderNotiOrBuilder() { + if ((msgCase_ == 37) && (changePartyLeaderNotiBuilder_ != null)) { + return changePartyLeaderNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 37) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNotiOrBuilder> + getChangePartyLeaderNotiFieldBuilder() { + if (changePartyLeaderNotiBuilder_ == null) { + if (!(msgCase_ == 37)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.getDefaultInstance(); + } + changePartyLeaderNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 37; + onChanged(); + return changePartyLeaderNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNotiOrBuilder> exchangePartyNameNotiBuilder_; + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + * @return Whether the exchangePartyNameNoti field is set. + */ + @java.lang.Override + public boolean hasExchangePartyNameNoti() { + return msgCase_ == 38; + } + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + * @return The exchangePartyNameNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti getExchangePartyNameNoti() { + if (exchangePartyNameNotiBuilder_ == null) { + if (msgCase_ == 38) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.getDefaultInstance(); + } else { + if (msgCase_ == 38) { + return exchangePartyNameNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + */ + public Builder setExchangePartyNameNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti value) { + if (exchangePartyNameNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + exchangePartyNameNotiBuilder_.setMessage(value); + } + msgCase_ = 38; + return this; + } + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + */ + public Builder setExchangePartyNameNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.Builder builderForValue) { + if (exchangePartyNameNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + exchangePartyNameNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 38; + return this; + } + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + */ + public Builder mergeExchangePartyNameNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti value) { + if (exchangePartyNameNotiBuilder_ == null) { + if (msgCase_ == 38 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 38) { + exchangePartyNameNotiBuilder_.mergeFrom(value); + } else { + exchangePartyNameNotiBuilder_.setMessage(value); + } + } + msgCase_ = 38; + return this; + } + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + */ + public Builder clearExchangePartyNameNoti() { + if (exchangePartyNameNotiBuilder_ == null) { + if (msgCase_ == 38) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 38) { + msgCase_ = 0; + msg_ = null; + } + exchangePartyNameNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.Builder getExchangePartyNameNotiBuilder() { + return getExchangePartyNameNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNotiOrBuilder getExchangePartyNameNotiOrBuilder() { + if ((msgCase_ == 38) && (exchangePartyNameNotiBuilder_ != null)) { + return exchangePartyNameNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 38) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNotiOrBuilder> + getExchangePartyNameNotiFieldBuilder() { + if (exchangePartyNameNotiBuilder_ == null) { + if (!(msgCase_ == 38)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.getDefaultInstance(); + } + exchangePartyNameNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 38; + onChanged(); + return exchangePartyNameNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNotiOrBuilder> exchangePartyMemberMarkNotiBuilder_; + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + * @return Whether the exchangePartyMemberMarkNoti field is set. + */ + @java.lang.Override + public boolean hasExchangePartyMemberMarkNoti() { + return msgCase_ == 40; + } + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + * @return The exchangePartyMemberMarkNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti getExchangePartyMemberMarkNoti() { + if (exchangePartyMemberMarkNotiBuilder_ == null) { + if (msgCase_ == 40) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.getDefaultInstance(); + } else { + if (msgCase_ == 40) { + return exchangePartyMemberMarkNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + */ + public Builder setExchangePartyMemberMarkNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti value) { + if (exchangePartyMemberMarkNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + exchangePartyMemberMarkNotiBuilder_.setMessage(value); + } + msgCase_ = 40; + return this; + } + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + */ + public Builder setExchangePartyMemberMarkNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.Builder builderForValue) { + if (exchangePartyMemberMarkNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + exchangePartyMemberMarkNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 40; + return this; + } + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + */ + public Builder mergeExchangePartyMemberMarkNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti value) { + if (exchangePartyMemberMarkNotiBuilder_ == null) { + if (msgCase_ == 40 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 40) { + exchangePartyMemberMarkNotiBuilder_.mergeFrom(value); + } else { + exchangePartyMemberMarkNotiBuilder_.setMessage(value); + } + } + msgCase_ = 40; + return this; + } + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + */ + public Builder clearExchangePartyMemberMarkNoti() { + if (exchangePartyMemberMarkNotiBuilder_ == null) { + if (msgCase_ == 40) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 40) { + msgCase_ = 0; + msg_ = null; + } + exchangePartyMemberMarkNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.Builder getExchangePartyMemberMarkNotiBuilder() { + return getExchangePartyMemberMarkNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNotiOrBuilder getExchangePartyMemberMarkNotiOrBuilder() { + if ((msgCase_ == 40) && (exchangePartyMemberMarkNotiBuilder_ != null)) { + return exchangePartyMemberMarkNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 40) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNotiOrBuilder> + getExchangePartyMemberMarkNotiFieldBuilder() { + if (exchangePartyMemberMarkNotiBuilder_ == null) { + if (!(msgCase_ == 40)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.getDefaultInstance(); + } + exchangePartyMemberMarkNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 40; + onChanged(); + return exchangePartyMemberMarkNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNotiOrBuilder> banPartyNotiBuilder_; + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + * @return Whether the banPartyNoti field is set. + */ + @java.lang.Override + public boolean hasBanPartyNoti() { + return msgCase_ == 41; + } + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + * @return The banPartyNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti getBanPartyNoti() { + if (banPartyNotiBuilder_ == null) { + if (msgCase_ == 41) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.getDefaultInstance(); + } else { + if (msgCase_ == 41) { + return banPartyNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + */ + public Builder setBanPartyNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti value) { + if (banPartyNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + banPartyNotiBuilder_.setMessage(value); + } + msgCase_ = 41; + return this; + } + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + */ + public Builder setBanPartyNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.Builder builderForValue) { + if (banPartyNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + banPartyNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 41; + return this; + } + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + */ + public Builder mergeBanPartyNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti value) { + if (banPartyNotiBuilder_ == null) { + if (msgCase_ == 41 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 41) { + banPartyNotiBuilder_.mergeFrom(value); + } else { + banPartyNotiBuilder_.setMessage(value); + } + } + msgCase_ = 41; + return this; + } + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + */ + public Builder clearBanPartyNoti() { + if (banPartyNotiBuilder_ == null) { + if (msgCase_ == 41) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 41) { + msgCase_ = 0; + msg_ = null; + } + banPartyNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.Builder getBanPartyNotiBuilder() { + return getBanPartyNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNotiOrBuilder getBanPartyNotiOrBuilder() { + if ((msgCase_ == 41) && (banPartyNotiBuilder_ != null)) { + return banPartyNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 41) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNotiOrBuilder> + getBanPartyNotiFieldBuilder() { + if (banPartyNotiBuilder_ == null) { + if (!(msgCase_ == 41)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.getDefaultInstance(); + } + banPartyNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 41; + onChanged(); + return banPartyNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNotiOrBuilder> summonPartyMemberNotiBuilder_; + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + * @return Whether the summonPartyMemberNoti field is set. + */ + @java.lang.Override + public boolean hasSummonPartyMemberNoti() { + return msgCase_ == 42; + } + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + * @return The summonPartyMemberNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti getSummonPartyMemberNoti() { + if (summonPartyMemberNotiBuilder_ == null) { + if (msgCase_ == 42) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.getDefaultInstance(); + } else { + if (msgCase_ == 42) { + return summonPartyMemberNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + */ + public Builder setSummonPartyMemberNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti value) { + if (summonPartyMemberNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + summonPartyMemberNotiBuilder_.setMessage(value); + } + msgCase_ = 42; + return this; + } + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + */ + public Builder setSummonPartyMemberNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.Builder builderForValue) { + if (summonPartyMemberNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + summonPartyMemberNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 42; + return this; + } + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + */ + public Builder mergeSummonPartyMemberNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti value) { + if (summonPartyMemberNotiBuilder_ == null) { + if (msgCase_ == 42 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 42) { + summonPartyMemberNotiBuilder_.mergeFrom(value); + } else { + summonPartyMemberNotiBuilder_.setMessage(value); + } + } + msgCase_ = 42; + return this; + } + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + */ + public Builder clearSummonPartyMemberNoti() { + if (summonPartyMemberNotiBuilder_ == null) { + if (msgCase_ == 42) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 42) { + msgCase_ = 0; + msg_ = null; + } + summonPartyMemberNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.Builder getSummonPartyMemberNotiBuilder() { + return getSummonPartyMemberNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNotiOrBuilder getSummonPartyMemberNotiOrBuilder() { + if ((msgCase_ == 42) && (summonPartyMemberNotiBuilder_ != null)) { + return summonPartyMemberNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 42) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNotiOrBuilder> + getSummonPartyMemberNotiFieldBuilder() { + if (summonPartyMemberNotiBuilder_ == null) { + if (!(msgCase_ == 42)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.getDefaultInstance(); + } + summonPartyMemberNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 42; + onChanged(); + return summonPartyMemberNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNotiOrBuilder> replySummonPartyMemberNotiBuilder_; + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + * @return Whether the replySummonPartyMemberNoti field is set. + */ + @java.lang.Override + public boolean hasReplySummonPartyMemberNoti() { + return msgCase_ == 43; + } + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + * @return The replySummonPartyMemberNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti getReplySummonPartyMemberNoti() { + if (replySummonPartyMemberNotiBuilder_ == null) { + if (msgCase_ == 43) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.getDefaultInstance(); + } else { + if (msgCase_ == 43) { + return replySummonPartyMemberNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + */ + public Builder setReplySummonPartyMemberNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti value) { + if (replySummonPartyMemberNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + replySummonPartyMemberNotiBuilder_.setMessage(value); + } + msgCase_ = 43; + return this; + } + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + */ + public Builder setReplySummonPartyMemberNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.Builder builderForValue) { + if (replySummonPartyMemberNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + replySummonPartyMemberNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 43; + return this; + } + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + */ + public Builder mergeReplySummonPartyMemberNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti value) { + if (replySummonPartyMemberNotiBuilder_ == null) { + if (msgCase_ == 43 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 43) { + replySummonPartyMemberNotiBuilder_.mergeFrom(value); + } else { + replySummonPartyMemberNotiBuilder_.setMessage(value); + } + } + msgCase_ = 43; + return this; + } + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + */ + public Builder clearReplySummonPartyMemberNoti() { + if (replySummonPartyMemberNotiBuilder_ == null) { + if (msgCase_ == 43) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 43) { + msgCase_ = 0; + msg_ = null; + } + replySummonPartyMemberNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.Builder getReplySummonPartyMemberNotiBuilder() { + return getReplySummonPartyMemberNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNotiOrBuilder getReplySummonPartyMemberNotiOrBuilder() { + if ((msgCase_ == 43) && (replySummonPartyMemberNotiBuilder_ != null)) { + return replySummonPartyMemberNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 43) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNotiOrBuilder> + getReplySummonPartyMemberNotiFieldBuilder() { + if (replySummonPartyMemberNotiBuilder_ == null) { + if (!(msgCase_ == 43)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.getDefaultInstance(); + } + replySummonPartyMemberNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 43; + onChanged(); + return replySummonPartyMemberNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNotiOrBuilder> noticeChatNotiBuilder_; + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + * @return Whether the noticeChatNoti field is set. + */ + @java.lang.Override + public boolean hasNoticeChatNoti() { + return msgCase_ == 44; + } + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + * @return The noticeChatNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti getNoticeChatNoti() { + if (noticeChatNotiBuilder_ == null) { + if (msgCase_ == 44) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.getDefaultInstance(); + } else { + if (msgCase_ == 44) { + return noticeChatNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + */ + public Builder setNoticeChatNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti value) { + if (noticeChatNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + noticeChatNotiBuilder_.setMessage(value); + } + msgCase_ = 44; + return this; + } + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + */ + public Builder setNoticeChatNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.Builder builderForValue) { + if (noticeChatNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + noticeChatNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 44; + return this; + } + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + */ + public Builder mergeNoticeChatNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti value) { + if (noticeChatNotiBuilder_ == null) { + if (msgCase_ == 44 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 44) { + noticeChatNotiBuilder_.mergeFrom(value); + } else { + noticeChatNotiBuilder_.setMessage(value); + } + } + msgCase_ = 44; + return this; + } + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + */ + public Builder clearNoticeChatNoti() { + if (noticeChatNotiBuilder_ == null) { + if (msgCase_ == 44) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 44) { + msgCase_ = 0; + msg_ = null; + } + noticeChatNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.Builder getNoticeChatNotiBuilder() { + return getNoticeChatNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNotiOrBuilder getNoticeChatNotiOrBuilder() { + if ((msgCase_ == 44) && (noticeChatNotiBuilder_ != null)) { + return noticeChatNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 44) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNotiOrBuilder> + getNoticeChatNotiFieldBuilder() { + if (noticeChatNotiBuilder_ == null) { + if (!(msgCase_ == 44)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.getDefaultInstance(); + } + noticeChatNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 44; + onChanged(); + return noticeChatNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNotiOrBuilder> systemMailNotiBuilder_; + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + * @return Whether the systemMailNoti field is set. + */ + @java.lang.Override + public boolean hasSystemMailNoti() { + return msgCase_ == 45; + } + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + * @return The systemMailNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti getSystemMailNoti() { + if (systemMailNotiBuilder_ == null) { + if (msgCase_ == 45) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.getDefaultInstance(); + } else { + if (msgCase_ == 45) { + return systemMailNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + */ + public Builder setSystemMailNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti value) { + if (systemMailNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + systemMailNotiBuilder_.setMessage(value); + } + msgCase_ = 45; + return this; + } + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + */ + public Builder setSystemMailNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.Builder builderForValue) { + if (systemMailNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + systemMailNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 45; + return this; + } + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + */ + public Builder mergeSystemMailNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti value) { + if (systemMailNotiBuilder_ == null) { + if (msgCase_ == 45 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 45) { + systemMailNotiBuilder_.mergeFrom(value); + } else { + systemMailNotiBuilder_.setMessage(value); + } + } + msgCase_ = 45; + return this; + } + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + */ + public Builder clearSystemMailNoti() { + if (systemMailNotiBuilder_ == null) { + if (msgCase_ == 45) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 45) { + msgCase_ = 0; + msg_ = null; + } + systemMailNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.Builder getSystemMailNotiBuilder() { + return getSystemMailNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNotiOrBuilder getSystemMailNotiOrBuilder() { + if ((msgCase_ == 45) && (systemMailNotiBuilder_ != null)) { + return systemMailNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 45) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNotiOrBuilder> + getSystemMailNotiFieldBuilder() { + if (systemMailNotiBuilder_ == null) { + if (!(msgCase_ == 45)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.getDefaultInstance(); + } + systemMailNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 45; + onChanged(); + return systemMailNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNotiOrBuilder> partyVoteNotiBuilder_; + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + * @return Whether the partyVoteNoti field is set. + */ + @java.lang.Override + public boolean hasPartyVoteNoti() { + return msgCase_ == 46; + } + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + * @return The partyVoteNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti getPartyVoteNoti() { + if (partyVoteNotiBuilder_ == null) { + if (msgCase_ == 46) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.getDefaultInstance(); + } else { + if (msgCase_ == 46) { + return partyVoteNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + */ + public Builder setPartyVoteNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti value) { + if (partyVoteNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + partyVoteNotiBuilder_.setMessage(value); + } + msgCase_ = 46; + return this; + } + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + */ + public Builder setPartyVoteNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.Builder builderForValue) { + if (partyVoteNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + partyVoteNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 46; + return this; + } + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + */ + public Builder mergePartyVoteNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti value) { + if (partyVoteNotiBuilder_ == null) { + if (msgCase_ == 46 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 46) { + partyVoteNotiBuilder_.mergeFrom(value); + } else { + partyVoteNotiBuilder_.setMessage(value); + } + } + msgCase_ = 46; + return this; + } + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + */ + public Builder clearPartyVoteNoti() { + if (partyVoteNotiBuilder_ == null) { + if (msgCase_ == 46) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 46) { + msgCase_ = 0; + msg_ = null; + } + partyVoteNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.Builder getPartyVoteNotiBuilder() { + return getPartyVoteNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNotiOrBuilder getPartyVoteNotiOrBuilder() { + if ((msgCase_ == 46) && (partyVoteNotiBuilder_ != null)) { + return partyVoteNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 46) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNotiOrBuilder> + getPartyVoteNotiFieldBuilder() { + if (partyVoteNotiBuilder_ == null) { + if (!(msgCase_ == 46)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.getDefaultInstance(); + } + partyVoteNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 46; + onChanged(); + return partyVoteNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNotiOrBuilder> replyPartyVoteNotiBuilder_; + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + * @return Whether the replyPartyVoteNoti field is set. + */ + @java.lang.Override + public boolean hasReplyPartyVoteNoti() { + return msgCase_ == 47; + } + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + * @return The replyPartyVoteNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti getReplyPartyVoteNoti() { + if (replyPartyVoteNotiBuilder_ == null) { + if (msgCase_ == 47) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.getDefaultInstance(); + } else { + if (msgCase_ == 47) { + return replyPartyVoteNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + */ + public Builder setReplyPartyVoteNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti value) { + if (replyPartyVoteNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + replyPartyVoteNotiBuilder_.setMessage(value); + } + msgCase_ = 47; + return this; + } + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + */ + public Builder setReplyPartyVoteNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.Builder builderForValue) { + if (replyPartyVoteNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + replyPartyVoteNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 47; + return this; + } + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + */ + public Builder mergeReplyPartyVoteNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti value) { + if (replyPartyVoteNotiBuilder_ == null) { + if (msgCase_ == 47 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 47) { + replyPartyVoteNotiBuilder_.mergeFrom(value); + } else { + replyPartyVoteNotiBuilder_.setMessage(value); + } + } + msgCase_ = 47; + return this; + } + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + */ + public Builder clearReplyPartyVoteNoti() { + if (replyPartyVoteNotiBuilder_ == null) { + if (msgCase_ == 47) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 47) { + msgCase_ = 0; + msg_ = null; + } + replyPartyVoteNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.Builder getReplyPartyVoteNotiBuilder() { + return getReplyPartyVoteNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNotiOrBuilder getReplyPartyVoteNotiOrBuilder() { + if ((msgCase_ == 47) && (replyPartyVoteNotiBuilder_ != null)) { + return replyPartyVoteNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 47) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNotiOrBuilder> + getReplyPartyVoteNotiFieldBuilder() { + if (replyPartyVoteNotiBuilder_ == null) { + if (!(msgCase_ == 47)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.getDefaultInstance(); + } + replyPartyVoteNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 47; + onChanged(); + return replyPartyVoteNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNotiOrBuilder> partyVoteResultNotiBuilder_; + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + * @return Whether the partyVoteResultNoti field is set. + */ + @java.lang.Override + public boolean hasPartyVoteResultNoti() { + return msgCase_ == 48; + } + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + * @return The partyVoteResultNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti getPartyVoteResultNoti() { + if (partyVoteResultNotiBuilder_ == null) { + if (msgCase_ == 48) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.getDefaultInstance(); + } else { + if (msgCase_ == 48) { + return partyVoteResultNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + */ + public Builder setPartyVoteResultNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti value) { + if (partyVoteResultNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + partyVoteResultNotiBuilder_.setMessage(value); + } + msgCase_ = 48; + return this; + } + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + */ + public Builder setPartyVoteResultNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.Builder builderForValue) { + if (partyVoteResultNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + partyVoteResultNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 48; + return this; + } + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + */ + public Builder mergePartyVoteResultNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti value) { + if (partyVoteResultNotiBuilder_ == null) { + if (msgCase_ == 48 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 48) { + partyVoteResultNotiBuilder_.mergeFrom(value); + } else { + partyVoteResultNotiBuilder_.setMessage(value); + } + } + msgCase_ = 48; + return this; + } + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + */ + public Builder clearPartyVoteResultNoti() { + if (partyVoteResultNotiBuilder_ == null) { + if (msgCase_ == 48) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 48) { + msgCase_ = 0; + msg_ = null; + } + partyVoteResultNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.Builder getPartyVoteResultNotiBuilder() { + return getPartyVoteResultNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNotiOrBuilder getPartyVoteResultNotiOrBuilder() { + if ((msgCase_ == 48) && (partyVoteResultNotiBuilder_ != null)) { + return partyVoteResultNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 48) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNotiOrBuilder> + getPartyVoteResultNotiFieldBuilder() { + if (partyVoteResultNotiBuilder_ == null) { + if (!(msgCase_ == 48)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.getDefaultInstance(); + } + partyVoteResultNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 48; + onChanged(); + return partyVoteResultNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNotiOrBuilder> partyInstanceInfoNotiBuilder_; + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + * @return Whether the partyInstanceInfoNoti field is set. + */ + @java.lang.Override + public boolean hasPartyInstanceInfoNoti() { + return msgCase_ == 49; + } + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + * @return The partyInstanceInfoNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti getPartyInstanceInfoNoti() { + if (partyInstanceInfoNotiBuilder_ == null) { + if (msgCase_ == 49) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.getDefaultInstance(); + } else { + if (msgCase_ == 49) { + return partyInstanceInfoNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + */ + public Builder setPartyInstanceInfoNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti value) { + if (partyInstanceInfoNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + partyInstanceInfoNotiBuilder_.setMessage(value); + } + msgCase_ = 49; + return this; + } + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + */ + public Builder setPartyInstanceInfoNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.Builder builderForValue) { + if (partyInstanceInfoNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + partyInstanceInfoNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 49; + return this; + } + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + */ + public Builder mergePartyInstanceInfoNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti value) { + if (partyInstanceInfoNotiBuilder_ == null) { + if (msgCase_ == 49 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 49) { + partyInstanceInfoNotiBuilder_.mergeFrom(value); + } else { + partyInstanceInfoNotiBuilder_.setMessage(value); + } + } + msgCase_ = 49; + return this; + } + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + */ + public Builder clearPartyInstanceInfoNoti() { + if (partyInstanceInfoNotiBuilder_ == null) { + if (msgCase_ == 49) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 49) { + msgCase_ = 0; + msg_ = null; + } + partyInstanceInfoNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.Builder getPartyInstanceInfoNotiBuilder() { + return getPartyInstanceInfoNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNotiOrBuilder getPartyInstanceInfoNotiOrBuilder() { + if ((msgCase_ == 49) && (partyInstanceInfoNotiBuilder_ != null)) { + return partyInstanceInfoNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 49) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNotiOrBuilder> + getPartyInstanceInfoNotiFieldBuilder() { + if (partyInstanceInfoNotiBuilder_ == null) { + if (!(msgCase_ == 49)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.getDefaultInstance(); + } + partyInstanceInfoNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 49; + onChanged(); + return partyInstanceInfoNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNotiOrBuilder> sessionInfoNotiBuilder_; + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + * @return Whether the sessionInfoNoti field is set. + */ + @java.lang.Override + public boolean hasSessionInfoNoti() { + return msgCase_ == 50; + } + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + * @return The sessionInfoNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti getSessionInfoNoti() { + if (sessionInfoNotiBuilder_ == null) { + if (msgCase_ == 50) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.getDefaultInstance(); + } else { + if (msgCase_ == 50) { + return sessionInfoNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + */ + public Builder setSessionInfoNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti value) { + if (sessionInfoNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + sessionInfoNotiBuilder_.setMessage(value); + } + msgCase_ = 50; + return this; + } + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + */ + public Builder setSessionInfoNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.Builder builderForValue) { + if (sessionInfoNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + sessionInfoNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 50; + return this; + } + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + */ + public Builder mergeSessionInfoNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti value) { + if (sessionInfoNotiBuilder_ == null) { + if (msgCase_ == 50 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 50) { + sessionInfoNotiBuilder_.mergeFrom(value); + } else { + sessionInfoNotiBuilder_.setMessage(value); + } + } + msgCase_ = 50; + return this; + } + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + */ + public Builder clearSessionInfoNoti() { + if (sessionInfoNotiBuilder_ == null) { + if (msgCase_ == 50) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 50) { + msgCase_ = 0; + msg_ = null; + } + sessionInfoNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.Builder getSessionInfoNotiBuilder() { + return getSessionInfoNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNotiOrBuilder getSessionInfoNotiOrBuilder() { + if ((msgCase_ == 50) && (sessionInfoNotiBuilder_ != null)) { + return sessionInfoNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 50) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNotiOrBuilder> + getSessionInfoNotiFieldBuilder() { + if (sessionInfoNotiBuilder_ == null) { + if (!(msgCase_ == 50)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.getDefaultInstance(); + } + sessionInfoNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 50; + onChanged(); + return sessionInfoNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNotiOrBuilder> kickedFromFriendsMyHomeNotiBuilder_; + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + * @return Whether the kickedFromFriendsMyHomeNoti field is set. + */ + @java.lang.Override + public boolean hasKickedFromFriendsMyHomeNoti() { + return msgCase_ == 51; + } + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + * @return The kickedFromFriendsMyHomeNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti getKickedFromFriendsMyHomeNoti() { + if (kickedFromFriendsMyHomeNotiBuilder_ == null) { + if (msgCase_ == 51) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.getDefaultInstance(); + } else { + if (msgCase_ == 51) { + return kickedFromFriendsMyHomeNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + */ + public Builder setKickedFromFriendsMyHomeNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti value) { + if (kickedFromFriendsMyHomeNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + kickedFromFriendsMyHomeNotiBuilder_.setMessage(value); + } + msgCase_ = 51; + return this; + } + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + */ + public Builder setKickedFromFriendsMyHomeNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.Builder builderForValue) { + if (kickedFromFriendsMyHomeNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + kickedFromFriendsMyHomeNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 51; + return this; + } + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + */ + public Builder mergeKickedFromFriendsMyHomeNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti value) { + if (kickedFromFriendsMyHomeNotiBuilder_ == null) { + if (msgCase_ == 51 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 51) { + kickedFromFriendsMyHomeNotiBuilder_.mergeFrom(value); + } else { + kickedFromFriendsMyHomeNotiBuilder_.setMessage(value); + } + } + msgCase_ = 51; + return this; + } + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + */ + public Builder clearKickedFromFriendsMyHomeNoti() { + if (kickedFromFriendsMyHomeNotiBuilder_ == null) { + if (msgCase_ == 51) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 51) { + msgCase_ = 0; + msg_ = null; + } + kickedFromFriendsMyHomeNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.Builder getKickedFromFriendsMyHomeNotiBuilder() { + return getKickedFromFriendsMyHomeNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNotiOrBuilder getKickedFromFriendsMyHomeNotiOrBuilder() { + if ((msgCase_ == 51) && (kickedFromFriendsMyHomeNotiBuilder_ != null)) { + return kickedFromFriendsMyHomeNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 51) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNotiOrBuilder> + getKickedFromFriendsMyHomeNotiFieldBuilder() { + if (kickedFromFriendsMyHomeNotiBuilder_ == null) { + if (!(msgCase_ == 51)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.getDefaultInstance(); + } + kickedFromFriendsMyHomeNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 51; + onChanged(); + return kickedFromFriendsMyHomeNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNotiOrBuilder> cancelSummonPartyMemberNotiBuilder_; + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + * @return Whether the cancelSummonPartyMemberNoti field is set. + */ + @java.lang.Override + public boolean hasCancelSummonPartyMemberNoti() { + return msgCase_ == 53; + } + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + * @return The cancelSummonPartyMemberNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti getCancelSummonPartyMemberNoti() { + if (cancelSummonPartyMemberNotiBuilder_ == null) { + if (msgCase_ == 53) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.getDefaultInstance(); + } else { + if (msgCase_ == 53) { + return cancelSummonPartyMemberNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + */ + public Builder setCancelSummonPartyMemberNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti value) { + if (cancelSummonPartyMemberNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + cancelSummonPartyMemberNotiBuilder_.setMessage(value); + } + msgCase_ = 53; + return this; + } + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + */ + public Builder setCancelSummonPartyMemberNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.Builder builderForValue) { + if (cancelSummonPartyMemberNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + cancelSummonPartyMemberNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 53; + return this; + } + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + */ + public Builder mergeCancelSummonPartyMemberNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti value) { + if (cancelSummonPartyMemberNotiBuilder_ == null) { + if (msgCase_ == 53 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 53) { + cancelSummonPartyMemberNotiBuilder_.mergeFrom(value); + } else { + cancelSummonPartyMemberNotiBuilder_.setMessage(value); + } + } + msgCase_ = 53; + return this; + } + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + */ + public Builder clearCancelSummonPartyMemberNoti() { + if (cancelSummonPartyMemberNotiBuilder_ == null) { + if (msgCase_ == 53) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 53) { + msgCase_ = 0; + msg_ = null; + } + cancelSummonPartyMemberNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.Builder getCancelSummonPartyMemberNotiBuilder() { + return getCancelSummonPartyMemberNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNotiOrBuilder getCancelSummonPartyMemberNotiOrBuilder() { + if ((msgCase_ == 53) && (cancelSummonPartyMemberNotiBuilder_ != null)) { + return cancelSummonPartyMemberNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 53) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNotiOrBuilder> + getCancelSummonPartyMemberNotiFieldBuilder() { + if (cancelSummonPartyMemberNotiBuilder_ == null) { + if (!(msgCase_ == 53)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.getDefaultInstance(); + } + cancelSummonPartyMemberNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 53; + onChanged(); + return cancelSummonPartyMemberNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNotiOrBuilder> partyMemberLocationNotiBuilder_; + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + * @return Whether the partyMemberLocationNoti field is set. + */ + @java.lang.Override + public boolean hasPartyMemberLocationNoti() { + return msgCase_ == 54; + } + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + * @return The partyMemberLocationNoti. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti getPartyMemberLocationNoti() { + if (partyMemberLocationNotiBuilder_ == null) { + if (msgCase_ == 54) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.getDefaultInstance(); + } else { + if (msgCase_ == 54) { + return partyMemberLocationNotiBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + */ + public Builder setPartyMemberLocationNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti value) { + if (partyMemberLocationNotiBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + partyMemberLocationNotiBuilder_.setMessage(value); + } + msgCase_ = 54; + return this; + } + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + */ + public Builder setPartyMemberLocationNoti( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.Builder builderForValue) { + if (partyMemberLocationNotiBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + partyMemberLocationNotiBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 54; + return this; + } + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + */ + public Builder mergePartyMemberLocationNoti(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti value) { + if (partyMemberLocationNotiBuilder_ == null) { + if (msgCase_ == 54 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 54) { + partyMemberLocationNotiBuilder_.mergeFrom(value); + } else { + partyMemberLocationNotiBuilder_.setMessage(value); + } + } + msgCase_ = 54; + return this; + } + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + */ + public Builder clearPartyMemberLocationNoti() { + if (partyMemberLocationNotiBuilder_ == null) { + if (msgCase_ == 54) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 54) { + msgCase_ = 0; + msg_ = null; + } + partyMemberLocationNotiBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.Builder getPartyMemberLocationNotiBuilder() { + return getPartyMemberLocationNotiFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNotiOrBuilder getPartyMemberLocationNotiOrBuilder() { + if ((msgCase_ == 54) && (partyMemberLocationNotiBuilder_ != null)) { + return partyMemberLocationNotiBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 54) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.getDefaultInstance(); + } + } + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNotiOrBuilder> + getPartyMemberLocationNotiFieldBuilder() { + if (partyMemberLocationNotiBuilder_ == null) { + if (!(msgCase_ == 54)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.getDefaultInstance(); + } + partyMemberLocationNotiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNotiOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 54; + onChanged(); + return partyMemberLocationNotiBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOMEOrBuilder> ntfFriendLeavingHomeBuilder_; + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + * @return Whether the ntfFriendLeavingHome field is set. + */ + @java.lang.Override + public boolean hasNtfFriendLeavingHome() { + return msgCase_ == 55; + } + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + * @return The ntfFriendLeavingHome. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME getNtfFriendLeavingHome() { + if (ntfFriendLeavingHomeBuilder_ == null) { + if (msgCase_ == 55) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.getDefaultInstance(); + } else { + if (msgCase_ == 55) { + return ntfFriendLeavingHomeBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + */ + public Builder setNtfFriendLeavingHome(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME value) { + if (ntfFriendLeavingHomeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfFriendLeavingHomeBuilder_.setMessage(value); + } + msgCase_ = 55; + return this; + } + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + */ + public Builder setNtfFriendLeavingHome( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.Builder builderForValue) { + if (ntfFriendLeavingHomeBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfFriendLeavingHomeBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 55; + return this; + } + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + */ + public Builder mergeNtfFriendLeavingHome(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME value) { + if (ntfFriendLeavingHomeBuilder_ == null) { + if (msgCase_ == 55 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 55) { + ntfFriendLeavingHomeBuilder_.mergeFrom(value); + } else { + ntfFriendLeavingHomeBuilder_.setMessage(value); + } + } + msgCase_ = 55; + return this; + } + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + */ + public Builder clearNtfFriendLeavingHome() { + if (ntfFriendLeavingHomeBuilder_ == null) { + if (msgCase_ == 55) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 55) { + msgCase_ = 0; + msg_ = null; + } + ntfFriendLeavingHomeBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.Builder getNtfFriendLeavingHomeBuilder() { + return getNtfFriendLeavingHomeFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOMEOrBuilder getNtfFriendLeavingHomeOrBuilder() { + if ((msgCase_ == 55) && (ntfFriendLeavingHomeBuilder_ != null)) { + return ntfFriendLeavingHomeBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 55) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOMEOrBuilder> + getNtfFriendLeavingHomeFieldBuilder() { + if (ntfFriendLeavingHomeBuilder_ == null) { + if (!(msgCase_ == 55)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.getDefaultInstance(); + } + ntfFriendLeavingHomeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOMEOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 55; + onChanged(); + return ntfFriendLeavingHomeBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULTOrBuilder> ntfInvitePartyRecvResultBuilder_; + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + * @return Whether the ntfInvitePartyRecvResult field is set. + */ + @java.lang.Override + public boolean hasNtfInvitePartyRecvResult() { + return msgCase_ == 56; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + * @return The ntfInvitePartyRecvResult. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT getNtfInvitePartyRecvResult() { + if (ntfInvitePartyRecvResultBuilder_ == null) { + if (msgCase_ == 56) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.getDefaultInstance(); + } else { + if (msgCase_ == 56) { + return ntfInvitePartyRecvResultBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + */ + public Builder setNtfInvitePartyRecvResult(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT value) { + if (ntfInvitePartyRecvResultBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfInvitePartyRecvResultBuilder_.setMessage(value); + } + msgCase_ = 56; + return this; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + */ + public Builder setNtfInvitePartyRecvResult( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.Builder builderForValue) { + if (ntfInvitePartyRecvResultBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfInvitePartyRecvResultBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 56; + return this; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + */ + public Builder mergeNtfInvitePartyRecvResult(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT value) { + if (ntfInvitePartyRecvResultBuilder_ == null) { + if (msgCase_ == 56 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 56) { + ntfInvitePartyRecvResultBuilder_.mergeFrom(value); + } else { + ntfInvitePartyRecvResultBuilder_.setMessage(value); + } + } + msgCase_ = 56; + return this; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + */ + public Builder clearNtfInvitePartyRecvResult() { + if (ntfInvitePartyRecvResultBuilder_ == null) { + if (msgCase_ == 56) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 56) { + msgCase_ = 0; + msg_ = null; + } + ntfInvitePartyRecvResultBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.Builder getNtfInvitePartyRecvResultBuilder() { + return getNtfInvitePartyRecvResultFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULTOrBuilder getNtfInvitePartyRecvResultOrBuilder() { + if ((msgCase_ == 56) && (ntfInvitePartyRecvResultBuilder_ != null)) { + return ntfInvitePartyRecvResultBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 56) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULTOrBuilder> + getNtfInvitePartyRecvResultFieldBuilder() { + if (ntfInvitePartyRecvResultBuilder_ == null) { + if (!(msgCase_ == 56)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.getDefaultInstance(); + } + ntfInvitePartyRecvResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULTOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 56; + onChanged(); + return ntfInvitePartyRecvResultBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTYOrBuilder> ntfDestroyPartyBuilder_; + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + * @return Whether the ntfDestroyParty field is set. + */ + @java.lang.Override + public boolean hasNtfDestroyParty() { + return msgCase_ == 57; + } + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + * @return The ntfDestroyParty. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY getNtfDestroyParty() { + if (ntfDestroyPartyBuilder_ == null) { + if (msgCase_ == 57) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.getDefaultInstance(); + } else { + if (msgCase_ == 57) { + return ntfDestroyPartyBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + */ + public Builder setNtfDestroyParty(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY value) { + if (ntfDestroyPartyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfDestroyPartyBuilder_.setMessage(value); + } + msgCase_ = 57; + return this; + } + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + */ + public Builder setNtfDestroyParty( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.Builder builderForValue) { + if (ntfDestroyPartyBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfDestroyPartyBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 57; + return this; + } + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + */ + public Builder mergeNtfDestroyParty(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY value) { + if (ntfDestroyPartyBuilder_ == null) { + if (msgCase_ == 57 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 57) { + ntfDestroyPartyBuilder_.mergeFrom(value); + } else { + ntfDestroyPartyBuilder_.setMessage(value); + } + } + msgCase_ = 57; + return this; + } + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + */ + public Builder clearNtfDestroyParty() { + if (ntfDestroyPartyBuilder_ == null) { + if (msgCase_ == 57) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 57) { + msgCase_ = 0; + msg_ = null; + } + ntfDestroyPartyBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.Builder getNtfDestroyPartyBuilder() { + return getNtfDestroyPartyFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTYOrBuilder getNtfDestroyPartyOrBuilder() { + if ((msgCase_ == 57) && (ntfDestroyPartyBuilder_ != null)) { + return ntfDestroyPartyBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 57) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTYOrBuilder> + getNtfDestroyPartyFieldBuilder() { + if (ntfDestroyPartyBuilder_ == null) { + if (!(msgCase_ == 57)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.getDefaultInstance(); + } + ntfDestroyPartyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTYOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 57; + onChanged(); + return ntfDestroyPartyBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVEROrBuilder> reqReservationEnterToServerBuilder_; + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + * @return Whether the reqReservationEnterToServer field is set. + */ + @java.lang.Override + public boolean hasReqReservationEnterToServer() { + return msgCase_ == 58; + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + * @return The reqReservationEnterToServer. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER getReqReservationEnterToServer() { + if (reqReservationEnterToServerBuilder_ == null) { + if (msgCase_ == 58) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } else { + if (msgCase_ == 58) { + return reqReservationEnterToServerBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + */ + public Builder setReqReservationEnterToServer(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER value) { + if (reqReservationEnterToServerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + reqReservationEnterToServerBuilder_.setMessage(value); + } + msgCase_ = 58; + return this; + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + */ + public Builder setReqReservationEnterToServer( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.Builder builderForValue) { + if (reqReservationEnterToServerBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + reqReservationEnterToServerBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 58; + return this; + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + */ + public Builder mergeReqReservationEnterToServer(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER value) { + if (reqReservationEnterToServerBuilder_ == null) { + if (msgCase_ == 58 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 58) { + reqReservationEnterToServerBuilder_.mergeFrom(value); + } else { + reqReservationEnterToServerBuilder_.setMessage(value); + } + } + msgCase_ = 58; + return this; + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + */ + public Builder clearReqReservationEnterToServer() { + if (reqReservationEnterToServerBuilder_ == null) { + if (msgCase_ == 58) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 58) { + msgCase_ = 0; + msg_ = null; + } + reqReservationEnterToServerBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.Builder getReqReservationEnterToServerBuilder() { + return getReqReservationEnterToServerFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVEROrBuilder getReqReservationEnterToServerOrBuilder() { + if ((msgCase_ == 58) && (reqReservationEnterToServerBuilder_ != null)) { + return reqReservationEnterToServerBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 58) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVEROrBuilder> + getReqReservationEnterToServerFieldBuilder() { + if (reqReservationEnterToServerBuilder_ == null) { + if (!(msgCase_ == 58)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } + reqReservationEnterToServerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVEROrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 58; + onChanged(); + return reqReservationEnterToServerBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVEROrBuilder> ackReservationEnterToServerBuilder_; + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + * @return Whether the ackReservationEnterToServer field is set. + */ + @java.lang.Override + public boolean hasAckReservationEnterToServer() { + return msgCase_ == 59; + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + * @return The ackReservationEnterToServer. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER getAckReservationEnterToServer() { + if (ackReservationEnterToServerBuilder_ == null) { + if (msgCase_ == 59) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } else { + if (msgCase_ == 59) { + return ackReservationEnterToServerBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + */ + public Builder setAckReservationEnterToServer(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER value) { + if (ackReservationEnterToServerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ackReservationEnterToServerBuilder_.setMessage(value); + } + msgCase_ = 59; + return this; + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + */ + public Builder setAckReservationEnterToServer( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.Builder builderForValue) { + if (ackReservationEnterToServerBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ackReservationEnterToServerBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 59; + return this; + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + */ + public Builder mergeAckReservationEnterToServer(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER value) { + if (ackReservationEnterToServerBuilder_ == null) { + if (msgCase_ == 59 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 59) { + ackReservationEnterToServerBuilder_.mergeFrom(value); + } else { + ackReservationEnterToServerBuilder_.setMessage(value); + } + } + msgCase_ = 59; + return this; + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + */ + public Builder clearAckReservationEnterToServer() { + if (ackReservationEnterToServerBuilder_ == null) { + if (msgCase_ == 59) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 59) { + msgCase_ = 0; + msg_ = null; + } + ackReservationEnterToServerBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.Builder getAckReservationEnterToServerBuilder() { + return getAckReservationEnterToServerFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVEROrBuilder getAckReservationEnterToServerOrBuilder() { + if ((msgCase_ == 59) && (ackReservationEnterToServerBuilder_ != null)) { + return ackReservationEnterToServerBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 59) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVEROrBuilder> + getAckReservationEnterToServerFieldBuilder() { + if (ackReservationEnterToServerBuilder_ == null) { + if (!(msgCase_ == 59)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.getDefaultInstance(); + } + ackReservationEnterToServerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVEROrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 59; + onChanged(); + return ackReservationEnterToServerBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHATOrBuilder> ntfPartyChatBuilder_; + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + * @return Whether the ntfPartyChat field is set. + */ + @java.lang.Override + public boolean hasNtfPartyChat() { + return msgCase_ == 60; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + * @return The ntfPartyChat. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT getNtfPartyChat() { + if (ntfPartyChatBuilder_ == null) { + if (msgCase_ == 60) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.getDefaultInstance(); + } else { + if (msgCase_ == 60) { + return ntfPartyChatBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + */ + public Builder setNtfPartyChat(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT value) { + if (ntfPartyChatBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfPartyChatBuilder_.setMessage(value); + } + msgCase_ = 60; + return this; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + */ + public Builder setNtfPartyChat( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.Builder builderForValue) { + if (ntfPartyChatBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfPartyChatBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 60; + return this; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + */ + public Builder mergeNtfPartyChat(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT value) { + if (ntfPartyChatBuilder_ == null) { + if (msgCase_ == 60 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 60) { + ntfPartyChatBuilder_.mergeFrom(value); + } else { + ntfPartyChatBuilder_.setMessage(value); + } + } + msgCase_ = 60; + return this; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + */ + public Builder clearNtfPartyChat() { + if (ntfPartyChatBuilder_ == null) { + if (msgCase_ == 60) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 60) { + msgCase_ = 0; + msg_ = null; + } + ntfPartyChatBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.Builder getNtfPartyChatBuilder() { + return getNtfPartyChatFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHATOrBuilder getNtfPartyChatOrBuilder() { + if ((msgCase_ == 60) && (ntfPartyChatBuilder_ != null)) { + return ntfPartyChatBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 60) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHATOrBuilder> + getNtfPartyChatFieldBuilder() { + if (ntfPartyChatBuilder_ == null) { + if (!(msgCase_ == 60)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.getDefaultInstance(); + } + ntfPartyChatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHATOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 60; + onChanged(); + return ntfPartyChatBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFOOrBuilder> ntfPartyInfoBuilder_; + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + * @return Whether the ntfPartyInfo field is set. + */ + @java.lang.Override + public boolean hasNtfPartyInfo() { + return msgCase_ == 61; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + * @return The ntfPartyInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO getNtfPartyInfo() { + if (ntfPartyInfoBuilder_ == null) { + if (msgCase_ == 61) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.getDefaultInstance(); + } else { + if (msgCase_ == 61) { + return ntfPartyInfoBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + */ + public Builder setNtfPartyInfo(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO value) { + if (ntfPartyInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfPartyInfoBuilder_.setMessage(value); + } + msgCase_ = 61; + return this; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + */ + public Builder setNtfPartyInfo( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.Builder builderForValue) { + if (ntfPartyInfoBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfPartyInfoBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 61; + return this; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + */ + public Builder mergeNtfPartyInfo(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO value) { + if (ntfPartyInfoBuilder_ == null) { + if (msgCase_ == 61 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 61) { + ntfPartyInfoBuilder_.mergeFrom(value); + } else { + ntfPartyInfoBuilder_.setMessage(value); + } + } + msgCase_ = 61; + return this; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + */ + public Builder clearNtfPartyInfo() { + if (ntfPartyInfoBuilder_ == null) { + if (msgCase_ == 61) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 61) { + msgCase_ = 0; + msg_ = null; + } + ntfPartyInfoBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.Builder getNtfPartyInfoBuilder() { + return getNtfPartyInfoFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFOOrBuilder getNtfPartyInfoOrBuilder() { + if ((msgCase_ == 61) && (ntfPartyInfoBuilder_ != null)) { + return ntfPartyInfoBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 61) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFOOrBuilder> + getNtfPartyInfoFieldBuilder() { + if (ntfPartyInfoBuilder_ == null) { + if (!(msgCase_ == 61)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.getDefaultInstance(); + } + ntfPartyInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFOOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 61; + onChanged(); + return ntfPartyInfoBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUTOrBuilder> ntfReturnUserLogoutBuilder_; + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + * @return Whether the ntfReturnUserLogout field is set. + */ + @java.lang.Override + public boolean hasNtfReturnUserLogout() { + return msgCase_ == 62; + } + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + * @return The ntfReturnUserLogout. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT getNtfReturnUserLogout() { + if (ntfReturnUserLogoutBuilder_ == null) { + if (msgCase_ == 62) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.getDefaultInstance(); + } else { + if (msgCase_ == 62) { + return ntfReturnUserLogoutBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + */ + public Builder setNtfReturnUserLogout(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT value) { + if (ntfReturnUserLogoutBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfReturnUserLogoutBuilder_.setMessage(value); + } + msgCase_ = 62; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + */ + public Builder setNtfReturnUserLogout( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.Builder builderForValue) { + if (ntfReturnUserLogoutBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfReturnUserLogoutBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 62; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + */ + public Builder mergeNtfReturnUserLogout(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT value) { + if (ntfReturnUserLogoutBuilder_ == null) { + if (msgCase_ == 62 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 62) { + ntfReturnUserLogoutBuilder_.mergeFrom(value); + } else { + ntfReturnUserLogoutBuilder_.setMessage(value); + } + } + msgCase_ = 62; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + */ + public Builder clearNtfReturnUserLogout() { + if (ntfReturnUserLogoutBuilder_ == null) { + if (msgCase_ == 62) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 62) { + msgCase_ = 0; + msg_ = null; + } + ntfReturnUserLogoutBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.Builder getNtfReturnUserLogoutBuilder() { + return getNtfReturnUserLogoutFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUTOrBuilder getNtfReturnUserLogoutOrBuilder() { + if ((msgCase_ == 62) && (ntfReturnUserLogoutBuilder_ != null)) { + return ntfReturnUserLogoutBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 62) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUTOrBuilder> + getNtfReturnUserLogoutFieldBuilder() { + if (ntfReturnUserLogoutBuilder_ == null) { + if (!(msgCase_ == 62)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.getDefaultInstance(); + } + ntfReturnUserLogoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUTOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 62; + onChanged(); + return ntfReturnUserLogoutBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMONOrBuilder> ntfClearPartySummonBuilder_; + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + * @return Whether the ntfClearPartySummon field is set. + */ + @java.lang.Override + public boolean hasNtfClearPartySummon() { + return msgCase_ == 63; + } + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + * @return The ntfClearPartySummon. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON getNtfClearPartySummon() { + if (ntfClearPartySummonBuilder_ == null) { + if (msgCase_ == 63) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.getDefaultInstance(); + } else { + if (msgCase_ == 63) { + return ntfClearPartySummonBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + */ + public Builder setNtfClearPartySummon(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON value) { + if (ntfClearPartySummonBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfClearPartySummonBuilder_.setMessage(value); + } + msgCase_ = 63; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + */ + public Builder setNtfClearPartySummon( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.Builder builderForValue) { + if (ntfClearPartySummonBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfClearPartySummonBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 63; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + */ + public Builder mergeNtfClearPartySummon(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON value) { + if (ntfClearPartySummonBuilder_ == null) { + if (msgCase_ == 63 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 63) { + ntfClearPartySummonBuilder_.mergeFrom(value); + } else { + ntfClearPartySummonBuilder_.setMessage(value); + } + } + msgCase_ = 63; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + */ + public Builder clearNtfClearPartySummon() { + if (ntfClearPartySummonBuilder_ == null) { + if (msgCase_ == 63) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 63) { + msgCase_ = 0; + msg_ = null; + } + ntfClearPartySummonBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.Builder getNtfClearPartySummonBuilder() { + return getNtfClearPartySummonFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMONOrBuilder getNtfClearPartySummonOrBuilder() { + if ((msgCase_ == 63) && (ntfClearPartySummonBuilder_ != null)) { + return ntfClearPartySummonBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 63) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMONOrBuilder> + getNtfClearPartySummonFieldBuilder() { + if (ntfClearPartySummonBuilder_ == null) { + if (!(msgCase_ == 63)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.getDefaultInstance(); + } + ntfClearPartySummonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMONOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 63; + onChanged(); + return ntfClearPartySummonBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELPOrBuilder> ntfCraftHelpBuilder_; + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + * @return Whether the ntfCraftHelp field is set. + */ + @java.lang.Override + public boolean hasNtfCraftHelp() { + return msgCase_ == 64; + } + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + * @return The ntfCraftHelp. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP getNtfCraftHelp() { + if (ntfCraftHelpBuilder_ == null) { + if (msgCase_ == 64) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.getDefaultInstance(); + } else { + if (msgCase_ == 64) { + return ntfCraftHelpBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + */ + public Builder setNtfCraftHelp(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP value) { + if (ntfCraftHelpBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfCraftHelpBuilder_.setMessage(value); + } + msgCase_ = 64; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + */ + public Builder setNtfCraftHelp( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.Builder builderForValue) { + if (ntfCraftHelpBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfCraftHelpBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 64; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + */ + public Builder mergeNtfCraftHelp(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP value) { + if (ntfCraftHelpBuilder_ == null) { + if (msgCase_ == 64 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 64) { + ntfCraftHelpBuilder_.mergeFrom(value); + } else { + ntfCraftHelpBuilder_.setMessage(value); + } + } + msgCase_ = 64; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + */ + public Builder clearNtfCraftHelp() { + if (ntfCraftHelpBuilder_ == null) { + if (msgCase_ == 64) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 64) { + msgCase_ = 0; + msg_ = null; + } + ntfCraftHelpBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.Builder getNtfCraftHelpBuilder() { + return getNtfCraftHelpFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELPOrBuilder getNtfCraftHelpOrBuilder() { + if ((msgCase_ == 64) && (ntfCraftHelpBuilder_ != null)) { + return ntfCraftHelpBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 64) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELPOrBuilder> + getNtfCraftHelpFieldBuilder() { + if (ntfCraftHelpBuilder_ == null) { + if (!(msgCase_ == 64)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.getDefaultInstance(); + } + ntfCraftHelpBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELPOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 64; + onChanged(); + return ntfCraftHelpBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVEROrBuilder> reqReservationCancelToServerBuilder_; + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + * @return Whether the reqReservationCancelToServer field is set. + */ + @java.lang.Override + public boolean hasReqReservationCancelToServer() { + return msgCase_ == 65; + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + * @return The reqReservationCancelToServer. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER getReqReservationCancelToServer() { + if (reqReservationCancelToServerBuilder_ == null) { + if (msgCase_ == 65) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } else { + if (msgCase_ == 65) { + return reqReservationCancelToServerBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + */ + public Builder setReqReservationCancelToServer(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER value) { + if (reqReservationCancelToServerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + reqReservationCancelToServerBuilder_.setMessage(value); + } + msgCase_ = 65; + return this; + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + */ + public Builder setReqReservationCancelToServer( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.Builder builderForValue) { + if (reqReservationCancelToServerBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + reqReservationCancelToServerBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 65; + return this; + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + */ + public Builder mergeReqReservationCancelToServer(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER value) { + if (reqReservationCancelToServerBuilder_ == null) { + if (msgCase_ == 65 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 65) { + reqReservationCancelToServerBuilder_.mergeFrom(value); + } else { + reqReservationCancelToServerBuilder_.setMessage(value); + } + } + msgCase_ = 65; + return this; + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + */ + public Builder clearReqReservationCancelToServer() { + if (reqReservationCancelToServerBuilder_ == null) { + if (msgCase_ == 65) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 65) { + msgCase_ = 0; + msg_ = null; + } + reqReservationCancelToServerBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.Builder getReqReservationCancelToServerBuilder() { + return getReqReservationCancelToServerFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVEROrBuilder getReqReservationCancelToServerOrBuilder() { + if ((msgCase_ == 65) && (reqReservationCancelToServerBuilder_ != null)) { + return reqReservationCancelToServerBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 65) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVEROrBuilder> + getReqReservationCancelToServerFieldBuilder() { + if (reqReservationCancelToServerBuilder_ == null) { + if (!(msgCase_ == 65)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } + reqReservationCancelToServerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVEROrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 65; + onChanged(); + return reqReservationCancelToServerBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOMEOrBuilder> ntfExchangeMyhomeBuilder_; + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + * @return Whether the ntfExchangeMyhome field is set. + */ + @java.lang.Override + public boolean hasNtfExchangeMyhome() { + return msgCase_ == 66; + } + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + * @return The ntfExchangeMyhome. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME getNtfExchangeMyhome() { + if (ntfExchangeMyhomeBuilder_ == null) { + if (msgCase_ == 66) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.getDefaultInstance(); + } else { + if (msgCase_ == 66) { + return ntfExchangeMyhomeBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + */ + public Builder setNtfExchangeMyhome(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME value) { + if (ntfExchangeMyhomeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfExchangeMyhomeBuilder_.setMessage(value); + } + msgCase_ = 66; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + */ + public Builder setNtfExchangeMyhome( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.Builder builderForValue) { + if (ntfExchangeMyhomeBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfExchangeMyhomeBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 66; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + */ + public Builder mergeNtfExchangeMyhome(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME value) { + if (ntfExchangeMyhomeBuilder_ == null) { + if (msgCase_ == 66 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 66) { + ntfExchangeMyhomeBuilder_.mergeFrom(value); + } else { + ntfExchangeMyhomeBuilder_.setMessage(value); + } + } + msgCase_ = 66; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + */ + public Builder clearNtfExchangeMyhome() { + if (ntfExchangeMyhomeBuilder_ == null) { + if (msgCase_ == 66) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 66) { + msgCase_ = 0; + msg_ = null; + } + ntfExchangeMyhomeBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.Builder getNtfExchangeMyhomeBuilder() { + return getNtfExchangeMyhomeFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOMEOrBuilder getNtfExchangeMyhomeOrBuilder() { + if ((msgCase_ == 66) && (ntfExchangeMyhomeBuilder_ != null)) { + return ntfExchangeMyhomeBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 66) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOMEOrBuilder> + getNtfExchangeMyhomeFieldBuilder() { + if (ntfExchangeMyhomeBuilder_ == null) { + if (!(msgCase_ == 66)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.getDefaultInstance(); + } + ntfExchangeMyhomeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOMEOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 66; + onChanged(); + return ntfExchangeMyhomeBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESHOrBuilder> ntfUgcNpcRankRefreshBuilder_; + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + * @return Whether the ntfUgcNpcRankRefresh field is set. + */ + @java.lang.Override + public boolean hasNtfUgcNpcRankRefresh() { + return msgCase_ == 67; + } + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + * @return The ntfUgcNpcRankRefresh. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH getNtfUgcNpcRankRefresh() { + if (ntfUgcNpcRankRefreshBuilder_ == null) { + if (msgCase_ == 67) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.getDefaultInstance(); + } else { + if (msgCase_ == 67) { + return ntfUgcNpcRankRefreshBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + */ + public Builder setNtfUgcNpcRankRefresh(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH value) { + if (ntfUgcNpcRankRefreshBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfUgcNpcRankRefreshBuilder_.setMessage(value); + } + msgCase_ = 67; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + */ + public Builder setNtfUgcNpcRankRefresh( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.Builder builderForValue) { + if (ntfUgcNpcRankRefreshBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfUgcNpcRankRefreshBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 67; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + */ + public Builder mergeNtfUgcNpcRankRefresh(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH value) { + if (ntfUgcNpcRankRefreshBuilder_ == null) { + if (msgCase_ == 67 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 67) { + ntfUgcNpcRankRefreshBuilder_.mergeFrom(value); + } else { + ntfUgcNpcRankRefreshBuilder_.setMessage(value); + } + } + msgCase_ = 67; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + */ + public Builder clearNtfUgcNpcRankRefresh() { + if (ntfUgcNpcRankRefreshBuilder_ == null) { + if (msgCase_ == 67) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 67) { + msgCase_ = 0; + msg_ = null; + } + ntfUgcNpcRankRefreshBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.Builder getNtfUgcNpcRankRefreshBuilder() { + return getNtfUgcNpcRankRefreshFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESHOrBuilder getNtfUgcNpcRankRefreshOrBuilder() { + if ((msgCase_ == 67) && (ntfUgcNpcRankRefreshBuilder_ != null)) { + return ntfUgcNpcRankRefreshBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 67) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESHOrBuilder> + getNtfUgcNpcRankRefreshFieldBuilder() { + if (ntfUgcNpcRankRefreshBuilder_ == null) { + if (!(msgCase_ == 67)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.getDefaultInstance(); + } + ntfUgcNpcRankRefreshBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESHOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 67; + onChanged(); + return ntfUgcNpcRankRefreshBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SENDOrBuilder> ntfDeletePartyInviteSendBuilder_; + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + * @return Whether the ntfDeletePartyInviteSend field is set. + */ + @java.lang.Override + public boolean hasNtfDeletePartyInviteSend() { + return msgCase_ == 68; + } + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + * @return The ntfDeletePartyInviteSend. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND getNtfDeletePartyInviteSend() { + if (ntfDeletePartyInviteSendBuilder_ == null) { + if (msgCase_ == 68) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.getDefaultInstance(); + } else { + if (msgCase_ == 68) { + return ntfDeletePartyInviteSendBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + */ + public Builder setNtfDeletePartyInviteSend(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND value) { + if (ntfDeletePartyInviteSendBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfDeletePartyInviteSendBuilder_.setMessage(value); + } + msgCase_ = 68; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + */ + public Builder setNtfDeletePartyInviteSend( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.Builder builderForValue) { + if (ntfDeletePartyInviteSendBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfDeletePartyInviteSendBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 68; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + */ + public Builder mergeNtfDeletePartyInviteSend(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND value) { + if (ntfDeletePartyInviteSendBuilder_ == null) { + if (msgCase_ == 68 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 68) { + ntfDeletePartyInviteSendBuilder_.mergeFrom(value); + } else { + ntfDeletePartyInviteSendBuilder_.setMessage(value); + } + } + msgCase_ = 68; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + */ + public Builder clearNtfDeletePartyInviteSend() { + if (ntfDeletePartyInviteSendBuilder_ == null) { + if (msgCase_ == 68) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 68) { + msgCase_ = 0; + msg_ = null; + } + ntfDeletePartyInviteSendBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.Builder getNtfDeletePartyInviteSendBuilder() { + return getNtfDeletePartyInviteSendFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SENDOrBuilder getNtfDeletePartyInviteSendOrBuilder() { + if ((msgCase_ == 68) && (ntfDeletePartyInviteSendBuilder_ != null)) { + return ntfDeletePartyInviteSendBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 68) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SENDOrBuilder> + getNtfDeletePartyInviteSendFieldBuilder() { + if (ntfDeletePartyInviteSendBuilder_ == null) { + if (!(msgCase_ == 68)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.getDefaultInstance(); + } + ntfDeletePartyInviteSendBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SENDOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 68; + onChanged(); + return ntfDeletePartyInviteSendBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOMOrBuilder> ntfMyhomeHostEnterEditRoomBuilder_; + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + * @return Whether the ntfMyhomeHostEnterEditRoom field is set. + */ + @java.lang.Override + public boolean hasNtfMyhomeHostEnterEditRoom() { + return msgCase_ == 69; + } + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + * @return The ntfMyhomeHostEnterEditRoom. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM getNtfMyhomeHostEnterEditRoom() { + if (ntfMyhomeHostEnterEditRoomBuilder_ == null) { + if (msgCase_ == 69) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.getDefaultInstance(); + } else { + if (msgCase_ == 69) { + return ntfMyhomeHostEnterEditRoomBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + */ + public Builder setNtfMyhomeHostEnterEditRoom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM value) { + if (ntfMyhomeHostEnterEditRoomBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfMyhomeHostEnterEditRoomBuilder_.setMessage(value); + } + msgCase_ = 69; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + */ + public Builder setNtfMyhomeHostEnterEditRoom( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.Builder builderForValue) { + if (ntfMyhomeHostEnterEditRoomBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfMyhomeHostEnterEditRoomBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 69; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + */ + public Builder mergeNtfMyhomeHostEnterEditRoom(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM value) { + if (ntfMyhomeHostEnterEditRoomBuilder_ == null) { + if (msgCase_ == 69 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 69) { + ntfMyhomeHostEnterEditRoomBuilder_.mergeFrom(value); + } else { + ntfMyhomeHostEnterEditRoomBuilder_.setMessage(value); + } + } + msgCase_ = 69; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + */ + public Builder clearNtfMyhomeHostEnterEditRoom() { + if (ntfMyhomeHostEnterEditRoomBuilder_ == null) { + if (msgCase_ == 69) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 69) { + msgCase_ = 0; + msg_ = null; + } + ntfMyhomeHostEnterEditRoomBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.Builder getNtfMyhomeHostEnterEditRoomBuilder() { + return getNtfMyhomeHostEnterEditRoomFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOMOrBuilder getNtfMyhomeHostEnterEditRoomOrBuilder() { + if ((msgCase_ == 69) && (ntfMyhomeHostEnterEditRoomBuilder_ != null)) { + return ntfMyhomeHostEnterEditRoomBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 69) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOMOrBuilder> + getNtfMyhomeHostEnterEditRoomFieldBuilder() { + if (ntfMyhomeHostEnterEditRoomBuilder_ == null) { + if (!(msgCase_ == 69)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.getDefaultInstance(); + } + ntfMyhomeHostEnterEditRoomBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOMOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 69; + onChanged(); + return ntfMyhomeHostEnterEditRoomBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICKOrBuilder> ntfUserKickBuilder_; + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + * @return Whether the ntfUserKick field is set. + */ + @java.lang.Override + public boolean hasNtfUserKick() { + return msgCase_ == 70; + } + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + * @return The ntfUserKick. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK getNtfUserKick() { + if (ntfUserKickBuilder_ == null) { + if (msgCase_ == 70) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.getDefaultInstance(); + } else { + if (msgCase_ == 70) { + return ntfUserKickBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.getDefaultInstance(); + } + } + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + */ + public Builder setNtfUserKick(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK value) { + if (ntfUserKickBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfUserKickBuilder_.setMessage(value); + } + msgCase_ = 70; + return this; + } + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + */ + public Builder setNtfUserKick( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.Builder builderForValue) { + if (ntfUserKickBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfUserKickBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 70; + return this; + } + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + */ + public Builder mergeNtfUserKick(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK value) { + if (ntfUserKickBuilder_ == null) { + if (msgCase_ == 70 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 70) { + ntfUserKickBuilder_.mergeFrom(value); + } else { + ntfUserKickBuilder_.setMessage(value); + } + } + msgCase_ = 70; + return this; + } + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + */ + public Builder clearNtfUserKick() { + if (ntfUserKickBuilder_ == null) { + if (msgCase_ == 70) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 70) { + msgCase_ = 0; + msg_ = null; + } + ntfUserKickBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.Builder getNtfUserKickBuilder() { + return getNtfUserKickFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICKOrBuilder getNtfUserKickOrBuilder() { + if ((msgCase_ == 70) && (ntfUserKickBuilder_ != null)) { + return ntfUserKickBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 70) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.getDefaultInstance(); + } + } + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICKOrBuilder> + getNtfUserKickFieldBuilder() { + if (ntfUserKickBuilder_ == null) { + if (!(msgCase_ == 70)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.getDefaultInstance(); + } + ntfUserKickBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICKOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 70; + onChanged(); + return ntfUserKickBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SENDOrBuilder> ntfMailSendBuilder_; + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + * @return Whether the ntfMailSend field is set. + */ + @java.lang.Override + public boolean hasNtfMailSend() { + return msgCase_ == 71; + } + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + * @return The ntfMailSend. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND getNtfMailSend() { + if (ntfMailSendBuilder_ == null) { + if (msgCase_ == 71) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.getDefaultInstance(); + } else { + if (msgCase_ == 71) { + return ntfMailSendBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.getDefaultInstance(); + } + } + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + */ + public Builder setNtfMailSend(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND value) { + if (ntfMailSendBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfMailSendBuilder_.setMessage(value); + } + msgCase_ = 71; + return this; + } + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + */ + public Builder setNtfMailSend( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.Builder builderForValue) { + if (ntfMailSendBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfMailSendBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 71; + return this; + } + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + */ + public Builder mergeNtfMailSend(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND value) { + if (ntfMailSendBuilder_ == null) { + if (msgCase_ == 71 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 71) { + ntfMailSendBuilder_.mergeFrom(value); + } else { + ntfMailSendBuilder_.setMessage(value); + } + } + msgCase_ = 71; + return this; + } + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + */ + public Builder clearNtfMailSend() { + if (ntfMailSendBuilder_ == null) { + if (msgCase_ == 71) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 71) { + msgCase_ = 0; + msg_ = null; + } + ntfMailSendBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.Builder getNtfMailSendBuilder() { + return getNtfMailSendFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SENDOrBuilder getNtfMailSendOrBuilder() { + if ((msgCase_ == 71) && (ntfMailSendBuilder_ != null)) { + return ntfMailSendBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 71) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.getDefaultInstance(); + } + } + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SENDOrBuilder> + getNtfMailSendFieldBuilder() { + if (ntfMailSendBuilder_ == null) { + if (!(msgCase_ == 71)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.getDefaultInstance(); + } + ntfMailSendBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SENDOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 71; + onChanged(); + return ntfMailSendBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHATOrBuilder> ntfOperationSystemNoticeChatBuilder_; + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + * @return Whether the ntfOperationSystemNoticeChat field is set. + */ + @java.lang.Override + public boolean hasNtfOperationSystemNoticeChat() { + return msgCase_ == 72; + } + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + * @return The ntfOperationSystemNoticeChat. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT getNtfOperationSystemNoticeChat() { + if (ntfOperationSystemNoticeChatBuilder_ == null) { + if (msgCase_ == 72) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.getDefaultInstance(); + } else { + if (msgCase_ == 72) { + return ntfOperationSystemNoticeChatBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.getDefaultInstance(); + } + } + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + */ + public Builder setNtfOperationSystemNoticeChat(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT value) { + if (ntfOperationSystemNoticeChatBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfOperationSystemNoticeChatBuilder_.setMessage(value); + } + msgCase_ = 72; + return this; + } + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + */ + public Builder setNtfOperationSystemNoticeChat( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.Builder builderForValue) { + if (ntfOperationSystemNoticeChatBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfOperationSystemNoticeChatBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 72; + return this; + } + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + */ + public Builder mergeNtfOperationSystemNoticeChat(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT value) { + if (ntfOperationSystemNoticeChatBuilder_ == null) { + if (msgCase_ == 72 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 72) { + ntfOperationSystemNoticeChatBuilder_.mergeFrom(value); + } else { + ntfOperationSystemNoticeChatBuilder_.setMessage(value); + } + } + msgCase_ = 72; + return this; + } + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + */ + public Builder clearNtfOperationSystemNoticeChat() { + if (ntfOperationSystemNoticeChatBuilder_ == null) { + if (msgCase_ == 72) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 72) { + msgCase_ = 0; + msg_ = null; + } + ntfOperationSystemNoticeChatBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.Builder getNtfOperationSystemNoticeChatBuilder() { + return getNtfOperationSystemNoticeChatFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHATOrBuilder getNtfOperationSystemNoticeChatOrBuilder() { + if ((msgCase_ == 72) && (ntfOperationSystemNoticeChatBuilder_ != null)) { + return ntfOperationSystemNoticeChatBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 72) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.getDefaultInstance(); + } + } + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHATOrBuilder> + getNtfOperationSystemNoticeChatFieldBuilder() { + if (ntfOperationSystemNoticeChatBuilder_ == null) { + if (!(msgCase_ == 72)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.getDefaultInstance(); + } + ntfOperationSystemNoticeChatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHATOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 72; + onChanged(); + return ntfOperationSystemNoticeChatBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVEROrBuilder> ackReservationCancelToServerBuilder_; + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + * @return Whether the ackReservationCancelToServer field is set. + */ + @java.lang.Override + public boolean hasAckReservationCancelToServer() { + return msgCase_ == 73; + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + * @return The ackReservationCancelToServer. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER getAckReservationCancelToServer() { + if (ackReservationCancelToServerBuilder_ == null) { + if (msgCase_ == 73) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } else { + if (msgCase_ == 73) { + return ackReservationCancelToServerBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + */ + public Builder setAckReservationCancelToServer(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER value) { + if (ackReservationCancelToServerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ackReservationCancelToServerBuilder_.setMessage(value); + } + msgCase_ = 73; + return this; + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + */ + public Builder setAckReservationCancelToServer( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.Builder builderForValue) { + if (ackReservationCancelToServerBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ackReservationCancelToServerBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 73; + return this; + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + */ + public Builder mergeAckReservationCancelToServer(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER value) { + if (ackReservationCancelToServerBuilder_ == null) { + if (msgCase_ == 73 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 73) { + ackReservationCancelToServerBuilder_.mergeFrom(value); + } else { + ackReservationCancelToServerBuilder_.setMessage(value); + } + } + msgCase_ = 73; + return this; + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + */ + public Builder clearAckReservationCancelToServer() { + if (ackReservationCancelToServerBuilder_ == null) { + if (msgCase_ == 73) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 73) { + msgCase_ = 0; + msg_ = null; + } + ackReservationCancelToServerBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.Builder getAckReservationCancelToServerBuilder() { + return getAckReservationCancelToServerFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVEROrBuilder getAckReservationCancelToServerOrBuilder() { + if ((msgCase_ == 73) && (ackReservationCancelToServerBuilder_ != null)) { + return ackReservationCancelToServerBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 73) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVEROrBuilder> + getAckReservationCancelToServerFieldBuilder() { + if (ackReservationCancelToServerBuilder_ == null) { + if (!(msgCase_ == 73)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.getDefaultInstance(); + } + ackReservationCancelToServerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVEROrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 73; + onChanged(); + return ackReservationCancelToServerBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_ENDOrBuilder> ntfFarmingEndBuilder_; + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + * @return Whether the ntfFarmingEnd field is set. + */ + @java.lang.Override + public boolean hasNtfFarmingEnd() { + return msgCase_ == 74; + } + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + * @return The ntfFarmingEnd. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END getNtfFarmingEnd() { + if (ntfFarmingEndBuilder_ == null) { + if (msgCase_ == 74) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.getDefaultInstance(); + } else { + if (msgCase_ == 74) { + return ntfFarmingEndBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + */ + public Builder setNtfFarmingEnd(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END value) { + if (ntfFarmingEndBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfFarmingEndBuilder_.setMessage(value); + } + msgCase_ = 74; + return this; + } + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + */ + public Builder setNtfFarmingEnd( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.Builder builderForValue) { + if (ntfFarmingEndBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfFarmingEndBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 74; + return this; + } + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + */ + public Builder mergeNtfFarmingEnd(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END value) { + if (ntfFarmingEndBuilder_ == null) { + if (msgCase_ == 74 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 74) { + ntfFarmingEndBuilder_.mergeFrom(value); + } else { + ntfFarmingEndBuilder_.setMessage(value); + } + } + msgCase_ = 74; + return this; + } + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + */ + public Builder clearNtfFarmingEnd() { + if (ntfFarmingEndBuilder_ == null) { + if (msgCase_ == 74) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 74) { + msgCase_ = 0; + msg_ = null; + } + ntfFarmingEndBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.Builder getNtfFarmingEndBuilder() { + return getNtfFarmingEndFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_ENDOrBuilder getNtfFarmingEndOrBuilder() { + if ((msgCase_ == 74) && (ntfFarmingEndBuilder_ != null)) { + return ntfFarmingEndBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 74) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_ENDOrBuilder> + getNtfFarmingEndFieldBuilder() { + if (ntfFarmingEndBuilder_ == null) { + if (!(msgCase_ == 74)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.getDefaultInstance(); + } + ntfFarmingEndBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_ENDOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 74; + onChanged(); + return ntfFarmingEndBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOROrBuilder> ntfRentFloorBuilder_; + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + * @return Whether the ntfRentFloor field is set. + */ + @java.lang.Override + public boolean hasNtfRentFloor() { + return msgCase_ == 75; + } + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + * @return The ntfRentFloor. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR getNtfRentFloor() { + if (ntfRentFloorBuilder_ == null) { + if (msgCase_ == 75) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.getDefaultInstance(); + } else { + if (msgCase_ == 75) { + return ntfRentFloorBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + */ + public Builder setNtfRentFloor(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR value) { + if (ntfRentFloorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfRentFloorBuilder_.setMessage(value); + } + msgCase_ = 75; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + */ + public Builder setNtfRentFloor( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.Builder builderForValue) { + if (ntfRentFloorBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfRentFloorBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 75; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + */ + public Builder mergeNtfRentFloor(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR value) { + if (ntfRentFloorBuilder_ == null) { + if (msgCase_ == 75 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 75) { + ntfRentFloorBuilder_.mergeFrom(value); + } else { + ntfRentFloorBuilder_.setMessage(value); + } + } + msgCase_ = 75; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + */ + public Builder clearNtfRentFloor() { + if (ntfRentFloorBuilder_ == null) { + if (msgCase_ == 75) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 75) { + msgCase_ = 0; + msg_ = null; + } + ntfRentFloorBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.Builder getNtfRentFloorBuilder() { + return getNtfRentFloorFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOROrBuilder getNtfRentFloorOrBuilder() { + if ((msgCase_ == 75) && (ntfRentFloorBuilder_ != null)) { + return ntfRentFloorBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 75) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOROrBuilder> + getNtfRentFloorFieldBuilder() { + if (ntfRentFloorBuilder_ == null) { + if (!(msgCase_ == 75)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.getDefaultInstance(); + } + ntfRentFloorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOROrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 75; + onChanged(); + return ntfRentFloorBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOSOrBuilder> ntfModifyFloorLinkedInfosBuilder_; + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + * @return Whether the ntfModifyFloorLinkedInfos field is set. + */ + @java.lang.Override + public boolean hasNtfModifyFloorLinkedInfos() { + return msgCase_ == 76; + } + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + * @return The ntfModifyFloorLinkedInfos. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS getNtfModifyFloorLinkedInfos() { + if (ntfModifyFloorLinkedInfosBuilder_ == null) { + if (msgCase_ == 76) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.getDefaultInstance(); + } else { + if (msgCase_ == 76) { + return ntfModifyFloorLinkedInfosBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + */ + public Builder setNtfModifyFloorLinkedInfos(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS value) { + if (ntfModifyFloorLinkedInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfModifyFloorLinkedInfosBuilder_.setMessage(value); + } + msgCase_ = 76; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + */ + public Builder setNtfModifyFloorLinkedInfos( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.Builder builderForValue) { + if (ntfModifyFloorLinkedInfosBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfModifyFloorLinkedInfosBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 76; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + */ + public Builder mergeNtfModifyFloorLinkedInfos(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS value) { + if (ntfModifyFloorLinkedInfosBuilder_ == null) { + if (msgCase_ == 76 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 76) { + ntfModifyFloorLinkedInfosBuilder_.mergeFrom(value); + } else { + ntfModifyFloorLinkedInfosBuilder_.setMessage(value); + } + } + msgCase_ = 76; + return this; + } + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + */ + public Builder clearNtfModifyFloorLinkedInfos() { + if (ntfModifyFloorLinkedInfosBuilder_ == null) { + if (msgCase_ == 76) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 76) { + msgCase_ = 0; + msg_ = null; + } + ntfModifyFloorLinkedInfosBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.Builder getNtfModifyFloorLinkedInfosBuilder() { + return getNtfModifyFloorLinkedInfosFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOSOrBuilder getNtfModifyFloorLinkedInfosOrBuilder() { + if ((msgCase_ == 76) && (ntfModifyFloorLinkedInfosBuilder_ != null)) { + return ntfModifyFloorLinkedInfosBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 76) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOSOrBuilder> + getNtfModifyFloorLinkedInfosFieldBuilder() { + if (ntfModifyFloorLinkedInfosBuilder_ == null) { + if (!(msgCase_ == 76)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.getDefaultInstance(); + } + ntfModifyFloorLinkedInfosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOSOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 76; + onChanged(); + return ntfModifyFloorLinkedInfosBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNCOrBuilder> ntfBeaconCompactSyncBuilder_; + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + * @return Whether the ntfBeaconCompactSync field is set. + */ + @java.lang.Override + public boolean hasNtfBeaconCompactSync() { + return msgCase_ == 77; + } + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + * @return The ntfBeaconCompactSync. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC getNtfBeaconCompactSync() { + if (ntfBeaconCompactSyncBuilder_ == null) { + if (msgCase_ == 77) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.getDefaultInstance(); + } else { + if (msgCase_ == 77) { + return ntfBeaconCompactSyncBuilder_.getMessage(); + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + */ + public Builder setNtfBeaconCompactSync(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC value) { + if (ntfBeaconCompactSyncBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + msg_ = value; + onChanged(); + } else { + ntfBeaconCompactSyncBuilder_.setMessage(value); + } + msgCase_ = 77; + return this; + } + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + */ + public Builder setNtfBeaconCompactSync( + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.Builder builderForValue) { + if (ntfBeaconCompactSyncBuilder_ == null) { + msg_ = builderForValue.build(); + onChanged(); + } else { + ntfBeaconCompactSyncBuilder_.setMessage(builderForValue.build()); + } + msgCase_ = 77; + return this; + } + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + */ + public Builder mergeNtfBeaconCompactSync(com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC value) { + if (ntfBeaconCompactSyncBuilder_ == null) { + if (msgCase_ == 77 && + msg_ != com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.getDefaultInstance()) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.newBuilder((com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) msg_) + .mergeFrom(value).buildPartial(); + } else { + msg_ = value; + } + onChanged(); + } else { + if (msgCase_ == 77) { + ntfBeaconCompactSyncBuilder_.mergeFrom(value); + } else { + ntfBeaconCompactSyncBuilder_.setMessage(value); + } + } + msgCase_ = 77; + return this; + } + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + */ + public Builder clearNtfBeaconCompactSync() { + if (ntfBeaconCompactSyncBuilder_ == null) { + if (msgCase_ == 77) { + msgCase_ = 0; + msg_ = null; + onChanged(); + } + } else { + if (msgCase_ == 77) { + msgCase_ = 0; + msg_ = null; + } + ntfBeaconCompactSyncBuilder_.clear(); + } + return this; + } + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + */ + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.Builder getNtfBeaconCompactSyncBuilder() { + return getNtfBeaconCompactSyncFieldBuilder().getBuilder(); + } + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNCOrBuilder getNtfBeaconCompactSyncOrBuilder() { + if ((msgCase_ == 77) && (ntfBeaconCompactSyncBuilder_ != null)) { + return ntfBeaconCompactSyncBuilder_.getMessageOrBuilder(); + } else { + if (msgCase_ == 77) { + return (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) msg_; + } + return com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.getDefaultInstance(); + } + } + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNCOrBuilder> + getNtfBeaconCompactSyncFieldBuilder() { + if (ntfBeaconCompactSyncBuilder_ == null) { + if (!(msgCase_ == 77)) { + msg_ = com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.getDefaultInstance(); + } + ntfBeaconCompactSyncBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC.Builder, com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNCOrBuilder>( + (com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC) msg_, + getParentForChildren(), + isClean()); + msg_ = null; + } + msgCase_ = 77; + onChanged(); + return ntfBeaconCompactSyncBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerMessage) + } + + // @@protoc_insertion_point(class_scope:ServerMessage) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerMessage DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerMessage(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServerMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerMessageOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerMessageOrBuilder.java new file mode 100644 index 0000000..e153fef --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerMessageOrBuilder.java @@ -0,0 +1,1088 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ServerMessage.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ServerMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerMessage) + com.google.protobuf.MessageOrBuilder { + + /** + * .google.protobuf.Timestamp messageTime = 1; + * @return Whether the messageTime field is set. + */ + boolean hasMessageTime(); + /** + * .google.protobuf.Timestamp messageTime = 1; + * @return The messageTime. + */ + com.google.protobuf.Timestamp getMessageTime(); + /** + * .google.protobuf.Timestamp messageTime = 1; + */ + com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder(); + + /** + * string messageSender = 2; + * @return The messageSender. + */ + java.lang.String getMessageSender(); + /** + * string messageSender = 2; + * @return The bytes for messageSender. + */ + com.google.protobuf.ByteString + getMessageSenderBytes(); + + /** + * .ServerMessage.Chat chat = 3; + * @return Whether the chat field is set. + */ + boolean hasChat(); + /** + * .ServerMessage.Chat chat = 3; + * @return The chat. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.Chat getChat(); + /** + * .ServerMessage.Chat chat = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChatOrBuilder getChatOrBuilder(); + + /** + * .ServerMessage.KickReq kickReq = 4; + * @return Whether the kickReq field is set. + */ + boolean hasKickReq(); + /** + * .ServerMessage.KickReq kickReq = 4; + * @return The kickReq. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReq getKickReq(); + /** + * .ServerMessage.KickReq kickReq = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickReqOrBuilder getKickReqOrBuilder(); + + /** + * .ServerMessage.KickRes kickRes = 5; + * @return Whether the kickRes field is set. + */ + boolean hasKickRes(); + /** + * .ServerMessage.KickRes kickRes = 5; + * @return The kickRes. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickRes getKickRes(); + /** + * .ServerMessage.KickRes kickRes = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickResOrBuilder getKickResOrBuilder(); + + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + * @return Whether the whiteListUpdateNoti field is set. + */ + boolean hasWhiteListUpdateNoti(); + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + * @return The whiteListUpdateNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNoti getWhiteListUpdateNoti(); + /** + * .ServerMessage.WhiteListUpdateNoti whiteListUpdateNoti = 7; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.WhiteListUpdateNotiOrBuilder getWhiteListUpdateNotiOrBuilder(); + + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + * @return Whether the blackListUpdateNoti field is set. + */ + boolean hasBlackListUpdateNoti(); + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + * @return The blackListUpdateNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNoti getBlackListUpdateNoti(); + /** + * .ServerMessage.BlackListUpdateNoti blackListUpdateNoti = 8; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BlackListUpdateNotiOrBuilder getBlackListUpdateNotiOrBuilder(); + + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + * @return Whether the inspectionReq field is set. + */ + boolean hasInspectionReq(); + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + * @return The inspectionReq. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReq getInspectionReq(); + /** + * .ServerMessage.InspectionReq inspectionReq = 9; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InspectionReqOrBuilder getInspectionReqOrBuilder(); + + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + * @return Whether the changeServerConfigReq field is set. + */ + boolean hasChangeServerConfigReq(); + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + * @return The changeServerConfigReq. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReq getChangeServerConfigReq(); + /** + * .ServerMessage.ChangeServerConfigReq changeServerConfigReq = 10; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangeServerConfigReqOrBuilder getChangeServerConfigReqOrBuilder(); + + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + * @return Whether the allKickNormalUserNoti field is set. + */ + boolean hasAllKickNormalUserNoti(); + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + * @return The allKickNormalUserNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNoti getAllKickNormalUserNoti(); + /** + * .ServerMessage.AllKickNormalUserNoti allKickNormalUserNoti = 11; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AllKickNormalUserNotiOrBuilder getAllKickNormalUserNotiOrBuilder(); + + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + * @return Whether the awsAutoScaleGroupOptionReq field is set. + */ + boolean hasAwsAutoScaleGroupOptionReq(); + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + * @return The awsAutoScaleGroupOptionReq. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReq getAwsAutoScaleGroupOptionReq(); + /** + * .ServerMessage.AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionReqOrBuilder getAwsAutoScaleGroupOptionReqOrBuilder(); + + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + * @return Whether the awsAutoScaleGroupOptionRes field is set. + */ + boolean hasAwsAutoScaleGroupOptionRes(); + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + * @return The awsAutoScaleGroupOptionRes. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionRes getAwsAutoScaleGroupOptionRes(); + /** + * .ServerMessage.AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.AwsAutoScaleGroupOptionResOrBuilder getAwsAutoScaleGroupOptionResOrBuilder(); + + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + * @return Whether the receiveMailNoti field is set. + */ + boolean hasReceiveMailNoti(); + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + * @return The receiveMailNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNoti getReceiveMailNoti(); + /** + * .ServerMessage.ReceiveMailNoti receiveMailNoti = 14; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveMailNotiOrBuilder getReceiveMailNotiOrBuilder(); + + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + * @return Whether the exchangeMannequinDisplayItemNoti field is set. + */ + boolean hasExchangeMannequinDisplayItemNoti(); + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + * @return The exchangeMannequinDisplayItemNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNoti getExchangeMannequinDisplayItemNoti(); + /** + * .ServerMessage.ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangeMannequinDisplayItemNotiOrBuilder getExchangeMannequinDisplayItemNotiOrBuilder(); + + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + * @return Whether the getAwsAutoScaleOptionReq field is set. + */ + boolean hasGetAwsAutoScaleOptionReq(); + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + * @return The getAwsAutoScaleOptionReq. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReq getGetAwsAutoScaleOptionReq(); + /** + * .ServerMessage.GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionReqOrBuilder getGetAwsAutoScaleOptionReqOrBuilder(); + + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + * @return Whether the getAwsAutoScaleOptionRes field is set. + */ + boolean hasGetAwsAutoScaleOptionRes(); + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + * @return The getAwsAutoScaleOptionRes. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionRes getGetAwsAutoScaleOptionRes(); + /** + * .ServerMessage.GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GetAwsAutoScaleOptionResOrBuilder getGetAwsAutoScaleOptionResOrBuilder(); + + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + * @return Whether the readyForDistroyReq field is set. + */ + boolean hasReadyForDistroyReq(); + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + * @return The readyForDistroyReq. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReq getReadyForDistroyReq(); + /** + * .ServerMessage.ReadyForDistroyReq readyForDistroyReq = 18; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReadyForDistroyReqOrBuilder getReadyForDistroyReqOrBuilder(); + + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + * @return Whether the loginNotiToFriend field is set. + */ + boolean hasLoginNotiToFriend(); + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + * @return The loginNotiToFriend. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriend getLoginNotiToFriend(); + /** + * .ServerMessage.LoginNotiToFriend loginNotiToFriend = 19; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LoginNotiToFriendOrBuilder getLoginNotiToFriendOrBuilder(); + + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + * @return Whether the logoutNotiToFriend field is set. + */ + boolean hasLogoutNotiToFriend(); + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + * @return The logoutNotiToFriend. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriend getLogoutNotiToFriend(); + /** + * .ServerMessage.LogoutNotiToFriend logoutNotiToFriend = 20; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LogoutNotiToFriendOrBuilder getLogoutNotiToFriendOrBuilder(); + + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + * @return Whether the managerServerActiveReq field is set. + */ + boolean hasManagerServerActiveReq(); + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + * @return The managerServerActiveReq. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReq getManagerServerActiveReq(); + /** + * .ServerMessage.ManagerServerActiveReq managerServerActiveReq = 21; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveReqOrBuilder getManagerServerActiveReqOrBuilder(); + + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + * @return Whether the managerServerActiveRes field is set. + */ + boolean hasManagerServerActiveRes(); + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + * @return The managerServerActiveRes. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveRes getManagerServerActiveRes(); + /** + * .ServerMessage.ManagerServerActiveRes managerServerActiveRes = 22; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ManagerServerActiveResOrBuilder getManagerServerActiveResOrBuilder(); + + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + * @return Whether the receiveInviteMyHomeNoti field is set. + */ + boolean hasReceiveInviteMyHomeNoti(); + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + * @return The receiveInviteMyHomeNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNoti getReceiveInviteMyHomeNoti(); + /** + * .ServerMessage.ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReceiveInviteMyHomeNotiOrBuilder getReceiveInviteMyHomeNotiOrBuilder(); + + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + * @return Whether the replyInviteMyhomeNoti field is set. + */ + boolean hasReplyInviteMyhomeNoti(); + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + * @return The replyInviteMyhomeNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNoti getReplyInviteMyhomeNoti(); + /** + * .ServerMessage.ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInviteMyhomeNotiOrBuilder getReplyInviteMyhomeNotiOrBuilder(); + + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + * @return Whether the stateNotiToFriend field is set. + */ + boolean hasStateNotiToFriend(); + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + * @return The stateNotiToFriend. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriend getStateNotiToFriend(); + /** + * .ServerMessage.StateNotiToFriend stateNotiToFriend = 25; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.StateNotiToFriendOrBuilder getStateNotiToFriendOrBuilder(); + + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + * @return Whether the friendRequestNoti field is set. + */ + boolean hasFriendRequestNoti(); + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + * @return The friendRequestNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNoti getFriendRequestNoti(); + /** + * .ServerMessage.FriendRequestNoti friendRequestNoti = 26; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendRequestNotiOrBuilder getFriendRequestNotiOrBuilder(); + + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + * @return Whether the friendAcceptNoti field is set. + */ + boolean hasFriendAcceptNoti(); + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + * @return The friendAcceptNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNoti getFriendAcceptNoti(); + /** + * .ServerMessage.FriendAcceptNoti friendAcceptNoti = 27; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendAcceptNotiOrBuilder getFriendAcceptNotiOrBuilder(); + + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + * @return Whether the friendDeleteNoti field is set. + */ + boolean hasFriendDeleteNoti(); + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + * @return The friendDeleteNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNoti getFriendDeleteNoti(); + /** + * .ServerMessage.FriendDeleteNoti friendDeleteNoti = 28; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.FriendDeleteNotiOrBuilder getFriendDeleteNotiOrBuilder(); + + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + * @return Whether the cancelFriendRequestNoti field is set. + */ + boolean hasCancelFriendRequestNoti(); + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + * @return The cancelFriendRequestNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNoti getCancelFriendRequestNoti(); + /** + * .ServerMessage.CancelFriendRequestNoti cancelFriendRequestNoti = 29; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelFriendRequestNotiOrBuilder getCancelFriendRequestNotiOrBuilder(); + + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + * @return Whether the invitePartyNoti field is set. + */ + boolean hasInvitePartyNoti(); + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + * @return The invitePartyNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNoti getInvitePartyNoti(); + /** + * .ServerMessage.InvitePartyNoti invitePartyNoti = 30; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.InvitePartyNotiOrBuilder getInvitePartyNotiOrBuilder(); + + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + * @return Whether the replyInvitePartyNoti field is set. + */ + boolean hasReplyInvitePartyNoti(); + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + * @return The replyInvitePartyNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNoti getReplyInvitePartyNoti(); + /** + * .ServerMessage.ReplyInvitePartyNoti replyInvitePartyNoti = 31; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyInvitePartyNotiOrBuilder getReplyInvitePartyNotiOrBuilder(); + + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + * @return Whether the joinPartyMemberNoti field is set. + */ + boolean hasJoinPartyMemberNoti(); + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + * @return The joinPartyMemberNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNoti getJoinPartyMemberNoti(); + /** + * .ServerMessage.JoinPartyMemberNoti joinPartyMemberNoti = 33; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.JoinPartyMemberNotiOrBuilder getJoinPartyMemberNotiOrBuilder(); + + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + * @return Whether the leavePartyMemberNoti field is set. + */ + boolean hasLeavePartyMemberNoti(); + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + * @return The leavePartyMemberNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNoti getLeavePartyMemberNoti(); + /** + * .ServerMessage.LeavePartyMemberNoti leavePartyMemberNoti = 34; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.LeavePartyMemberNotiOrBuilder getLeavePartyMemberNotiOrBuilder(); + + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + * @return Whether the changePartyServerNameNoti field is set. + */ + boolean hasChangePartyServerNameNoti(); + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + * @return The changePartyServerNameNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNoti getChangePartyServerNameNoti(); + /** + * .ServerMessage.ChangePartyServerNameNoti changePartyServerNameNoti = 35; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyServerNameNotiOrBuilder getChangePartyServerNameNotiOrBuilder(); + + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + * @return Whether the changePartyLeaderNoti field is set. + */ + boolean hasChangePartyLeaderNoti(); + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + * @return The changePartyLeaderNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNoti getChangePartyLeaderNoti(); + /** + * .ServerMessage.ChangePartyLeaderNoti changePartyLeaderNoti = 37; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ChangePartyLeaderNotiOrBuilder getChangePartyLeaderNotiOrBuilder(); + + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + * @return Whether the exchangePartyNameNoti field is set. + */ + boolean hasExchangePartyNameNoti(); + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + * @return The exchangePartyNameNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNoti getExchangePartyNameNoti(); + /** + * .ServerMessage.ExchangePartyNameNoti exchangePartyNameNoti = 38; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyNameNotiOrBuilder getExchangePartyNameNotiOrBuilder(); + + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + * @return Whether the exchangePartyMemberMarkNoti field is set. + */ + boolean hasExchangePartyMemberMarkNoti(); + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + * @return The exchangePartyMemberMarkNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNoti getExchangePartyMemberMarkNoti(); + /** + * .ServerMessage.ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ExchangePartyMemberMarkNotiOrBuilder getExchangePartyMemberMarkNotiOrBuilder(); + + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + * @return Whether the banPartyNoti field is set. + */ + boolean hasBanPartyNoti(); + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + * @return The banPartyNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNoti getBanPartyNoti(); + /** + * .ServerMessage.BanPartyNoti banPartyNoti = 41; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.BanPartyNotiOrBuilder getBanPartyNotiOrBuilder(); + + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + * @return Whether the summonPartyMemberNoti field is set. + */ + boolean hasSummonPartyMemberNoti(); + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + * @return The summonPartyMemberNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNoti getSummonPartyMemberNoti(); + /** + * .ServerMessage.SummonPartyMemberNoti summonPartyMemberNoti = 42; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SummonPartyMemberNotiOrBuilder getSummonPartyMemberNotiOrBuilder(); + + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + * @return Whether the replySummonPartyMemberNoti field is set. + */ + boolean hasReplySummonPartyMemberNoti(); + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + * @return The replySummonPartyMemberNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNoti getReplySummonPartyMemberNoti(); + /** + * .ServerMessage.ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplySummonPartyMemberNotiOrBuilder getReplySummonPartyMemberNotiOrBuilder(); + + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + * @return Whether the noticeChatNoti field is set. + */ + boolean hasNoticeChatNoti(); + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + * @return The noticeChatNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNoti getNoticeChatNoti(); + /** + * .ServerMessage.NoticeChatNoti noticeChatNoti = 44; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.NoticeChatNotiOrBuilder getNoticeChatNotiOrBuilder(); + + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + * @return Whether the systemMailNoti field is set. + */ + boolean hasSystemMailNoti(); + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + * @return The systemMailNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNoti getSystemMailNoti(); + /** + * .ServerMessage.SystemMailNoti systemMailNoti = 45; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SystemMailNotiOrBuilder getSystemMailNotiOrBuilder(); + + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + * @return Whether the partyVoteNoti field is set. + */ + boolean hasPartyVoteNoti(); + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + * @return The partyVoteNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNoti getPartyVoteNoti(); + /** + * .ServerMessage.PartyVoteNoti partyVoteNoti = 46; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteNotiOrBuilder getPartyVoteNotiOrBuilder(); + + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + * @return Whether the replyPartyVoteNoti field is set. + */ + boolean hasReplyPartyVoteNoti(); + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + * @return The replyPartyVoteNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNoti getReplyPartyVoteNoti(); + /** + * .ServerMessage.ReplyPartyVoteNoti replyPartyVoteNoti = 47; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.ReplyPartyVoteNotiOrBuilder getReplyPartyVoteNotiOrBuilder(); + + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + * @return Whether the partyVoteResultNoti field is set. + */ + boolean hasPartyVoteResultNoti(); + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + * @return The partyVoteResultNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNoti getPartyVoteResultNoti(); + /** + * .ServerMessage.PartyVoteResultNoti partyVoteResultNoti = 48; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyVoteResultNotiOrBuilder getPartyVoteResultNotiOrBuilder(); + + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + * @return Whether the partyInstanceInfoNoti field is set. + */ + boolean hasPartyInstanceInfoNoti(); + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + * @return The partyInstanceInfoNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNoti getPartyInstanceInfoNoti(); + /** + * .ServerMessage.PartyInstanceInfoNoti partyInstanceInfoNoti = 49; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyInstanceInfoNotiOrBuilder getPartyInstanceInfoNotiOrBuilder(); + + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + * @return Whether the sessionInfoNoti field is set. + */ + boolean hasSessionInfoNoti(); + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + * @return The sessionInfoNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNoti getSessionInfoNoti(); + /** + * .ServerMessage.SessionInfoNoti sessionInfoNoti = 50; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.SessionInfoNotiOrBuilder getSessionInfoNotiOrBuilder(); + + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + * @return Whether the kickedFromFriendsMyHomeNoti field is set. + */ + boolean hasKickedFromFriendsMyHomeNoti(); + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + * @return The kickedFromFriendsMyHomeNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNoti getKickedFromFriendsMyHomeNoti(); + /** + * .ServerMessage.KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.KickedFromFriendsMyHomeNotiOrBuilder getKickedFromFriendsMyHomeNotiOrBuilder(); + + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + * @return Whether the cancelSummonPartyMemberNoti field is set. + */ + boolean hasCancelSummonPartyMemberNoti(); + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + * @return The cancelSummonPartyMemberNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNoti getCancelSummonPartyMemberNoti(); + /** + * .ServerMessage.CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.CancelSummonPartyMemberNotiOrBuilder getCancelSummonPartyMemberNotiOrBuilder(); + + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + * @return Whether the partyMemberLocationNoti field is set. + */ + boolean hasPartyMemberLocationNoti(); + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + * @return The partyMemberLocationNoti. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNoti getPartyMemberLocationNoti(); + /** + * .ServerMessage.PartyMemberLocationNoti partyMemberLocationNoti = 54; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.PartyMemberLocationNotiOrBuilder getPartyMemberLocationNotiOrBuilder(); + + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + * @return Whether the ntfFriendLeavingHome field is set. + */ + boolean hasNtfFriendLeavingHome(); + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + * @return The ntfFriendLeavingHome. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME getNtfFriendLeavingHome(); + /** + * .ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_FRIEND_LEAVING_HOMEOrBuilder getNtfFriendLeavingHomeOrBuilder(); + + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + * @return Whether the ntfInvitePartyRecvResult field is set. + */ + boolean hasNtfInvitePartyRecvResult(); + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + * @return The ntfInvitePartyRecvResult. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT getNtfInvitePartyRecvResult(); + /** + * .ServerMessage.GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INVITE_RESULTOrBuilder getNtfInvitePartyRecvResultOrBuilder(); + + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + * @return Whether the ntfDestroyParty field is set. + */ + boolean hasNtfDestroyParty(); + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + * @return The ntfDestroyParty. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTY getNtfDestroyParty(); + /** + * .ServerMessage.GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_DESTROY_PARTYOrBuilder getNtfDestroyPartyOrBuilder(); + + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + * @return Whether the reqReservationEnterToServer field is set. + */ + boolean hasReqReservationEnterToServer(); + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + * @return The reqReservationEnterToServer. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER getReqReservationEnterToServer(); + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_ENTER_TO_SERVEROrBuilder getReqReservationEnterToServerOrBuilder(); + + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + * @return Whether the ackReservationEnterToServer field is set. + */ + boolean hasAckReservationEnterToServer(); + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + * @return The ackReservationEnterToServer. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER getAckReservationEnterToServer(); + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer = 59; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_ENTER_TO_SERVEROrBuilder getAckReservationEnterToServerOrBuilder(); + + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + * @return Whether the ntfPartyChat field is set. + */ + boolean hasNtfPartyChat(); + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + * @return The ntfPartyChat. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHAT getNtfPartyChat(); + /** + * .ServerMessage.GS2C_NTF_PARTY_CHAT ntfPartyChat = 60; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_CHATOrBuilder getNtfPartyChatOrBuilder(); + + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + * @return Whether the ntfPartyInfo field is set. + */ + boolean hasNtfPartyInfo(); + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + * @return The ntfPartyInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFO getNtfPartyInfo(); + /** + * .ServerMessage.GS2C_NTF_PARTY_INFO ntfPartyInfo = 61; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2C_NTF_PARTY_INFOOrBuilder getNtfPartyInfoOrBuilder(); + + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + * @return Whether the ntfReturnUserLogout field is set. + */ + boolean hasNtfReturnUserLogout(); + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + * @return The ntfReturnUserLogout. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT getNtfReturnUserLogout(); + /** + * .ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RETURN_USER_LOGOUTOrBuilder getNtfReturnUserLogoutOrBuilder(); + + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + * @return Whether the ntfClearPartySummon field is set. + */ + boolean hasNtfClearPartySummon(); + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + * @return The ntfClearPartySummon. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON getNtfClearPartySummon(); + /** + * .ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CLEAR_PARTY_SUMMONOrBuilder getNtfClearPartySummonOrBuilder(); + + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + * @return Whether the ntfCraftHelp field is set. + */ + boolean hasNtfCraftHelp(); + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + * @return The ntfCraftHelp. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELP getNtfCraftHelp(); + /** + * .ServerMessage.GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_CRAFT_HELPOrBuilder getNtfCraftHelpOrBuilder(); + + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + * @return Whether the reqReservationCancelToServer field is set. + */ + boolean hasReqReservationCancelToServer(); + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + * @return The reqReservationCancelToServer. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER getReqReservationCancelToServer(); + /** + * .ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_REQ_RESERVATION_CANCEL_TO_SERVEROrBuilder getReqReservationCancelToServerOrBuilder(); + + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + * @return Whether the ntfExchangeMyhome field is set. + */ + boolean hasNtfExchangeMyhome(); + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + * @return The ntfExchangeMyhome. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME getNtfExchangeMyhome(); + /** + * .ServerMessage.GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_EXCHANGE_MYHOMEOrBuilder getNtfExchangeMyhomeOrBuilder(); + + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + * @return Whether the ntfUgcNpcRankRefresh field is set. + */ + boolean hasNtfUgcNpcRankRefresh(); + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + * @return The ntfUgcNpcRankRefresh. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH getNtfUgcNpcRankRefresh(); + /** + * .ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UGC_NPC_RANK_REFRESHOrBuilder getNtfUgcNpcRankRefreshOrBuilder(); + + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + * @return Whether the ntfDeletePartyInviteSend field is set. + */ + boolean hasNtfDeletePartyInviteSend(); + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + * @return The ntfDeletePartyInviteSend. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND getNtfDeletePartyInviteSend(); + /** + * .ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_DELETE_PARTY_INVITE_SENDOrBuilder getNtfDeletePartyInviteSendOrBuilder(); + + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + * @return Whether the ntfMyhomeHostEnterEditRoom field is set. + */ + boolean hasNtfMyhomeHostEnterEditRoom(); + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + * @return The ntfMyhomeHostEnterEditRoom. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM getNtfMyhomeHostEnterEditRoom(); + /** + * .ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOMOrBuilder getNtfMyhomeHostEnterEditRoomOrBuilder(); + + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + * @return Whether the ntfUserKick field is set. + */ + boolean hasNtfUserKick(); + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + * @return The ntfUserKick. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICK getNtfUserKick(); + /** + * .ServerMessage.MOS2GS_NTF_USER_KICK ntfUserKick = 70; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_USER_KICKOrBuilder getNtfUserKickOrBuilder(); + + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + * @return Whether the ntfMailSend field is set. + */ + boolean hasNtfMailSend(); + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + * @return The ntfMailSend. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SEND getNtfMailSend(); + /** + * .ServerMessage.MOS2GS_NTF_MAIL_SEND ntfMailSend = 71; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_MAIL_SENDOrBuilder getNtfMailSendOrBuilder(); + + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + * @return Whether the ntfOperationSystemNoticeChat field is set. + */ + boolean hasNtfOperationSystemNoticeChat(); + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + * @return The ntfOperationSystemNoticeChat. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHAT getNtfOperationSystemNoticeChat(); + /** + * .ServerMessage.MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_NOTICE_CHATOrBuilder getNtfOperationSystemNoticeChatOrBuilder(); + + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + * @return Whether the ackReservationCancelToServer field is set. + */ + boolean hasAckReservationCancelToServer(); + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + * @return The ackReservationCancelToServer. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER getAckReservationCancelToServer(); + /** + * .ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_ACK_RESERVATION_CANCEL_TO_SERVEROrBuilder getAckReservationCancelToServerOrBuilder(); + + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + * @return Whether the ntfFarmingEnd field is set. + */ + boolean hasNtfFarmingEnd(); + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + * @return The ntfFarmingEnd. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_END getNtfFarmingEnd(); + /** + * .ServerMessage.GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_FARMING_ENDOrBuilder getNtfFarmingEndOrBuilder(); + + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + * @return Whether the ntfRentFloor field is set. + */ + boolean hasNtfRentFloor(); + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + * @return The ntfRentFloor. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOR getNtfRentFloor(); + /** + * .ServerMessage.GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_RENT_FLOOROrBuilder getNtfRentFloorOrBuilder(); + + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + * @return Whether the ntfModifyFloorLinkedInfos field is set. + */ + boolean hasNtfModifyFloorLinkedInfos(); + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + * @return The ntfModifyFloorLinkedInfos. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS getNtfModifyFloorLinkedInfos(); + /** + * .ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOSOrBuilder getNtfModifyFloorLinkedInfosOrBuilder(); + + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + * @return Whether the ntfBeaconCompactSync field is set. + */ + boolean hasNtfBeaconCompactSync(); + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + * @return The ntfBeaconCompactSync. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC getNtfBeaconCompactSync(); + /** + * .ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77; + */ + com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MQS_NTF_BEACON_COMPACT_SYNCOrBuilder getNtfBeaconCompactSyncOrBuilder(); + + public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MsgCase getMsgCase(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerMessageOuterClass.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerMessageOuterClass.java new file mode 100644 index 0000000..4de3d4b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerMessageOuterClass.java @@ -0,0 +1,1261 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ServerMessage.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public final class ServerMessageOuterClass { + private ServerMessageOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_Chat_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_Chat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_KickReq_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_KickReq_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_KickRes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_KickRes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GetServerConfigReq_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GetServerConfigReq_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GetServerConfigRes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GetServerConfigRes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_WhiteListUpdateNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_WhiteListUpdateNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_BlackListUpdateNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_BlackListUpdateNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_InspectionReq_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_InspectionReq_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ReadyForDistroyReq_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ReadyForDistroyReq_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ManagerServerActiveReq_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ManagerServerActiveReq_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ManagerServerActiveRes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ManagerServerActiveRes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ChangeServerConfigReq_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ChangeServerConfigReq_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_AllKickNormalUserNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_AllKickNormalUserNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ReceiveMailNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ReceiveMailNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_AwsAutoScaleGroupOptionReq_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_AwsAutoScaleGroupOptionReq_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_AwsAutoScaleGroupOptionRes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_AwsAutoScaleGroupOptionRes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ExchangeMannequinDisplayItemNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ExchangeMannequinDisplayItemNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_SacleInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_SacleInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GetAwsAutoScaleOptionReq_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GetAwsAutoScaleOptionReq_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GetAwsAutoScaleOptionRes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GetAwsAutoScaleOptionRes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_InviteFriendToMyHomeReq_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_InviteFriendToMyHomeReq_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ToFiendNotiBase_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ToFiendNotiBase_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_InviteMyHomeBase_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_InviteMyHomeBase_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_LoginNotiToFriend_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_LoginNotiToFriend_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_LogoutNotiToFriend_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_LogoutNotiToFriend_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_StateNotiToFriend_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_StateNotiToFriend_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ReceiveInviteMyHomeNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ReceiveInviteMyHomeNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ReplyInviteMyhomeNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ReplyInviteMyhomeNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_KickFromFriendsHomeNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_KickFromFriendsHomeNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_FriendRequestInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_FriendRequestInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_FriendRequestNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_FriendRequestNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_FriendAcceptNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_FriendAcceptNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_FriendDeleteNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_FriendDeleteNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_CancelFriendRequestNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_CancelFriendRequestNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_KickedFromFriendsMyHomeNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_KickedFromFriendsMyHomeNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_REQ_RESERVATION_ENTER_TO_SERVER_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_REQ_RESERVATION_ENTER_TO_SERVER_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_ACK_RESERVATION_ENTER_TO_SERVER_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_ACK_RESERVATION_ENTER_TO_SERVER_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_NTF_RETURN_USER_LOGOUT_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_NTF_RETURN_USER_LOGOUT_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2C_NTF_FRIEND_LEAVING_HOME_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2C_NTF_FRIEND_LEAVING_HOME_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2C_NTF_PARTY_INFO_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2C_NTF_PARTY_INFO_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2C_NTF_PARTY_CHAT_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2C_NTF_PARTY_CHAT_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2C_NTF_PARTY_INVITE_RESULT_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2C_NTF_PARTY_INVITE_RESULT_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2C_NTF_DESTROY_PARTY_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2C_NTF_DESTROY_PARTY_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_InvitePartyNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_InvitePartyNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ReplyInvitePartyNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ReplyInvitePartyNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_CreatePartyNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_CreatePartyNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_JoinPartyMemberNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_JoinPartyMemberNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_LeavePartyMemberNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_LeavePartyMemberNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ChangePartyServerNameNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ChangePartyServerNameNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_RemovePartyServerNameNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_RemovePartyServerNameNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ChangePartyLeaderNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ChangePartyLeaderNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ExchangePartyNameNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ExchangePartyNameNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_JoiningPartyFlagResetNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_JoiningPartyFlagResetNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ExchangePartyMemberMarkNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ExchangePartyMemberMarkNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_BanPartyNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_BanPartyNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_SummonPartyMemberNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_SummonPartyMemberNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ReplySummonPartyMemberNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ReplySummonPartyMemberNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_NoticeChatNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_NoticeChatNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_SystemMailNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_SystemMailNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_PartyVoteNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_PartyVoteNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_ReplyPartyVoteNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_ReplyPartyVoteNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_PartyVoteResultNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_PartyVoteResultNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_PartyInstanceInfoNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_PartyInstanceInfoNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_SessionInfoNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_SessionInfoNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_CancelSummonPartyMemberNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_CancelSummonPartyMemberNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_PartyMemberLocationNoti_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_PartyMemberLocationNoti_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_NTF_CLEAR_PARTY_SUMMON_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_NTF_CLEAR_PARTY_SUMMON_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_NTF_DELETE_PARTY_INVITE_SEND_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_NTF_DELETE_PARTY_INVITE_SEND_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_NTF_CRAFT_HELP_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_NTF_CRAFT_HELP_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_NTF_EXCHANGE_MYHOME_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_NTF_EXCHANGE_MYHOME_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_NTF_UGC_NPC_RANK_REFRESH_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_NTF_UGC_NPC_RANK_REFRESH_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_MOS2GS_NTF_USER_KICK_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_MOS2GS_NTF_USER_KICK_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_MOS2GS_NTF_MAIL_SEND_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_MOS2GS_NTF_MAIL_SEND_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_MOS2GS_NTF_NOTICE_CHAT_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_MOS2GS_NTF_NOTICE_CHAT_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2MQS_NTF_FARMING_END_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2MQS_NTF_FARMING_END_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2MQS_NTF_BEACON_COMPACT_SYNC_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2MQS_NTF_BEACON_COMPACT_SYNC_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_NTF_RENT_FLOOR_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_NTF_RENT_FLOOR_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_ServerMessage_GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ServerMessage_GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\023ServerMessage.proto\032\037google/protobuf/t" + + "imestamp.proto\032\023Define_Common.proto\032\023Def" + + "ine_Result.proto\032\033Define_ProgramVersion." + + "proto\032\021Game_Define.proto\"\316`\n\rServerMessa" + + "ge\022/\n\013messageTime\030\001 \001(\0132\032.google.protobu" + + "f.Timestamp\022\025\n\rmessageSender\030\002 \001(\t\022#\n\004ch" + + "at\030\003 \001(\0132\023.ServerMessage.ChatH\000\022)\n\007kickR" + + "eq\030\004 \001(\0132\026.ServerMessage.KickReqH\000\022)\n\007ki" + + "ckRes\030\005 \001(\0132\026.ServerMessage.KickResH\000\022A\n" + + "\023whiteListUpdateNoti\030\007 \001(\0132\".ServerMessa" + + "ge.WhiteListUpdateNotiH\000\022A\n\023blackListUpd" + + "ateNoti\030\010 \001(\0132\".ServerMessage.BlackListU" + + "pdateNotiH\000\0225\n\rinspectionReq\030\t \001(\0132\034.Ser" + + "verMessage.InspectionReqH\000\022E\n\025changeServ" + + "erConfigReq\030\n \001(\0132$.ServerMessage.Change" + + "ServerConfigReqH\000\022E\n\025allKickNormalUserNo" + + "ti\030\013 \001(\0132$.ServerMessage.AllKickNormalUs" + + "erNotiH\000\022O\n\032awsAutoScaleGroupOptionReq\030\014" + + " \001(\0132).ServerMessage.AwsAutoScaleGroupOp" + + "tionReqH\000\022O\n\032awsAutoScaleGroupOptionRes\030" + + "\r \001(\0132).ServerMessage.AwsAutoScaleGroupO" + + "ptionResH\000\0229\n\017receiveMailNoti\030\016 \001(\0132\036.Se" + + "rverMessage.ReceiveMailNotiH\000\022[\n exchang" + + "eMannequinDisplayItemNoti\030\017 \001(\0132/.Server" + + "Message.ExchangeMannequinDisplayItemNoti" + + "H\000\022K\n\030getAwsAutoScaleOptionReq\030\020 \001(\0132\'.S" + + "erverMessage.GetAwsAutoScaleOptionReqH\000\022" + + "K\n\030getAwsAutoScaleOptionRes\030\021 \001(\0132\'.Serv" + + "erMessage.GetAwsAutoScaleOptionResH\000\022?\n\022" + + "readyForDistroyReq\030\022 \001(\0132!.ServerMessage" + + ".ReadyForDistroyReqH\000\022=\n\021loginNotiToFrie" + + "nd\030\023 \001(\0132 .ServerMessage.LoginNotiToFrie" + + "ndH\000\022?\n\022logoutNotiToFriend\030\024 \001(\0132!.Serve" + + "rMessage.LogoutNotiToFriendH\000\022G\n\026manager" + + "ServerActiveReq\030\025 \001(\0132%.ServerMessage.Ma" + + "nagerServerActiveReqH\000\022G\n\026managerServerA" + + "ctiveRes\030\026 \001(\0132%.ServerMessage.ManagerSe" + + "rverActiveResH\000\022I\n\027receiveInviteMyHomeNo" + + "ti\030\027 \001(\0132&.ServerMessage.ReceiveInviteMy" + + "HomeNotiH\000\022E\n\025replyInviteMyhomeNoti\030\030 \001(" + + "\0132$.ServerMessage.ReplyInviteMyhomeNotiH" + + "\000\022=\n\021stateNotiToFriend\030\031 \001(\0132 .ServerMes" + + "sage.StateNotiToFriendH\000\022=\n\021friendReques" + + "tNoti\030\032 \001(\0132 .ServerMessage.FriendReques" + + "tNotiH\000\022;\n\020friendAcceptNoti\030\033 \001(\0132\037.Serv" + + "erMessage.FriendAcceptNotiH\000\022;\n\020friendDe" + + "leteNoti\030\034 \001(\0132\037.ServerMessage.FriendDel" + + "eteNotiH\000\022I\n\027cancelFriendRequestNoti\030\035 \001" + + "(\0132&.ServerMessage.CancelFriendRequestNo" + + "tiH\000\0229\n\017invitePartyNoti\030\036 \001(\0132\036.ServerMe" + + "ssage.InvitePartyNotiH\000\022C\n\024replyInvitePa" + + "rtyNoti\030\037 \001(\0132#.ServerMessage.ReplyInvit" + + "ePartyNotiH\000\022A\n\023joinPartyMemberNoti\030! \001(" + + "\0132\".ServerMessage.JoinPartyMemberNotiH\000\022" + + "C\n\024leavePartyMemberNoti\030\" \001(\0132#.ServerMe" + + "ssage.LeavePartyMemberNotiH\000\022M\n\031changePa" + + "rtyServerNameNoti\030# \001(\0132(.ServerMessage." + + "ChangePartyServerNameNotiH\000\022E\n\025changePar" + + "tyLeaderNoti\030% \001(\0132$.ServerMessage.Chang" + + "ePartyLeaderNotiH\000\022E\n\025exchangePartyNameN" + + "oti\030& \001(\0132$.ServerMessage.ExchangePartyN" + + "ameNotiH\000\022Q\n\033exchangePartyMemberMarkNoti" + + "\030( \001(\0132*.ServerMessage.ExchangePartyMemb" + + "erMarkNotiH\000\0223\n\014banPartyNoti\030) \001(\0132\033.Ser" + + "verMessage.BanPartyNotiH\000\022E\n\025summonParty" + + "MemberNoti\030* \001(\0132$.ServerMessage.SummonP" + + "artyMemberNotiH\000\022O\n\032replySummonPartyMemb" + + "erNoti\030+ \001(\0132).ServerMessage.ReplySummon" + + "PartyMemberNotiH\000\0227\n\016noticeChatNoti\030, \001(" + + "\0132\035.ServerMessage.NoticeChatNotiH\000\0227\n\016sy" + + "stemMailNoti\030- \001(\0132\035.ServerMessage.Syste" + + "mMailNotiH\000\0225\n\rpartyVoteNoti\030. \001(\0132\034.Ser" + + "verMessage.PartyVoteNotiH\000\022?\n\022replyParty" + + "VoteNoti\030/ \001(\0132!.ServerMessage.ReplyPart" + + "yVoteNotiH\000\022A\n\023partyVoteResultNoti\0300 \001(\013" + + "2\".ServerMessage.PartyVoteResultNotiH\000\022E" + + "\n\025partyInstanceInfoNoti\0301 \001(\0132$.ServerMe" + + "ssage.PartyInstanceInfoNotiH\000\0229\n\017session" + + "InfoNoti\0302 \001(\0132\036.ServerMessage.SessionIn" + + "foNotiH\000\022Q\n\033kickedFromFriendsMyHomeNoti\030" + + "3 \001(\0132*.ServerMessage.KickedFromFriendsM" + + "yHomeNotiH\000\022Q\n\033cancelSummonPartyMemberNo" + + "ti\0305 \001(\0132*.ServerMessage.CancelSummonPar" + + "tyMemberNotiH\000\022I\n\027partyMemberLocationNot" + + "i\0306 \001(\0132&.ServerMessage.PartyMemberLocat" + + "ionNotiH\000\022K\n\024ntfFriendLeavingHome\0307 \001(\0132" + + "+.ServerMessage.GS2C_NTF_FRIEND_LEAVING_" + + "HOMEH\000\022O\n\030ntfInvitePartyRecvResult\0308 \001(\013" + + "2+.ServerMessage.GS2C_NTF_PARTY_INVITE_R" + + "ESULTH\000\022@\n\017ntfDestroyParty\0309 \001(\0132%.Serve" + + "rMessage.GS2C_NTF_DESTROY_PARTYH\000\022[\n\033req" + + "ReservationEnterToServer\030: \001(\01324.ServerM" + + "essage.GS2GS_REQ_RESERVATION_ENTER_TO_SE" + + "RVERH\000\022[\n\033ackReservationEnterToServer\030; " + + "\001(\01324.ServerMessage.GS2GS_ACK_RESERVATIO" + + "N_ENTER_TO_SERVERH\000\022:\n\014ntfPartyChat\030< \001(" + + "\0132\".ServerMessage.GS2C_NTF_PARTY_CHATH\000\022" + + ":\n\014ntfPartyInfo\030= \001(\0132\".ServerMessage.GS" + + "2C_NTF_PARTY_INFOH\000\022J\n\023ntfReturnUserLogo" + + "ut\030> \001(\0132+.ServerMessage.GS2GS_NTF_RETUR" + + "N_USER_LOGOUTH\000\022J\n\023ntfClearPartySummon\030?" + + " \001(\0132+.ServerMessage.GS2GS_NTF_CLEAR_PAR" + + "TY_SUMMONH\000\022;\n\014ntfCraftHelp\030@ \001(\0132#.Serv" + + "erMessage.GS2GS_NTF_CRAFT_HELPH\000\022]\n\034reqR" + + "eservationCancelToServer\030A \001(\01325.ServerM" + + "essage.GS2GS_REQ_RESERVATION_CANCEL_TO_S" + + "ERVERH\000\022E\n\021ntfExchangeMyhome\030B \001(\0132(.Ser" + + "verMessage.GS2GS_NTF_EXCHANGE_MYHOMEH\000\022M" + + "\n\024ntfUgcNpcRankRefresh\030C \001(\0132-.ServerMes" + + "sage.GS2GS_NTF_UGC_NPC_RANK_REFRESHH\000\022U\n" + + "\030ntfDeletePartyInviteSend\030D \001(\01321.Server" + + "Message.GS2GS_NTF_DELETE_PARTY_INVITE_SE" + + "NDH\000\022Z\n\032ntfMyhomeHostEnterEditRoom\030E \001(\013" + + "24.ServerMessage.GS2GS_NTF_MYHOME_HOST_E" + + "NTER_EDIT_ROOMH\000\022:\n\013ntfUserKick\030F \001(\0132#." + + "ServerMessage.MOS2GS_NTF_USER_KICKH\000\022:\n\013" + + "ntfMailSend\030G \001(\0132#.ServerMessage.MOS2GS" + + "_NTF_MAIL_SENDH\000\022M\n\034ntfOperationSystemNo" + + "ticeChat\030H \001(\0132%.ServerMessage.MOS2GS_NT" + + "F_NOTICE_CHATH\000\022]\n\034ackReservationCancelT" + + "oServer\030I \001(\01325.ServerMessage.GS2GS_ACK_" + + "RESERVATION_CANCEL_TO_SERVERH\000\022>\n\rntfFar" + + "mingEnd\030J \001(\0132%.ServerMessage.GS2MQS_NTF" + + "_FARMING_ENDH\000\022;\n\014ntfRentFloor\030K \001(\0132#.S" + + "erverMessage.GS2GS_NTF_RENT_FLOORH\000\022W\n\031n" + + "tfModifyFloorLinkedInfos\030L \001(\01322.ServerM" + + "essage.GS2GS_NTF_MODIFY_FLOOR_LINKED_INF" + + "OSH\000\022M\n\024ntfBeaconCompactSync\030M \001(\0132-.Ser" + + "verMessage.GS2MQS_NTF_BEACON_COMPACT_SYN" + + "CH\000\032\207\001\n\004Chat\022\027\n\004type\030\001 \001(\0162\t.ChatType\022\026\n" + + "\016senderNickName\030\002 \001(\t\022\024\n\014receiverGuid\030\003 " + + "\001(\t\022\'\n\rreceiverstate\030\004 \001(\0162\020.PlayerState" + + "Type\022\017\n\007message\030\005 \001(\t\032&\n\007KickReq\022\r\n\005reqI" + + "d\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\032I\n\007KickRes\022\r\n\005reqI" + + "d\030\001 \001(\005\022!\n\007errCode\030\002 \001(\0162\020.ServerErrorCo" + + "de\022\014\n\004name\030\003 \001(\t\032\024\n\022GetServerConfigReq\032I" + + "\n\022GetServerConfigRes\022\022\n\nserverType\030\001 \001(\005" + + "\022\017\n\007worldId\030\002 \001(\005\022\016\n\006region\030\003 \001(\005\032\025\n\023Whi" + + "teListUpdateNoti\032\025\n\023BlackListUpdateNoti\032" + + "%\n\rInspectionReq\022\024\n\014isInspection\030\001 \001(\005\032/" + + "\n\022ReadyForDistroyReq\022\031\n\021isReadyForDistro" + + "y\030\001 \001(\005\032*\n\026ManagerServerActiveReq\022\020\n\010isA" + + "ctive\030\001 \001(\005\032*\n\026ManagerServerActiveRes\022\020\n" + + "\010isActive\030\001 \001(\005\032(\n\025ChangeServerConfigReq" + + "\022\017\n\007maxUser\030\001 \001(\005\032\027\n\025AllKickNormalUserNo" + + "ti\032&\n\017ReceiveMailNoti\022\023\n\013accountGuid\030\001 \001" + + "(\t\032\254\001\n\032AwsAutoScaleGroupOptionReq\022\034\n\024sca" + + "leOutPlusConstant\030\001 \001(\005\022\030\n\020scaleInCondit" + + "ion\030\002 \001(\005\022\031\n\021scaleOutCondition\030\003 \001(\005\022\022\n\n" + + "serverName\030\004 \001(\t\022\020\n\010groupMin\030\005 \001(\005\022\025\n\rgr" + + "oupCapacity\030\006 \001(\005\032\034\n\032AwsAutoScaleGroupOp" + + "tionRes\032N\n ExchangeMannequinDisplayItemN" + + "oti\022\022\n\nanchorGuid\030\001 \001(\t\022\026\n\016displayItemId" + + "s\030\002 \003(\005\032G\n\tSacleInfo\022\027\n\017ServerGroupName\030" + + "\001 \001(\t\022\017\n\007MinSize\030\002 \001(\005\022\020\n\010CapaCity\030\003 \001(\005" + + "\032\032\n\030GetAwsAutoScaleOptionReq\032\263\001\n\030GetAwsA" + + "utoScaleOptionRes\022\034\n\024scaleOutPlusConstan" + + "t\030\001 \001(\005\022\030\n\020scaleInCondition\030\002 \001(\005\022\031\n\021sca" + + "leOutCondition\030\003 \001(\005\0222\n\020instanceInfoList" + + "\030\004 \003(\0132\030.ServerMessage.SacleInfo\022\020\n\010isAc" + + "tive\030\005 \001(\005\032^\n\027InviteFriendToMyHomeReq\022\023\n" + + "\013inviterGuid\030\001 \001(\t\022\027\n\017inviterNickName\030\002 " + + "\001(\t\022\025\n\rinviterRoomId\030\003 \001(\t\032\275\001\n\017ToFiendNo" + + "tiBase\022\020\n\010senderId\030\001 \001(\t\022\022\n\nsenderGuid\030\002" + + " \001(\t\022\026\n\016senderNickName\030\003 \001(\t\022\023\n\013senderSt" + + "ate\030\004 \001(\005\022\023\n\013senderMapId\030\005 \001(\005\022\022\n\nreceiv" + + "erId\030\006 \001(\t\022\024\n\014receiverGuid\030\007 \001(\t\022\030\n\020rece" + + "iverNickName\030\010 \001(\t\032\224\001\n\020InviteMyHomeBase\022" + + "\020\n\010senderId\030\001 \001(\t\022\022\n\nsenderGuid\030\002 \001(\t\022\026\n" + + "\016senderNickName\030\003 \001(\t\022\022\n\nreceiverId\030\004 \001(" + + "\t\022\024\n\014receiverGuid\030\005 \001(\t\022\030\n\020receiverNickN" + + "ame\030\006 \001(\t\032n\n\021LoginNotiToFriend\0220\n\010baseIn" + + "fo\030\001 \001(\0132\036.ServerMessage.ToFiendNotiBase" + + "\022\'\n\014locationInfo\030\002 \001(\0132\021.UserLocationInf" + + "o\032F\n\022LogoutNotiToFriend\0220\n\010baseInfo\030\001 \001(" + + "\0132\036.ServerMessage.ToFiendNotiBase\032n\n\021Sta" + + "teNotiToFriend\0220\n\010baseInfo\030\001 \001(\0132\036.Serve" + + "rMessage.ToFiendNotiBase\022\'\n\014locationInfo" + + "\030\002 \001(\0132\021.UserLocationInfo\032\335\001\n\027ReceiveInv" + + "iteMyHomeNoti\0221\n\010baseInfo\030\001 \001(\0132\037.Server" + + "Message.InviteMyHomeBase\022\027\n\017inviterMyHom" + + "eId\030\002 \001(\t\022.\n\nexpireTime\030\003 \001(\0132\032.google.p" + + "rotobuf.Timestamp\0223\n\017replyExpireTime\030\004 \001" + + "(\0132\032.google.protobuf.Timestamp\022\021\n\tunique" + + "Key\030\005 \001(\t\032Z\n\025ReplyInviteMyhomeNoti\022\026\n\016ac" + + "ceptOrRefuse\030\001 \001(\005\022\022\n\nreceiverId\030\002 \001(\t\022\025" + + "\n\rreplyUserGuid\030\003 \001(\t\032?\n\027KickFromFriends" + + "HomeNoti\022\022\n\nkickerGuid\030\001 \001(\t\022\020\n\010kickerId" + + "\030\002 \001(\t\032s\n\021FriendRequestInfo\022\014\n\004guid\030\001 \001(" + + "\t\022\020\n\010nickName\030\002 \001(\t\022\r\n\005isNew\030\003 \001(\005\022/\n\013re" + + "questTime\030\004 \001(\0132\032.google.protobuf.Timest" + + "amp\032^\n\021FriendRequestNoti\0225\n\013requestInfo\030" + + "\001 \001(\0132 .ServerMessage.FriendRequestInfo\022" + + "\022\n\nreceiverId\030\002 \001(\t\032\222\001\n\020FriendAcceptNoti" + + "\022\020\n\010senderId\030\001 \001(\t\022\022\n\nsenderGuid\030\002 \001(\t\022\026" + + "\n\016senderNickName\030\003 \001(\t\022\026\n\016acceptOrRefuse" + + "\030\004 \001(\005\022\022\n\nreceiverId\030\005 \001(\t\022\024\n\014receiverGu" + + "id\030\006 \001(\t\032z\n\020FriendDeleteNoti\022\020\n\010senderId" + + "\030\001 \001(\t\022\022\n\nsenderGuid\030\002 \001(\t\022\026\n\016senderNick" + + "Name\030\003 \001(\t\022\022\n\nreceiverId\030\004 \001(\t\022\024\n\014receiv" + + "erGuid\030\005 \001(\t\032\201\001\n\027CancelFriendRequestNoti" + + "\022\020\n\010senderId\030\001 \001(\t\022\022\n\nsenderGuid\030\002 \001(\t\022\026" + + "\n\016senderNickName\030\003 \001(\t\022\022\n\nreceiverId\030\004 \001" + + "(\t\022\024\n\014receiverGuid\030\005 \001(\t\032\035\n\033KickedFromFr" + + "iendsMyHomeNoti\032\227\001\n%GS2GS_REQ_RESERVATIO" + + "N_ENTER_TO_SERVER\022!\n\010moveType\030\001 \001(\0162\017.Se" + + "rverMoveType\022\031\n\021requestServerName\030\002 \001(\t\022" + + "\027\n\017requestUserGuid\030\003 \001(\t\022\027\n\017summonPartyG" + + "uid\030\004 \001(\t\032|\n%GS2GS_ACK_RESERVATION_ENTER" + + "_TO_SERVER\022\027\n\006result\030\001 \001(\0132\007.Result\022\033\n\023r" + + "eservationUserGuid\030\002 \001(\t\022\035\n\025reservationS" + + "erverName\030\003 \001(\t\032\\\n&GS2GS_REQ_RESERVATION" + + "_CANCEL_TO_SERVER\022\031\n\021requestServerName\030\001" + + " \001(\t\022\027\n\017requestUserGuid\030\002 \001(\t\032A\n&GS2GS_A" + + "CK_RESERVATION_CANCEL_TO_SERVER\022\027\n\017reque" + + "stUserGuid\030\001 \001(\t\0326\n\034GS2GS_NTF_RETURN_USE" + + "R_LOGOUT\022\026\n\016returnUserGuid\030\001 \001(\t\032R\n\034GS2C" + + "_NTF_FRIEND_LEAVING_HOME\022\014\n\004guid\030\001 \001(\t\022\020" + + "\n\010nickName\030\002 \001(\t\022\022\n\nreceiverId\030\003 \001(\t\032B\n\023" + + "GS2C_NTF_PARTY_INFO\022\021\n\tpartyGuid\030\001 \001(\t\022\030" + + "\n\020partyMemberGuids\030\002 \003(\t\032x\n\023GS2C_NTF_PAR" + + "TY_CHAT\022\021\n\tpartyGuid\030\001 \001(\t\022\027\n\017partySende" + + "rGuid\030\002 \001(\t\022\033\n\023partySenderNickname\030\003 \001(\t" + + "\022\030\n\020partySendMessage\030\004 \001(\t\032\214\001\n\034GS2C_NTF_" + + "PARTY_INVITE_RESULT\022#\n\terrorCode\030\001 \001(\0162\020" + + ".ServerErrorCode\022\027\n\017invitePartyGuid\030\002 \001(" + + "\t\022\026\n\016inviteHostGuid\030\003 \001(\t\022\026\n\016inviteUserG" + + "uid\030\004 \001(\t\0322\n\026GS2C_NTF_DESTROY_PARTY\022\030\n\020d" + + "estroyPartyGuid\030\001 \001(\t\032a\n\017InvitePartyNoti" + + "\022\026\n\016inviteUserGuid\030\001 \001(\t\022\035\n\025invitePartyL" + + "eaderGuid\030\002 \001(\t\022\027\n\017invitePartyGuid\030\003 \001(\t" + + "\032~\n\024ReplyInvitePartyNoti\022\027\n\017invitePartyG" + + "uid\030\001 \001(\t\022\026\n\016inviteUserGuid\030\002 \001(\t\022\032\n\022inv" + + "iteUserNickname\030\003 \001(\t\022\031\n\006result\030\004 \001(\0162\t." + + "BoolType\032L\n\017CreatePartyNoti\022 \n\030joinParty" + + "MemberAccountId\030\001 \001(\t\022\027\n\017createPartyGuid" + + "\030\002 \001(\t\032E\n\023JoinPartyMemberNoti\022\021\n\tpartyGu" + + "id\030\001 \001(\t\022\033\n\023joinPartyMemberInfo\030\002 \001(\t\032_\n" + + "\024LeavePartyMemberNoti\022\021\n\tpartyGuid\030\001 \001(\t" + + "\022\032\n\022leavePartyUserGuid\030\002 \001(\t\022\030\n\005isBan\030\003 " + + "\001(\0162\t.BoolType\032a\n\031ChangePartyServerNameN" + + "oti\022\021\n\tpartyGuid\030\001 \001(\t\022\035\n\nisAddition\030\002 \001" + + "(\0162\t.BoolType\022\022\n\nServerName\030\003 \001(\t\032H\n\031Rem" + + "ovePartyServerNameNoti\022\021\n\tpartyGuid\030\001 \001(" + + "\t\022\030\n\020removeServerName\030\002 \001(\t\032F\n\025ChangePar" + + "tyLeaderNoti\022\021\n\tpartyGuid\030\001 \001(\t\022\032\n\022newPa" + + "rtyLeaderGuid\030\002 \001(\t\032@\n\025ExchangePartyName" + + "Noti\022\021\n\tpartyGuid\030\001 \001(\t\022\024\n\014newPartyName\030" + + "\002 \001(\t\0324\n\031JoiningPartyFlagResetNoti\022\027\n\017ta" + + "rgetAccountId\030\001 \001(\t\032X\n\033ExchangePartyMemb" + + "erMarkNoti\022\021\n\tpartyGuid\030\001 \001(\t\022\026\n\016memberU" + + "serGuid\030\002 \001(\t\022\016\n\006markId\030\003 \001(\005\0328\n\014BanPart" + + "yNoti\022\021\n\tpartyGuid\030\001 \001(\t\022\025\n\rbanMemberGui" + + "d\030\002 \001(\t\032{\n\025SummonPartyMemberNoti\022\027\n\017summ" + + "onPartyGuid\030\001 \001(\t\022\026\n\016summonUserGuid\030\002 \001(" + + "\t\022\030\n\020summonServerName\030\003 \001(\t\022\027\n\tsummonPos" + + "\030\004 \001(\0132\004.Pos\032{\n\032ReplySummonPartyMemberNo" + + "ti\022\027\n\017summonPartyGuid\030\001 \001(\t\022\026\n\016summonUse" + + "rGuid\030\002 \001(\t\022,\n\006result\030\003 \001(\0162\034.SummonPart" + + "yMemberResultType\032\020\n\016NoticeChatNoti\032\020\n\016S" + + "ystemMailNoti\032h\n\rPartyVoteNoti\022\021\n\tpartyG" + + "uid\030\001 \001(\t\022\021\n\tvoteTitle\030\002 \001(\t\0221\n\rvoteStar" + + "tTime\030\003 \001(\0132\032.google.protobuf.Timestamp\032" + + "X\n\022ReplyPartyVoteNoti\022\021\n\tpartyGuid\030\001 \001(\t" + + "\022\026\n\016partyVoterGuid\030\002 \001(\t\022\027\n\004vote\030\003 \001(\0162\t" + + ".VoteType\032u\n\023PartyVoteResultNoti\022\021\n\tpart" + + "yGuid\030\001 \001(\t\022\021\n\tvoteTitle\030\002 \001(\t\022\022\n\nresult" + + "True\030\003 \001(\005\022\023\n\013resultFalse\030\004 \001(\005\022\017\n\007absta" + + "in\030\005 \001(\005\032*\n\025PartyInstanceInfoNoti\022\021\n\tpar" + + "tyGuid\030\001 \001(\t\032`\n\017SessionInfoNoti\022\022\n\ninsta" + + "nceId\030\001 \001(\t\022\024\n\014sessionCount\030\002 \001(\005\022\022\n\nser" + + "verType\030\003 \001(\005\022\017\n\007worldId\030\004 \001(\005\032O\n\033Cancel" + + "SummonPartyMemberNoti\022\021\n\tpartyGuid\030\001 \001(\t" + + "\022\035\n\025cancelSummonUserGuids\030\002 \003(\t\032E\n\027Party" + + "MemberLocationNoti\022\021\n\tpartyGuid\030\001 \001(\t\022\027\n" + + "\017partyMemberGuid\030\002 \001(\t\032I\n\034GS2GS_NTF_CLEA" + + "R_PARTY_SUMMON\022\021\n\tpartyGuid\030\001 \001(\t\022\026\n\016mem" + + "berUserGuid\030\002 \001(\t\032O\n\"GS2GS_NTF_DELETE_PA" + + "RTY_INVITE_SEND\022\021\n\tpartyGuid\030\001 \001(\t\022\026\n\016in" + + "viteUserGuid\030\002 \001(\t\032\263\001\n\024GS2GS_NTF_CRAFT_H" + + "ELP\022\016\n\006roomId\030\001 \001(\t\022\023\n\013anchor_guid\030\002 \001(\t" + + "\0223\n\017craftFinishTime\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022\021\n\townerGuid\030\004 \001(\t\022\030\n\020owne" + + "rHelpedCount\030\005 \001(\005\022\024\n\014helpUserName\030\006 \001(\t" + + "\032`\n\031GS2GS_NTF_EXCHANGE_MYHOME\022\016\n\006roomId\030" + + "\001 \001(\t\022\022\n\nmyhomeGuid\030\002 \001(\t\022\037\n\nmyhomeInfo\030" + + "\003 \001(\0132\013.MyHomeInfo\032 \n\036GS2GS_NTF_UGC_NPC_" + + "RANK_REFRESH\032O\n%GS2GS_NTF_MYHOME_HOST_EN" + + "TER_EDIT_ROOM\022\016\n\006roomId\030\001 \001(\t\022\026\n\016exceptU" + + "serGuid\030\002 \001(\t\032l\n\024MOS2GS_NTF_USER_KICK\022\020\n" + + "\010userGuid\030\001 \001(\t\022+\n\020logoutReasonType\030\002 \001(" + + "\0162\021.LogoutReasonType\022\025\n\rkickReasonMsg\030\003 " + + "\001(\t\032\316\001\n\024MOS2GS_NTF_MAIL_SEND\022\020\n\010userGuid" + + "\030\001 \001(\t\022\020\n\010mailType\030\002 \001(\t\022\033\n\010itemList\030\003 \003" + + "(\0132\t.MailItem\022&\n\005title\030\004 \003(\0132\027.Operation" + + "SystemMessage\022$\n\003msg\030\005 \003(\0132\027.OperationSy" + + "stemMessage\022\'\n\006sender\030\006 \003(\0132\027.OperationS" + + "ystemMessage\032\203\001\n\026MOS2GS_NTF_NOTICE_CHAT\022" + + "\022\n\nnoticeType\030\001 \003(\t\022,\n\013chatMessage\030\002 \003(\013" + + "2\027.OperationSystemMessage\022\'\n\006sender\030\003 \003(" + + "\0132\027.OperationSystemMessage\032q\n\026GS2MQS_NTF" + + "_FARMING_END\022\020\n\010userGuid\030\001 \001(\t\022\'\n\016farmin" + + "gSummary\030\005 \001(\0132\017.FarmingSummary\022\034\n\tisApp" + + "lyDb\030\006 \001(\0162\t.BoolType\032v\n\036GS2MQS_NTF_BEAC" + + "ON_COMPACT_SYNC\022\020\n\010userGuid\030\001 \001(\t\022%\n\rugc" + + "NpcCompact\030\005 \001(\0132\016.UgcNpcCompact\022\033\n\023loca" + + "tedInstanceGuid\030\006 \001(\t\032z\n\024GS2GS_NTF_RENT_" + + "FLOOR\022\030\n\020exceptServerName\030\001 \001(\t\0223\n\024rentF" + + "loorRequestInfo\030\002 \001(\0132\025.RentFloorRequest" + + "Info\022\023\n\013ugcNpcGuids\030\003 \003(\t\032w\n#GS2GS_NTF_M" + + "ODIFY_FLOOR_LINKED_INFOS\022\030\n\020exceptServer" + + "Name\030\001 \001(\t\0226\n\026modifyFloorLinkedInfos\030\002 \003" + + "(\0132\026.ModifyFloorLinkedInfoB\005\n\003msgB/\n+com" + + ".caliverse.admin.domain.RabbitMq.message" + + "P\001b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor(), + com.caliverse.admin.domain.RabbitMq.message.DefineResult.getDescriptor(), + com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.getDescriptor(), + com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor(), + }); + internal_static_ServerMessage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_ServerMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_descriptor, + new java.lang.String[] { "MessageTime", "MessageSender", "Chat", "KickReq", "KickRes", "WhiteListUpdateNoti", "BlackListUpdateNoti", "InspectionReq", "ChangeServerConfigReq", "AllKickNormalUserNoti", "AwsAutoScaleGroupOptionReq", "AwsAutoScaleGroupOptionRes", "ReceiveMailNoti", "ExchangeMannequinDisplayItemNoti", "GetAwsAutoScaleOptionReq", "GetAwsAutoScaleOptionRes", "ReadyForDistroyReq", "LoginNotiToFriend", "LogoutNotiToFriend", "ManagerServerActiveReq", "ManagerServerActiveRes", "ReceiveInviteMyHomeNoti", "ReplyInviteMyhomeNoti", "StateNotiToFriend", "FriendRequestNoti", "FriendAcceptNoti", "FriendDeleteNoti", "CancelFriendRequestNoti", "InvitePartyNoti", "ReplyInvitePartyNoti", "JoinPartyMemberNoti", "LeavePartyMemberNoti", "ChangePartyServerNameNoti", "ChangePartyLeaderNoti", "ExchangePartyNameNoti", "ExchangePartyMemberMarkNoti", "BanPartyNoti", "SummonPartyMemberNoti", "ReplySummonPartyMemberNoti", "NoticeChatNoti", "SystemMailNoti", "PartyVoteNoti", "ReplyPartyVoteNoti", "PartyVoteResultNoti", "PartyInstanceInfoNoti", "SessionInfoNoti", "KickedFromFriendsMyHomeNoti", "CancelSummonPartyMemberNoti", "PartyMemberLocationNoti", "NtfFriendLeavingHome", "NtfInvitePartyRecvResult", "NtfDestroyParty", "ReqReservationEnterToServer", "AckReservationEnterToServer", "NtfPartyChat", "NtfPartyInfo", "NtfReturnUserLogout", "NtfClearPartySummon", "NtfCraftHelp", "ReqReservationCancelToServer", "NtfExchangeMyhome", "NtfUgcNpcRankRefresh", "NtfDeletePartyInviteSend", "NtfMyhomeHostEnterEditRoom", "NtfUserKick", "NtfMailSend", "NtfOperationSystemNoticeChat", "AckReservationCancelToServer", "NtfFarmingEnd", "NtfRentFloor", "NtfModifyFloorLinkedInfos", "NtfBeaconCompactSync", "Msg", }); + internal_static_ServerMessage_Chat_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(0); + internal_static_ServerMessage_Chat_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_Chat_descriptor, + new java.lang.String[] { "Type", "SenderNickName", "ReceiverGuid", "Receiverstate", "Message", }); + internal_static_ServerMessage_KickReq_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(1); + internal_static_ServerMessage_KickReq_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_KickReq_descriptor, + new java.lang.String[] { "ReqId", "Name", }); + internal_static_ServerMessage_KickRes_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(2); + internal_static_ServerMessage_KickRes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_KickRes_descriptor, + new java.lang.String[] { "ReqId", "ErrCode", "Name", }); + internal_static_ServerMessage_GetServerConfigReq_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(3); + internal_static_ServerMessage_GetServerConfigReq_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GetServerConfigReq_descriptor, + new java.lang.String[] { }); + internal_static_ServerMessage_GetServerConfigRes_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(4); + internal_static_ServerMessage_GetServerConfigRes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GetServerConfigRes_descriptor, + new java.lang.String[] { "ServerType", "WorldId", "Region", }); + internal_static_ServerMessage_WhiteListUpdateNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(5); + internal_static_ServerMessage_WhiteListUpdateNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_WhiteListUpdateNoti_descriptor, + new java.lang.String[] { }); + internal_static_ServerMessage_BlackListUpdateNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(6); + internal_static_ServerMessage_BlackListUpdateNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_BlackListUpdateNoti_descriptor, + new java.lang.String[] { }); + internal_static_ServerMessage_InspectionReq_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(7); + internal_static_ServerMessage_InspectionReq_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_InspectionReq_descriptor, + new java.lang.String[] { "IsInspection", }); + internal_static_ServerMessage_ReadyForDistroyReq_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(8); + internal_static_ServerMessage_ReadyForDistroyReq_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ReadyForDistroyReq_descriptor, + new java.lang.String[] { "IsReadyForDistroy", }); + internal_static_ServerMessage_ManagerServerActiveReq_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(9); + internal_static_ServerMessage_ManagerServerActiveReq_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ManagerServerActiveReq_descriptor, + new java.lang.String[] { "IsActive", }); + internal_static_ServerMessage_ManagerServerActiveRes_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(10); + internal_static_ServerMessage_ManagerServerActiveRes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ManagerServerActiveRes_descriptor, + new java.lang.String[] { "IsActive", }); + internal_static_ServerMessage_ChangeServerConfigReq_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(11); + internal_static_ServerMessage_ChangeServerConfigReq_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ChangeServerConfigReq_descriptor, + new java.lang.String[] { "MaxUser", }); + internal_static_ServerMessage_AllKickNormalUserNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(12); + internal_static_ServerMessage_AllKickNormalUserNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_AllKickNormalUserNoti_descriptor, + new java.lang.String[] { }); + internal_static_ServerMessage_ReceiveMailNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(13); + internal_static_ServerMessage_ReceiveMailNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ReceiveMailNoti_descriptor, + new java.lang.String[] { "AccountGuid", }); + internal_static_ServerMessage_AwsAutoScaleGroupOptionReq_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(14); + internal_static_ServerMessage_AwsAutoScaleGroupOptionReq_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_AwsAutoScaleGroupOptionReq_descriptor, + new java.lang.String[] { "ScaleOutPlusConstant", "ScaleInCondition", "ScaleOutCondition", "ServerName", "GroupMin", "GroupCapacity", }); + internal_static_ServerMessage_AwsAutoScaleGroupOptionRes_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(15); + internal_static_ServerMessage_AwsAutoScaleGroupOptionRes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_AwsAutoScaleGroupOptionRes_descriptor, + new java.lang.String[] { }); + internal_static_ServerMessage_ExchangeMannequinDisplayItemNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(16); + internal_static_ServerMessage_ExchangeMannequinDisplayItemNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ExchangeMannequinDisplayItemNoti_descriptor, + new java.lang.String[] { "AnchorGuid", "DisplayItemIds", }); + internal_static_ServerMessage_SacleInfo_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(17); + internal_static_ServerMessage_SacleInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_SacleInfo_descriptor, + new java.lang.String[] { "ServerGroupName", "MinSize", "CapaCity", }); + internal_static_ServerMessage_GetAwsAutoScaleOptionReq_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(18); + internal_static_ServerMessage_GetAwsAutoScaleOptionReq_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GetAwsAutoScaleOptionReq_descriptor, + new java.lang.String[] { }); + internal_static_ServerMessage_GetAwsAutoScaleOptionRes_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(19); + internal_static_ServerMessage_GetAwsAutoScaleOptionRes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GetAwsAutoScaleOptionRes_descriptor, + new java.lang.String[] { "ScaleOutPlusConstant", "ScaleInCondition", "ScaleOutCondition", "InstanceInfoList", "IsActive", }); + internal_static_ServerMessage_InviteFriendToMyHomeReq_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(20); + internal_static_ServerMessage_InviteFriendToMyHomeReq_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_InviteFriendToMyHomeReq_descriptor, + new java.lang.String[] { "InviterGuid", "InviterNickName", "InviterRoomId", }); + internal_static_ServerMessage_ToFiendNotiBase_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(21); + internal_static_ServerMessage_ToFiendNotiBase_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ToFiendNotiBase_descriptor, + new java.lang.String[] { "SenderId", "SenderGuid", "SenderNickName", "SenderState", "SenderMapId", "ReceiverId", "ReceiverGuid", "ReceiverNickName", }); + internal_static_ServerMessage_InviteMyHomeBase_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(22); + internal_static_ServerMessage_InviteMyHomeBase_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_InviteMyHomeBase_descriptor, + new java.lang.String[] { "SenderId", "SenderGuid", "SenderNickName", "ReceiverId", "ReceiverGuid", "ReceiverNickName", }); + internal_static_ServerMessage_LoginNotiToFriend_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(23); + internal_static_ServerMessage_LoginNotiToFriend_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_LoginNotiToFriend_descriptor, + new java.lang.String[] { "BaseInfo", "LocationInfo", }); + internal_static_ServerMessage_LogoutNotiToFriend_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(24); + internal_static_ServerMessage_LogoutNotiToFriend_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_LogoutNotiToFriend_descriptor, + new java.lang.String[] { "BaseInfo", }); + internal_static_ServerMessage_StateNotiToFriend_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(25); + internal_static_ServerMessage_StateNotiToFriend_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_StateNotiToFriend_descriptor, + new java.lang.String[] { "BaseInfo", "LocationInfo", }); + internal_static_ServerMessage_ReceiveInviteMyHomeNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(26); + internal_static_ServerMessage_ReceiveInviteMyHomeNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ReceiveInviteMyHomeNoti_descriptor, + new java.lang.String[] { "BaseInfo", "InviterMyHomeId", "ExpireTime", "ReplyExpireTime", "UniqueKey", }); + internal_static_ServerMessage_ReplyInviteMyhomeNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(27); + internal_static_ServerMessage_ReplyInviteMyhomeNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ReplyInviteMyhomeNoti_descriptor, + new java.lang.String[] { "AcceptOrRefuse", "ReceiverId", "ReplyUserGuid", }); + internal_static_ServerMessage_KickFromFriendsHomeNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(28); + internal_static_ServerMessage_KickFromFriendsHomeNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_KickFromFriendsHomeNoti_descriptor, + new java.lang.String[] { "KickerGuid", "KickerId", }); + internal_static_ServerMessage_FriendRequestInfo_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(29); + internal_static_ServerMessage_FriendRequestInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_FriendRequestInfo_descriptor, + new java.lang.String[] { "Guid", "NickName", "IsNew", "RequestTime", }); + internal_static_ServerMessage_FriendRequestNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(30); + internal_static_ServerMessage_FriendRequestNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_FriendRequestNoti_descriptor, + new java.lang.String[] { "RequestInfo", "ReceiverId", }); + internal_static_ServerMessage_FriendAcceptNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(31); + internal_static_ServerMessage_FriendAcceptNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_FriendAcceptNoti_descriptor, + new java.lang.String[] { "SenderId", "SenderGuid", "SenderNickName", "AcceptOrRefuse", "ReceiverId", "ReceiverGuid", }); + internal_static_ServerMessage_FriendDeleteNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(32); + internal_static_ServerMessage_FriendDeleteNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_FriendDeleteNoti_descriptor, + new java.lang.String[] { "SenderId", "SenderGuid", "SenderNickName", "ReceiverId", "ReceiverGuid", }); + internal_static_ServerMessage_CancelFriendRequestNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(33); + internal_static_ServerMessage_CancelFriendRequestNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_CancelFriendRequestNoti_descriptor, + new java.lang.String[] { "SenderId", "SenderGuid", "SenderNickName", "ReceiverId", "ReceiverGuid", }); + internal_static_ServerMessage_KickedFromFriendsMyHomeNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(34); + internal_static_ServerMessage_KickedFromFriendsMyHomeNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_KickedFromFriendsMyHomeNoti_descriptor, + new java.lang.String[] { }); + internal_static_ServerMessage_GS2GS_REQ_RESERVATION_ENTER_TO_SERVER_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(35); + internal_static_ServerMessage_GS2GS_REQ_RESERVATION_ENTER_TO_SERVER_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_REQ_RESERVATION_ENTER_TO_SERVER_descriptor, + new java.lang.String[] { "MoveType", "RequestServerName", "RequestUserGuid", "SummonPartyGuid", }); + internal_static_ServerMessage_GS2GS_ACK_RESERVATION_ENTER_TO_SERVER_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(36); + internal_static_ServerMessage_GS2GS_ACK_RESERVATION_ENTER_TO_SERVER_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_ACK_RESERVATION_ENTER_TO_SERVER_descriptor, + new java.lang.String[] { "Result", "ReservationUserGuid", "ReservationServerName", }); + internal_static_ServerMessage_GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(37); + internal_static_ServerMessage_GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER_descriptor, + new java.lang.String[] { "RequestServerName", "RequestUserGuid", }); + internal_static_ServerMessage_GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(38); + internal_static_ServerMessage_GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER_descriptor, + new java.lang.String[] { "RequestUserGuid", }); + internal_static_ServerMessage_GS2GS_NTF_RETURN_USER_LOGOUT_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(39); + internal_static_ServerMessage_GS2GS_NTF_RETURN_USER_LOGOUT_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_NTF_RETURN_USER_LOGOUT_descriptor, + new java.lang.String[] { "ReturnUserGuid", }); + internal_static_ServerMessage_GS2C_NTF_FRIEND_LEAVING_HOME_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(40); + internal_static_ServerMessage_GS2C_NTF_FRIEND_LEAVING_HOME_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2C_NTF_FRIEND_LEAVING_HOME_descriptor, + new java.lang.String[] { "Guid", "NickName", "ReceiverId", }); + internal_static_ServerMessage_GS2C_NTF_PARTY_INFO_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(41); + internal_static_ServerMessage_GS2C_NTF_PARTY_INFO_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2C_NTF_PARTY_INFO_descriptor, + new java.lang.String[] { "PartyGuid", "PartyMemberGuids", }); + internal_static_ServerMessage_GS2C_NTF_PARTY_CHAT_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(42); + internal_static_ServerMessage_GS2C_NTF_PARTY_CHAT_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2C_NTF_PARTY_CHAT_descriptor, + new java.lang.String[] { "PartyGuid", "PartySenderGuid", "PartySenderNickname", "PartySendMessage", }); + internal_static_ServerMessage_GS2C_NTF_PARTY_INVITE_RESULT_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(43); + internal_static_ServerMessage_GS2C_NTF_PARTY_INVITE_RESULT_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2C_NTF_PARTY_INVITE_RESULT_descriptor, + new java.lang.String[] { "ErrorCode", "InvitePartyGuid", "InviteHostGuid", "InviteUserGuid", }); + internal_static_ServerMessage_GS2C_NTF_DESTROY_PARTY_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(44); + internal_static_ServerMessage_GS2C_NTF_DESTROY_PARTY_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2C_NTF_DESTROY_PARTY_descriptor, + new java.lang.String[] { "DestroyPartyGuid", }); + internal_static_ServerMessage_InvitePartyNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(45); + internal_static_ServerMessage_InvitePartyNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_InvitePartyNoti_descriptor, + new java.lang.String[] { "InviteUserGuid", "InvitePartyLeaderGuid", "InvitePartyGuid", }); + internal_static_ServerMessage_ReplyInvitePartyNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(46); + internal_static_ServerMessage_ReplyInvitePartyNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ReplyInvitePartyNoti_descriptor, + new java.lang.String[] { "InvitePartyGuid", "InviteUserGuid", "InviteUserNickname", "Result", }); + internal_static_ServerMessage_CreatePartyNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(47); + internal_static_ServerMessage_CreatePartyNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_CreatePartyNoti_descriptor, + new java.lang.String[] { "JoinPartyMemberAccountId", "CreatePartyGuid", }); + internal_static_ServerMessage_JoinPartyMemberNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(48); + internal_static_ServerMessage_JoinPartyMemberNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_JoinPartyMemberNoti_descriptor, + new java.lang.String[] { "PartyGuid", "JoinPartyMemberInfo", }); + internal_static_ServerMessage_LeavePartyMemberNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(49); + internal_static_ServerMessage_LeavePartyMemberNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_LeavePartyMemberNoti_descriptor, + new java.lang.String[] { "PartyGuid", "LeavePartyUserGuid", "IsBan", }); + internal_static_ServerMessage_ChangePartyServerNameNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(50); + internal_static_ServerMessage_ChangePartyServerNameNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ChangePartyServerNameNoti_descriptor, + new java.lang.String[] { "PartyGuid", "IsAddition", "ServerName", }); + internal_static_ServerMessage_RemovePartyServerNameNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(51); + internal_static_ServerMessage_RemovePartyServerNameNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_RemovePartyServerNameNoti_descriptor, + new java.lang.String[] { "PartyGuid", "RemoveServerName", }); + internal_static_ServerMessage_ChangePartyLeaderNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(52); + internal_static_ServerMessage_ChangePartyLeaderNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ChangePartyLeaderNoti_descriptor, + new java.lang.String[] { "PartyGuid", "NewPartyLeaderGuid", }); + internal_static_ServerMessage_ExchangePartyNameNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(53); + internal_static_ServerMessage_ExchangePartyNameNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ExchangePartyNameNoti_descriptor, + new java.lang.String[] { "PartyGuid", "NewPartyName", }); + internal_static_ServerMessage_JoiningPartyFlagResetNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(54); + internal_static_ServerMessage_JoiningPartyFlagResetNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_JoiningPartyFlagResetNoti_descriptor, + new java.lang.String[] { "TargetAccountId", }); + internal_static_ServerMessage_ExchangePartyMemberMarkNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(55); + internal_static_ServerMessage_ExchangePartyMemberMarkNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ExchangePartyMemberMarkNoti_descriptor, + new java.lang.String[] { "PartyGuid", "MemberUserGuid", "MarkId", }); + internal_static_ServerMessage_BanPartyNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(56); + internal_static_ServerMessage_BanPartyNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_BanPartyNoti_descriptor, + new java.lang.String[] { "PartyGuid", "BanMemberGuid", }); + internal_static_ServerMessage_SummonPartyMemberNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(57); + internal_static_ServerMessage_SummonPartyMemberNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_SummonPartyMemberNoti_descriptor, + new java.lang.String[] { "SummonPartyGuid", "SummonUserGuid", "SummonServerName", "SummonPos", }); + internal_static_ServerMessage_ReplySummonPartyMemberNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(58); + internal_static_ServerMessage_ReplySummonPartyMemberNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ReplySummonPartyMemberNoti_descriptor, + new java.lang.String[] { "SummonPartyGuid", "SummonUserGuid", "Result", }); + internal_static_ServerMessage_NoticeChatNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(59); + internal_static_ServerMessage_NoticeChatNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_NoticeChatNoti_descriptor, + new java.lang.String[] { }); + internal_static_ServerMessage_SystemMailNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(60); + internal_static_ServerMessage_SystemMailNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_SystemMailNoti_descriptor, + new java.lang.String[] { }); + internal_static_ServerMessage_PartyVoteNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(61); + internal_static_ServerMessage_PartyVoteNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_PartyVoteNoti_descriptor, + new java.lang.String[] { "PartyGuid", "VoteTitle", "VoteStartTime", }); + internal_static_ServerMessage_ReplyPartyVoteNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(62); + internal_static_ServerMessage_ReplyPartyVoteNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_ReplyPartyVoteNoti_descriptor, + new java.lang.String[] { "PartyGuid", "PartyVoterGuid", "Vote", }); + internal_static_ServerMessage_PartyVoteResultNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(63); + internal_static_ServerMessage_PartyVoteResultNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_PartyVoteResultNoti_descriptor, + new java.lang.String[] { "PartyGuid", "VoteTitle", "ResultTrue", "ResultFalse", "Abstain", }); + internal_static_ServerMessage_PartyInstanceInfoNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(64); + internal_static_ServerMessage_PartyInstanceInfoNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_PartyInstanceInfoNoti_descriptor, + new java.lang.String[] { "PartyGuid", }); + internal_static_ServerMessage_SessionInfoNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(65); + internal_static_ServerMessage_SessionInfoNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_SessionInfoNoti_descriptor, + new java.lang.String[] { "InstanceId", "SessionCount", "ServerType", "WorldId", }); + internal_static_ServerMessage_CancelSummonPartyMemberNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(66); + internal_static_ServerMessage_CancelSummonPartyMemberNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_CancelSummonPartyMemberNoti_descriptor, + new java.lang.String[] { "PartyGuid", "CancelSummonUserGuids", }); + internal_static_ServerMessage_PartyMemberLocationNoti_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(67); + internal_static_ServerMessage_PartyMemberLocationNoti_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_PartyMemberLocationNoti_descriptor, + new java.lang.String[] { "PartyGuid", "PartyMemberGuid", }); + internal_static_ServerMessage_GS2GS_NTF_CLEAR_PARTY_SUMMON_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(68); + internal_static_ServerMessage_GS2GS_NTF_CLEAR_PARTY_SUMMON_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_NTF_CLEAR_PARTY_SUMMON_descriptor, + new java.lang.String[] { "PartyGuid", "MemberUserGuid", }); + internal_static_ServerMessage_GS2GS_NTF_DELETE_PARTY_INVITE_SEND_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(69); + internal_static_ServerMessage_GS2GS_NTF_DELETE_PARTY_INVITE_SEND_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_NTF_DELETE_PARTY_INVITE_SEND_descriptor, + new java.lang.String[] { "PartyGuid", "InviteUserGuid", }); + internal_static_ServerMessage_GS2GS_NTF_CRAFT_HELP_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(70); + internal_static_ServerMessage_GS2GS_NTF_CRAFT_HELP_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_NTF_CRAFT_HELP_descriptor, + new java.lang.String[] { "RoomId", "AnchorGuid", "CraftFinishTime", "OwnerGuid", "OwnerHelpedCount", "HelpUserName", }); + internal_static_ServerMessage_GS2GS_NTF_EXCHANGE_MYHOME_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(71); + internal_static_ServerMessage_GS2GS_NTF_EXCHANGE_MYHOME_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_NTF_EXCHANGE_MYHOME_descriptor, + new java.lang.String[] { "RoomId", "MyhomeGuid", "MyhomeInfo", }); + internal_static_ServerMessage_GS2GS_NTF_UGC_NPC_RANK_REFRESH_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(72); + internal_static_ServerMessage_GS2GS_NTF_UGC_NPC_RANK_REFRESH_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_NTF_UGC_NPC_RANK_REFRESH_descriptor, + new java.lang.String[] { }); + internal_static_ServerMessage_GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(73); + internal_static_ServerMessage_GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM_descriptor, + new java.lang.String[] { "RoomId", "ExceptUserGuid", }); + internal_static_ServerMessage_MOS2GS_NTF_USER_KICK_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(74); + internal_static_ServerMessage_MOS2GS_NTF_USER_KICK_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_MOS2GS_NTF_USER_KICK_descriptor, + new java.lang.String[] { "UserGuid", "LogoutReasonType", "KickReasonMsg", }); + internal_static_ServerMessage_MOS2GS_NTF_MAIL_SEND_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(75); + internal_static_ServerMessage_MOS2GS_NTF_MAIL_SEND_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_MOS2GS_NTF_MAIL_SEND_descriptor, + new java.lang.String[] { "UserGuid", "MailType", "ItemList", "Title", "Msg", "Sender", }); + internal_static_ServerMessage_MOS2GS_NTF_NOTICE_CHAT_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(76); + internal_static_ServerMessage_MOS2GS_NTF_NOTICE_CHAT_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_MOS2GS_NTF_NOTICE_CHAT_descriptor, + new java.lang.String[] { "NoticeType", "ChatMessage", "Sender", }); + internal_static_ServerMessage_GS2MQS_NTF_FARMING_END_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(77); + internal_static_ServerMessage_GS2MQS_NTF_FARMING_END_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2MQS_NTF_FARMING_END_descriptor, + new java.lang.String[] { "UserGuid", "FarmingSummary", "IsApplyDb", }); + internal_static_ServerMessage_GS2MQS_NTF_BEACON_COMPACT_SYNC_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(78); + internal_static_ServerMessage_GS2MQS_NTF_BEACON_COMPACT_SYNC_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2MQS_NTF_BEACON_COMPACT_SYNC_descriptor, + new java.lang.String[] { "UserGuid", "UgcNpcCompact", "LocatedInstanceGuid", }); + internal_static_ServerMessage_GS2GS_NTF_RENT_FLOOR_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(79); + internal_static_ServerMessage_GS2GS_NTF_RENT_FLOOR_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_NTF_RENT_FLOOR_descriptor, + new java.lang.String[] { "ExceptServerName", "RentFloorRequestInfo", "UgcNpcGuids", }); + internal_static_ServerMessage_GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS_descriptor = + internal_static_ServerMessage_descriptor.getNestedTypes().get(80); + internal_static_ServerMessage_GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ServerMessage_GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS_descriptor, + new java.lang.String[] { "ExceptServerName", "ModifyFloorLinkedInfos", }); + com.google.protobuf.TimestampProto.getDescriptor(); + com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor(); + com.caliverse.admin.domain.RabbitMq.message.DefineResult.getDescriptor(); + com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.getDescriptor(); + com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerMoveType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerMoveType.java new file mode 100644 index 0000000..6fc3a62 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerMoveType.java @@ -0,0 +1,135 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ä   
+ * 
+ * + * Protobuf enum {@code ServerMoveType} + */ +public enum ServerMoveType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ServerMoveType_None = 0; + */ + ServerMoveType_None(0), + /** + * ServerMoveType_Force = 1; + */ + ServerMoveType_Force(1), + /** + * ServerMoveType_Auto = 2; + */ + ServerMoveType_Auto(2), + /** + * ServerMoveType_Return = 3; + */ + ServerMoveType_Return(3), + UNRECOGNIZED(-1), + ; + + /** + * ServerMoveType_None = 0; + */ + public static final int ServerMoveType_None_VALUE = 0; + /** + * ServerMoveType_Force = 1; + */ + public static final int ServerMoveType_Force_VALUE = 1; + /** + * ServerMoveType_Auto = 2; + */ + public static final int ServerMoveType_Auto_VALUE = 2; + /** + * ServerMoveType_Return = 3; + */ + public static final int ServerMoveType_Return_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ServerMoveType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ServerMoveType forNumber(int value) { + switch (value) { + case 0: return ServerMoveType_None; + case 1: return ServerMoveType_Force; + case 2: return ServerMoveType_Auto; + case 3: return ServerMoveType_Return; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ServerMoveType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ServerMoveType findValueByNumber(int number) { + return ServerMoveType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(20); + } + + private static final ServerMoveType[] VALUES = values(); + + public static ServerMoveType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ServerMoveType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ServerMoveType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerProgramVersion.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerProgramVersion.java new file mode 100644 index 0000000..4930232 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerProgramVersion.java @@ -0,0 +1,991 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_ProgramVersion.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ServerProgramVersion} + */ +public final class ServerProgramVersion extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerProgramVersion) + ServerProgramVersionOrBuilder { +private static final long serialVersionUID = 0L; + // Use ServerProgramVersion.newBuilder() to construct. + private ServerProgramVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ServerProgramVersion() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ServerProgramVersion(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ServerProgramVersion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ServerProgramVersion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion.class, com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion.Builder.class); + } + + public static final int METASCHEMAVERSION_FIELD_NUMBER = 1; + private long metaSchemaVersion_ = 0L; + /** + * uint64 metaSchemaVersion = 1; + * @return The metaSchemaVersion. + */ + @java.lang.Override + public long getMetaSchemaVersion() { + return metaSchemaVersion_; + } + + public static final int METADATAVERSION_FIELD_NUMBER = 2; + private long metaDataVersion_ = 0L; + /** + * uint64 metaDataVersion = 2; + * @return The metaDataVersion. + */ + @java.lang.Override + public long getMetaDataVersion() { + return metaDataVersion_; + } + + public static final int DBSCHEMAVERSION_FIELD_NUMBER = 3; + private long dbSchemaVersion_ = 0L; + /** + * uint64 dbSchemaVersion = 3; + * @return The dbSchemaVersion. + */ + @java.lang.Override + public long getDbSchemaVersion() { + return dbSchemaVersion_; + } + + public static final int PACKETVERSION_FIELD_NUMBER = 4; + private long packetVersion_ = 0L; + /** + * uint64 packetVersion = 4; + * @return The packetVersion. + */ + @java.lang.Override + public long getPacketVersion() { + return packetVersion_; + } + + public static final int LOGICVERSION_FIELD_NUMBER = 5; + private com.caliverse.admin.domain.RabbitMq.message.LogicVersion logicVersion_; + /** + * .LogicVersion logicVersion = 5; + * @return Whether the logicVersion field is set. + */ + @java.lang.Override + public boolean hasLogicVersion() { + return logicVersion_ != null; + } + /** + * .LogicVersion logicVersion = 5; + * @return The logicVersion. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LogicVersion getLogicVersion() { + return logicVersion_ == null ? com.caliverse.admin.domain.RabbitMq.message.LogicVersion.getDefaultInstance() : logicVersion_; + } + /** + * .LogicVersion logicVersion = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LogicVersionOrBuilder getLogicVersionOrBuilder() { + return logicVersion_ == null ? com.caliverse.admin.domain.RabbitMq.message.LogicVersion.getDefaultInstance() : logicVersion_; + } + + public static final int RESOURCEVERSION_FIELD_NUMBER = 6; + private long resourceVersion_ = 0L; + /** + * uint64 resourceVersion = 6; + * @return The resourceVersion. + */ + @java.lang.Override + public long getResourceVersion() { + return resourceVersion_; + } + + public static final int CONFIGVERSION_FIELD_NUMBER = 7; + private long configVersion_ = 0L; + /** + * uint64 configVersion = 7; + * @return The configVersion. + */ + @java.lang.Override + public long getConfigVersion() { + return configVersion_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (metaSchemaVersion_ != 0L) { + output.writeUInt64(1, metaSchemaVersion_); + } + if (metaDataVersion_ != 0L) { + output.writeUInt64(2, metaDataVersion_); + } + if (dbSchemaVersion_ != 0L) { + output.writeUInt64(3, dbSchemaVersion_); + } + if (packetVersion_ != 0L) { + output.writeUInt64(4, packetVersion_); + } + if (logicVersion_ != null) { + output.writeMessage(5, getLogicVersion()); + } + if (resourceVersion_ != 0L) { + output.writeUInt64(6, resourceVersion_); + } + if (configVersion_ != 0L) { + output.writeUInt64(7, configVersion_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (metaSchemaVersion_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(1, metaSchemaVersion_); + } + if (metaDataVersion_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(2, metaDataVersion_); + } + if (dbSchemaVersion_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(3, dbSchemaVersion_); + } + if (packetVersion_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(4, packetVersion_); + } + if (logicVersion_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getLogicVersion()); + } + if (resourceVersion_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(6, resourceVersion_); + } + if (configVersion_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(7, configVersion_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion other = (com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion) obj; + + if (getMetaSchemaVersion() + != other.getMetaSchemaVersion()) return false; + if (getMetaDataVersion() + != other.getMetaDataVersion()) return false; + if (getDbSchemaVersion() + != other.getDbSchemaVersion()) return false; + if (getPacketVersion() + != other.getPacketVersion()) return false; + if (hasLogicVersion() != other.hasLogicVersion()) return false; + if (hasLogicVersion()) { + if (!getLogicVersion() + .equals(other.getLogicVersion())) return false; + } + if (getResourceVersion() + != other.getResourceVersion()) return false; + if (getConfigVersion() + != other.getConfigVersion()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + METASCHEMAVERSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMetaSchemaVersion()); + hash = (37 * hash) + METADATAVERSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMetaDataVersion()); + hash = (37 * hash) + DBSCHEMAVERSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDbSchemaVersion()); + hash = (37 * hash) + PACKETVERSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPacketVersion()); + if (hasLogicVersion()) { + hash = (37 * hash) + LOGICVERSION_FIELD_NUMBER; + hash = (53 * hash) + getLogicVersion().hashCode(); + } + hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getResourceVersion()); + hash = (37 * hash) + CONFIGVERSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getConfigVersion()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ServerProgramVersion} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerProgramVersion) + com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ServerProgramVersion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ServerProgramVersion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion.class, com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + metaSchemaVersion_ = 0L; + metaDataVersion_ = 0L; + dbSchemaVersion_ = 0L; + packetVersion_ = 0L; + logicVersion_ = null; + if (logicVersionBuilder_ != null) { + logicVersionBuilder_.dispose(); + logicVersionBuilder_ = null; + } + resourceVersion_ = 0L; + configVersion_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ServerProgramVersion_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion build() { + com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion result = new com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.metaSchemaVersion_ = metaSchemaVersion_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.metaDataVersion_ = metaDataVersion_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.dbSchemaVersion_ = dbSchemaVersion_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.packetVersion_ = packetVersion_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.logicVersion_ = logicVersionBuilder_ == null + ? logicVersion_ + : logicVersionBuilder_.build(); + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.resourceVersion_ = resourceVersion_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.configVersion_ = configVersion_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion.getDefaultInstance()) return this; + if (other.getMetaSchemaVersion() != 0L) { + setMetaSchemaVersion(other.getMetaSchemaVersion()); + } + if (other.getMetaDataVersion() != 0L) { + setMetaDataVersion(other.getMetaDataVersion()); + } + if (other.getDbSchemaVersion() != 0L) { + setDbSchemaVersion(other.getDbSchemaVersion()); + } + if (other.getPacketVersion() != 0L) { + setPacketVersion(other.getPacketVersion()); + } + if (other.hasLogicVersion()) { + mergeLogicVersion(other.getLogicVersion()); + } + if (other.getResourceVersion() != 0L) { + setResourceVersion(other.getResourceVersion()); + } + if (other.getConfigVersion() != 0L) { + setConfigVersion(other.getConfigVersion()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + metaSchemaVersion_ = input.readUInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + metaDataVersion_ = input.readUInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + dbSchemaVersion_ = input.readUInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + packetVersion_ = input.readUInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + input.readMessage( + getLogicVersionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + resourceVersion_ = input.readUInt64(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + configVersion_ = input.readUInt64(); + bitField0_ |= 0x00000040; + break; + } // case 56 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long metaSchemaVersion_ ; + /** + * uint64 metaSchemaVersion = 1; + * @return The metaSchemaVersion. + */ + @java.lang.Override + public long getMetaSchemaVersion() { + return metaSchemaVersion_; + } + /** + * uint64 metaSchemaVersion = 1; + * @param value The metaSchemaVersion to set. + * @return This builder for chaining. + */ + public Builder setMetaSchemaVersion(long value) { + + metaSchemaVersion_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * uint64 metaSchemaVersion = 1; + * @return This builder for chaining. + */ + public Builder clearMetaSchemaVersion() { + bitField0_ = (bitField0_ & ~0x00000001); + metaSchemaVersion_ = 0L; + onChanged(); + return this; + } + + private long metaDataVersion_ ; + /** + * uint64 metaDataVersion = 2; + * @return The metaDataVersion. + */ + @java.lang.Override + public long getMetaDataVersion() { + return metaDataVersion_; + } + /** + * uint64 metaDataVersion = 2; + * @param value The metaDataVersion to set. + * @return This builder for chaining. + */ + public Builder setMetaDataVersion(long value) { + + metaDataVersion_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * uint64 metaDataVersion = 2; + * @return This builder for chaining. + */ + public Builder clearMetaDataVersion() { + bitField0_ = (bitField0_ & ~0x00000002); + metaDataVersion_ = 0L; + onChanged(); + return this; + } + + private long dbSchemaVersion_ ; + /** + * uint64 dbSchemaVersion = 3; + * @return The dbSchemaVersion. + */ + @java.lang.Override + public long getDbSchemaVersion() { + return dbSchemaVersion_; + } + /** + * uint64 dbSchemaVersion = 3; + * @param value The dbSchemaVersion to set. + * @return This builder for chaining. + */ + public Builder setDbSchemaVersion(long value) { + + dbSchemaVersion_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * uint64 dbSchemaVersion = 3; + * @return This builder for chaining. + */ + public Builder clearDbSchemaVersion() { + bitField0_ = (bitField0_ & ~0x00000004); + dbSchemaVersion_ = 0L; + onChanged(); + return this; + } + + private long packetVersion_ ; + /** + * uint64 packetVersion = 4; + * @return The packetVersion. + */ + @java.lang.Override + public long getPacketVersion() { + return packetVersion_; + } + /** + * uint64 packetVersion = 4; + * @param value The packetVersion to set. + * @return This builder for chaining. + */ + public Builder setPacketVersion(long value) { + + packetVersion_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * uint64 packetVersion = 4; + * @return This builder for chaining. + */ + public Builder clearPacketVersion() { + bitField0_ = (bitField0_ & ~0x00000008); + packetVersion_ = 0L; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.LogicVersion logicVersion_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.LogicVersion, com.caliverse.admin.domain.RabbitMq.message.LogicVersion.Builder, com.caliverse.admin.domain.RabbitMq.message.LogicVersionOrBuilder> logicVersionBuilder_; + /** + * .LogicVersion logicVersion = 5; + * @return Whether the logicVersion field is set. + */ + public boolean hasLogicVersion() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .LogicVersion logicVersion = 5; + * @return The logicVersion. + */ + public com.caliverse.admin.domain.RabbitMq.message.LogicVersion getLogicVersion() { + if (logicVersionBuilder_ == null) { + return logicVersion_ == null ? com.caliverse.admin.domain.RabbitMq.message.LogicVersion.getDefaultInstance() : logicVersion_; + } else { + return logicVersionBuilder_.getMessage(); + } + } + /** + * .LogicVersion logicVersion = 5; + */ + public Builder setLogicVersion(com.caliverse.admin.domain.RabbitMq.message.LogicVersion value) { + if (logicVersionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + logicVersion_ = value; + } else { + logicVersionBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .LogicVersion logicVersion = 5; + */ + public Builder setLogicVersion( + com.caliverse.admin.domain.RabbitMq.message.LogicVersion.Builder builderForValue) { + if (logicVersionBuilder_ == null) { + logicVersion_ = builderForValue.build(); + } else { + logicVersionBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .LogicVersion logicVersion = 5; + */ + public Builder mergeLogicVersion(com.caliverse.admin.domain.RabbitMq.message.LogicVersion value) { + if (logicVersionBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + logicVersion_ != null && + logicVersion_ != com.caliverse.admin.domain.RabbitMq.message.LogicVersion.getDefaultInstance()) { + getLogicVersionBuilder().mergeFrom(value); + } else { + logicVersion_ = value; + } + } else { + logicVersionBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .LogicVersion logicVersion = 5; + */ + public Builder clearLogicVersion() { + bitField0_ = (bitField0_ & ~0x00000010); + logicVersion_ = null; + if (logicVersionBuilder_ != null) { + logicVersionBuilder_.dispose(); + logicVersionBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .LogicVersion logicVersion = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.LogicVersion.Builder getLogicVersionBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getLogicVersionFieldBuilder().getBuilder(); + } + /** + * .LogicVersion logicVersion = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.LogicVersionOrBuilder getLogicVersionOrBuilder() { + if (logicVersionBuilder_ != null) { + return logicVersionBuilder_.getMessageOrBuilder(); + } else { + return logicVersion_ == null ? + com.caliverse.admin.domain.RabbitMq.message.LogicVersion.getDefaultInstance() : logicVersion_; + } + } + /** + * .LogicVersion logicVersion = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.LogicVersion, com.caliverse.admin.domain.RabbitMq.message.LogicVersion.Builder, com.caliverse.admin.domain.RabbitMq.message.LogicVersionOrBuilder> + getLogicVersionFieldBuilder() { + if (logicVersionBuilder_ == null) { + logicVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.LogicVersion, com.caliverse.admin.domain.RabbitMq.message.LogicVersion.Builder, com.caliverse.admin.domain.RabbitMq.message.LogicVersionOrBuilder>( + getLogicVersion(), + getParentForChildren(), + isClean()); + logicVersion_ = null; + } + return logicVersionBuilder_; + } + + private long resourceVersion_ ; + /** + * uint64 resourceVersion = 6; + * @return The resourceVersion. + */ + @java.lang.Override + public long getResourceVersion() { + return resourceVersion_; + } + /** + * uint64 resourceVersion = 6; + * @param value The resourceVersion to set. + * @return This builder for chaining. + */ + public Builder setResourceVersion(long value) { + + resourceVersion_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * uint64 resourceVersion = 6; + * @return This builder for chaining. + */ + public Builder clearResourceVersion() { + bitField0_ = (bitField0_ & ~0x00000020); + resourceVersion_ = 0L; + onChanged(); + return this; + } + + private long configVersion_ ; + /** + * uint64 configVersion = 7; + * @return The configVersion. + */ + @java.lang.Override + public long getConfigVersion() { + return configVersion_; + } + /** + * uint64 configVersion = 7; + * @param value The configVersion to set. + * @return This builder for chaining. + */ + public Builder setConfigVersion(long value) { + + configVersion_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * uint64 configVersion = 7; + * @return This builder for chaining. + */ + public Builder clearConfigVersion() { + bitField0_ = (bitField0_ & ~0x00000040); + configVersion_ = 0L; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerProgramVersion) + } + + // @@protoc_insertion_point(class_scope:ServerProgramVersion) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServerProgramVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerProgramVersion getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerProgramVersionOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerProgramVersionOrBuilder.java new file mode 100644 index 0000000..4551e1c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerProgramVersionOrBuilder.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_ProgramVersion.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ServerProgramVersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerProgramVersion) + com.google.protobuf.MessageOrBuilder { + + /** + * uint64 metaSchemaVersion = 1; + * @return The metaSchemaVersion. + */ + long getMetaSchemaVersion(); + + /** + * uint64 metaDataVersion = 2; + * @return The metaDataVersion. + */ + long getMetaDataVersion(); + + /** + * uint64 dbSchemaVersion = 3; + * @return The dbSchemaVersion. + */ + long getDbSchemaVersion(); + + /** + * uint64 packetVersion = 4; + * @return The packetVersion. + */ + long getPacketVersion(); + + /** + * .LogicVersion logicVersion = 5; + * @return Whether the logicVersion field is set. + */ + boolean hasLogicVersion(); + /** + * .LogicVersion logicVersion = 5; + * @return The logicVersion. + */ + com.caliverse.admin.domain.RabbitMq.message.LogicVersion getLogicVersion(); + /** + * .LogicVersion logicVersion = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.LogicVersionOrBuilder getLogicVersionOrBuilder(); + + /** + * uint64 resourceVersion = 6; + * @return The resourceVersion. + */ + long getResourceVersion(); + + /** + * uint64 configVersion = 7; + * @return The configVersion. + */ + long getConfigVersion(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerType.java new file mode 100644 index 0000000..41d6305 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerType.java @@ -0,0 +1,198 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  
+ * 
+ * + * Protobuf enum {@code ServerType} + */ +public enum ServerType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ServerType_None = 0; + */ + ServerType_None(0), + /** + * ServerType_Login = 1; + */ + ServerType_Login(1), + /** + * ServerType_Channel = 2; + */ + ServerType_Channel(2), + /** + * ServerType_Indun = 3; + */ + ServerType_Indun(3), + /** + * ServerType_Chat = 4; + */ + ServerType_Chat(4), + /** + * ServerType_GmTool = 5; + */ + ServerType_GmTool(5), + /** + * ServerType_Auth = 6; + */ + ServerType_Auth(6), + /** + * ServerType_Manager = 7; + */ + ServerType_Manager(7), + /** + * ServerType_UgqApi = 8; + */ + ServerType_UgqApi(8), + /** + * ServerType_UgqAdmin = 9; + */ + ServerType_UgqAdmin(9), + /** + * ServerType_UgqIngame = 10; + */ + ServerType_UgqIngame(10), + UNRECOGNIZED(-1), + ; + + /** + * ServerType_None = 0; + */ + public static final int ServerType_None_VALUE = 0; + /** + * ServerType_Login = 1; + */ + public static final int ServerType_Login_VALUE = 1; + /** + * ServerType_Channel = 2; + */ + public static final int ServerType_Channel_VALUE = 2; + /** + * ServerType_Indun = 3; + */ + public static final int ServerType_Indun_VALUE = 3; + /** + * ServerType_Chat = 4; + */ + public static final int ServerType_Chat_VALUE = 4; + /** + * ServerType_GmTool = 5; + */ + public static final int ServerType_GmTool_VALUE = 5; + /** + * ServerType_Auth = 6; + */ + public static final int ServerType_Auth_VALUE = 6; + /** + * ServerType_Manager = 7; + */ + public static final int ServerType_Manager_VALUE = 7; + /** + * ServerType_UgqApi = 8; + */ + public static final int ServerType_UgqApi_VALUE = 8; + /** + * ServerType_UgqAdmin = 9; + */ + public static final int ServerType_UgqAdmin_VALUE = 9; + /** + * ServerType_UgqIngame = 10; + */ + public static final int ServerType_UgqIngame_VALUE = 10; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ServerType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ServerType forNumber(int value) { + switch (value) { + case 0: return ServerType_None; + case 1: return ServerType_Login; + case 2: return ServerType_Channel; + case 3: return ServerType_Indun; + case 4: return ServerType_Chat; + case 5: return ServerType_GmTool; + case 6: return ServerType_Auth; + case 7: return ServerType_Manager; + case 8: return ServerType_UgqApi; + case 9: return ServerType_UgqAdmin; + case 10: return ServerType_UgqIngame; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ServerType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ServerType findValueByNumber(int number) { + return ServerType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(4); + } + + private static final ServerType[] VALUES = values(); + + public static ServerType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ServerType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ServerType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerUrl.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerUrl.java new file mode 100644 index 0000000..e30f871 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerUrl.java @@ -0,0 +1,702 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  URL
+ * 
+ * + * Protobuf type {@code ServerUrl} + */ +public final class ServerUrl extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ServerUrl) + ServerUrlOrBuilder { +private static final long serialVersionUID = 0L; + // Use ServerUrl.newBuilder() to construct. + private ServerUrl(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ServerUrl() { + serverUrlType_ = 0; + targetUrl_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ServerUrl(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ServerUrl_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ServerUrl_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerUrl.class, com.caliverse.admin.domain.RabbitMq.message.ServerUrl.Builder.class); + } + + public static final int SERVERURLTYPE_FIELD_NUMBER = 1; + private int serverUrlType_ = 0; + /** + *
+   *  URL  URL Ÿ
+   * 
+ * + * .ServerUrlType serverUrlType = 1; + * @return The enum numeric value on the wire for serverUrlType. + */ + @java.lang.Override public int getServerUrlTypeValue() { + return serverUrlType_; + } + /** + *
+   *  URL  URL Ÿ
+   * 
+ * + * .ServerUrlType serverUrlType = 1; + * @return The serverUrlType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.ServerUrlType getServerUrlType() { + com.caliverse.admin.domain.RabbitMq.message.ServerUrlType result = com.caliverse.admin.domain.RabbitMq.message.ServerUrlType.forNumber(serverUrlType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerUrlType.UNRECOGNIZED : result; + } + + public static final int TARGETURL_FIELD_NUMBER = 11; + @SuppressWarnings("serial") + private volatile java.lang.Object targetUrl_ = ""; + /** + *
+   * URL 
+   * 
+ * + * string targetUrl = 11; + * @return The targetUrl. + */ + @java.lang.Override + public java.lang.String getTargetUrl() { + java.lang.Object ref = targetUrl_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetUrl_ = s; + return s; + } + } + /** + *
+   * URL 
+   * 
+ * + * string targetUrl = 11; + * @return The bytes for targetUrl. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTargetUrlBytes() { + java.lang.Object ref = targetUrl_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + targetUrl_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (serverUrlType_ != com.caliverse.admin.domain.RabbitMq.message.ServerUrlType.ServerUrlType_None.getNumber()) { + output.writeEnum(1, serverUrlType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetUrl_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, targetUrl_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (serverUrlType_ != com.caliverse.admin.domain.RabbitMq.message.ServerUrlType.ServerUrlType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, serverUrlType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetUrl_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, targetUrl_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ServerUrl)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ServerUrl other = (com.caliverse.admin.domain.RabbitMq.message.ServerUrl) obj; + + if (serverUrlType_ != other.serverUrlType_) return false; + if (!getTargetUrl() + .equals(other.getTargetUrl())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVERURLTYPE_FIELD_NUMBER; + hash = (53 * hash) + serverUrlType_; + hash = (37 * hash) + TARGETURL_FIELD_NUMBER; + hash = (53 * hash) + getTargetUrl().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ServerUrl prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   *  URL
+   * 
+ * + * Protobuf type {@code ServerUrl} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ServerUrl) + com.caliverse.admin.domain.RabbitMq.message.ServerUrlOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ServerUrl_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ServerUrl_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ServerUrl.class, com.caliverse.admin.domain.RabbitMq.message.ServerUrl.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ServerUrl.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + serverUrlType_ = 0; + targetUrl_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ServerUrl_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerUrl getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ServerUrl.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerUrl build() { + com.caliverse.admin.domain.RabbitMq.message.ServerUrl result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerUrl buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ServerUrl result = new com.caliverse.admin.domain.RabbitMq.message.ServerUrl(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ServerUrl result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.serverUrlType_ = serverUrlType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.targetUrl_ = targetUrl_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ServerUrl) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ServerUrl)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ServerUrl other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ServerUrl.getDefaultInstance()) return this; + if (other.serverUrlType_ != 0) { + setServerUrlTypeValue(other.getServerUrlTypeValue()); + } + if (!other.getTargetUrl().isEmpty()) { + targetUrl_ = other.targetUrl_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + serverUrlType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 90: { + targetUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 90 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int serverUrlType_ = 0; + /** + *
+     *  URL  URL Ÿ
+     * 
+ * + * .ServerUrlType serverUrlType = 1; + * @return The enum numeric value on the wire for serverUrlType. + */ + @java.lang.Override public int getServerUrlTypeValue() { + return serverUrlType_; + } + /** + *
+     *  URL  URL Ÿ
+     * 
+ * + * .ServerUrlType serverUrlType = 1; + * @param value The enum numeric value on the wire for serverUrlType to set. + * @return This builder for chaining. + */ + public Builder setServerUrlTypeValue(int value) { + serverUrlType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     *  URL  URL Ÿ
+     * 
+ * + * .ServerUrlType serverUrlType = 1; + * @return The serverUrlType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerUrlType getServerUrlType() { + com.caliverse.admin.domain.RabbitMq.message.ServerUrlType result = com.caliverse.admin.domain.RabbitMq.message.ServerUrlType.forNumber(serverUrlType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.ServerUrlType.UNRECOGNIZED : result; + } + /** + *
+     *  URL  URL Ÿ
+     * 
+ * + * .ServerUrlType serverUrlType = 1; + * @param value The serverUrlType to set. + * @return This builder for chaining. + */ + public Builder setServerUrlType(com.caliverse.admin.domain.RabbitMq.message.ServerUrlType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + serverUrlType_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     *  URL  URL Ÿ
+     * 
+ * + * .ServerUrlType serverUrlType = 1; + * @return This builder for chaining. + */ + public Builder clearServerUrlType() { + bitField0_ = (bitField0_ & ~0x00000001); + serverUrlType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object targetUrl_ = ""; + /** + *
+     * URL 
+     * 
+ * + * string targetUrl = 11; + * @return The targetUrl. + */ + public java.lang.String getTargetUrl() { + java.lang.Object ref = targetUrl_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetUrl_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * URL 
+     * 
+ * + * string targetUrl = 11; + * @return The bytes for targetUrl. + */ + public com.google.protobuf.ByteString + getTargetUrlBytes() { + java.lang.Object ref = targetUrl_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + targetUrl_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * URL 
+     * 
+ * + * string targetUrl = 11; + * @param value The targetUrl to set. + * @return This builder for chaining. + */ + public Builder setTargetUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + targetUrl_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * URL 
+     * 
+ * + * string targetUrl = 11; + * @return This builder for chaining. + */ + public Builder clearTargetUrl() { + targetUrl_ = getDefaultInstance().getTargetUrl(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * URL 
+     * 
+ * + * string targetUrl = 11; + * @param value The bytes for targetUrl to set. + * @return This builder for chaining. + */ + public Builder setTargetUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + targetUrl_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ServerUrl) + } + + // @@protoc_insertion_point(class_scope:ServerUrl) + private static final com.caliverse.admin.domain.RabbitMq.message.ServerUrl DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ServerUrl(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ServerUrl getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServerUrl parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ServerUrl getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerUrlOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerUrlOrBuilder.java new file mode 100644 index 0000000..d04e413 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerUrlOrBuilder.java @@ -0,0 +1,48 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ServerUrlOrBuilder extends + // @@protoc_insertion_point(interface_extends:ServerUrl) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *  URL  URL Ÿ
+   * 
+ * + * .ServerUrlType serverUrlType = 1; + * @return The enum numeric value on the wire for serverUrlType. + */ + int getServerUrlTypeValue(); + /** + *
+   *  URL  URL Ÿ
+   * 
+ * + * .ServerUrlType serverUrlType = 1; + * @return The serverUrlType. + */ + com.caliverse.admin.domain.RabbitMq.message.ServerUrlType getServerUrlType(); + + /** + *
+   * URL 
+   * 
+ * + * string targetUrl = 11; + * @return The targetUrl. + */ + java.lang.String getTargetUrl(); + /** + *
+   * URL 
+   * 
+ * + * string targetUrl = 11; + * @return The bytes for targetUrl. + */ + com.google.protobuf.ByteString + getTargetUrlBytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerUrlType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerUrlType.java new file mode 100644 index 0000000..d6057b3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServerUrlType.java @@ -0,0 +1,210 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  URL Ÿ
+ * 
+ * + * Protobuf enum {@code ServerUrlType} + */ +public enum ServerUrlType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ServerUrlType_None = 0; + */ + ServerUrlType_None(0), + /** + *
+   *  Api  URL
+   * 
+ * + * ServerUrlType_BillingApiServerUrl = 1; + */ + ServerUrlType_BillingApiServerUrl(1), + /** + *
+   * Chat Ai Api  URL
+   * 
+ * + * ServerUrlType_ChatAiApiServerUrl = 2; + */ + ServerUrlType_ChatAiApiServerUrl(2), + /** + *
+   * MyHome Api  URL
+   * 
+ * + * ServerUrlType_MyhomeEditGuideUrl = 3; + */ + ServerUrlType_MyhomeEditGuideUrl(3), + /** + *
+   * WebLink Api  URL
+   * 
+ * + * ServerUrlType_WebLinkUrlSeasonPass = 4; + */ + ServerUrlType_WebLinkUrlSeasonPass(4), + /** + *
+   * Į  Api  URL
+   * 
+ * + * ServerUrlType_CaliumConverterWebGuide = 5; + */ + ServerUrlType_CaliumConverterWebGuide(5), + /** + *
+   * ̹ ҽ URL
+   * 
+ * + * ServerUrlType_S3ResourceImageUrl = 6; + */ + ServerUrlType_S3ResourceImageUrl(6), + UNRECOGNIZED(-1), + ; + + /** + * ServerUrlType_None = 0; + */ + public static final int ServerUrlType_None_VALUE = 0; + /** + *
+   *  Api  URL
+   * 
+ * + * ServerUrlType_BillingApiServerUrl = 1; + */ + public static final int ServerUrlType_BillingApiServerUrl_VALUE = 1; + /** + *
+   * Chat Ai Api  URL
+   * 
+ * + * ServerUrlType_ChatAiApiServerUrl = 2; + */ + public static final int ServerUrlType_ChatAiApiServerUrl_VALUE = 2; + /** + *
+   * MyHome Api  URL
+   * 
+ * + * ServerUrlType_MyhomeEditGuideUrl = 3; + */ + public static final int ServerUrlType_MyhomeEditGuideUrl_VALUE = 3; + /** + *
+   * WebLink Api  URL
+   * 
+ * + * ServerUrlType_WebLinkUrlSeasonPass = 4; + */ + public static final int ServerUrlType_WebLinkUrlSeasonPass_VALUE = 4; + /** + *
+   * Į  Api  URL
+   * 
+ * + * ServerUrlType_CaliumConverterWebGuide = 5; + */ + public static final int ServerUrlType_CaliumConverterWebGuide_VALUE = 5; + /** + *
+   * ̹ ҽ URL
+   * 
+ * + * ServerUrlType_S3ResourceImageUrl = 6; + */ + public static final int ServerUrlType_S3ResourceImageUrl_VALUE = 6; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ServerUrlType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ServerUrlType forNumber(int value) { + switch (value) { + case 0: return ServerUrlType_None; + case 1: return ServerUrlType_BillingApiServerUrl; + case 2: return ServerUrlType_ChatAiApiServerUrl; + case 3: return ServerUrlType_MyhomeEditGuideUrl; + case 4: return ServerUrlType_WebLinkUrlSeasonPass; + case 5: return ServerUrlType_CaliumConverterWebGuide; + case 6: return ServerUrlType_S3ResourceImageUrl; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ServerUrlType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ServerUrlType findValueByNumber(int number) { + return ServerUrlType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(3); + } + + private static final ServerUrlType[] VALUES = values(); + + public static ServerUrlType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ServerUrlType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ServerUrlType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServiceType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServiceType.java new file mode 100644 index 0000000..94b3a4d --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ServiceType.java @@ -0,0 +1,144 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *  Ÿ
+ * 
+ * + * Protobuf enum {@code ServiceType} + */ +public enum ServiceType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ServiceType_None = 0; + */ + ServiceType_None(0), + /** + * ServiceType_Dev = 1; + */ + ServiceType_Dev(1), + /** + * ServiceType_Qa = 2; + */ + ServiceType_Qa(2), + /** + * ServiceType_Stage = 3; + */ + ServiceType_Stage(3), + /** + * ServiceType_Live = 4; + */ + ServiceType_Live(4), + UNRECOGNIZED(-1), + ; + + /** + * ServiceType_None = 0; + */ + public static final int ServiceType_None_VALUE = 0; + /** + * ServiceType_Dev = 1; + */ + public static final int ServiceType_Dev_VALUE = 1; + /** + * ServiceType_Qa = 2; + */ + public static final int ServiceType_Qa_VALUE = 2; + /** + * ServiceType_Stage = 3; + */ + public static final int ServiceType_Stage_VALUE = 3; + /** + * ServiceType_Live = 4; + */ + public static final int ServiceType_Live_VALUE = 4; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ServiceType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ServiceType forNumber(int value) { + switch (value) { + case 0: return ServiceType_None; + case 1: return ServiceType_Dev; + case 2: return ServiceType_Qa; + case 3: return ServiceType_Stage; + case 4: return ServiceType_Live; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ServiceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ServiceType findValueByNumber(int number) { + return ServiceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(2); + } + + private static final ServiceType[] VALUES = values(); + + public static ServiceType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ServiceType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ServiceType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopBuyType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopBuyType.java new file mode 100644 index 0000000..967ffaf --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopBuyType.java @@ -0,0 +1,122 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf enum {@code ShopBuyType} + */ +public enum ShopBuyType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * ShopBuyType_None = 0; + */ + ShopBuyType_None(0), + /** + * ShopBuyType_Currency = 1; + */ + ShopBuyType_Currency(1), + /** + * ShopBuyType_Item = 2; + */ + ShopBuyType_Item(2), + UNRECOGNIZED(-1), + ; + + /** + * ShopBuyType_None = 0; + */ + public static final int ShopBuyType_None_VALUE = 0; + /** + * ShopBuyType_Currency = 1; + */ + public static final int ShopBuyType_Currency_VALUE = 1; + /** + * ShopBuyType_Item = 2; + */ + public static final int ShopBuyType_Item_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ShopBuyType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ShopBuyType forNumber(int value) { + switch (value) { + case 0: return ShopBuyType_None; + case 1: return ShopBuyType_Currency; + case 2: return ShopBuyType_Item; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ShopBuyType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ShopBuyType findValueByNumber(int number) { + return ShopBuyType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(22); + } + + private static final ShopBuyType[] VALUES = values(); + + public static ShopBuyType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ShopBuyType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ShopBuyType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopItemInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopItemInfo.java new file mode 100644 index 0000000..617e8ff --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopItemInfo.java @@ -0,0 +1,542 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ShopItemInfo} + */ +public final class ShopItemInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ShopItemInfo) + ShopItemInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use ShopItemInfo.newBuilder() to construct. + private ShopItemInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ShopItemInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ShopItemInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ShopItemInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ShopItemInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.class, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.Builder.class); + } + + public static final int PRODUCTID_FIELD_NUMBER = 1; + private int productID_ = 0; + /** + * int32 ProductID = 1; + * @return The productID. + */ + @java.lang.Override + public int getProductID() { + return productID_; + } + + public static final int LEFTCOUNT_FIELD_NUMBER = 2; + private double leftCount_ = 0D; + /** + * double LeftCount = 2; + * @return The leftCount. + */ + @java.lang.Override + public double getLeftCount() { + return leftCount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (productID_ != 0) { + output.writeInt32(1, productID_); + } + if (java.lang.Double.doubleToRawLongBits(leftCount_) != 0) { + output.writeDouble(2, leftCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (productID_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, productID_); + } + if (java.lang.Double.doubleToRawLongBits(leftCount_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, leftCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo other = (com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo) obj; + + if (getProductID() + != other.getProductID()) return false; + if (java.lang.Double.doubleToLongBits(getLeftCount()) + != java.lang.Double.doubleToLongBits( + other.getLeftCount())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PRODUCTID_FIELD_NUMBER; + hash = (53 * hash) + getProductID(); + hash = (37 * hash) + LEFTCOUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getLeftCount())); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ShopItemInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ShopItemInfo) + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ShopItemInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ShopItemInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.class, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + productID_ = 0; + leftCount_ = 0D; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ShopItemInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo build() { + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo result = new com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.productID_ = productID_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.leftCount_ = leftCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.getDefaultInstance()) return this; + if (other.getProductID() != 0) { + setProductID(other.getProductID()); + } + if (other.getLeftCount() != 0D) { + setLeftCount(other.getLeftCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + productID_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 17: { + leftCount_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int productID_ ; + /** + * int32 ProductID = 1; + * @return The productID. + */ + @java.lang.Override + public int getProductID() { + return productID_; + } + /** + * int32 ProductID = 1; + * @param value The productID to set. + * @return This builder for chaining. + */ + public Builder setProductID(int value) { + + productID_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 ProductID = 1; + * @return This builder for chaining. + */ + public Builder clearProductID() { + bitField0_ = (bitField0_ & ~0x00000001); + productID_ = 0; + onChanged(); + return this; + } + + private double leftCount_ ; + /** + * double LeftCount = 2; + * @return The leftCount. + */ + @java.lang.Override + public double getLeftCount() { + return leftCount_; + } + /** + * double LeftCount = 2; + * @param value The leftCount to set. + * @return This builder for chaining. + */ + public Builder setLeftCount(double value) { + + leftCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * double LeftCount = 2; + * @return This builder for chaining. + */ + public Builder clearLeftCount() { + bitField0_ = (bitField0_ & ~0x00000002); + leftCount_ = 0D; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ShopItemInfo) + } + + // @@protoc_insertion_point(class_scope:ShopItemInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShopItemInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopItemInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopItemInfoOrBuilder.java new file mode 100644 index 0000000..8331d25 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopItemInfoOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ShopItemInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ShopItemInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 ProductID = 1; + * @return The productID. + */ + int getProductID(); + + /** + * double LeftCount = 2; + * @return The leftCount. + */ + double getLeftCount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopPacketInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopPacketInfo.java new file mode 100644 index 0000000..4fb604b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopPacketInfo.java @@ -0,0 +1,960 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code ShopPacketInfo} + */ +public final class ShopPacketInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ShopPacketInfo) + ShopPacketInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use ShopPacketInfo.newBuilder() to construct. + private ShopPacketInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ShopPacketInfo() { + shopItemList_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ShopPacketInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ShopPacketInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ShopPacketInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo.class, com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo.Builder.class); + } + + public static final int SHOPITEMLIST_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List shopItemList_; + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + @java.lang.Override + public java.util.List getShopItemListList() { + return shopItemList_; + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + @java.lang.Override + public java.util.List + getShopItemListOrBuilderList() { + return shopItemList_; + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + @java.lang.Override + public int getShopItemListCount() { + return shopItemList_.size(); + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo getShopItemList(int index) { + return shopItemList_.get(index); + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ShopItemInfoOrBuilder getShopItemListOrBuilder( + int index) { + return shopItemList_.get(index); + } + + public static final int LEFTTIMEASSECOND_FIELD_NUMBER = 2; + private int leftTimeAsSecond_ = 0; + /** + * int32 LeftTimeAsSecond = 2; + * @return The leftTimeAsSecond. + */ + @java.lang.Override + public int getLeftTimeAsSecond() { + return leftTimeAsSecond_; + } + + public static final int MAXRENEWALCOUNT_FIELD_NUMBER = 3; + private int maxRenewalCount_ = 0; + /** + * int32 maxRenewalCount = 3; + * @return The maxRenewalCount. + */ + @java.lang.Override + public int getMaxRenewalCount() { + return maxRenewalCount_; + } + + public static final int CURRENTRENEWALCOUNT_FIELD_NUMBER = 4; + private int currentRenewalCount_ = 0; + /** + * int32 currentRenewalCount = 4; + * @return The currentRenewalCount. + */ + @java.lang.Override + public int getCurrentRenewalCount() { + return currentRenewalCount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < shopItemList_.size(); i++) { + output.writeMessage(1, shopItemList_.get(i)); + } + if (leftTimeAsSecond_ != 0) { + output.writeInt32(2, leftTimeAsSecond_); + } + if (maxRenewalCount_ != 0) { + output.writeInt32(3, maxRenewalCount_); + } + if (currentRenewalCount_ != 0) { + output.writeInt32(4, currentRenewalCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < shopItemList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, shopItemList_.get(i)); + } + if (leftTimeAsSecond_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, leftTimeAsSecond_); + } + if (maxRenewalCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxRenewalCount_); + } + if (currentRenewalCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, currentRenewalCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo other = (com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo) obj; + + if (!getShopItemListList() + .equals(other.getShopItemListList())) return false; + if (getLeftTimeAsSecond() + != other.getLeftTimeAsSecond()) return false; + if (getMaxRenewalCount() + != other.getMaxRenewalCount()) return false; + if (getCurrentRenewalCount() + != other.getCurrentRenewalCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getShopItemListCount() > 0) { + hash = (37 * hash) + SHOPITEMLIST_FIELD_NUMBER; + hash = (53 * hash) + getShopItemListList().hashCode(); + } + hash = (37 * hash) + LEFTTIMEASSECOND_FIELD_NUMBER; + hash = (53 * hash) + getLeftTimeAsSecond(); + hash = (37 * hash) + MAXRENEWALCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getMaxRenewalCount(); + hash = (37 * hash) + CURRENTRENEWALCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getCurrentRenewalCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code ShopPacketInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ShopPacketInfo) + com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ShopPacketInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ShopPacketInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo.class, com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (shopItemListBuilder_ == null) { + shopItemList_ = java.util.Collections.emptyList(); + } else { + shopItemList_ = null; + shopItemListBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + leftTimeAsSecond_ = 0; + maxRenewalCount_ = 0; + currentRenewalCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ShopPacketInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo build() { + com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo result = new com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo result) { + if (shopItemListBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + shopItemList_ = java.util.Collections.unmodifiableList(shopItemList_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.shopItemList_ = shopItemList_; + } else { + result.shopItemList_ = shopItemListBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.leftTimeAsSecond_ = leftTimeAsSecond_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.maxRenewalCount_ = maxRenewalCount_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.currentRenewalCount_ = currentRenewalCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo.getDefaultInstance()) return this; + if (shopItemListBuilder_ == null) { + if (!other.shopItemList_.isEmpty()) { + if (shopItemList_.isEmpty()) { + shopItemList_ = other.shopItemList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureShopItemListIsMutable(); + shopItemList_.addAll(other.shopItemList_); + } + onChanged(); + } + } else { + if (!other.shopItemList_.isEmpty()) { + if (shopItemListBuilder_.isEmpty()) { + shopItemListBuilder_.dispose(); + shopItemListBuilder_ = null; + shopItemList_ = other.shopItemList_; + bitField0_ = (bitField0_ & ~0x00000001); + shopItemListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShopItemListFieldBuilder() : null; + } else { + shopItemListBuilder_.addAllMessages(other.shopItemList_); + } + } + } + if (other.getLeftTimeAsSecond() != 0) { + setLeftTimeAsSecond(other.getLeftTimeAsSecond()); + } + if (other.getMaxRenewalCount() != 0) { + setMaxRenewalCount(other.getMaxRenewalCount()); + } + if (other.getCurrentRenewalCount() != 0) { + setCurrentRenewalCount(other.getCurrentRenewalCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.parser(), + extensionRegistry); + if (shopItemListBuilder_ == null) { + ensureShopItemListIsMutable(); + shopItemList_.add(m); + } else { + shopItemListBuilder_.addMessage(m); + } + break; + } // case 10 + case 16: { + leftTimeAsSecond_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + maxRenewalCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + currentRenewalCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List shopItemList_ = + java.util.Collections.emptyList(); + private void ensureShopItemListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + shopItemList_ = new java.util.ArrayList(shopItemList_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfoOrBuilder> shopItemListBuilder_; + + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public java.util.List getShopItemListList() { + if (shopItemListBuilder_ == null) { + return java.util.Collections.unmodifiableList(shopItemList_); + } else { + return shopItemListBuilder_.getMessageList(); + } + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public int getShopItemListCount() { + if (shopItemListBuilder_ == null) { + return shopItemList_.size(); + } else { + return shopItemListBuilder_.getCount(); + } + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo getShopItemList(int index) { + if (shopItemListBuilder_ == null) { + return shopItemList_.get(index); + } else { + return shopItemListBuilder_.getMessage(index); + } + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public Builder setShopItemList( + int index, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo value) { + if (shopItemListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureShopItemListIsMutable(); + shopItemList_.set(index, value); + onChanged(); + } else { + shopItemListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public Builder setShopItemList( + int index, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.Builder builderForValue) { + if (shopItemListBuilder_ == null) { + ensureShopItemListIsMutable(); + shopItemList_.set(index, builderForValue.build()); + onChanged(); + } else { + shopItemListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public Builder addShopItemList(com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo value) { + if (shopItemListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureShopItemListIsMutable(); + shopItemList_.add(value); + onChanged(); + } else { + shopItemListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public Builder addShopItemList( + int index, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo value) { + if (shopItemListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureShopItemListIsMutable(); + shopItemList_.add(index, value); + onChanged(); + } else { + shopItemListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public Builder addShopItemList( + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.Builder builderForValue) { + if (shopItemListBuilder_ == null) { + ensureShopItemListIsMutable(); + shopItemList_.add(builderForValue.build()); + onChanged(); + } else { + shopItemListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public Builder addShopItemList( + int index, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.Builder builderForValue) { + if (shopItemListBuilder_ == null) { + ensureShopItemListIsMutable(); + shopItemList_.add(index, builderForValue.build()); + onChanged(); + } else { + shopItemListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public Builder addAllShopItemList( + java.lang.Iterable values) { + if (shopItemListBuilder_ == null) { + ensureShopItemListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, shopItemList_); + onChanged(); + } else { + shopItemListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public Builder clearShopItemList() { + if (shopItemListBuilder_ == null) { + shopItemList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + shopItemListBuilder_.clear(); + } + return this; + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public Builder removeShopItemList(int index) { + if (shopItemListBuilder_ == null) { + ensureShopItemListIsMutable(); + shopItemList_.remove(index); + onChanged(); + } else { + shopItemListBuilder_.remove(index); + } + return this; + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.Builder getShopItemListBuilder( + int index) { + return getShopItemListFieldBuilder().getBuilder(index); + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ShopItemInfoOrBuilder getShopItemListOrBuilder( + int index) { + if (shopItemListBuilder_ == null) { + return shopItemList_.get(index); } else { + return shopItemListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public java.util.List + getShopItemListOrBuilderList() { + if (shopItemListBuilder_ != null) { + return shopItemListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(shopItemList_); + } + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.Builder addShopItemListBuilder() { + return getShopItemListFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.getDefaultInstance()); + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.Builder addShopItemListBuilder( + int index) { + return getShopItemListFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.getDefaultInstance()); + } + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + public java.util.List + getShopItemListBuilderList() { + return getShopItemListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfoOrBuilder> + getShopItemListFieldBuilder() { + if (shopItemListBuilder_ == null) { + shopItemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.ShopItemInfoOrBuilder>( + shopItemList_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + shopItemList_ = null; + } + return shopItemListBuilder_; + } + + private int leftTimeAsSecond_ ; + /** + * int32 LeftTimeAsSecond = 2; + * @return The leftTimeAsSecond. + */ + @java.lang.Override + public int getLeftTimeAsSecond() { + return leftTimeAsSecond_; + } + /** + * int32 LeftTimeAsSecond = 2; + * @param value The leftTimeAsSecond to set. + * @return This builder for chaining. + */ + public Builder setLeftTimeAsSecond(int value) { + + leftTimeAsSecond_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 LeftTimeAsSecond = 2; + * @return This builder for chaining. + */ + public Builder clearLeftTimeAsSecond() { + bitField0_ = (bitField0_ & ~0x00000002); + leftTimeAsSecond_ = 0; + onChanged(); + return this; + } + + private int maxRenewalCount_ ; + /** + * int32 maxRenewalCount = 3; + * @return The maxRenewalCount. + */ + @java.lang.Override + public int getMaxRenewalCount() { + return maxRenewalCount_; + } + /** + * int32 maxRenewalCount = 3; + * @param value The maxRenewalCount to set. + * @return This builder for chaining. + */ + public Builder setMaxRenewalCount(int value) { + + maxRenewalCount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 maxRenewalCount = 3; + * @return This builder for chaining. + */ + public Builder clearMaxRenewalCount() { + bitField0_ = (bitField0_ & ~0x00000004); + maxRenewalCount_ = 0; + onChanged(); + return this; + } + + private int currentRenewalCount_ ; + /** + * int32 currentRenewalCount = 4; + * @return The currentRenewalCount. + */ + @java.lang.Override + public int getCurrentRenewalCount() { + return currentRenewalCount_; + } + /** + * int32 currentRenewalCount = 4; + * @param value The currentRenewalCount to set. + * @return This builder for chaining. + */ + public Builder setCurrentRenewalCount(int value) { + + currentRenewalCount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 currentRenewalCount = 4; + * @return This builder for chaining. + */ + public Builder clearCurrentRenewalCount() { + bitField0_ = (bitField0_ & ~0x00000008); + currentRenewalCount_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:ShopPacketInfo) + } + + // @@protoc_insertion_point(class_scope:ShopPacketInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShopPacketInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ShopPacketInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopPacketInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopPacketInfoOrBuilder.java new file mode 100644 index 0000000..f5d646a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/ShopPacketInfoOrBuilder.java @@ -0,0 +1,51 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface ShopPacketInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ShopPacketInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + java.util.List + getShopItemListList(); + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfo getShopItemList(int index); + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + int getShopItemListCount(); + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + java.util.List + getShopItemListOrBuilderList(); + /** + * repeated .ShopItemInfo ShopItemList = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.ShopItemInfoOrBuilder getShopItemListOrBuilder( + int index); + + /** + * int32 LeftTimeAsSecond = 2; + * @return The leftTimeAsSecond. + */ + int getLeftTimeAsSecond(); + + /** + * int32 maxRenewalCount = 3; + * @return The maxRenewalCount. + */ + int getMaxRenewalCount(); + + /** + * int32 currentRenewalCount = 4; + * @return The currentRenewalCount. + */ + int getCurrentRenewalCount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SlotInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SlotInfo.java new file mode 100644 index 0000000..47ec1f6 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SlotInfo.java @@ -0,0 +1,540 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code SlotInfo} + */ +public final class SlotInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:SlotInfo) + SlotInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use SlotInfo.newBuilder() to construct. + private SlotInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SlotInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SlotInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_SlotInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_SlotInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.SlotInfo.class, com.caliverse.admin.domain.RabbitMq.message.SlotInfo.Builder.class); + } + + public static final int SLOT_FIELD_NUMBER = 1; + private int slot_ = 0; + /** + * int32 slot = 1; + * @return The slot. + */ + @java.lang.Override + public int getSlot() { + return slot_; + } + + public static final int ID_FIELD_NUMBER = 2; + private int id_ = 0; + /** + * int32 id = 2; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (slot_ != 0) { + output.writeInt32(1, slot_); + } + if (id_ != 0) { + output.writeInt32(2, id_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (slot_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, slot_); + } + if (id_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, id_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.SlotInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.SlotInfo other = (com.caliverse.admin.domain.RabbitMq.message.SlotInfo) obj; + + if (getSlot() + != other.getSlot()) return false; + if (getId() + != other.getId()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SLOT_FIELD_NUMBER; + hash = (53 * hash) + getSlot(); + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.SlotInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code SlotInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:SlotInfo) + com.caliverse.admin.domain.RabbitMq.message.SlotInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_SlotInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_SlotInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.SlotInfo.class, com.caliverse.admin.domain.RabbitMq.message.SlotInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.SlotInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + slot_ = 0; + id_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_SlotInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.SlotInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.SlotInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.SlotInfo build() { + com.caliverse.admin.domain.RabbitMq.message.SlotInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.SlotInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.SlotInfo result = new com.caliverse.admin.domain.RabbitMq.message.SlotInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.SlotInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.slot_ = slot_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.id_ = id_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.SlotInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.SlotInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.SlotInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.SlotInfo.getDefaultInstance()) return this; + if (other.getSlot() != 0) { + setSlot(other.getSlot()); + } + if (other.getId() != 0) { + setId(other.getId()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + slot_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + id_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int slot_ ; + /** + * int32 slot = 1; + * @return The slot. + */ + @java.lang.Override + public int getSlot() { + return slot_; + } + /** + * int32 slot = 1; + * @param value The slot to set. + * @return This builder for chaining. + */ + public Builder setSlot(int value) { + + slot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 slot = 1; + * @return This builder for chaining. + */ + public Builder clearSlot() { + bitField0_ = (bitField0_ & ~0x00000001); + slot_ = 0; + onChanged(); + return this; + } + + private int id_ ; + /** + * int32 id = 2; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + /** + * int32 id = 2; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + + id_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 id = 2; + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000002); + id_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:SlotInfo) + } + + // @@protoc_insertion_point(class_scope:SlotInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.SlotInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.SlotInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.SlotInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SlotInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.SlotInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SlotInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SlotInfoOrBuilder.java new file mode 100644 index 0000000..7420e58 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SlotInfoOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface SlotInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:SlotInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 slot = 1; + * @return The slot. + */ + int getSlot(); + + /** + * int32 id = 2; + * @return The id. + */ + int getId(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/StringProfile.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/StringProfile.java new file mode 100644 index 0000000..59cffdb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/StringProfile.java @@ -0,0 +1,695 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * ڿ   
+ * 
+ * + * Protobuf type {@code StringProfile} + */ +public final class StringProfile extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:StringProfile) + StringProfileOrBuilder { +private static final long serialVersionUID = 0L; + // Use StringProfile.newBuilder() to construct. + private StringProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StringProfile() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StringProfile(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_StringProfile_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetStringProfile(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_StringProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.StringProfile.class, com.caliverse.admin.domain.RabbitMq.message.StringProfile.Builder.class); + } + + public static final int STRINGPROFILE_FIELD_NUMBER = 1; + private static final class StringProfileDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_StringProfile_StringProfileEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> stringProfile_; + private com.google.protobuf.MapField + internalGetStringProfile() { + if (stringProfile_ == null) { + return com.google.protobuf.MapField.emptyMapField( + StringProfileDefaultEntryHolder.defaultEntry); + } + return stringProfile_; + } + public int getStringProfileCount() { + return internalGetStringProfile().getMap().size(); + } + /** + * map<string, string> stringProfile = 1; + */ + @java.lang.Override + public boolean containsStringProfile( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetStringProfile().getMap().containsKey(key); + } + /** + * Use {@link #getStringProfileMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getStringProfile() { + return getStringProfileMap(); + } + /** + * map<string, string> stringProfile = 1; + */ + @java.lang.Override + public java.util.Map getStringProfileMap() { + return internalGetStringProfile().getMap(); + } + /** + * map<string, string> stringProfile = 1; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getStringProfileOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetStringProfile().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, string> stringProfile = 1; + */ + @java.lang.Override + public java.lang.String getStringProfileOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetStringProfile().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetStringProfile(), + StringProfileDefaultEntryHolder.defaultEntry, + 1); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetStringProfile().getMap().entrySet()) { + com.google.protobuf.MapEntry + stringProfile__ = StringProfileDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, stringProfile__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.StringProfile)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.StringProfile other = (com.caliverse.admin.domain.RabbitMq.message.StringProfile) obj; + + if (!internalGetStringProfile().equals( + other.internalGetStringProfile())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetStringProfile().getMap().isEmpty()) { + hash = (37 * hash) + STRINGPROFILE_FIELD_NUMBER; + hash = (53 * hash) + internalGetStringProfile().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.StringProfile prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * ڿ   
+   * 
+ * + * Protobuf type {@code StringProfile} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:StringProfile) + com.caliverse.admin.domain.RabbitMq.message.StringProfileOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_StringProfile_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetStringProfile(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableStringProfile(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_StringProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.StringProfile.class, com.caliverse.admin.domain.RabbitMq.message.StringProfile.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.StringProfile.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableStringProfile().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_StringProfile_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.StringProfile getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.StringProfile.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.StringProfile build() { + com.caliverse.admin.domain.RabbitMq.message.StringProfile result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.StringProfile buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.StringProfile result = new com.caliverse.admin.domain.RabbitMq.message.StringProfile(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.StringProfile result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.stringProfile_ = internalGetStringProfile(); + result.stringProfile_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.StringProfile) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.StringProfile)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.StringProfile other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.StringProfile.getDefaultInstance()) return this; + internalGetMutableStringProfile().mergeFrom( + other.internalGetStringProfile()); + bitField0_ |= 0x00000001; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + stringProfile__ = input.readMessage( + StringProfileDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableStringProfile().getMutableMap().put( + stringProfile__.getKey(), stringProfile__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> stringProfile_; + private com.google.protobuf.MapField + internalGetStringProfile() { + if (stringProfile_ == null) { + return com.google.protobuf.MapField.emptyMapField( + StringProfileDefaultEntryHolder.defaultEntry); + } + return stringProfile_; + } + private com.google.protobuf.MapField + internalGetMutableStringProfile() { + if (stringProfile_ == null) { + stringProfile_ = com.google.protobuf.MapField.newMapField( + StringProfileDefaultEntryHolder.defaultEntry); + } + if (!stringProfile_.isMutable()) { + stringProfile_ = stringProfile_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return stringProfile_; + } + public int getStringProfileCount() { + return internalGetStringProfile().getMap().size(); + } + /** + * map<string, string> stringProfile = 1; + */ + @java.lang.Override + public boolean containsStringProfile( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetStringProfile().getMap().containsKey(key); + } + /** + * Use {@link #getStringProfileMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getStringProfile() { + return getStringProfileMap(); + } + /** + * map<string, string> stringProfile = 1; + */ + @java.lang.Override + public java.util.Map getStringProfileMap() { + return internalGetStringProfile().getMap(); + } + /** + * map<string, string> stringProfile = 1; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getStringProfileOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetStringProfile().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, string> stringProfile = 1; + */ + @java.lang.Override + public java.lang.String getStringProfileOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetStringProfile().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearStringProfile() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableStringProfile().getMutableMap() + .clear(); + return this; + } + /** + * map<string, string> stringProfile = 1; + */ + public Builder removeStringProfile( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableStringProfile().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableStringProfile() { + bitField0_ |= 0x00000001; + return internalGetMutableStringProfile().getMutableMap(); + } + /** + * map<string, string> stringProfile = 1; + */ + public Builder putStringProfile( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableStringProfile().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + * map<string, string> stringProfile = 1; + */ + public Builder putAllStringProfile( + java.util.Map values) { + internalGetMutableStringProfile().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:StringProfile) + } + + // @@protoc_insertion_point(class_scope:StringProfile) + private static final com.caliverse.admin.domain.RabbitMq.message.StringProfile DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.StringProfile(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.StringProfile getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.StringProfile getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/StringProfileOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/StringProfileOrBuilder.java new file mode 100644 index 0000000..39cdb46 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/StringProfileOrBuilder.java @@ -0,0 +1,43 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface StringProfileOrBuilder extends + // @@protoc_insertion_point(interface_extends:StringProfile) + com.google.protobuf.MessageOrBuilder { + + /** + * map<string, string> stringProfile = 1; + */ + int getStringProfileCount(); + /** + * map<string, string> stringProfile = 1; + */ + boolean containsStringProfile( + java.lang.String key); + /** + * Use {@link #getStringProfileMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getStringProfile(); + /** + * map<string, string> stringProfile = 1; + */ + java.util.Map + getStringProfileMap(); + /** + * map<string, string> stringProfile = 1; + */ + /* nullable */ +java.lang.String getStringProfileOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + * map<string, string> stringProfile = 1; + */ + java.lang.String getStringProfileOrThrow( + java.lang.String key); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SummonPartyMemberResultType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SummonPartyMemberResultType.java new file mode 100644 index 0000000..aa75a4c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/SummonPartyMemberResultType.java @@ -0,0 +1,194 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf enum {@code SummonPartyMemberResultType} + */ +public enum SummonPartyMemberResultType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * SummonPartyMemberResultType_None = 0; + */ + SummonPartyMemberResultType_None(0), + /** + * SummonPartyMemberResultType_Accept = 1; + */ + SummonPartyMemberResultType_Accept(1), + /** + * SummonPartyMemberResultType_Refuse = 2; + */ + SummonPartyMemberResultType_Refuse(2), + /** + * SummonPartyMemberResultType_DoNotDisturb = 3; + */ + SummonPartyMemberResultType_DoNotDisturb(3), + /** + * SummonPartyMemberResultType_LogOut = 4; + */ + SummonPartyMemberResultType_LogOut(4), + /** + * SummonPartyMemberResultType_LeaveParty = 5; + */ + SummonPartyMemberResultType_LeaveParty(5), + /** + * SummonPartyMemberResultType_NotParty = 6; + */ + SummonPartyMemberResultType_NotParty(6), + /** + * SummonPartyMemberResultType_ServerFull = 7; + */ + SummonPartyMemberResultType_ServerFull(7), + /** + * SummonPartyMemberResultType_SummonFail = 8; + */ + SummonPartyMemberResultType_SummonFail(8), + /** + * SummonPartyMemberResultType_NotSummon = 9; + */ + SummonPartyMemberResultType_NotSummon(9), + /** + * SummonPartyMemberResultType_NotPartyMember = 10; + */ + SummonPartyMemberResultType_NotPartyMember(10), + UNRECOGNIZED(-1), + ; + + /** + * SummonPartyMemberResultType_None = 0; + */ + public static final int SummonPartyMemberResultType_None_VALUE = 0; + /** + * SummonPartyMemberResultType_Accept = 1; + */ + public static final int SummonPartyMemberResultType_Accept_VALUE = 1; + /** + * SummonPartyMemberResultType_Refuse = 2; + */ + public static final int SummonPartyMemberResultType_Refuse_VALUE = 2; + /** + * SummonPartyMemberResultType_DoNotDisturb = 3; + */ + public static final int SummonPartyMemberResultType_DoNotDisturb_VALUE = 3; + /** + * SummonPartyMemberResultType_LogOut = 4; + */ + public static final int SummonPartyMemberResultType_LogOut_VALUE = 4; + /** + * SummonPartyMemberResultType_LeaveParty = 5; + */ + public static final int SummonPartyMemberResultType_LeaveParty_VALUE = 5; + /** + * SummonPartyMemberResultType_NotParty = 6; + */ + public static final int SummonPartyMemberResultType_NotParty_VALUE = 6; + /** + * SummonPartyMemberResultType_ServerFull = 7; + */ + public static final int SummonPartyMemberResultType_ServerFull_VALUE = 7; + /** + * SummonPartyMemberResultType_SummonFail = 8; + */ + public static final int SummonPartyMemberResultType_SummonFail_VALUE = 8; + /** + * SummonPartyMemberResultType_NotSummon = 9; + */ + public static final int SummonPartyMemberResultType_NotSummon_VALUE = 9; + /** + * SummonPartyMemberResultType_NotPartyMember = 10; + */ + public static final int SummonPartyMemberResultType_NotPartyMember_VALUE = 10; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SummonPartyMemberResultType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static SummonPartyMemberResultType forNumber(int value) { + switch (value) { + case 0: return SummonPartyMemberResultType_None; + case 1: return SummonPartyMemberResultType_Accept; + case 2: return SummonPartyMemberResultType_Refuse; + case 3: return SummonPartyMemberResultType_DoNotDisturb; + case 4: return SummonPartyMemberResultType_LogOut; + case 5: return SummonPartyMemberResultType_LeaveParty; + case 6: return SummonPartyMemberResultType_NotParty; + case 7: return SummonPartyMemberResultType_ServerFull; + case 8: return SummonPartyMemberResultType_SummonFail; + case 9: return SummonPartyMemberResultType_NotSummon; + case 10: return SummonPartyMemberResultType_NotPartyMember; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + SummonPartyMemberResultType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SummonPartyMemberResultType findValueByNumber(int number) { + return SummonPartyMemberResultType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(10); + } + + private static final SummonPartyMemberResultType[] VALUES = values(); + + public static SummonPartyMemberResultType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private SummonPartyMemberResultType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:SummonPartyMemberResultType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooInfo.java new file mode 100644 index 0000000..6cffa9c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooInfo.java @@ -0,0 +1,715 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code TattooInfo} + */ +public final class TattooInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TattooInfo) + TattooInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use TattooInfo.newBuilder() to construct. + private TattooInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TattooInfo() { + attributeids_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TattooInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.TattooInfo.class, com.caliverse.admin.domain.RabbitMq.message.TattooInfo.Builder.class); + } + + public static final int ITEMID_FIELD_NUMBER = 1; + private int itemId_ = 0; + /** + * int32 ItemId = 1; + * @return The itemId. + */ + @java.lang.Override + public int getItemId() { + return itemId_; + } + + public static final int LEVEL_FIELD_NUMBER = 2; + private int level_ = 0; + /** + * int32 level = 2; + * @return The level. + */ + @java.lang.Override + public int getLevel() { + return level_; + } + + public static final int ATTRIBUTEIDS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList attributeids_; + /** + * repeated int32 attributeids = 3; + * @return A list containing the attributeids. + */ + @java.lang.Override + public java.util.List + getAttributeidsList() { + return attributeids_; + } + /** + * repeated int32 attributeids = 3; + * @return The count of attributeids. + */ + public int getAttributeidsCount() { + return attributeids_.size(); + } + /** + * repeated int32 attributeids = 3; + * @param index The index of the element to return. + * @return The attributeids at the given index. + */ + public int getAttributeids(int index) { + return attributeids_.getInt(index); + } + private int attributeidsMemoizedSerializedSize = -1; + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (itemId_ != 0) { + output.writeInt32(1, itemId_); + } + if (level_ != 0) { + output.writeInt32(2, level_); + } + if (getAttributeidsList().size() > 0) { + output.writeUInt32NoTag(26); + output.writeUInt32NoTag(attributeidsMemoizedSerializedSize); + } + for (int i = 0; i < attributeids_.size(); i++) { + output.writeInt32NoTag(attributeids_.getInt(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (itemId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, itemId_); + } + if (level_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, level_); + } + { + int dataSize = 0; + for (int i = 0; i < attributeids_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(attributeids_.getInt(i)); + } + size += dataSize; + if (!getAttributeidsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + attributeidsMemoizedSerializedSize = dataSize; + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.TattooInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.TattooInfo other = (com.caliverse.admin.domain.RabbitMq.message.TattooInfo) obj; + + if (getItemId() + != other.getItemId()) return false; + if (getLevel() + != other.getLevel()) return false; + if (!getAttributeidsList() + .equals(other.getAttributeidsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ITEMID_FIELD_NUMBER; + hash = (53 * hash) + getItemId(); + hash = (37 * hash) + LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLevel(); + if (getAttributeidsCount() > 0) { + hash = (37 * hash) + ATTRIBUTEIDS_FIELD_NUMBER; + hash = (53 * hash) + getAttributeidsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.TattooInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code TattooInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TattooInfo) + com.caliverse.admin.domain.RabbitMq.message.TattooInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.TattooInfo.class, com.caliverse.admin.domain.RabbitMq.message.TattooInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.TattooInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemId_ = 0; + level_ = 0; + attributeids_ = emptyIntList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.TattooInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooInfo build() { + com.caliverse.admin.domain.RabbitMq.message.TattooInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.TattooInfo result = new com.caliverse.admin.domain.RabbitMq.message.TattooInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.TattooInfo result) { + if (((bitField0_ & 0x00000004) != 0)) { + attributeids_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.attributeids_ = attributeids_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.TattooInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemId_ = itemId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.level_ = level_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.TattooInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.TattooInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.TattooInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.TattooInfo.getDefaultInstance()) return this; + if (other.getItemId() != 0) { + setItemId(other.getItemId()); + } + if (other.getLevel() != 0) { + setLevel(other.getLevel()); + } + if (!other.attributeids_.isEmpty()) { + if (attributeids_.isEmpty()) { + attributeids_ = other.attributeids_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureAttributeidsIsMutable(); + attributeids_.addAll(other.attributeids_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + itemId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + level_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + int v = input.readInt32(); + ensureAttributeidsIsMutable(); + attributeids_.addInt(v); + break; + } // case 24 + case 26: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureAttributeidsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + attributeids_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int itemId_ ; + /** + * int32 ItemId = 1; + * @return The itemId. + */ + @java.lang.Override + public int getItemId() { + return itemId_; + } + /** + * int32 ItemId = 1; + * @param value The itemId to set. + * @return This builder for chaining. + */ + public Builder setItemId(int value) { + + itemId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 ItemId = 1; + * @return This builder for chaining. + */ + public Builder clearItemId() { + bitField0_ = (bitField0_ & ~0x00000001); + itemId_ = 0; + onChanged(); + return this; + } + + private int level_ ; + /** + * int32 level = 2; + * @return The level. + */ + @java.lang.Override + public int getLevel() { + return level_; + } + /** + * int32 level = 2; + * @param value The level to set. + * @return This builder for chaining. + */ + public Builder setLevel(int value) { + + level_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 level = 2; + * @return This builder for chaining. + */ + public Builder clearLevel() { + bitField0_ = (bitField0_ & ~0x00000002); + level_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList attributeids_ = emptyIntList(); + private void ensureAttributeidsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + attributeids_ = mutableCopy(attributeids_); + bitField0_ |= 0x00000004; + } + } + /** + * repeated int32 attributeids = 3; + * @return A list containing the attributeids. + */ + public java.util.List + getAttributeidsList() { + return ((bitField0_ & 0x00000004) != 0) ? + java.util.Collections.unmodifiableList(attributeids_) : attributeids_; + } + /** + * repeated int32 attributeids = 3; + * @return The count of attributeids. + */ + public int getAttributeidsCount() { + return attributeids_.size(); + } + /** + * repeated int32 attributeids = 3; + * @param index The index of the element to return. + * @return The attributeids at the given index. + */ + public int getAttributeids(int index) { + return attributeids_.getInt(index); + } + /** + * repeated int32 attributeids = 3; + * @param index The index to set the value at. + * @param value The attributeids to set. + * @return This builder for chaining. + */ + public Builder setAttributeids( + int index, int value) { + + ensureAttributeidsIsMutable(); + attributeids_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated int32 attributeids = 3; + * @param value The attributeids to add. + * @return This builder for chaining. + */ + public Builder addAttributeids(int value) { + + ensureAttributeidsIsMutable(); + attributeids_.addInt(value); + onChanged(); + return this; + } + /** + * repeated int32 attributeids = 3; + * @param values The attributeids to add. + * @return This builder for chaining. + */ + public Builder addAllAttributeids( + java.lang.Iterable values) { + ensureAttributeidsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attributeids_); + onChanged(); + return this; + } + /** + * repeated int32 attributeids = 3; + * @return This builder for chaining. + */ + public Builder clearAttributeids() { + attributeids_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:TattooInfo) + } + + // @@protoc_insertion_point(class_scope:TattooInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.TattooInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.TattooInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.TattooInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TattooInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooInfoOrBuilder.java new file mode 100644 index 0000000..d15d1c5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooInfoOrBuilder.java @@ -0,0 +1,38 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface TattooInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:TattooInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 ItemId = 1; + * @return The itemId. + */ + int getItemId(); + + /** + * int32 level = 2; + * @return The level. + */ + int getLevel(); + + /** + * repeated int32 attributeids = 3; + * @return A list containing the attributeids. + */ + java.util.List getAttributeidsList(); + /** + * repeated int32 attributeids = 3; + * @return The count of attributeids. + */ + int getAttributeidsCount(); + /** + * repeated int32 attributeids = 3; + * @param index The index of the element to return. + * @return The attributeids at the given index. + */ + int getAttributeids(int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooRagisterInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooRagisterInfo.java new file mode 100644 index 0000000..56befe2 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooRagisterInfo.java @@ -0,0 +1,610 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code TattooRagisterInfo} + */ +public final class TattooRagisterInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TattooRagisterInfo) + TattooRagisterInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use TattooRagisterInfo.newBuilder() to construct. + private TattooRagisterInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TattooRagisterInfo() { + itemGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TattooRagisterInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooRagisterInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooRagisterInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo.class, com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo.Builder.class); + } + + public static final int ITEMGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object itemGuid_ = ""; + /** + * string itemGuid = 1; + * @return The itemGuid. + */ + @java.lang.Override + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } + } + /** + * string itemGuid = 1; + * @return The bytes for itemGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SLOTINDEX_FIELD_NUMBER = 2; + private int slotIndex_ = 0; + /** + * int32 slotIndex = 2; + * @return The slotIndex. + */ + @java.lang.Override + public int getSlotIndex() { + return slotIndex_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, itemGuid_); + } + if (slotIndex_ != 0) { + output.writeInt32(2, slotIndex_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, itemGuid_); + } + if (slotIndex_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, slotIndex_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo other = (com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo) obj; + + if (!getItemGuid() + .equals(other.getItemGuid())) return false; + if (getSlotIndex() + != other.getSlotIndex()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ITEMGUID_FIELD_NUMBER; + hash = (53 * hash) + getItemGuid().hashCode(); + hash = (37 * hash) + SLOTINDEX_FIELD_NUMBER; + hash = (53 * hash) + getSlotIndex(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code TattooRagisterInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TattooRagisterInfo) + com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooRagisterInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooRagisterInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo.class, com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemGuid_ = ""; + slotIndex_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooRagisterInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo build() { + com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo result = new com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemGuid_ = itemGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.slotIndex_ = slotIndex_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo.getDefaultInstance()) return this; + if (!other.getItemGuid().isEmpty()) { + itemGuid_ = other.itemGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getSlotIndex() != 0) { + setSlotIndex(other.getSlotIndex()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + itemGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + slotIndex_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object itemGuid_ = ""; + /** + * string itemGuid = 1; + * @return The itemGuid. + */ + public java.lang.String getItemGuid() { + java.lang.Object ref = itemGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string itemGuid = 1; + * @return The bytes for itemGuid. + */ + public com.google.protobuf.ByteString + getItemGuidBytes() { + java.lang.Object ref = itemGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + itemGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string itemGuid = 1; + * @param value The itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + itemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string itemGuid = 1; + * @return This builder for chaining. + */ + public Builder clearItemGuid() { + itemGuid_ = getDefaultInstance().getItemGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string itemGuid = 1; + * @param value The bytes for itemGuid to set. + * @return This builder for chaining. + */ + public Builder setItemGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + itemGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int slotIndex_ ; + /** + * int32 slotIndex = 2; + * @return The slotIndex. + */ + @java.lang.Override + public int getSlotIndex() { + return slotIndex_; + } + /** + * int32 slotIndex = 2; + * @param value The slotIndex to set. + * @return This builder for chaining. + */ + public Builder setSlotIndex(int value) { + + slotIndex_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 slotIndex = 2; + * @return This builder for chaining. + */ + public Builder clearSlotIndex() { + bitField0_ = (bitField0_ & ~0x00000002); + slotIndex_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:TattooRagisterInfo) + } + + // @@protoc_insertion_point(class_scope:TattooRagisterInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TattooRagisterInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooRagisterInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooRagisterInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooRagisterInfoOrBuilder.java new file mode 100644 index 0000000..e267698 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooRagisterInfoOrBuilder.java @@ -0,0 +1,27 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface TattooRagisterInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:TattooRagisterInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string itemGuid = 1; + * @return The itemGuid. + */ + java.lang.String getItemGuid(); + /** + * string itemGuid = 1; + * @return The bytes for itemGuid. + */ + com.google.protobuf.ByteString + getItemGuidBytes(); + + /** + * int32 slotIndex = 2; + * @return The slotIndex. + */ + int getSlotIndex(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooSlotInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooSlotInfo.java new file mode 100644 index 0000000..1c0e0f5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooSlotInfo.java @@ -0,0 +1,655 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code TattooSlotInfo} + */ +public final class TattooSlotInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TattooSlotInfo) + TattooSlotInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use TattooSlotInfo.newBuilder() to construct. + private TattooSlotInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TattooSlotInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TattooSlotInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooSlotInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooSlotInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.class, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.Builder.class); + } + + public static final int ITEMINFO_FIELD_NUMBER = 1; + private com.caliverse.admin.domain.RabbitMq.message.TattooInfo itemInfo_; + /** + * .TattooInfo ItemInfo = 1; + * @return Whether the itemInfo field is set. + */ + @java.lang.Override + public boolean hasItemInfo() { + return itemInfo_ != null; + } + /** + * .TattooInfo ItemInfo = 1; + * @return The itemInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooInfo getItemInfo() { + return itemInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.TattooInfo.getDefaultInstance() : itemInfo_; + } + /** + * .TattooInfo ItemInfo = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooInfoOrBuilder getItemInfoOrBuilder() { + return itemInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.TattooInfo.getDefaultInstance() : itemInfo_; + } + + public static final int ISVISIBLE_FIELD_NUMBER = 2; + private int isVisible_ = 0; + /** + * int32 isVisible = 2; + * @return The isVisible. + */ + @java.lang.Override + public int getIsVisible() { + return isVisible_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (itemInfo_ != null) { + output.writeMessage(1, getItemInfo()); + } + if (isVisible_ != 0) { + output.writeInt32(2, isVisible_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (itemInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getItemInfo()); + } + if (isVisible_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, isVisible_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo other = (com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo) obj; + + if (hasItemInfo() != other.hasItemInfo()) return false; + if (hasItemInfo()) { + if (!getItemInfo() + .equals(other.getItemInfo())) return false; + } + if (getIsVisible() + != other.getIsVisible()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasItemInfo()) { + hash = (37 * hash) + ITEMINFO_FIELD_NUMBER; + hash = (53 * hash) + getItemInfo().hashCode(); + } + hash = (37 * hash) + ISVISIBLE_FIELD_NUMBER; + hash = (53 * hash) + getIsVisible(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code TattooSlotInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TattooSlotInfo) + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooSlotInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooSlotInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.class, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemInfo_ = null; + if (itemInfoBuilder_ != null) { + itemInfoBuilder_.dispose(); + itemInfoBuilder_ = null; + } + isVisible_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_TattooSlotInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo build() { + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo result = new com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemInfo_ = itemInfoBuilder_ == null + ? itemInfo_ + : itemInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.isVisible_ = isVisible_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.getDefaultInstance()) return this; + if (other.hasItemInfo()) { + mergeItemInfo(other.getItemInfo()); + } + if (other.getIsVisible() != 0) { + setIsVisible(other.getIsVisible()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getItemInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + isVisible_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.caliverse.admin.domain.RabbitMq.message.TattooInfo itemInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.TattooInfo, com.caliverse.admin.domain.RabbitMq.message.TattooInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.TattooInfoOrBuilder> itemInfoBuilder_; + /** + * .TattooInfo ItemInfo = 1; + * @return Whether the itemInfo field is set. + */ + public boolean hasItemInfo() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .TattooInfo ItemInfo = 1; + * @return The itemInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.TattooInfo getItemInfo() { + if (itemInfoBuilder_ == null) { + return itemInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.TattooInfo.getDefaultInstance() : itemInfo_; + } else { + return itemInfoBuilder_.getMessage(); + } + } + /** + * .TattooInfo ItemInfo = 1; + */ + public Builder setItemInfo(com.caliverse.admin.domain.RabbitMq.message.TattooInfo value) { + if (itemInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + itemInfo_ = value; + } else { + itemInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .TattooInfo ItemInfo = 1; + */ + public Builder setItemInfo( + com.caliverse.admin.domain.RabbitMq.message.TattooInfo.Builder builderForValue) { + if (itemInfoBuilder_ == null) { + itemInfo_ = builderForValue.build(); + } else { + itemInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .TattooInfo ItemInfo = 1; + */ + public Builder mergeItemInfo(com.caliverse.admin.domain.RabbitMq.message.TattooInfo value) { + if (itemInfoBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + itemInfo_ != null && + itemInfo_ != com.caliverse.admin.domain.RabbitMq.message.TattooInfo.getDefaultInstance()) { + getItemInfoBuilder().mergeFrom(value); + } else { + itemInfo_ = value; + } + } else { + itemInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .TattooInfo ItemInfo = 1; + */ + public Builder clearItemInfo() { + bitField0_ = (bitField0_ & ~0x00000001); + itemInfo_ = null; + if (itemInfoBuilder_ != null) { + itemInfoBuilder_.dispose(); + itemInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .TattooInfo ItemInfo = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.TattooInfo.Builder getItemInfoBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getItemInfoFieldBuilder().getBuilder(); + } + /** + * .TattooInfo ItemInfo = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.TattooInfoOrBuilder getItemInfoOrBuilder() { + if (itemInfoBuilder_ != null) { + return itemInfoBuilder_.getMessageOrBuilder(); + } else { + return itemInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.TattooInfo.getDefaultInstance() : itemInfo_; + } + } + /** + * .TattooInfo ItemInfo = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.TattooInfo, com.caliverse.admin.domain.RabbitMq.message.TattooInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.TattooInfoOrBuilder> + getItemInfoFieldBuilder() { + if (itemInfoBuilder_ == null) { + itemInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.TattooInfo, com.caliverse.admin.domain.RabbitMq.message.TattooInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.TattooInfoOrBuilder>( + getItemInfo(), + getParentForChildren(), + isClean()); + itemInfo_ = null; + } + return itemInfoBuilder_; + } + + private int isVisible_ ; + /** + * int32 isVisible = 2; + * @return The isVisible. + */ + @java.lang.Override + public int getIsVisible() { + return isVisible_; + } + /** + * int32 isVisible = 2; + * @param value The isVisible to set. + * @return This builder for chaining. + */ + public Builder setIsVisible(int value) { + + isVisible_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 isVisible = 2; + * @return This builder for chaining. + */ + public Builder clearIsVisible() { + bitField0_ = (bitField0_ & ~0x00000002); + isVisible_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:TattooSlotInfo) + } + + // @@protoc_insertion_point(class_scope:TattooSlotInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TattooSlotInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooSlotInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooSlotInfoOrBuilder.java new file mode 100644 index 0000000..099be8a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/TattooSlotInfoOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface TattooSlotInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:TattooSlotInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * .TattooInfo ItemInfo = 1; + * @return Whether the itemInfo field is set. + */ + boolean hasItemInfo(); + /** + * .TattooInfo ItemInfo = 1; + * @return The itemInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.TattooInfo getItemInfo(); + /** + * .TattooInfo ItemInfo = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.TattooInfoOrBuilder getItemInfoOrBuilder(); + + /** + * int32 isVisible = 2; + * @return The isVisible. + */ + int getIsVisible(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcAnchorInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcAnchorInfo.java new file mode 100644 index 0000000..14466bb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcAnchorInfo.java @@ -0,0 +1,1244 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgcAnchorInfo} + */ +public final class UgcAnchorInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgcAnchorInfo) + UgcAnchorInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgcAnchorInfo.newBuilder() to construct. + private UgcAnchorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgcAnchorInfo() { + anchorGuid_ = ""; + anchorType_ = ""; + entityGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgcAnchorInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcAnchorInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcAnchorInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.class, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.Builder.class); + } + + public static final int ANCHORGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object anchorGuid_ = ""; + /** + * string anchorGuid = 1; + * @return The anchorGuid. + */ + @java.lang.Override + public java.lang.String getAnchorGuid() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorGuid_ = s; + return s; + } + } + /** + * string anchorGuid = 1; + * @return The bytes for anchorGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAnchorGuidBytes() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ANCHORTYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object anchorType_ = ""; + /** + * string anchorType = 2; + * @return The anchorType. + */ + @java.lang.Override + public java.lang.String getAnchorType() { + java.lang.Object ref = anchorType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorType_ = s; + return s; + } + } + /** + * string anchorType = 2; + * @return The bytes for anchorType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAnchorTypeBytes() { + java.lang.Object ref = anchorType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TABLEID_FIELD_NUMBER = 3; + private int tableId_ = 0; + /** + * int32 tableId = 3; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + + public static final int ENTITYGUID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object entityGuid_ = ""; + /** + * string entityGuid = 4; + * @return The entityGuid. + */ + @java.lang.Override + public java.lang.String getEntityGuid() { + java.lang.Object ref = entityGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entityGuid_ = s; + return s; + } + } + /** + * string entityGuid = 4; + * @return The bytes for entityGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getEntityGuidBytes() { + java.lang.Object ref = entityGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + entityGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COORDINATE_FIELD_NUMBER = 5; + private com.caliverse.admin.domain.RabbitMq.message.Coordinate coordinate_; + /** + * .Coordinate coordinate = 5; + * @return Whether the coordinate field is set. + */ + @java.lang.Override + public boolean hasCoordinate() { + return coordinate_ != null; + } + /** + * .Coordinate coordinate = 5; + * @return The coordinate. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Coordinate getCoordinate() { + return coordinate_ == null ? com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance() : coordinate_; + } + /** + * .Coordinate coordinate = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder getCoordinateOrBuilder() { + return coordinate_ == null ? com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance() : coordinate_; + } + + public static final int ROTATION_FIELD_NUMBER = 6; + private com.caliverse.admin.domain.RabbitMq.message.Rotation rotation_; + /** + * .Rotation rotation = 6; + * @return Whether the rotation field is set. + */ + @java.lang.Override + public boolean hasRotation() { + return rotation_ != null; + } + /** + * .Rotation rotation = 6; + * @return The rotation. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Rotation getRotation() { + return rotation_ == null ? com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance() : rotation_; + } + /** + * .Rotation rotation = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder getRotationOrBuilder() { + return rotation_ == null ? com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance() : rotation_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, anchorGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, anchorType_); + } + if (tableId_ != 0) { + output.writeInt32(3, tableId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, entityGuid_); + } + if (coordinate_ != null) { + output.writeMessage(5, getCoordinate()); + } + if (rotation_ != null) { + output.writeMessage(6, getRotation()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, anchorGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, anchorType_); + } + if (tableId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, tableId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, entityGuid_); + } + if (coordinate_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCoordinate()); + } + if (rotation_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRotation()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo other = (com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo) obj; + + if (!getAnchorGuid() + .equals(other.getAnchorGuid())) return false; + if (!getAnchorType() + .equals(other.getAnchorType())) return false; + if (getTableId() + != other.getTableId()) return false; + if (!getEntityGuid() + .equals(other.getEntityGuid())) return false; + if (hasCoordinate() != other.hasCoordinate()) return false; + if (hasCoordinate()) { + if (!getCoordinate() + .equals(other.getCoordinate())) return false; + } + if (hasRotation() != other.hasRotation()) return false; + if (hasRotation()) { + if (!getRotation() + .equals(other.getRotation())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ANCHORGUID_FIELD_NUMBER; + hash = (53 * hash) + getAnchorGuid().hashCode(); + hash = (37 * hash) + ANCHORTYPE_FIELD_NUMBER; + hash = (53 * hash) + getAnchorType().hashCode(); + hash = (37 * hash) + TABLEID_FIELD_NUMBER; + hash = (53 * hash) + getTableId(); + hash = (37 * hash) + ENTITYGUID_FIELD_NUMBER; + hash = (53 * hash) + getEntityGuid().hashCode(); + if (hasCoordinate()) { + hash = (37 * hash) + COORDINATE_FIELD_NUMBER; + hash = (53 * hash) + getCoordinate().hashCode(); + } + if (hasRotation()) { + hash = (37 * hash) + ROTATION_FIELD_NUMBER; + hash = (53 * hash) + getRotation().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgcAnchorInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgcAnchorInfo) + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcAnchorInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcAnchorInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.class, com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + anchorGuid_ = ""; + anchorType_ = ""; + tableId_ = 0; + entityGuid_ = ""; + coordinate_ = null; + if (coordinateBuilder_ != null) { + coordinateBuilder_.dispose(); + coordinateBuilder_ = null; + } + rotation_ = null; + if (rotationBuilder_ != null) { + rotationBuilder_.dispose(); + rotationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcAnchorInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo build() { + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo result = new com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.anchorGuid_ = anchorGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.anchorType_ = anchorType_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.tableId_ = tableId_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.entityGuid_ = entityGuid_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.coordinate_ = coordinateBuilder_ == null + ? coordinate_ + : coordinateBuilder_.build(); + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.rotation_ = rotationBuilder_ == null + ? rotation_ + : rotationBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.getDefaultInstance()) return this; + if (!other.getAnchorGuid().isEmpty()) { + anchorGuid_ = other.anchorGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getAnchorType().isEmpty()) { + anchorType_ = other.anchorType_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getTableId() != 0) { + setTableId(other.getTableId()); + } + if (!other.getEntityGuid().isEmpty()) { + entityGuid_ = other.entityGuid_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasCoordinate()) { + mergeCoordinate(other.getCoordinate()); + } + if (other.hasRotation()) { + mergeRotation(other.getRotation()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + anchorGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + anchorType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + tableId_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + entityGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getCoordinateFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getRotationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object anchorGuid_ = ""; + /** + * string anchorGuid = 1; + * @return The anchorGuid. + */ + public java.lang.String getAnchorGuid() { + java.lang.Object ref = anchorGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string anchorGuid = 1; + * @return The bytes for anchorGuid. + */ + public com.google.protobuf.ByteString + getAnchorGuidBytes() { + java.lang.Object ref = anchorGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string anchorGuid = 1; + * @param value The anchorGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + anchorGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string anchorGuid = 1; + * @return This builder for chaining. + */ + public Builder clearAnchorGuid() { + anchorGuid_ = getDefaultInstance().getAnchorGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string anchorGuid = 1; + * @param value The bytes for anchorGuid to set. + * @return This builder for chaining. + */ + public Builder setAnchorGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + anchorGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object anchorType_ = ""; + /** + * string anchorType = 2; + * @return The anchorType. + */ + public java.lang.String getAnchorType() { + java.lang.Object ref = anchorType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + anchorType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string anchorType = 2; + * @return The bytes for anchorType. + */ + public com.google.protobuf.ByteString + getAnchorTypeBytes() { + java.lang.Object ref = anchorType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + anchorType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string anchorType = 2; + * @param value The anchorType to set. + * @return This builder for chaining. + */ + public Builder setAnchorType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + anchorType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string anchorType = 2; + * @return This builder for chaining. + */ + public Builder clearAnchorType() { + anchorType_ = getDefaultInstance().getAnchorType(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string anchorType = 2; + * @param value The bytes for anchorType to set. + * @return This builder for chaining. + */ + public Builder setAnchorTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + anchorType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int tableId_ ; + /** + * int32 tableId = 3; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + /** + * int32 tableId = 3; + * @param value The tableId to set. + * @return This builder for chaining. + */ + public Builder setTableId(int value) { + + tableId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 tableId = 3; + * @return This builder for chaining. + */ + public Builder clearTableId() { + bitField0_ = (bitField0_ & ~0x00000004); + tableId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object entityGuid_ = ""; + /** + * string entityGuid = 4; + * @return The entityGuid. + */ + public java.lang.String getEntityGuid() { + java.lang.Object ref = entityGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entityGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string entityGuid = 4; + * @return The bytes for entityGuid. + */ + public com.google.protobuf.ByteString + getEntityGuidBytes() { + java.lang.Object ref = entityGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + entityGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string entityGuid = 4; + * @param value The entityGuid to set. + * @return This builder for chaining. + */ + public Builder setEntityGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + entityGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string entityGuid = 4; + * @return This builder for chaining. + */ + public Builder clearEntityGuid() { + entityGuid_ = getDefaultInstance().getEntityGuid(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string entityGuid = 4; + * @param value The bytes for entityGuid to set. + * @return This builder for chaining. + */ + public Builder setEntityGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + entityGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.Coordinate coordinate_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Coordinate, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder, com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder> coordinateBuilder_; + /** + * .Coordinate coordinate = 5; + * @return Whether the coordinate field is set. + */ + public boolean hasCoordinate() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .Coordinate coordinate = 5; + * @return The coordinate. + */ + public com.caliverse.admin.domain.RabbitMq.message.Coordinate getCoordinate() { + if (coordinateBuilder_ == null) { + return coordinate_ == null ? com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance() : coordinate_; + } else { + return coordinateBuilder_.getMessage(); + } + } + /** + * .Coordinate coordinate = 5; + */ + public Builder setCoordinate(com.caliverse.admin.domain.RabbitMq.message.Coordinate value) { + if (coordinateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + coordinate_ = value; + } else { + coordinateBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .Coordinate coordinate = 5; + */ + public Builder setCoordinate( + com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder builderForValue) { + if (coordinateBuilder_ == null) { + coordinate_ = builderForValue.build(); + } else { + coordinateBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .Coordinate coordinate = 5; + */ + public Builder mergeCoordinate(com.caliverse.admin.domain.RabbitMq.message.Coordinate value) { + if (coordinateBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + coordinate_ != null && + coordinate_ != com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance()) { + getCoordinateBuilder().mergeFrom(value); + } else { + coordinate_ = value; + } + } else { + coordinateBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .Coordinate coordinate = 5; + */ + public Builder clearCoordinate() { + bitField0_ = (bitField0_ & ~0x00000010); + coordinate_ = null; + if (coordinateBuilder_ != null) { + coordinateBuilder_.dispose(); + coordinateBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Coordinate coordinate = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder getCoordinateBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getCoordinateFieldBuilder().getBuilder(); + } + /** + * .Coordinate coordinate = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder getCoordinateOrBuilder() { + if (coordinateBuilder_ != null) { + return coordinateBuilder_.getMessageOrBuilder(); + } else { + return coordinate_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance() : coordinate_; + } + } + /** + * .Coordinate coordinate = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Coordinate, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder, com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder> + getCoordinateFieldBuilder() { + if (coordinateBuilder_ == null) { + coordinateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Coordinate, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder, com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder>( + getCoordinate(), + getParentForChildren(), + isClean()); + coordinate_ = null; + } + return coordinateBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.Rotation rotation_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Rotation, com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder, com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder> rotationBuilder_; + /** + * .Rotation rotation = 6; + * @return Whether the rotation field is set. + */ + public boolean hasRotation() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * .Rotation rotation = 6; + * @return The rotation. + */ + public com.caliverse.admin.domain.RabbitMq.message.Rotation getRotation() { + if (rotationBuilder_ == null) { + return rotation_ == null ? com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance() : rotation_; + } else { + return rotationBuilder_.getMessage(); + } + } + /** + * .Rotation rotation = 6; + */ + public Builder setRotation(com.caliverse.admin.domain.RabbitMq.message.Rotation value) { + if (rotationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rotation_ = value; + } else { + rotationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .Rotation rotation = 6; + */ + public Builder setRotation( + com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder builderForValue) { + if (rotationBuilder_ == null) { + rotation_ = builderForValue.build(); + } else { + rotationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .Rotation rotation = 6; + */ + public Builder mergeRotation(com.caliverse.admin.domain.RabbitMq.message.Rotation value) { + if (rotationBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + rotation_ != null && + rotation_ != com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance()) { + getRotationBuilder().mergeFrom(value); + } else { + rotation_ = value; + } + } else { + rotationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .Rotation rotation = 6; + */ + public Builder clearRotation() { + bitField0_ = (bitField0_ & ~0x00000020); + rotation_ = null; + if (rotationBuilder_ != null) { + rotationBuilder_.dispose(); + rotationBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Rotation rotation = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder getRotationBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getRotationFieldBuilder().getBuilder(); + } + /** + * .Rotation rotation = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder getRotationOrBuilder() { + if (rotationBuilder_ != null) { + return rotationBuilder_.getMessageOrBuilder(); + } else { + return rotation_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance() : rotation_; + } + } + /** + * .Rotation rotation = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Rotation, com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder, com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder> + getRotationFieldBuilder() { + if (rotationBuilder_ == null) { + rotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Rotation, com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder, com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder>( + getRotation(), + getParentForChildren(), + isClean()); + rotation_ = null; + } + return rotationBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgcAnchorInfo) + } + + // @@protoc_insertion_point(class_scope:UgcAnchorInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgcAnchorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcAnchorInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcAnchorInfoOrBuilder.java new file mode 100644 index 0000000..5cfa12a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcAnchorInfoOrBuilder.java @@ -0,0 +1,81 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgcAnchorInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgcAnchorInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string anchorGuid = 1; + * @return The anchorGuid. + */ + java.lang.String getAnchorGuid(); + /** + * string anchorGuid = 1; + * @return The bytes for anchorGuid. + */ + com.google.protobuf.ByteString + getAnchorGuidBytes(); + + /** + * string anchorType = 2; + * @return The anchorType. + */ + java.lang.String getAnchorType(); + /** + * string anchorType = 2; + * @return The bytes for anchorType. + */ + com.google.protobuf.ByteString + getAnchorTypeBytes(); + + /** + * int32 tableId = 3; + * @return The tableId. + */ + int getTableId(); + + /** + * string entityGuid = 4; + * @return The entityGuid. + */ + java.lang.String getEntityGuid(); + /** + * string entityGuid = 4; + * @return The bytes for entityGuid. + */ + com.google.protobuf.ByteString + getEntityGuidBytes(); + + /** + * .Coordinate coordinate = 5; + * @return Whether the coordinate field is set. + */ + boolean hasCoordinate(); + /** + * .Coordinate coordinate = 5; + * @return The coordinate. + */ + com.caliverse.admin.domain.RabbitMq.message.Coordinate getCoordinate(); + /** + * .Coordinate coordinate = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder getCoordinateOrBuilder(); + + /** + * .Rotation rotation = 6; + * @return Whether the rotation field is set. + */ + boolean hasRotation(); + /** + * .Rotation rotation = 6; + * @return The rotation. + */ + com.caliverse.admin.domain.RabbitMq.message.Rotation getRotation(); + /** + * .Rotation rotation = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder getRotationOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcFrameworkInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcFrameworkInfo.java new file mode 100644 index 0000000..24b1674 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcFrameworkInfo.java @@ -0,0 +1,1322 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgcFrameworkInfo} + */ +public final class UgcFrameworkInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgcFrameworkInfo) + UgcFrameworkInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgcFrameworkInfo.newBuilder() to construct. + private UgcFrameworkInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgcFrameworkInfo() { + ugcFrameworkMaterialInfos_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgcFrameworkInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcFrameworkInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcFrameworkInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.class, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.Builder.class); + } + + public static final int INTERIORITEMID_FIELD_NUMBER = 1; + private int interiorItemId_ = 0; + /** + * int32 interiorItemId = 1; + * @return The interiorItemId. + */ + @java.lang.Override + public int getInteriorItemId() { + return interiorItemId_; + } + + public static final int FLOOR_FIELD_NUMBER = 2; + private int floor_ = 0; + /** + * int32 floor = 2; + * @return The floor. + */ + @java.lang.Override + public int getFloor() { + return floor_; + } + + public static final int COORDINATE_FIELD_NUMBER = 3; + private com.caliverse.admin.domain.RabbitMq.message.Coordinate coordinate_; + /** + * .Coordinate coordinate = 3; + * @return Whether the coordinate field is set. + */ + @java.lang.Override + public boolean hasCoordinate() { + return coordinate_ != null; + } + /** + * .Coordinate coordinate = 3; + * @return The coordinate. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Coordinate getCoordinate() { + return coordinate_ == null ? com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance() : coordinate_; + } + /** + * .Coordinate coordinate = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder getCoordinateOrBuilder() { + return coordinate_ == null ? com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance() : coordinate_; + } + + public static final int ROTATION_FIELD_NUMBER = 4; + private com.caliverse.admin.domain.RabbitMq.message.Rotation rotation_; + /** + * .Rotation rotation = 4; + * @return Whether the rotation field is set. + */ + @java.lang.Override + public boolean hasRotation() { + return rotation_ != null; + } + /** + * .Rotation rotation = 4; + * @return The rotation. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Rotation getRotation() { + return rotation_ == null ? com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance() : rotation_; + } + /** + * .Rotation rotation = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder getRotationOrBuilder() { + return rotation_ == null ? com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance() : rotation_; + } + + public static final int MATERIALID_FIELD_NUMBER = 5; + private int materialId_ = 0; + /** + * int32 materialId = 5; + * @return The materialId. + */ + @java.lang.Override + public int getMaterialId() { + return materialId_; + } + + public static final int UGCFRAMEWORKMATERIALINFOS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private java.util.List ugcFrameworkMaterialInfos_; + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + @java.lang.Override + public java.util.List getUgcFrameworkMaterialInfosList() { + return ugcFrameworkMaterialInfos_; + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + @java.lang.Override + public java.util.List + getUgcFrameworkMaterialInfosOrBuilderList() { + return ugcFrameworkMaterialInfos_; + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + @java.lang.Override + public int getUgcFrameworkMaterialInfosCount() { + return ugcFrameworkMaterialInfos_.size(); + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo getUgcFrameworkMaterialInfos(int index) { + return ugcFrameworkMaterialInfos_.get(index); + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfoOrBuilder getUgcFrameworkMaterialInfosOrBuilder( + int index) { + return ugcFrameworkMaterialInfos_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (interiorItemId_ != 0) { + output.writeInt32(1, interiorItemId_); + } + if (floor_ != 0) { + output.writeInt32(2, floor_); + } + if (coordinate_ != null) { + output.writeMessage(3, getCoordinate()); + } + if (rotation_ != null) { + output.writeMessage(4, getRotation()); + } + if (materialId_ != 0) { + output.writeInt32(5, materialId_); + } + for (int i = 0; i < ugcFrameworkMaterialInfos_.size(); i++) { + output.writeMessage(6, ugcFrameworkMaterialInfos_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (interiorItemId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, interiorItemId_); + } + if (floor_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, floor_); + } + if (coordinate_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCoordinate()); + } + if (rotation_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRotation()); + } + if (materialId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, materialId_); + } + for (int i = 0; i < ugcFrameworkMaterialInfos_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, ugcFrameworkMaterialInfos_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo other = (com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo) obj; + + if (getInteriorItemId() + != other.getInteriorItemId()) return false; + if (getFloor() + != other.getFloor()) return false; + if (hasCoordinate() != other.hasCoordinate()) return false; + if (hasCoordinate()) { + if (!getCoordinate() + .equals(other.getCoordinate())) return false; + } + if (hasRotation() != other.hasRotation()) return false; + if (hasRotation()) { + if (!getRotation() + .equals(other.getRotation())) return false; + } + if (getMaterialId() + != other.getMaterialId()) return false; + if (!getUgcFrameworkMaterialInfosList() + .equals(other.getUgcFrameworkMaterialInfosList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INTERIORITEMID_FIELD_NUMBER; + hash = (53 * hash) + getInteriorItemId(); + hash = (37 * hash) + FLOOR_FIELD_NUMBER; + hash = (53 * hash) + getFloor(); + if (hasCoordinate()) { + hash = (37 * hash) + COORDINATE_FIELD_NUMBER; + hash = (53 * hash) + getCoordinate().hashCode(); + } + if (hasRotation()) { + hash = (37 * hash) + ROTATION_FIELD_NUMBER; + hash = (53 * hash) + getRotation().hashCode(); + } + hash = (37 * hash) + MATERIALID_FIELD_NUMBER; + hash = (53 * hash) + getMaterialId(); + if (getUgcFrameworkMaterialInfosCount() > 0) { + hash = (37 * hash) + UGCFRAMEWORKMATERIALINFOS_FIELD_NUMBER; + hash = (53 * hash) + getUgcFrameworkMaterialInfosList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgcFrameworkInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgcFrameworkInfo) + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcFrameworkInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcFrameworkInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.class, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + interiorItemId_ = 0; + floor_ = 0; + coordinate_ = null; + if (coordinateBuilder_ != null) { + coordinateBuilder_.dispose(); + coordinateBuilder_ = null; + } + rotation_ = null; + if (rotationBuilder_ != null) { + rotationBuilder_.dispose(); + rotationBuilder_ = null; + } + materialId_ = 0; + if (ugcFrameworkMaterialInfosBuilder_ == null) { + ugcFrameworkMaterialInfos_ = java.util.Collections.emptyList(); + } else { + ugcFrameworkMaterialInfos_ = null; + ugcFrameworkMaterialInfosBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000020); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcFrameworkInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo build() { + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo result = new com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo result) { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + ugcFrameworkMaterialInfos_ = java.util.Collections.unmodifiableList(ugcFrameworkMaterialInfos_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.ugcFrameworkMaterialInfos_ = ugcFrameworkMaterialInfos_; + } else { + result.ugcFrameworkMaterialInfos_ = ugcFrameworkMaterialInfosBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.interiorItemId_ = interiorItemId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.floor_ = floor_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.coordinate_ = coordinateBuilder_ == null + ? coordinate_ + : coordinateBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.rotation_ = rotationBuilder_ == null + ? rotation_ + : rotationBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.materialId_ = materialId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo.getDefaultInstance()) return this; + if (other.getInteriorItemId() != 0) { + setInteriorItemId(other.getInteriorItemId()); + } + if (other.getFloor() != 0) { + setFloor(other.getFloor()); + } + if (other.hasCoordinate()) { + mergeCoordinate(other.getCoordinate()); + } + if (other.hasRotation()) { + mergeRotation(other.getRotation()); + } + if (other.getMaterialId() != 0) { + setMaterialId(other.getMaterialId()); + } + if (ugcFrameworkMaterialInfosBuilder_ == null) { + if (!other.ugcFrameworkMaterialInfos_.isEmpty()) { + if (ugcFrameworkMaterialInfos_.isEmpty()) { + ugcFrameworkMaterialInfos_ = other.ugcFrameworkMaterialInfos_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureUgcFrameworkMaterialInfosIsMutable(); + ugcFrameworkMaterialInfos_.addAll(other.ugcFrameworkMaterialInfos_); + } + onChanged(); + } + } else { + if (!other.ugcFrameworkMaterialInfos_.isEmpty()) { + if (ugcFrameworkMaterialInfosBuilder_.isEmpty()) { + ugcFrameworkMaterialInfosBuilder_.dispose(); + ugcFrameworkMaterialInfosBuilder_ = null; + ugcFrameworkMaterialInfos_ = other.ugcFrameworkMaterialInfos_; + bitField0_ = (bitField0_ & ~0x00000020); + ugcFrameworkMaterialInfosBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUgcFrameworkMaterialInfosFieldBuilder() : null; + } else { + ugcFrameworkMaterialInfosBuilder_.addAllMessages(other.ugcFrameworkMaterialInfos_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + interiorItemId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + floor_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getCoordinateFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getRotationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + materialId_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.parser(), + extensionRegistry); + if (ugcFrameworkMaterialInfosBuilder_ == null) { + ensureUgcFrameworkMaterialInfosIsMutable(); + ugcFrameworkMaterialInfos_.add(m); + } else { + ugcFrameworkMaterialInfosBuilder_.addMessage(m); + } + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int interiorItemId_ ; + /** + * int32 interiorItemId = 1; + * @return The interiorItemId. + */ + @java.lang.Override + public int getInteriorItemId() { + return interiorItemId_; + } + /** + * int32 interiorItemId = 1; + * @param value The interiorItemId to set. + * @return This builder for chaining. + */ + public Builder setInteriorItemId(int value) { + + interiorItemId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 interiorItemId = 1; + * @return This builder for chaining. + */ + public Builder clearInteriorItemId() { + bitField0_ = (bitField0_ & ~0x00000001); + interiorItemId_ = 0; + onChanged(); + return this; + } + + private int floor_ ; + /** + * int32 floor = 2; + * @return The floor. + */ + @java.lang.Override + public int getFloor() { + return floor_; + } + /** + * int32 floor = 2; + * @param value The floor to set. + * @return This builder for chaining. + */ + public Builder setFloor(int value) { + + floor_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 floor = 2; + * @return This builder for chaining. + */ + public Builder clearFloor() { + bitField0_ = (bitField0_ & ~0x00000002); + floor_ = 0; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.Coordinate coordinate_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Coordinate, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder, com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder> coordinateBuilder_; + /** + * .Coordinate coordinate = 3; + * @return Whether the coordinate field is set. + */ + public boolean hasCoordinate() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .Coordinate coordinate = 3; + * @return The coordinate. + */ + public com.caliverse.admin.domain.RabbitMq.message.Coordinate getCoordinate() { + if (coordinateBuilder_ == null) { + return coordinate_ == null ? com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance() : coordinate_; + } else { + return coordinateBuilder_.getMessage(); + } + } + /** + * .Coordinate coordinate = 3; + */ + public Builder setCoordinate(com.caliverse.admin.domain.RabbitMq.message.Coordinate value) { + if (coordinateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + coordinate_ = value; + } else { + coordinateBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .Coordinate coordinate = 3; + */ + public Builder setCoordinate( + com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder builderForValue) { + if (coordinateBuilder_ == null) { + coordinate_ = builderForValue.build(); + } else { + coordinateBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .Coordinate coordinate = 3; + */ + public Builder mergeCoordinate(com.caliverse.admin.domain.RabbitMq.message.Coordinate value) { + if (coordinateBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + coordinate_ != null && + coordinate_ != com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance()) { + getCoordinateBuilder().mergeFrom(value); + } else { + coordinate_ = value; + } + } else { + coordinateBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .Coordinate coordinate = 3; + */ + public Builder clearCoordinate() { + bitField0_ = (bitField0_ & ~0x00000004); + coordinate_ = null; + if (coordinateBuilder_ != null) { + coordinateBuilder_.dispose(); + coordinateBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Coordinate coordinate = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder getCoordinateBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getCoordinateFieldBuilder().getBuilder(); + } + /** + * .Coordinate coordinate = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder getCoordinateOrBuilder() { + if (coordinateBuilder_ != null) { + return coordinateBuilder_.getMessageOrBuilder(); + } else { + return coordinate_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance() : coordinate_; + } + } + /** + * .Coordinate coordinate = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Coordinate, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder, com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder> + getCoordinateFieldBuilder() { + if (coordinateBuilder_ == null) { + coordinateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Coordinate, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder, com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder>( + getCoordinate(), + getParentForChildren(), + isClean()); + coordinate_ = null; + } + return coordinateBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.Rotation rotation_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Rotation, com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder, com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder> rotationBuilder_; + /** + * .Rotation rotation = 4; + * @return Whether the rotation field is set. + */ + public boolean hasRotation() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .Rotation rotation = 4; + * @return The rotation. + */ + public com.caliverse.admin.domain.RabbitMq.message.Rotation getRotation() { + if (rotationBuilder_ == null) { + return rotation_ == null ? com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance() : rotation_; + } else { + return rotationBuilder_.getMessage(); + } + } + /** + * .Rotation rotation = 4; + */ + public Builder setRotation(com.caliverse.admin.domain.RabbitMq.message.Rotation value) { + if (rotationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rotation_ = value; + } else { + rotationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .Rotation rotation = 4; + */ + public Builder setRotation( + com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder builderForValue) { + if (rotationBuilder_ == null) { + rotation_ = builderForValue.build(); + } else { + rotationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .Rotation rotation = 4; + */ + public Builder mergeRotation(com.caliverse.admin.domain.RabbitMq.message.Rotation value) { + if (rotationBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + rotation_ != null && + rotation_ != com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance()) { + getRotationBuilder().mergeFrom(value); + } else { + rotation_ = value; + } + } else { + rotationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .Rotation rotation = 4; + */ + public Builder clearRotation() { + bitField0_ = (bitField0_ & ~0x00000008); + rotation_ = null; + if (rotationBuilder_ != null) { + rotationBuilder_.dispose(); + rotationBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Rotation rotation = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder getRotationBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getRotationFieldBuilder().getBuilder(); + } + /** + * .Rotation rotation = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder getRotationOrBuilder() { + if (rotationBuilder_ != null) { + return rotationBuilder_.getMessageOrBuilder(); + } else { + return rotation_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance() : rotation_; + } + } + /** + * .Rotation rotation = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Rotation, com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder, com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder> + getRotationFieldBuilder() { + if (rotationBuilder_ == null) { + rotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Rotation, com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder, com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder>( + getRotation(), + getParentForChildren(), + isClean()); + rotation_ = null; + } + return rotationBuilder_; + } + + private int materialId_ ; + /** + * int32 materialId = 5; + * @return The materialId. + */ + @java.lang.Override + public int getMaterialId() { + return materialId_; + } + /** + * int32 materialId = 5; + * @param value The materialId to set. + * @return This builder for chaining. + */ + public Builder setMaterialId(int value) { + + materialId_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * int32 materialId = 5; + * @return This builder for chaining. + */ + public Builder clearMaterialId() { + bitField0_ = (bitField0_ & ~0x00000010); + materialId_ = 0; + onChanged(); + return this; + } + + private java.util.List ugcFrameworkMaterialInfos_ = + java.util.Collections.emptyList(); + private void ensureUgcFrameworkMaterialInfosIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + ugcFrameworkMaterialInfos_ = new java.util.ArrayList(ugcFrameworkMaterialInfos_); + bitField0_ |= 0x00000020; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfoOrBuilder> ugcFrameworkMaterialInfosBuilder_; + + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public java.util.List getUgcFrameworkMaterialInfosList() { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + return java.util.Collections.unmodifiableList(ugcFrameworkMaterialInfos_); + } else { + return ugcFrameworkMaterialInfosBuilder_.getMessageList(); + } + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public int getUgcFrameworkMaterialInfosCount() { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + return ugcFrameworkMaterialInfos_.size(); + } else { + return ugcFrameworkMaterialInfosBuilder_.getCount(); + } + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo getUgcFrameworkMaterialInfos(int index) { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + return ugcFrameworkMaterialInfos_.get(index); + } else { + return ugcFrameworkMaterialInfosBuilder_.getMessage(index); + } + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public Builder setUgcFrameworkMaterialInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo value) { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUgcFrameworkMaterialInfosIsMutable(); + ugcFrameworkMaterialInfos_.set(index, value); + onChanged(); + } else { + ugcFrameworkMaterialInfosBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public Builder setUgcFrameworkMaterialInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.Builder builderForValue) { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + ensureUgcFrameworkMaterialInfosIsMutable(); + ugcFrameworkMaterialInfos_.set(index, builderForValue.build()); + onChanged(); + } else { + ugcFrameworkMaterialInfosBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public Builder addUgcFrameworkMaterialInfos(com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo value) { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUgcFrameworkMaterialInfosIsMutable(); + ugcFrameworkMaterialInfos_.add(value); + onChanged(); + } else { + ugcFrameworkMaterialInfosBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public Builder addUgcFrameworkMaterialInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo value) { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUgcFrameworkMaterialInfosIsMutable(); + ugcFrameworkMaterialInfos_.add(index, value); + onChanged(); + } else { + ugcFrameworkMaterialInfosBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public Builder addUgcFrameworkMaterialInfos( + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.Builder builderForValue) { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + ensureUgcFrameworkMaterialInfosIsMutable(); + ugcFrameworkMaterialInfos_.add(builderForValue.build()); + onChanged(); + } else { + ugcFrameworkMaterialInfosBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public Builder addUgcFrameworkMaterialInfos( + int index, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.Builder builderForValue) { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + ensureUgcFrameworkMaterialInfosIsMutable(); + ugcFrameworkMaterialInfos_.add(index, builderForValue.build()); + onChanged(); + } else { + ugcFrameworkMaterialInfosBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public Builder addAllUgcFrameworkMaterialInfos( + java.lang.Iterable values) { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + ensureUgcFrameworkMaterialInfosIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ugcFrameworkMaterialInfos_); + onChanged(); + } else { + ugcFrameworkMaterialInfosBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public Builder clearUgcFrameworkMaterialInfos() { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + ugcFrameworkMaterialInfos_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + ugcFrameworkMaterialInfosBuilder_.clear(); + } + return this; + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public Builder removeUgcFrameworkMaterialInfos(int index) { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + ensureUgcFrameworkMaterialInfosIsMutable(); + ugcFrameworkMaterialInfos_.remove(index); + onChanged(); + } else { + ugcFrameworkMaterialInfosBuilder_.remove(index); + } + return this; + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.Builder getUgcFrameworkMaterialInfosBuilder( + int index) { + return getUgcFrameworkMaterialInfosFieldBuilder().getBuilder(index); + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfoOrBuilder getUgcFrameworkMaterialInfosOrBuilder( + int index) { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + return ugcFrameworkMaterialInfos_.get(index); } else { + return ugcFrameworkMaterialInfosBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public java.util.List + getUgcFrameworkMaterialInfosOrBuilderList() { + if (ugcFrameworkMaterialInfosBuilder_ != null) { + return ugcFrameworkMaterialInfosBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(ugcFrameworkMaterialInfos_); + } + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.Builder addUgcFrameworkMaterialInfosBuilder() { + return getUgcFrameworkMaterialInfosFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.getDefaultInstance()); + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.Builder addUgcFrameworkMaterialInfosBuilder( + int index) { + return getUgcFrameworkMaterialInfosFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.getDefaultInstance()); + } + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + public java.util.List + getUgcFrameworkMaterialInfosBuilderList() { + return getUgcFrameworkMaterialInfosFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfoOrBuilder> + getUgcFrameworkMaterialInfosFieldBuilder() { + if (ugcFrameworkMaterialInfosBuilder_ == null) { + ugcFrameworkMaterialInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfoOrBuilder>( + ugcFrameworkMaterialInfos_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + ugcFrameworkMaterialInfos_ = null; + } + return ugcFrameworkMaterialInfosBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgcFrameworkInfo) + } + + // @@protoc_insertion_point(class_scope:UgcFrameworkInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgcFrameworkInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcFrameworkInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcFrameworkInfoOrBuilder.java new file mode 100644 index 0000000..5dc614b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcFrameworkInfoOrBuilder.java @@ -0,0 +1,81 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgcFrameworkInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgcFrameworkInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 interiorItemId = 1; + * @return The interiorItemId. + */ + int getInteriorItemId(); + + /** + * int32 floor = 2; + * @return The floor. + */ + int getFloor(); + + /** + * .Coordinate coordinate = 3; + * @return Whether the coordinate field is set. + */ + boolean hasCoordinate(); + /** + * .Coordinate coordinate = 3; + * @return The coordinate. + */ + com.caliverse.admin.domain.RabbitMq.message.Coordinate getCoordinate(); + /** + * .Coordinate coordinate = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder getCoordinateOrBuilder(); + + /** + * .Rotation rotation = 4; + * @return Whether the rotation field is set. + */ + boolean hasRotation(); + /** + * .Rotation rotation = 4; + * @return The rotation. + */ + com.caliverse.admin.domain.RabbitMq.message.Rotation getRotation(); + /** + * .Rotation rotation = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder getRotationOrBuilder(); + + /** + * int32 materialId = 5; + * @return The materialId. + */ + int getMaterialId(); + + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + java.util.List + getUgcFrameworkMaterialInfosList(); + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo getUgcFrameworkMaterialInfos(int index); + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + int getUgcFrameworkMaterialInfosCount(); + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + java.util.List + getUgcFrameworkMaterialInfosOrBuilderList(); + /** + * repeated .UgcFrameworkMaterialInfo UgcFrameworkMaterialInfos = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfoOrBuilder getUgcFrameworkMaterialInfosOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcFrameworkMaterialInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcFrameworkMaterialInfo.java new file mode 100644 index 0000000..cc50097 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcFrameworkMaterialInfo.java @@ -0,0 +1,1153 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgcFrameworkMaterialInfo} + */ +public final class UgcFrameworkMaterialInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgcFrameworkMaterialInfo) + UgcFrameworkMaterialInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgcFrameworkMaterialInfo.newBuilder() to construct. + private UgcFrameworkMaterialInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgcFrameworkMaterialInfo() { + type_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgcFrameworkMaterialInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcFrameworkMaterialInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcFrameworkMaterialInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.class, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.Builder.class); + } + + public static final int TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object type_ = ""; + /** + * string type = 1; + * @return The type. + */ + @java.lang.Override + public java.lang.String getType() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } + } + /** + * string type = 1; + * @return The bytes for type. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MATERIALID_FIELD_NUMBER = 2; + private int materialId_ = 0; + /** + * int32 materialId = 2; + * @return The materialId. + */ + @java.lang.Override + public int getMaterialId() { + return materialId_; + } + + public static final int COLOR_MASK_R_FIELD_NUMBER = 3; + private com.caliverse.admin.domain.RabbitMq.message.Color colorMaskR_; + /** + * .Color color_mask_r = 3; + * @return Whether the colorMaskR field is set. + */ + @java.lang.Override + public boolean hasColorMaskR() { + return colorMaskR_ != null; + } + /** + * .Color color_mask_r = 3; + * @return The colorMaskR. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Color getColorMaskR() { + return colorMaskR_ == null ? com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance() : colorMaskR_; + } + /** + * .Color color_mask_r = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder getColorMaskROrBuilder() { + return colorMaskR_ == null ? com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance() : colorMaskR_; + } + + public static final int COLOR_MASK_G_FIELD_NUMBER = 4; + private com.caliverse.admin.domain.RabbitMq.message.Color colorMaskG_; + /** + * .Color color_mask_g = 4; + * @return Whether the colorMaskG field is set. + */ + @java.lang.Override + public boolean hasColorMaskG() { + return colorMaskG_ != null; + } + /** + * .Color color_mask_g = 4; + * @return The colorMaskG. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Color getColorMaskG() { + return colorMaskG_ == null ? com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance() : colorMaskG_; + } + /** + * .Color color_mask_g = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder getColorMaskGOrBuilder() { + return colorMaskG_ == null ? com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance() : colorMaskG_; + } + + public static final int COLOR_MASK_B_FIELD_NUMBER = 5; + private com.caliverse.admin.domain.RabbitMq.message.Color colorMaskB_; + /** + * .Color color_mask_b = 5; + * @return Whether the colorMaskB field is set. + */ + @java.lang.Override + public boolean hasColorMaskB() { + return colorMaskB_ != null; + } + /** + * .Color color_mask_b = 5; + * @return The colorMaskB. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Color getColorMaskB() { + return colorMaskB_ == null ? com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance() : colorMaskB_; + } + /** + * .Color color_mask_b = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder getColorMaskBOrBuilder() { + return colorMaskB_ == null ? com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance() : colorMaskB_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); + } + if (materialId_ != 0) { + output.writeInt32(2, materialId_); + } + if (colorMaskR_ != null) { + output.writeMessage(3, getColorMaskR()); + } + if (colorMaskG_ != null) { + output.writeMessage(4, getColorMaskG()); + } + if (colorMaskB_ != null) { + output.writeMessage(5, getColorMaskB()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); + } + if (materialId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, materialId_); + } + if (colorMaskR_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getColorMaskR()); + } + if (colorMaskG_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getColorMaskG()); + } + if (colorMaskB_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getColorMaskB()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo other = (com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo) obj; + + if (!getType() + .equals(other.getType())) return false; + if (getMaterialId() + != other.getMaterialId()) return false; + if (hasColorMaskR() != other.hasColorMaskR()) return false; + if (hasColorMaskR()) { + if (!getColorMaskR() + .equals(other.getColorMaskR())) return false; + } + if (hasColorMaskG() != other.hasColorMaskG()) return false; + if (hasColorMaskG()) { + if (!getColorMaskG() + .equals(other.getColorMaskG())) return false; + } + if (hasColorMaskB() != other.hasColorMaskB()) return false; + if (hasColorMaskB()) { + if (!getColorMaskB() + .equals(other.getColorMaskB())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType().hashCode(); + hash = (37 * hash) + MATERIALID_FIELD_NUMBER; + hash = (53 * hash) + getMaterialId(); + if (hasColorMaskR()) { + hash = (37 * hash) + COLOR_MASK_R_FIELD_NUMBER; + hash = (53 * hash) + getColorMaskR().hashCode(); + } + if (hasColorMaskG()) { + hash = (37 * hash) + COLOR_MASK_G_FIELD_NUMBER; + hash = (53 * hash) + getColorMaskG().hashCode(); + } + if (hasColorMaskB()) { + hash = (37 * hash) + COLOR_MASK_B_FIELD_NUMBER; + hash = (53 * hash) + getColorMaskB().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgcFrameworkMaterialInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgcFrameworkMaterialInfo) + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcFrameworkMaterialInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcFrameworkMaterialInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.class, com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + type_ = ""; + materialId_ = 0; + colorMaskR_ = null; + if (colorMaskRBuilder_ != null) { + colorMaskRBuilder_.dispose(); + colorMaskRBuilder_ = null; + } + colorMaskG_ = null; + if (colorMaskGBuilder_ != null) { + colorMaskGBuilder_.dispose(); + colorMaskGBuilder_ = null; + } + colorMaskB_ = null; + if (colorMaskBBuilder_ != null) { + colorMaskBBuilder_.dispose(); + colorMaskBBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UgcFrameworkMaterialInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo build() { + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo result = new com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.type_ = type_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.materialId_ = materialId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.colorMaskR_ = colorMaskRBuilder_ == null + ? colorMaskR_ + : colorMaskRBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.colorMaskG_ = colorMaskGBuilder_ == null + ? colorMaskG_ + : colorMaskGBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.colorMaskB_ = colorMaskBBuilder_ == null + ? colorMaskB_ + : colorMaskBBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo.getDefaultInstance()) return this; + if (!other.getType().isEmpty()) { + type_ = other.type_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getMaterialId() != 0) { + setMaterialId(other.getMaterialId()); + } + if (other.hasColorMaskR()) { + mergeColorMaskR(other.getColorMaskR()); + } + if (other.hasColorMaskG()) { + mergeColorMaskG(other.getColorMaskG()); + } + if (other.hasColorMaskB()) { + mergeColorMaskB(other.getColorMaskB()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + materialId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getColorMaskRFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getColorMaskGFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getColorMaskBFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object type_ = ""; + /** + * string type = 1; + * @return The type. + */ + public java.lang.String getType() { + java.lang.Object ref = type_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string type = 1; + * @return The bytes for type. + */ + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string type = 1; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string type = 1; + * @return This builder for chaining. + */ + public Builder clearType() { + type_ = getDefaultInstance().getType(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string type = 1; + * @param value The bytes for type to set. + * @return This builder for chaining. + */ + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int materialId_ ; + /** + * int32 materialId = 2; + * @return The materialId. + */ + @java.lang.Override + public int getMaterialId() { + return materialId_; + } + /** + * int32 materialId = 2; + * @param value The materialId to set. + * @return This builder for chaining. + */ + public Builder setMaterialId(int value) { + + materialId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 materialId = 2; + * @return This builder for chaining. + */ + public Builder clearMaterialId() { + bitField0_ = (bitField0_ & ~0x00000002); + materialId_ = 0; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.Color colorMaskR_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Color, com.caliverse.admin.domain.RabbitMq.message.Color.Builder, com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder> colorMaskRBuilder_; + /** + * .Color color_mask_r = 3; + * @return Whether the colorMaskR field is set. + */ + public boolean hasColorMaskR() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .Color color_mask_r = 3; + * @return The colorMaskR. + */ + public com.caliverse.admin.domain.RabbitMq.message.Color getColorMaskR() { + if (colorMaskRBuilder_ == null) { + return colorMaskR_ == null ? com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance() : colorMaskR_; + } else { + return colorMaskRBuilder_.getMessage(); + } + } + /** + * .Color color_mask_r = 3; + */ + public Builder setColorMaskR(com.caliverse.admin.domain.RabbitMq.message.Color value) { + if (colorMaskRBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + colorMaskR_ = value; + } else { + colorMaskRBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .Color color_mask_r = 3; + */ + public Builder setColorMaskR( + com.caliverse.admin.domain.RabbitMq.message.Color.Builder builderForValue) { + if (colorMaskRBuilder_ == null) { + colorMaskR_ = builderForValue.build(); + } else { + colorMaskRBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .Color color_mask_r = 3; + */ + public Builder mergeColorMaskR(com.caliverse.admin.domain.RabbitMq.message.Color value) { + if (colorMaskRBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + colorMaskR_ != null && + colorMaskR_ != com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance()) { + getColorMaskRBuilder().mergeFrom(value); + } else { + colorMaskR_ = value; + } + } else { + colorMaskRBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .Color color_mask_r = 3; + */ + public Builder clearColorMaskR() { + bitField0_ = (bitField0_ & ~0x00000004); + colorMaskR_ = null; + if (colorMaskRBuilder_ != null) { + colorMaskRBuilder_.dispose(); + colorMaskRBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Color color_mask_r = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.Color.Builder getColorMaskRBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getColorMaskRFieldBuilder().getBuilder(); + } + /** + * .Color color_mask_r = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder getColorMaskROrBuilder() { + if (colorMaskRBuilder_ != null) { + return colorMaskRBuilder_.getMessageOrBuilder(); + } else { + return colorMaskR_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance() : colorMaskR_; + } + } + /** + * .Color color_mask_r = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Color, com.caliverse.admin.domain.RabbitMq.message.Color.Builder, com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder> + getColorMaskRFieldBuilder() { + if (colorMaskRBuilder_ == null) { + colorMaskRBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Color, com.caliverse.admin.domain.RabbitMq.message.Color.Builder, com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder>( + getColorMaskR(), + getParentForChildren(), + isClean()); + colorMaskR_ = null; + } + return colorMaskRBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.Color colorMaskG_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Color, com.caliverse.admin.domain.RabbitMq.message.Color.Builder, com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder> colorMaskGBuilder_; + /** + * .Color color_mask_g = 4; + * @return Whether the colorMaskG field is set. + */ + public boolean hasColorMaskG() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * .Color color_mask_g = 4; + * @return The colorMaskG. + */ + public com.caliverse.admin.domain.RabbitMq.message.Color getColorMaskG() { + if (colorMaskGBuilder_ == null) { + return colorMaskG_ == null ? com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance() : colorMaskG_; + } else { + return colorMaskGBuilder_.getMessage(); + } + } + /** + * .Color color_mask_g = 4; + */ + public Builder setColorMaskG(com.caliverse.admin.domain.RabbitMq.message.Color value) { + if (colorMaskGBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + colorMaskG_ = value; + } else { + colorMaskGBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .Color color_mask_g = 4; + */ + public Builder setColorMaskG( + com.caliverse.admin.domain.RabbitMq.message.Color.Builder builderForValue) { + if (colorMaskGBuilder_ == null) { + colorMaskG_ = builderForValue.build(); + } else { + colorMaskGBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .Color color_mask_g = 4; + */ + public Builder mergeColorMaskG(com.caliverse.admin.domain.RabbitMq.message.Color value) { + if (colorMaskGBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + colorMaskG_ != null && + colorMaskG_ != com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance()) { + getColorMaskGBuilder().mergeFrom(value); + } else { + colorMaskG_ = value; + } + } else { + colorMaskGBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * .Color color_mask_g = 4; + */ + public Builder clearColorMaskG() { + bitField0_ = (bitField0_ & ~0x00000008); + colorMaskG_ = null; + if (colorMaskGBuilder_ != null) { + colorMaskGBuilder_.dispose(); + colorMaskGBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Color color_mask_g = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.Color.Builder getColorMaskGBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getColorMaskGFieldBuilder().getBuilder(); + } + /** + * .Color color_mask_g = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder getColorMaskGOrBuilder() { + if (colorMaskGBuilder_ != null) { + return colorMaskGBuilder_.getMessageOrBuilder(); + } else { + return colorMaskG_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance() : colorMaskG_; + } + } + /** + * .Color color_mask_g = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Color, com.caliverse.admin.domain.RabbitMq.message.Color.Builder, com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder> + getColorMaskGFieldBuilder() { + if (colorMaskGBuilder_ == null) { + colorMaskGBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Color, com.caliverse.admin.domain.RabbitMq.message.Color.Builder, com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder>( + getColorMaskG(), + getParentForChildren(), + isClean()); + colorMaskG_ = null; + } + return colorMaskGBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.Color colorMaskB_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Color, com.caliverse.admin.domain.RabbitMq.message.Color.Builder, com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder> colorMaskBBuilder_; + /** + * .Color color_mask_b = 5; + * @return Whether the colorMaskB field is set. + */ + public boolean hasColorMaskB() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .Color color_mask_b = 5; + * @return The colorMaskB. + */ + public com.caliverse.admin.domain.RabbitMq.message.Color getColorMaskB() { + if (colorMaskBBuilder_ == null) { + return colorMaskB_ == null ? com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance() : colorMaskB_; + } else { + return colorMaskBBuilder_.getMessage(); + } + } + /** + * .Color color_mask_b = 5; + */ + public Builder setColorMaskB(com.caliverse.admin.domain.RabbitMq.message.Color value) { + if (colorMaskBBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + colorMaskB_ = value; + } else { + colorMaskBBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .Color color_mask_b = 5; + */ + public Builder setColorMaskB( + com.caliverse.admin.domain.RabbitMq.message.Color.Builder builderForValue) { + if (colorMaskBBuilder_ == null) { + colorMaskB_ = builderForValue.build(); + } else { + colorMaskBBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .Color color_mask_b = 5; + */ + public Builder mergeColorMaskB(com.caliverse.admin.domain.RabbitMq.message.Color value) { + if (colorMaskBBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + colorMaskB_ != null && + colorMaskB_ != com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance()) { + getColorMaskBBuilder().mergeFrom(value); + } else { + colorMaskB_ = value; + } + } else { + colorMaskBBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .Color color_mask_b = 5; + */ + public Builder clearColorMaskB() { + bitField0_ = (bitField0_ & ~0x00000010); + colorMaskB_ = null; + if (colorMaskBBuilder_ != null) { + colorMaskBBuilder_.dispose(); + colorMaskBBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .Color color_mask_b = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.Color.Builder getColorMaskBBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getColorMaskBFieldBuilder().getBuilder(); + } + /** + * .Color color_mask_b = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder getColorMaskBOrBuilder() { + if (colorMaskBBuilder_ != null) { + return colorMaskBBuilder_.getMessageOrBuilder(); + } else { + return colorMaskB_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance() : colorMaskB_; + } + } + /** + * .Color color_mask_b = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Color, com.caliverse.admin.domain.RabbitMq.message.Color.Builder, com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder> + getColorMaskBFieldBuilder() { + if (colorMaskBBuilder_ == null) { + colorMaskBBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Color, com.caliverse.admin.domain.RabbitMq.message.Color.Builder, com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder>( + getColorMaskB(), + getParentForChildren(), + isClean()); + colorMaskB_ = null; + } + return colorMaskBBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgcFrameworkMaterialInfo) + } + + // @@protoc_insertion_point(class_scope:UgcFrameworkMaterialInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgcFrameworkMaterialInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcFrameworkMaterialInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcFrameworkMaterialInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcFrameworkMaterialInfoOrBuilder.java new file mode 100644 index 0000000..73bc3aa --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcFrameworkMaterialInfoOrBuilder.java @@ -0,0 +1,72 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgcFrameworkMaterialInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgcFrameworkMaterialInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string type = 1; + * @return The type. + */ + java.lang.String getType(); + /** + * string type = 1; + * @return The bytes for type. + */ + com.google.protobuf.ByteString + getTypeBytes(); + + /** + * int32 materialId = 2; + * @return The materialId. + */ + int getMaterialId(); + + /** + * .Color color_mask_r = 3; + * @return Whether the colorMaskR field is set. + */ + boolean hasColorMaskR(); + /** + * .Color color_mask_r = 3; + * @return The colorMaskR. + */ + com.caliverse.admin.domain.RabbitMq.message.Color getColorMaskR(); + /** + * .Color color_mask_r = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder getColorMaskROrBuilder(); + + /** + * .Color color_mask_g = 4; + * @return Whether the colorMaskG field is set. + */ + boolean hasColorMaskG(); + /** + * .Color color_mask_g = 4; + * @return The colorMaskG. + */ + com.caliverse.admin.domain.RabbitMq.message.Color getColorMaskG(); + /** + * .Color color_mask_g = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder getColorMaskGOrBuilder(); + + /** + * .Color color_mask_b = 5; + * @return Whether the colorMaskB field is set. + */ + boolean hasColorMaskB(); + /** + * .Color color_mask_b = 5; + * @return The colorMaskB. + */ + com.caliverse.admin.domain.RabbitMq.message.Color getColorMaskB(); + /** + * .Color color_mask_b = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder getColorMaskBOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcAppearance.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcAppearance.java new file mode 100644 index 0000000..90bbd58 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcAppearance.java @@ -0,0 +1,2577 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * EntityType.Beacon  :  Beacon   Ѵ. - kangms
+ * 
+ * + * Protobuf type {@code UgcNpcAppearance} + */ +public final class UgcNpcAppearance extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgcNpcAppearance) + UgcNpcAppearanceOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgcNpcAppearance.newBuilder() to construct. + private UgcNpcAppearance(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgcNpcAppearance() { + ugcNpcMetaGuid_ = ""; + ownerUserGuid_ = ""; + title_ = ""; + nickname_ = ""; + habitSocialActionIds_ = emptyIntList(); + dialogueSocialActionIds_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgcNpcAppearance(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcAppearance_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcAppearance_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.Builder.class); + } + + public static final int UGCNPCMETAGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object ugcNpcMetaGuid_ = ""; + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The ugcNpcMetaGuid. + */ + @java.lang.Override + public java.lang.String getUgcNpcMetaGuid() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcNpcMetaGuid_ = s; + return s; + } + } + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The bytes for ugcNpcMetaGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcNpcMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNERUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object ownerUserGuid_ = ""; + /** + *
+   * Ugc Npc Meta   UserGuid
+   * 
+ * + * string ownerUserGuid = 2; + * @return The ownerUserGuid. + */ + @java.lang.Override + public java.lang.String getOwnerUserGuid() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerUserGuid_ = s; + return s; + } + } + /** + *
+   * Ugc Npc Meta   UserGuid
+   * 
+ * + * string ownerUserGuid = 2; + * @return The bytes for ownerUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerUserGuidBytes() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BODYITEMMETAID_FIELD_NUMBER = 3; + private int bodyItemMetaId_ = 0; + /** + *
+   * ItemData.xlsx 
+   * 
+ * + * int32 bodyItemMetaId = 3; + * @return The bodyItemMetaId. + */ + @java.lang.Override + public int getBodyItemMetaId() { + return bodyItemMetaId_; + } + + public static final int TITLE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object title_ = ""; + /** + *
+   * ŸƲ
+   * 
+ * + * string title = 4; + * @return The title. + */ + @java.lang.Override + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } + } + /** + *
+   * ŸƲ
+   * 
+ * + * string title = 4; + * @return The bytes for title. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NICKNAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object nickname_ = ""; + /** + *
+   * Ugc Npc г
+   * 
+ * + * string nickname = 5; + * @return The nickname. + */ + @java.lang.Override + public java.lang.String getNickname() { + java.lang.Object ref = nickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickname_ = s; + return s; + } + } + /** + *
+   * Ugc Npc г
+   * 
+ * + * string nickname = 5; + * @return The bytes for nickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNicknameBytes() { + java.lang.Object ref = nickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int APPEARCUSTOMIZE_FIELD_NUMBER = 6; + private com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization appearCustomize_; + /** + *
+   * Ŀ͸¡
+   * 
+ * + * .AppearanceCustomization appearCustomize = 6; + * @return Whether the appearCustomize field is set. + */ + @java.lang.Override + public boolean hasAppearCustomize() { + return appearCustomize_ != null; + } + /** + *
+   * Ŀ͸¡
+   * 
+ * + * .AppearanceCustomization appearCustomize = 6; + * @return The appearCustomize. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getAppearCustomize() { + return appearCustomize_ == null ? com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_; + } + /** + *
+   * Ŀ͸¡
+   * 
+ * + * .AppearanceCustomization appearCustomize = 6; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder getAppearCustomizeOrBuilder() { + return appearCustomize_ == null ? com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_; + } + + public static final int ABILITIES_FIELD_NUMBER = 11; + private com.caliverse.admin.domain.RabbitMq.message.AbilityInfo abilities_; + /** + *
+   *  ɷġ, Game_Define.AbilityInfo 
+   * 
+ * + * .AbilityInfo abilities = 11; + * @return Whether the abilities field is set. + */ + @java.lang.Override + public boolean hasAbilities() { + return abilities_ != null; + } + /** + *
+   *  ɷġ, Game_Define.AbilityInfo 
+   * 
+ * + * .AbilityInfo abilities = 11; + * @return The abilities. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo getAbilities() { + return abilities_ == null ? com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance() : abilities_; + } + /** + *
+   *  ɷġ, Game_Define.AbilityInfo 
+   * 
+ * + * .AbilityInfo abilities = 11; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder getAbilitiesOrBuilder() { + return abilities_ == null ? com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance() : abilities_; + } + + public static final int HASITEMS_FIELD_NUMBER = 15; + private com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems hasItems_; + /** + *
+   *  ۵
+   * 
+ * + * .UgcNpcItems hasItems = 15; + * @return Whether the hasItems field is set. + */ + @java.lang.Override + public boolean hasHasItems() { + return hasItems_ != null; + } + /** + *
+   *  ۵
+   * 
+ * + * .UgcNpcItems hasItems = 15; + * @return The hasItems. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems getHasItems() { + return hasItems_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.getDefaultInstance() : hasItems_; + } + /** + *
+   *  ۵
+   * 
+ * + * .UgcNpcItems hasItems = 15; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcItemsOrBuilder getHasItemsOrBuilder() { + return hasItems_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.getDefaultInstance() : hasItems_; + } + + public static final int ENTITYSTATEINFO_FIELD_NUMBER = 21; + private com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo entityStateInfo_; + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return Whether the entityStateInfo field is set. + */ + @java.lang.Override + public boolean hasEntityStateInfo() { + return entityStateInfo_ != null; + } + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return The entityStateInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getEntityStateInfo() { + return entityStateInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder getEntityStateInfoOrBuilder() { + return entityStateInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } + + public static final int DEFAULTSOCIALACTIONID_FIELD_NUMBER = 31; + private int defaultSocialActionId_ = 0; + /** + *
+   * ⺻ SocialAction Meta Id
+   * 
+ * + * int32 defaultSocialActionId = 31; + * @return The defaultSocialActionId. + */ + @java.lang.Override + public int getDefaultSocialActionId() { + return defaultSocialActionId_; + } + + public static final int HABITSOCIALACTIONIDS_FIELD_NUMBER = 32; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList habitSocialActionIds_; + /** + *
+   *  ϴ SocialAction Meta Id 
+   * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @return A list containing the habitSocialActionIds. + */ + @java.lang.Override + public java.util.List + getHabitSocialActionIdsList() { + return habitSocialActionIds_; + } + /** + *
+   *  ϴ SocialAction Meta Id 
+   * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @return The count of habitSocialActionIds. + */ + public int getHabitSocialActionIdsCount() { + return habitSocialActionIds_.size(); + } + /** + *
+   *  ϴ SocialAction Meta Id 
+   * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @param index The index of the element to return. + * @return The habitSocialActionIds at the given index. + */ + public int getHabitSocialActionIds(int index) { + return habitSocialActionIds_.getInt(index); + } + private int habitSocialActionIdsMemoizedSerializedSize = -1; + + public static final int DIALOGUESOCIALACTIONIDS_FIELD_NUMBER = 33; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList dialogueSocialActionIds_; + /** + *
+   * ȭ ⺻ SocialAction Meta Id 
+   * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @return A list containing the dialogueSocialActionIds. + */ + @java.lang.Override + public java.util.List + getDialogueSocialActionIdsList() { + return dialogueSocialActionIds_; + } + /** + *
+   * ȭ ⺻ SocialAction Meta Id 
+   * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @return The count of dialogueSocialActionIds. + */ + public int getDialogueSocialActionIdsCount() { + return dialogueSocialActionIds_.size(); + } + /** + *
+   * ȭ ⺻ SocialAction Meta Id 
+   * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @param index The index of the element to return. + * @return The dialogueSocialActionIds at the given index. + */ + public int getDialogueSocialActionIds(int index) { + return dialogueSocialActionIds_.getInt(index); + } + private int dialogueSocialActionIdsMemoizedSerializedSize = -1; + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcNpcMetaGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ugcNpcMetaGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerUserGuid_); + } + if (bodyItemMetaId_ != 0) { + output.writeInt32(3, bodyItemMetaId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, title_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, nickname_); + } + if (appearCustomize_ != null) { + output.writeMessage(6, getAppearCustomize()); + } + if (abilities_ != null) { + output.writeMessage(11, getAbilities()); + } + if (hasItems_ != null) { + output.writeMessage(15, getHasItems()); + } + if (entityStateInfo_ != null) { + output.writeMessage(21, getEntityStateInfo()); + } + if (defaultSocialActionId_ != 0) { + output.writeInt32(31, defaultSocialActionId_); + } + if (getHabitSocialActionIdsList().size() > 0) { + output.writeUInt32NoTag(258); + output.writeUInt32NoTag(habitSocialActionIdsMemoizedSerializedSize); + } + for (int i = 0; i < habitSocialActionIds_.size(); i++) { + output.writeInt32NoTag(habitSocialActionIds_.getInt(i)); + } + if (getDialogueSocialActionIdsList().size() > 0) { + output.writeUInt32NoTag(266); + output.writeUInt32NoTag(dialogueSocialActionIdsMemoizedSerializedSize); + } + for (int i = 0; i < dialogueSocialActionIds_.size(); i++) { + output.writeInt32NoTag(dialogueSocialActionIds_.getInt(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcNpcMetaGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ugcNpcMetaGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerUserGuid_); + } + if (bodyItemMetaId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, bodyItemMetaId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, title_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, nickname_); + } + if (appearCustomize_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getAppearCustomize()); + } + if (abilities_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getAbilities()); + } + if (hasItems_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getHasItems()); + } + if (entityStateInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getEntityStateInfo()); + } + if (defaultSocialActionId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(31, defaultSocialActionId_); + } + { + int dataSize = 0; + for (int i = 0; i < habitSocialActionIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(habitSocialActionIds_.getInt(i)); + } + size += dataSize; + if (!getHabitSocialActionIdsList().isEmpty()) { + size += 2; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + habitSocialActionIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < dialogueSocialActionIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dialogueSocialActionIds_.getInt(i)); + } + size += dataSize; + if (!getDialogueSocialActionIdsList().isEmpty()) { + size += 2; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + dialogueSocialActionIdsMemoizedSerializedSize = dataSize; + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance other = (com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance) obj; + + if (!getUgcNpcMetaGuid() + .equals(other.getUgcNpcMetaGuid())) return false; + if (!getOwnerUserGuid() + .equals(other.getOwnerUserGuid())) return false; + if (getBodyItemMetaId() + != other.getBodyItemMetaId()) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getNickname() + .equals(other.getNickname())) return false; + if (hasAppearCustomize() != other.hasAppearCustomize()) return false; + if (hasAppearCustomize()) { + if (!getAppearCustomize() + .equals(other.getAppearCustomize())) return false; + } + if (hasAbilities() != other.hasAbilities()) return false; + if (hasAbilities()) { + if (!getAbilities() + .equals(other.getAbilities())) return false; + } + if (hasHasItems() != other.hasHasItems()) return false; + if (hasHasItems()) { + if (!getHasItems() + .equals(other.getHasItems())) return false; + } + if (hasEntityStateInfo() != other.hasEntityStateInfo()) return false; + if (hasEntityStateInfo()) { + if (!getEntityStateInfo() + .equals(other.getEntityStateInfo())) return false; + } + if (getDefaultSocialActionId() + != other.getDefaultSocialActionId()) return false; + if (!getHabitSocialActionIdsList() + .equals(other.getHabitSocialActionIdsList())) return false; + if (!getDialogueSocialActionIdsList() + .equals(other.getDialogueSocialActionIdsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + UGCNPCMETAGUID_FIELD_NUMBER; + hash = (53 * hash) + getUgcNpcMetaGuid().hashCode(); + hash = (37 * hash) + OWNERUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getOwnerUserGuid().hashCode(); + hash = (37 * hash) + BODYITEMMETAID_FIELD_NUMBER; + hash = (53 * hash) + getBodyItemMetaId(); + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); + hash = (37 * hash) + NICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getNickname().hashCode(); + if (hasAppearCustomize()) { + hash = (37 * hash) + APPEARCUSTOMIZE_FIELD_NUMBER; + hash = (53 * hash) + getAppearCustomize().hashCode(); + } + if (hasAbilities()) { + hash = (37 * hash) + ABILITIES_FIELD_NUMBER; + hash = (53 * hash) + getAbilities().hashCode(); + } + if (hasHasItems()) { + hash = (37 * hash) + HASITEMS_FIELD_NUMBER; + hash = (53 * hash) + getHasItems().hashCode(); + } + if (hasEntityStateInfo()) { + hash = (37 * hash) + ENTITYSTATEINFO_FIELD_NUMBER; + hash = (53 * hash) + getEntityStateInfo().hashCode(); + } + hash = (37 * hash) + DEFAULTSOCIALACTIONID_FIELD_NUMBER; + hash = (53 * hash) + getDefaultSocialActionId(); + if (getHabitSocialActionIdsCount() > 0) { + hash = (37 * hash) + HABITSOCIALACTIONIDS_FIELD_NUMBER; + hash = (53 * hash) + getHabitSocialActionIdsList().hashCode(); + } + if (getDialogueSocialActionIdsCount() > 0) { + hash = (37 * hash) + DIALOGUESOCIALACTIONIDS_FIELD_NUMBER; + hash = (53 * hash) + getDialogueSocialActionIdsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * EntityType.Beacon  :  Beacon   Ѵ. - kangms
+   * 
+ * + * Protobuf type {@code UgcNpcAppearance} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgcNpcAppearance) + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearanceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcAppearance_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcAppearance_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + ugcNpcMetaGuid_ = ""; + ownerUserGuid_ = ""; + bodyItemMetaId_ = 0; + title_ = ""; + nickname_ = ""; + appearCustomize_ = null; + if (appearCustomizeBuilder_ != null) { + appearCustomizeBuilder_.dispose(); + appearCustomizeBuilder_ = null; + } + abilities_ = null; + if (abilitiesBuilder_ != null) { + abilitiesBuilder_.dispose(); + abilitiesBuilder_ = null; + } + hasItems_ = null; + if (hasItemsBuilder_ != null) { + hasItemsBuilder_.dispose(); + hasItemsBuilder_ = null; + } + entityStateInfo_ = null; + if (entityStateInfoBuilder_ != null) { + entityStateInfoBuilder_.dispose(); + entityStateInfoBuilder_ = null; + } + defaultSocialActionId_ = 0; + habitSocialActionIds_ = emptyIntList(); + dialogueSocialActionIds_ = emptyIntList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcAppearance_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance build() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance result = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance result) { + if (((bitField0_ & 0x00000400) != 0)) { + habitSocialActionIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000400); + } + result.habitSocialActionIds_ = habitSocialActionIds_; + if (((bitField0_ & 0x00000800) != 0)) { + dialogueSocialActionIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000800); + } + result.dialogueSocialActionIds_ = dialogueSocialActionIds_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.ugcNpcMetaGuid_ = ugcNpcMetaGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.ownerUserGuid_ = ownerUserGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.bodyItemMetaId_ = bodyItemMetaId_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.title_ = title_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.nickname_ = nickname_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.appearCustomize_ = appearCustomizeBuilder_ == null + ? appearCustomize_ + : appearCustomizeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.abilities_ = abilitiesBuilder_ == null + ? abilities_ + : abilitiesBuilder_.build(); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.hasItems_ = hasItemsBuilder_ == null + ? hasItems_ + : hasItemsBuilder_.build(); + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.entityStateInfo_ = entityStateInfoBuilder_ == null + ? entityStateInfo_ + : entityStateInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.defaultSocialActionId_ = defaultSocialActionId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.getDefaultInstance()) return this; + if (!other.getUgcNpcMetaGuid().isEmpty()) { + ugcNpcMetaGuid_ = other.ugcNpcMetaGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getOwnerUserGuid().isEmpty()) { + ownerUserGuid_ = other.ownerUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getBodyItemMetaId() != 0) { + setBodyItemMetaId(other.getBodyItemMetaId()); + } + if (!other.getTitle().isEmpty()) { + title_ = other.title_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getNickname().isEmpty()) { + nickname_ = other.nickname_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasAppearCustomize()) { + mergeAppearCustomize(other.getAppearCustomize()); + } + if (other.hasAbilities()) { + mergeAbilities(other.getAbilities()); + } + if (other.hasHasItems()) { + mergeHasItems(other.getHasItems()); + } + if (other.hasEntityStateInfo()) { + mergeEntityStateInfo(other.getEntityStateInfo()); + } + if (other.getDefaultSocialActionId() != 0) { + setDefaultSocialActionId(other.getDefaultSocialActionId()); + } + if (!other.habitSocialActionIds_.isEmpty()) { + if (habitSocialActionIds_.isEmpty()) { + habitSocialActionIds_ = other.habitSocialActionIds_; + bitField0_ = (bitField0_ & ~0x00000400); + } else { + ensureHabitSocialActionIdsIsMutable(); + habitSocialActionIds_.addAll(other.habitSocialActionIds_); + } + onChanged(); + } + if (!other.dialogueSocialActionIds_.isEmpty()) { + if (dialogueSocialActionIds_.isEmpty()) { + dialogueSocialActionIds_ = other.dialogueSocialActionIds_; + bitField0_ = (bitField0_ & ~0x00000800); + } else { + ensureDialogueSocialActionIdsIsMutable(); + dialogueSocialActionIds_.addAll(other.dialogueSocialActionIds_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + ugcNpcMetaGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + ownerUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + bodyItemMetaId_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + nickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getAppearCustomizeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 90: { + input.readMessage( + getAbilitiesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 90 + case 122: { + input.readMessage( + getHasItemsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 122 + case 170: { + input.readMessage( + getEntityStateInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 170 + case 248: { + defaultSocialActionId_ = input.readInt32(); + bitField0_ |= 0x00000200; + break; + } // case 248 + case 256: { + int v = input.readInt32(); + ensureHabitSocialActionIdsIsMutable(); + habitSocialActionIds_.addInt(v); + break; + } // case 256 + case 258: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureHabitSocialActionIdsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + habitSocialActionIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 258 + case 264: { + int v = input.readInt32(); + ensureDialogueSocialActionIdsIsMutable(); + dialogueSocialActionIds_.addInt(v); + break; + } // case 264 + case 266: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureDialogueSocialActionIdsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + dialogueSocialActionIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 266 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object ugcNpcMetaGuid_ = ""; + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The ugcNpcMetaGuid. + */ + public java.lang.String getUgcNpcMetaGuid() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcNpcMetaGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The bytes for ugcNpcMetaGuid. + */ + public com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcNpcMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @param value The ugcNpcMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcNpcMetaGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ugcNpcMetaGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @return This builder for chaining. + */ + public Builder clearUgcNpcMetaGuid() { + ugcNpcMetaGuid_ = getDefaultInstance().getUgcNpcMetaGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @param value The bytes for ugcNpcMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcNpcMetaGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ugcNpcMetaGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object ownerUserGuid_ = ""; + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @return The ownerUserGuid. + */ + public java.lang.String getOwnerUserGuid() { + java.lang.Object ref = ownerUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @return The bytes for ownerUserGuid. + */ + public com.google.protobuf.ByteString + getOwnerUserGuidBytes() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @param value The ownerUserGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ownerUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearOwnerUserGuid() { + ownerUserGuid_ = getDefaultInstance().getOwnerUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @param value The bytes for ownerUserGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ownerUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int bodyItemMetaId_ ; + /** + *
+     * ItemData.xlsx 
+     * 
+ * + * int32 bodyItemMetaId = 3; + * @return The bodyItemMetaId. + */ + @java.lang.Override + public int getBodyItemMetaId() { + return bodyItemMetaId_; + } + /** + *
+     * ItemData.xlsx 
+     * 
+ * + * int32 bodyItemMetaId = 3; + * @param value The bodyItemMetaId to set. + * @return This builder for chaining. + */ + public Builder setBodyItemMetaId(int value) { + + bodyItemMetaId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * ItemData.xlsx 
+     * 
+ * + * int32 bodyItemMetaId = 3; + * @return This builder for chaining. + */ + public Builder clearBodyItemMetaId() { + bitField0_ = (bitField0_ & ~0x00000004); + bodyItemMetaId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object title_ = ""; + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @return The title. + */ + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @return The bytes for title. + */ + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @param value The title to set. + * @return This builder for chaining. + */ + public Builder setTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + title_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @return This builder for chaining. + */ + public Builder clearTitle() { + title_ = getDefaultInstance().getTitle(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @param value The bytes for title to set. + * @return This builder for chaining. + */ + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + title_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object nickname_ = ""; + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @return The nickname. + */ + public java.lang.String getNickname() { + java.lang.Object ref = nickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @return The bytes for nickname. + */ + public com.google.protobuf.ByteString + getNicknameBytes() { + java.lang.Object ref = nickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @param value The nickname to set. + * @return This builder for chaining. + */ + public Builder setNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nickname_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @return This builder for chaining. + */ + public Builder clearNickname() { + nickname_ = getDefaultInstance().getNickname(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @param value The bytes for nickname to set. + * @return This builder for chaining. + */ + public Builder setNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nickname_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization appearCustomize_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder> appearCustomizeBuilder_; + /** + *
+     * Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 6; + * @return Whether the appearCustomize field is set. + */ + public boolean hasAppearCustomize() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + *
+     * Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 6; + * @return The appearCustomize. + */ + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getAppearCustomize() { + if (appearCustomizeBuilder_ == null) { + return appearCustomize_ == null ? com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_; + } else { + return appearCustomizeBuilder_.getMessage(); + } + } + /** + *
+     * Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 6; + */ + public Builder setAppearCustomize(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization value) { + if (appearCustomizeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + appearCustomize_ = value; + } else { + appearCustomizeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 6; + */ + public Builder setAppearCustomize( + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder builderForValue) { + if (appearCustomizeBuilder_ == null) { + appearCustomize_ = builderForValue.build(); + } else { + appearCustomizeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 6; + */ + public Builder mergeAppearCustomize(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization value) { + if (appearCustomizeBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + appearCustomize_ != null && + appearCustomize_ != com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance()) { + getAppearCustomizeBuilder().mergeFrom(value); + } else { + appearCustomize_ = value; + } + } else { + appearCustomizeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 6; + */ + public Builder clearAppearCustomize() { + bitField0_ = (bitField0_ & ~0x00000020); + appearCustomize_ = null; + if (appearCustomizeBuilder_ != null) { + appearCustomizeBuilder_.dispose(); + appearCustomizeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder getAppearCustomizeBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getAppearCustomizeFieldBuilder().getBuilder(); + } + /** + *
+     * Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 6; + */ + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder getAppearCustomizeOrBuilder() { + if (appearCustomizeBuilder_ != null) { + return appearCustomizeBuilder_.getMessageOrBuilder(); + } else { + return appearCustomize_ == null ? + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_; + } + } + /** + *
+     * Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder> + getAppearCustomizeFieldBuilder() { + if (appearCustomizeBuilder_ == null) { + appearCustomizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder>( + getAppearCustomize(), + getParentForChildren(), + isClean()); + appearCustomize_ = null; + } + return appearCustomizeBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.AbilityInfo abilities_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo, com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder> abilitiesBuilder_; + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 11; + * @return Whether the abilities field is set. + */ + public boolean hasAbilities() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 11; + * @return The abilities. + */ + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo getAbilities() { + if (abilitiesBuilder_ == null) { + return abilities_ == null ? com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance() : abilities_; + } else { + return abilitiesBuilder_.getMessage(); + } + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 11; + */ + public Builder setAbilities(com.caliverse.admin.domain.RabbitMq.message.AbilityInfo value) { + if (abilitiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + abilities_ = value; + } else { + abilitiesBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 11; + */ + public Builder setAbilities( + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder builderForValue) { + if (abilitiesBuilder_ == null) { + abilities_ = builderForValue.build(); + } else { + abilitiesBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 11; + */ + public Builder mergeAbilities(com.caliverse.admin.domain.RabbitMq.message.AbilityInfo value) { + if (abilitiesBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + abilities_ != null && + abilities_ != com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance()) { + getAbilitiesBuilder().mergeFrom(value); + } else { + abilities_ = value; + } + } else { + abilitiesBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 11; + */ + public Builder clearAbilities() { + bitField0_ = (bitField0_ & ~0x00000040); + abilities_ = null; + if (abilitiesBuilder_ != null) { + abilitiesBuilder_.dispose(); + abilitiesBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 11; + */ + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder getAbilitiesBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getAbilitiesFieldBuilder().getBuilder(); + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 11; + */ + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder getAbilitiesOrBuilder() { + if (abilitiesBuilder_ != null) { + return abilitiesBuilder_.getMessageOrBuilder(); + } else { + return abilities_ == null ? + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance() : abilities_; + } + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 11; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo, com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder> + getAbilitiesFieldBuilder() { + if (abilitiesBuilder_ == null) { + abilitiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo, com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder>( + getAbilities(), + getParentForChildren(), + isClean()); + abilities_ = null; + } + return abilitiesBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems hasItems_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems, com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcNpcItemsOrBuilder> hasItemsBuilder_; + /** + *
+     *  ۵
+     * 
+ * + * .UgcNpcItems hasItems = 15; + * @return Whether the hasItems field is set. + */ + public boolean hasHasItems() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + *
+     *  ۵
+     * 
+ * + * .UgcNpcItems hasItems = 15; + * @return The hasItems. + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems getHasItems() { + if (hasItemsBuilder_ == null) { + return hasItems_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.getDefaultInstance() : hasItems_; + } else { + return hasItemsBuilder_.getMessage(); + } + } + /** + *
+     *  ۵
+     * 
+ * + * .UgcNpcItems hasItems = 15; + */ + public Builder setHasItems(com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems value) { + if (hasItemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + hasItems_ = value; + } else { + hasItemsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     *  ۵
+     * 
+ * + * .UgcNpcItems hasItems = 15; + */ + public Builder setHasItems( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.Builder builderForValue) { + if (hasItemsBuilder_ == null) { + hasItems_ = builderForValue.build(); + } else { + hasItemsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     *  ۵
+     * 
+ * + * .UgcNpcItems hasItems = 15; + */ + public Builder mergeHasItems(com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems value) { + if (hasItemsBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + hasItems_ != null && + hasItems_ != com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.getDefaultInstance()) { + getHasItemsBuilder().mergeFrom(value); + } else { + hasItems_ = value; + } + } else { + hasItemsBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     *  ۵
+     * 
+ * + * .UgcNpcItems hasItems = 15; + */ + public Builder clearHasItems() { + bitField0_ = (bitField0_ & ~0x00000080); + hasItems_ = null; + if (hasItemsBuilder_ != null) { + hasItemsBuilder_.dispose(); + hasItemsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     *  ۵
+     * 
+ * + * .UgcNpcItems hasItems = 15; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.Builder getHasItemsBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getHasItemsFieldBuilder().getBuilder(); + } + /** + *
+     *  ۵
+     * 
+ * + * .UgcNpcItems hasItems = 15; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcItemsOrBuilder getHasItemsOrBuilder() { + if (hasItemsBuilder_ != null) { + return hasItemsBuilder_.getMessageOrBuilder(); + } else { + return hasItems_ == null ? + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.getDefaultInstance() : hasItems_; + } + } + /** + *
+     *  ۵
+     * 
+ * + * .UgcNpcItems hasItems = 15; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems, com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcNpcItemsOrBuilder> + getHasItemsFieldBuilder() { + if (hasItemsBuilder_ == null) { + hasItemsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems, com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcNpcItemsOrBuilder>( + getHasItems(), + getParentForChildren(), + isClean()); + hasItems_ = null; + } + return hasItemsBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo entityStateInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder> entityStateInfoBuilder_; + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return Whether the entityStateInfo field is set. + */ + public boolean hasEntityStateInfo() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return The entityStateInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getEntityStateInfo() { + if (entityStateInfoBuilder_ == null) { + return entityStateInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } else { + return entityStateInfoBuilder_.getMessage(); + } + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder setEntityStateInfo(com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo value) { + if (entityStateInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + entityStateInfo_ = value; + } else { + entityStateInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder setEntityStateInfo( + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder builderForValue) { + if (entityStateInfoBuilder_ == null) { + entityStateInfo_ = builderForValue.build(); + } else { + entityStateInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder mergeEntityStateInfo(com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo value) { + if (entityStateInfoBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) && + entityStateInfo_ != null && + entityStateInfo_ != com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance()) { + getEntityStateInfoBuilder().mergeFrom(value); + } else { + entityStateInfo_ = value; + } + } else { + entityStateInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder clearEntityStateInfo() { + bitField0_ = (bitField0_ & ~0x00000100); + entityStateInfo_ = null; + if (entityStateInfoBuilder_ != null) { + entityStateInfoBuilder_.dispose(); + entityStateInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder getEntityStateInfoBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getEntityStateInfoFieldBuilder().getBuilder(); + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder getEntityStateInfoOrBuilder() { + if (entityStateInfoBuilder_ != null) { + return entityStateInfoBuilder_.getMessageOrBuilder(); + } else { + return entityStateInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder> + getEntityStateInfoFieldBuilder() { + if (entityStateInfoBuilder_ == null) { + entityStateInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder>( + getEntityStateInfo(), + getParentForChildren(), + isClean()); + entityStateInfo_ = null; + } + return entityStateInfoBuilder_; + } + + private int defaultSocialActionId_ ; + /** + *
+     * ⺻ SocialAction Meta Id
+     * 
+ * + * int32 defaultSocialActionId = 31; + * @return The defaultSocialActionId. + */ + @java.lang.Override + public int getDefaultSocialActionId() { + return defaultSocialActionId_; + } + /** + *
+     * ⺻ SocialAction Meta Id
+     * 
+ * + * int32 defaultSocialActionId = 31; + * @param value The defaultSocialActionId to set. + * @return This builder for chaining. + */ + public Builder setDefaultSocialActionId(int value) { + + defaultSocialActionId_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+     * ⺻ SocialAction Meta Id
+     * 
+ * + * int32 defaultSocialActionId = 31; + * @return This builder for chaining. + */ + public Builder clearDefaultSocialActionId() { + bitField0_ = (bitField0_ & ~0x00000200); + defaultSocialActionId_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList habitSocialActionIds_ = emptyIntList(); + private void ensureHabitSocialActionIdsIsMutable() { + if (!((bitField0_ & 0x00000400) != 0)) { + habitSocialActionIds_ = mutableCopy(habitSocialActionIds_); + bitField0_ |= 0x00000400; + } + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @return A list containing the habitSocialActionIds. + */ + public java.util.List + getHabitSocialActionIdsList() { + return ((bitField0_ & 0x00000400) != 0) ? + java.util.Collections.unmodifiableList(habitSocialActionIds_) : habitSocialActionIds_; + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @return The count of habitSocialActionIds. + */ + public int getHabitSocialActionIdsCount() { + return habitSocialActionIds_.size(); + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @param index The index of the element to return. + * @return The habitSocialActionIds at the given index. + */ + public int getHabitSocialActionIds(int index) { + return habitSocialActionIds_.getInt(index); + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @param index The index to set the value at. + * @param value The habitSocialActionIds to set. + * @return This builder for chaining. + */ + public Builder setHabitSocialActionIds( + int index, int value) { + + ensureHabitSocialActionIdsIsMutable(); + habitSocialActionIds_.setInt(index, value); + onChanged(); + return this; + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @param value The habitSocialActionIds to add. + * @return This builder for chaining. + */ + public Builder addHabitSocialActionIds(int value) { + + ensureHabitSocialActionIdsIsMutable(); + habitSocialActionIds_.addInt(value); + onChanged(); + return this; + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @param values The habitSocialActionIds to add. + * @return This builder for chaining. + */ + public Builder addAllHabitSocialActionIds( + java.lang.Iterable values) { + ensureHabitSocialActionIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, habitSocialActionIds_); + onChanged(); + return this; + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @return This builder for chaining. + */ + public Builder clearHabitSocialActionIds() { + habitSocialActionIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList dialogueSocialActionIds_ = emptyIntList(); + private void ensureDialogueSocialActionIdsIsMutable() { + if (!((bitField0_ & 0x00000800) != 0)) { + dialogueSocialActionIds_ = mutableCopy(dialogueSocialActionIds_); + bitField0_ |= 0x00000800; + } + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @return A list containing the dialogueSocialActionIds. + */ + public java.util.List + getDialogueSocialActionIdsList() { + return ((bitField0_ & 0x00000800) != 0) ? + java.util.Collections.unmodifiableList(dialogueSocialActionIds_) : dialogueSocialActionIds_; + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @return The count of dialogueSocialActionIds. + */ + public int getDialogueSocialActionIdsCount() { + return dialogueSocialActionIds_.size(); + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @param index The index of the element to return. + * @return The dialogueSocialActionIds at the given index. + */ + public int getDialogueSocialActionIds(int index) { + return dialogueSocialActionIds_.getInt(index); + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @param index The index to set the value at. + * @param value The dialogueSocialActionIds to set. + * @return This builder for chaining. + */ + public Builder setDialogueSocialActionIds( + int index, int value) { + + ensureDialogueSocialActionIdsIsMutable(); + dialogueSocialActionIds_.setInt(index, value); + onChanged(); + return this; + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @param value The dialogueSocialActionIds to add. + * @return This builder for chaining. + */ + public Builder addDialogueSocialActionIds(int value) { + + ensureDialogueSocialActionIdsIsMutable(); + dialogueSocialActionIds_.addInt(value); + onChanged(); + return this; + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @param values The dialogueSocialActionIds to add. + * @return This builder for chaining. + */ + public Builder addAllDialogueSocialActionIds( + java.lang.Iterable values) { + ensureDialogueSocialActionIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dialogueSocialActionIds_); + onChanged(); + return this; + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @return This builder for chaining. + */ + public Builder clearDialogueSocialActionIds() { + dialogueSocialActionIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgcNpcAppearance) + } + + // @@protoc_insertion_point(class_scope:UgcNpcAppearance) + private static final com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgcNpcAppearance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcAppearanceOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcAppearanceOrBuilder.java new file mode 100644 index 0000000..89422be --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcAppearanceOrBuilder.java @@ -0,0 +1,275 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgcNpcAppearanceOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgcNpcAppearance) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The ugcNpcMetaGuid. + */ + java.lang.String getUgcNpcMetaGuid(); + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The bytes for ugcNpcMetaGuid. + */ + com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes(); + + /** + *
+   * Ugc Npc Meta   UserGuid
+   * 
+ * + * string ownerUserGuid = 2; + * @return The ownerUserGuid. + */ + java.lang.String getOwnerUserGuid(); + /** + *
+   * Ugc Npc Meta   UserGuid
+   * 
+ * + * string ownerUserGuid = 2; + * @return The bytes for ownerUserGuid. + */ + com.google.protobuf.ByteString + getOwnerUserGuidBytes(); + + /** + *
+   * ItemData.xlsx 
+   * 
+ * + * int32 bodyItemMetaId = 3; + * @return The bodyItemMetaId. + */ + int getBodyItemMetaId(); + + /** + *
+   * ŸƲ
+   * 
+ * + * string title = 4; + * @return The title. + */ + java.lang.String getTitle(); + /** + *
+   * ŸƲ
+   * 
+ * + * string title = 4; + * @return The bytes for title. + */ + com.google.protobuf.ByteString + getTitleBytes(); + + /** + *
+   * Ugc Npc г
+   * 
+ * + * string nickname = 5; + * @return The nickname. + */ + java.lang.String getNickname(); + /** + *
+   * Ugc Npc г
+   * 
+ * + * string nickname = 5; + * @return The bytes for nickname. + */ + com.google.protobuf.ByteString + getNicknameBytes(); + + /** + *
+   * Ŀ͸¡
+   * 
+ * + * .AppearanceCustomization appearCustomize = 6; + * @return Whether the appearCustomize field is set. + */ + boolean hasAppearCustomize(); + /** + *
+   * Ŀ͸¡
+   * 
+ * + * .AppearanceCustomization appearCustomize = 6; + * @return The appearCustomize. + */ + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getAppearCustomize(); + /** + *
+   * Ŀ͸¡
+   * 
+ * + * .AppearanceCustomization appearCustomize = 6; + */ + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder getAppearCustomizeOrBuilder(); + + /** + *
+   *  ɷġ, Game_Define.AbilityInfo 
+   * 
+ * + * .AbilityInfo abilities = 11; + * @return Whether the abilities field is set. + */ + boolean hasAbilities(); + /** + *
+   *  ɷġ, Game_Define.AbilityInfo 
+   * 
+ * + * .AbilityInfo abilities = 11; + * @return The abilities. + */ + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo getAbilities(); + /** + *
+   *  ɷġ, Game_Define.AbilityInfo 
+   * 
+ * + * .AbilityInfo abilities = 11; + */ + com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder getAbilitiesOrBuilder(); + + /** + *
+   *  ۵
+   * 
+ * + * .UgcNpcItems hasItems = 15; + * @return Whether the hasItems field is set. + */ + boolean hasHasItems(); + /** + *
+   *  ۵
+   * 
+ * + * .UgcNpcItems hasItems = 15; + * @return The hasItems. + */ + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems getHasItems(); + /** + *
+   *  ۵
+   * 
+ * + * .UgcNpcItems hasItems = 15; + */ + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItemsOrBuilder getHasItemsOrBuilder(); + + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return Whether the entityStateInfo field is set. + */ + boolean hasEntityStateInfo(); + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return The entityStateInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getEntityStateInfo(); + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder getEntityStateInfoOrBuilder(); + + /** + *
+   * ⺻ SocialAction Meta Id
+   * 
+ * + * int32 defaultSocialActionId = 31; + * @return The defaultSocialActionId. + */ + int getDefaultSocialActionId(); + + /** + *
+   *  ϴ SocialAction Meta Id 
+   * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @return A list containing the habitSocialActionIds. + */ + java.util.List getHabitSocialActionIdsList(); + /** + *
+   *  ϴ SocialAction Meta Id 
+   * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @return The count of habitSocialActionIds. + */ + int getHabitSocialActionIdsCount(); + /** + *
+   *  ϴ SocialAction Meta Id 
+   * 
+ * + * repeated int32 habitSocialActionIds = 32; + * @param index The index of the element to return. + * @return The habitSocialActionIds at the given index. + */ + int getHabitSocialActionIds(int index); + + /** + *
+   * ȭ ⺻ SocialAction Meta Id 
+   * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @return A list containing the dialogueSocialActionIds. + */ + java.util.List getDialogueSocialActionIdsList(); + /** + *
+   * ȭ ⺻ SocialAction Meta Id 
+   * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @return The count of dialogueSocialActionIds. + */ + int getDialogueSocialActionIdsCount(); + /** + *
+   * ȭ ⺻ SocialAction Meta Id 
+   * 
+ * + * repeated int32 dialogueSocialActionIds = 33; + * @param index The index of the element to return. + * @return The dialogueSocialActionIds at the given index. + */ + int getDialogueSocialActionIds(int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcCompact.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcCompact.java new file mode 100644 index 0000000..e11ef37 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcCompact.java @@ -0,0 +1,1841 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * EntityType.Beacon   :  Beacon   Ѵ. - kangms
+ * 
+ * + * Protobuf type {@code UgcNpcCompact} + */ +public final class UgcNpcCompact extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgcNpcCompact) + UgcNpcCompactOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgcNpcCompact.newBuilder() to construct. + private UgcNpcCompact(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgcNpcCompact() { + ugcNpcMetaGuid_ = ""; + ownerUserGuid_ = ""; + title_ = ""; + nickname_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgcNpcCompact(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcCompact_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcCompact_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.Builder.class); + } + + public static final int UGCNPCMETAGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object ugcNpcMetaGuid_ = ""; + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The ugcNpcMetaGuid. + */ + @java.lang.Override + public java.lang.String getUgcNpcMetaGuid() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcNpcMetaGuid_ = s; + return s; + } + } + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The bytes for ugcNpcMetaGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcNpcMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNERUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object ownerUserGuid_ = ""; + /** + *
+   * Ugc Npc Meta   UserGuid
+   * 
+ * + * string ownerUserGuid = 2; + * @return The ownerUserGuid. + */ + @java.lang.Override + public java.lang.String getOwnerUserGuid() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerUserGuid_ = s; + return s; + } + } + /** + *
+   * Ugc Npc Meta   UserGuid
+   * 
+ * + * string ownerUserGuid = 2; + * @return The bytes for ownerUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerUserGuidBytes() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BODYITEMMETAID_FIELD_NUMBER = 3; + private int bodyItemMetaId_ = 0; + /** + *
+   * ItemData.xlsx 
+   * 
+ * + * int32 bodyItemMetaId = 3; + * @return The bodyItemMetaId. + */ + @java.lang.Override + public int getBodyItemMetaId() { + return bodyItemMetaId_; + } + + public static final int TITLE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object title_ = ""; + /** + *
+   * ŸƲ
+   * 
+ * + * string title = 4; + * @return The title. + */ + @java.lang.Override + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } + } + /** + *
+   * ŸƲ
+   * 
+ * + * string title = 4; + * @return The bytes for title. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NICKNAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object nickname_ = ""; + /** + *
+   * Ugc Npc г
+   * 
+ * + * string nickname = 5; + * @return The nickname. + */ + @java.lang.Override + public java.lang.String getNickname() { + java.lang.Object ref = nickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickname_ = s; + return s; + } + } + /** + *
+   * Ugc Npc г
+   * 
+ * + * string nickname = 5; + * @return The bytes for nickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNicknameBytes() { + java.lang.Object ref = nickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENTITYSTATEINFO_FIELD_NUMBER = 21; + private com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo entityStateInfo_; + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return Whether the entityStateInfo field is set. + */ + @java.lang.Override + public boolean hasEntityStateInfo() { + return entityStateInfo_ != null; + } + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return The entityStateInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getEntityStateInfo() { + return entityStateInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder getEntityStateInfoOrBuilder() { + return entityStateInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } + + public static final int LOCATEDINSTANCECONTEXT_FIELD_NUMBER = 41; + private com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext locatedInstanceContext_; + /** + *
+   *   νϽ 
+   * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + * @return Whether the locatedInstanceContext field is set. + */ + @java.lang.Override + public boolean hasLocatedInstanceContext() { + return locatedInstanceContext_ != null; + } + /** + *
+   *   νϽ 
+   * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + * @return The locatedInstanceContext. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext getLocatedInstanceContext() { + return locatedInstanceContext_ == null ? com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.getDefaultInstance() : locatedInstanceContext_; + } + /** + *
+   *   νϽ 
+   * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder getLocatedInstanceContextOrBuilder() { + return locatedInstanceContext_ == null ? com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.getDefaultInstance() : locatedInstanceContext_; + } + + public static final int CREATEDTIME_FIELD_NUMBER = 101; + private com.google.protobuf.Timestamp createdTime_; + /** + *
+   *   DateTime
+   * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + * @return Whether the createdTime field is set. + */ + @java.lang.Override + public boolean hasCreatedTime() { + return createdTime_ != null; + } + /** + *
+   *   DateTime
+   * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + * @return The createdTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreatedTime() { + return createdTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdTime_; + } + /** + *
+   *   DateTime
+   * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder() { + return createdTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcNpcMetaGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ugcNpcMetaGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerUserGuid_); + } + if (bodyItemMetaId_ != 0) { + output.writeInt32(3, bodyItemMetaId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, title_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, nickname_); + } + if (entityStateInfo_ != null) { + output.writeMessage(21, getEntityStateInfo()); + } + if (locatedInstanceContext_ != null) { + output.writeMessage(41, getLocatedInstanceContext()); + } + if (createdTime_ != null) { + output.writeMessage(101, getCreatedTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcNpcMetaGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ugcNpcMetaGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerUserGuid_); + } + if (bodyItemMetaId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, bodyItemMetaId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, title_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, nickname_); + } + if (entityStateInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getEntityStateInfo()); + } + if (locatedInstanceContext_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(41, getLocatedInstanceContext()); + } + if (createdTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, getCreatedTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact other = (com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact) obj; + + if (!getUgcNpcMetaGuid() + .equals(other.getUgcNpcMetaGuid())) return false; + if (!getOwnerUserGuid() + .equals(other.getOwnerUserGuid())) return false; + if (getBodyItemMetaId() + != other.getBodyItemMetaId()) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getNickname() + .equals(other.getNickname())) return false; + if (hasEntityStateInfo() != other.hasEntityStateInfo()) return false; + if (hasEntityStateInfo()) { + if (!getEntityStateInfo() + .equals(other.getEntityStateInfo())) return false; + } + if (hasLocatedInstanceContext() != other.hasLocatedInstanceContext()) return false; + if (hasLocatedInstanceContext()) { + if (!getLocatedInstanceContext() + .equals(other.getLocatedInstanceContext())) return false; + } + if (hasCreatedTime() != other.hasCreatedTime()) return false; + if (hasCreatedTime()) { + if (!getCreatedTime() + .equals(other.getCreatedTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + UGCNPCMETAGUID_FIELD_NUMBER; + hash = (53 * hash) + getUgcNpcMetaGuid().hashCode(); + hash = (37 * hash) + OWNERUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getOwnerUserGuid().hashCode(); + hash = (37 * hash) + BODYITEMMETAID_FIELD_NUMBER; + hash = (53 * hash) + getBodyItemMetaId(); + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); + hash = (37 * hash) + NICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getNickname().hashCode(); + if (hasEntityStateInfo()) { + hash = (37 * hash) + ENTITYSTATEINFO_FIELD_NUMBER; + hash = (53 * hash) + getEntityStateInfo().hashCode(); + } + if (hasLocatedInstanceContext()) { + hash = (37 * hash) + LOCATEDINSTANCECONTEXT_FIELD_NUMBER; + hash = (53 * hash) + getLocatedInstanceContext().hashCode(); + } + if (hasCreatedTime()) { + hash = (37 * hash) + CREATEDTIME_FIELD_NUMBER; + hash = (53 * hash) + getCreatedTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * EntityType.Beacon   :  Beacon   Ѵ. - kangms
+   * 
+ * + * Protobuf type {@code UgcNpcCompact} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgcNpcCompact) + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompactOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcCompact_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcCompact_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + ugcNpcMetaGuid_ = ""; + ownerUserGuid_ = ""; + bodyItemMetaId_ = 0; + title_ = ""; + nickname_ = ""; + entityStateInfo_ = null; + if (entityStateInfoBuilder_ != null) { + entityStateInfoBuilder_.dispose(); + entityStateInfoBuilder_ = null; + } + locatedInstanceContext_ = null; + if (locatedInstanceContextBuilder_ != null) { + locatedInstanceContextBuilder_.dispose(); + locatedInstanceContextBuilder_ = null; + } + createdTime_ = null; + if (createdTimeBuilder_ != null) { + createdTimeBuilder_.dispose(); + createdTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcCompact_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact build() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact result = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.ugcNpcMetaGuid_ = ugcNpcMetaGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.ownerUserGuid_ = ownerUserGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.bodyItemMetaId_ = bodyItemMetaId_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.title_ = title_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.nickname_ = nickname_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.entityStateInfo_ = entityStateInfoBuilder_ == null + ? entityStateInfo_ + : entityStateInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.locatedInstanceContext_ = locatedInstanceContextBuilder_ == null + ? locatedInstanceContext_ + : locatedInstanceContextBuilder_.build(); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.createdTime_ = createdTimeBuilder_ == null + ? createdTime_ + : createdTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact.getDefaultInstance()) return this; + if (!other.getUgcNpcMetaGuid().isEmpty()) { + ugcNpcMetaGuid_ = other.ugcNpcMetaGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getOwnerUserGuid().isEmpty()) { + ownerUserGuid_ = other.ownerUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getBodyItemMetaId() != 0) { + setBodyItemMetaId(other.getBodyItemMetaId()); + } + if (!other.getTitle().isEmpty()) { + title_ = other.title_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getNickname().isEmpty()) { + nickname_ = other.nickname_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasEntityStateInfo()) { + mergeEntityStateInfo(other.getEntityStateInfo()); + } + if (other.hasLocatedInstanceContext()) { + mergeLocatedInstanceContext(other.getLocatedInstanceContext()); + } + if (other.hasCreatedTime()) { + mergeCreatedTime(other.getCreatedTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + ugcNpcMetaGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + ownerUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + bodyItemMetaId_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + nickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 170: { + input.readMessage( + getEntityStateInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 170 + case 330: { + input.readMessage( + getLocatedInstanceContextFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 330 + case 810: { + input.readMessage( + getCreatedTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 810 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object ugcNpcMetaGuid_ = ""; + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The ugcNpcMetaGuid. + */ + public java.lang.String getUgcNpcMetaGuid() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcNpcMetaGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The bytes for ugcNpcMetaGuid. + */ + public com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcNpcMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @param value The ugcNpcMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcNpcMetaGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ugcNpcMetaGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @return This builder for chaining. + */ + public Builder clearUgcNpcMetaGuid() { + ugcNpcMetaGuid_ = getDefaultInstance().getUgcNpcMetaGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @param value The bytes for ugcNpcMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcNpcMetaGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ugcNpcMetaGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object ownerUserGuid_ = ""; + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @return The ownerUserGuid. + */ + public java.lang.String getOwnerUserGuid() { + java.lang.Object ref = ownerUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @return The bytes for ownerUserGuid. + */ + public com.google.protobuf.ByteString + getOwnerUserGuidBytes() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @param value The ownerUserGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ownerUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearOwnerUserGuid() { + ownerUserGuid_ = getDefaultInstance().getOwnerUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @param value The bytes for ownerUserGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ownerUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int bodyItemMetaId_ ; + /** + *
+     * ItemData.xlsx 
+     * 
+ * + * int32 bodyItemMetaId = 3; + * @return The bodyItemMetaId. + */ + @java.lang.Override + public int getBodyItemMetaId() { + return bodyItemMetaId_; + } + /** + *
+     * ItemData.xlsx 
+     * 
+ * + * int32 bodyItemMetaId = 3; + * @param value The bodyItemMetaId to set. + * @return This builder for chaining. + */ + public Builder setBodyItemMetaId(int value) { + + bodyItemMetaId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * ItemData.xlsx 
+     * 
+ * + * int32 bodyItemMetaId = 3; + * @return This builder for chaining. + */ + public Builder clearBodyItemMetaId() { + bitField0_ = (bitField0_ & ~0x00000004); + bodyItemMetaId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object title_ = ""; + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @return The title. + */ + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @return The bytes for title. + */ + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @param value The title to set. + * @return This builder for chaining. + */ + public Builder setTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + title_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @return This builder for chaining. + */ + public Builder clearTitle() { + title_ = getDefaultInstance().getTitle(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @param value The bytes for title to set. + * @return This builder for chaining. + */ + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + title_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object nickname_ = ""; + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @return The nickname. + */ + public java.lang.String getNickname() { + java.lang.Object ref = nickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @return The bytes for nickname. + */ + public com.google.protobuf.ByteString + getNicknameBytes() { + java.lang.Object ref = nickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @param value The nickname to set. + * @return This builder for chaining. + */ + public Builder setNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nickname_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @return This builder for chaining. + */ + public Builder clearNickname() { + nickname_ = getDefaultInstance().getNickname(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @param value The bytes for nickname to set. + * @return This builder for chaining. + */ + public Builder setNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nickname_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo entityStateInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder> entityStateInfoBuilder_; + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return Whether the entityStateInfo field is set. + */ + public boolean hasEntityStateInfo() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return The entityStateInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getEntityStateInfo() { + if (entityStateInfoBuilder_ == null) { + return entityStateInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } else { + return entityStateInfoBuilder_.getMessage(); + } + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder setEntityStateInfo(com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo value) { + if (entityStateInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + entityStateInfo_ = value; + } else { + entityStateInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder setEntityStateInfo( + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder builderForValue) { + if (entityStateInfoBuilder_ == null) { + entityStateInfo_ = builderForValue.build(); + } else { + entityStateInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder mergeEntityStateInfo(com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo value) { + if (entityStateInfoBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + entityStateInfo_ != null && + entityStateInfo_ != com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance()) { + getEntityStateInfoBuilder().mergeFrom(value); + } else { + entityStateInfo_ = value; + } + } else { + entityStateInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder clearEntityStateInfo() { + bitField0_ = (bitField0_ & ~0x00000020); + entityStateInfo_ = null; + if (entityStateInfoBuilder_ != null) { + entityStateInfoBuilder_.dispose(); + entityStateInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder getEntityStateInfoBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getEntityStateInfoFieldBuilder().getBuilder(); + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder getEntityStateInfoOrBuilder() { + if (entityStateInfoBuilder_ != null) { + return entityStateInfoBuilder_.getMessageOrBuilder(); + } else { + return entityStateInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder> + getEntityStateInfoFieldBuilder() { + if (entityStateInfoBuilder_ == null) { + entityStateInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder>( + getEntityStateInfo(), + getParentForChildren(), + isClean()); + entityStateInfo_ = null; + } + return entityStateInfoBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext locatedInstanceContext_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.Builder, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder> locatedInstanceContextBuilder_; + /** + *
+     *   νϽ 
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + * @return Whether the locatedInstanceContext field is set. + */ + public boolean hasLocatedInstanceContext() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + *
+     *   νϽ 
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + * @return The locatedInstanceContext. + */ + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext getLocatedInstanceContext() { + if (locatedInstanceContextBuilder_ == null) { + return locatedInstanceContext_ == null ? com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.getDefaultInstance() : locatedInstanceContext_; + } else { + return locatedInstanceContextBuilder_.getMessage(); + } + } + /** + *
+     *   νϽ 
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + */ + public Builder setLocatedInstanceContext(com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext value) { + if (locatedInstanceContextBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + locatedInstanceContext_ = value; + } else { + locatedInstanceContextBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     *   νϽ 
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + */ + public Builder setLocatedInstanceContext( + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.Builder builderForValue) { + if (locatedInstanceContextBuilder_ == null) { + locatedInstanceContext_ = builderForValue.build(); + } else { + locatedInstanceContextBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     *   νϽ 
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + */ + public Builder mergeLocatedInstanceContext(com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext value) { + if (locatedInstanceContextBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + locatedInstanceContext_ != null && + locatedInstanceContext_ != com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.getDefaultInstance()) { + getLocatedInstanceContextBuilder().mergeFrom(value); + } else { + locatedInstanceContext_ = value; + } + } else { + locatedInstanceContextBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     *   νϽ 
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + */ + public Builder clearLocatedInstanceContext() { + bitField0_ = (bitField0_ & ~0x00000040); + locatedInstanceContext_ = null; + if (locatedInstanceContextBuilder_ != null) { + locatedInstanceContextBuilder_.dispose(); + locatedInstanceContextBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     *   νϽ 
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + */ + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.Builder getLocatedInstanceContextBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getLocatedInstanceContextFieldBuilder().getBuilder(); + } + /** + *
+     *   νϽ 
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + */ + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder getLocatedInstanceContextOrBuilder() { + if (locatedInstanceContextBuilder_ != null) { + return locatedInstanceContextBuilder_.getMessageOrBuilder(); + } else { + return locatedInstanceContext_ == null ? + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.getDefaultInstance() : locatedInstanceContext_; + } + } + /** + *
+     *   νϽ 
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.Builder, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder> + getLocatedInstanceContextFieldBuilder() { + if (locatedInstanceContextBuilder_ == null) { + locatedInstanceContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.Builder, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder>( + getLocatedInstanceContext(), + getParentForChildren(), + isClean()); + locatedInstanceContext_ = null; + } + return locatedInstanceContextBuilder_; + } + + private com.google.protobuf.Timestamp createdTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdTimeBuilder_; + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + * @return Whether the createdTime field is set. + */ + public boolean hasCreatedTime() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + * @return The createdTime. + */ + public com.google.protobuf.Timestamp getCreatedTime() { + if (createdTimeBuilder_ == null) { + return createdTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdTime_; + } else { + return createdTimeBuilder_.getMessage(); + } + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + public Builder setCreatedTime(com.google.protobuf.Timestamp value) { + if (createdTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createdTime_ = value; + } else { + createdTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + public Builder setCreatedTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (createdTimeBuilder_ == null) { + createdTime_ = builderForValue.build(); + } else { + createdTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + public Builder mergeCreatedTime(com.google.protobuf.Timestamp value) { + if (createdTimeBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + createdTime_ != null && + createdTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreatedTimeBuilder().mergeFrom(value); + } else { + createdTime_ = value; + } + } else { + createdTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + public Builder clearCreatedTime() { + bitField0_ = (bitField0_ & ~0x00000080); + createdTime_ = null; + if (createdTimeBuilder_ != null) { + createdTimeBuilder_.dispose(); + createdTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + public com.google.protobuf.Timestamp.Builder getCreatedTimeBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getCreatedTimeFieldBuilder().getBuilder(); + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + public com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder() { + if (createdTimeBuilder_ != null) { + return createdTimeBuilder_.getMessageOrBuilder(); + } else { + return createdTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createdTime_; + } + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCreatedTimeFieldBuilder() { + if (createdTimeBuilder_ == null) { + createdTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreatedTime(), + getParentForChildren(), + isClean()); + createdTime_ = null; + } + return createdTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgcNpcCompact) + } + + // @@protoc_insertion_point(class_scope:UgcNpcCompact) + private static final com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgcNpcCompact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcCompact getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcCompactOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcCompactOrBuilder.java new file mode 100644 index 0000000..2c3d0b7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcCompactOrBuilder.java @@ -0,0 +1,180 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgcNpcCompactOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgcNpcCompact) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The ugcNpcMetaGuid. + */ + java.lang.String getUgcNpcMetaGuid(); + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The bytes for ugcNpcMetaGuid. + */ + com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes(); + + /** + *
+   * Ugc Npc Meta   UserGuid
+   * 
+ * + * string ownerUserGuid = 2; + * @return The ownerUserGuid. + */ + java.lang.String getOwnerUserGuid(); + /** + *
+   * Ugc Npc Meta   UserGuid
+   * 
+ * + * string ownerUserGuid = 2; + * @return The bytes for ownerUserGuid. + */ + com.google.protobuf.ByteString + getOwnerUserGuidBytes(); + + /** + *
+   * ItemData.xlsx 
+   * 
+ * + * int32 bodyItemMetaId = 3; + * @return The bodyItemMetaId. + */ + int getBodyItemMetaId(); + + /** + *
+   * ŸƲ
+   * 
+ * + * string title = 4; + * @return The title. + */ + java.lang.String getTitle(); + /** + *
+   * ŸƲ
+   * 
+ * + * string title = 4; + * @return The bytes for title. + */ + com.google.protobuf.ByteString + getTitleBytes(); + + /** + *
+   * Ugc Npc г
+   * 
+ * + * string nickname = 5; + * @return The nickname. + */ + java.lang.String getNickname(); + /** + *
+   * Ugc Npc г
+   * 
+ * + * string nickname = 5; + * @return The bytes for nickname. + */ + com.google.protobuf.ByteString + getNicknameBytes(); + + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return Whether the entityStateInfo field is set. + */ + boolean hasEntityStateInfo(); + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return The entityStateInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getEntityStateInfo(); + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder getEntityStateInfoOrBuilder(); + + /** + *
+   *   νϽ 
+   * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + * @return Whether the locatedInstanceContext field is set. + */ + boolean hasLocatedInstanceContext(); + /** + *
+   *   νϽ 
+   * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + * @return The locatedInstanceContext. + */ + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext getLocatedInstanceContext(); + /** + *
+   *   νϽ 
+   * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 41; + */ + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder getLocatedInstanceContextOrBuilder(); + + /** + *
+   *   DateTime
+   * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + * @return Whether the createdTime field is set. + */ + boolean hasCreatedTime(); + /** + *
+   *   DateTime
+   * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + * @return The createdTime. + */ + com.google.protobuf.Timestamp getCreatedTime(); + /** + *
+   *   DateTime
+   * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcEntity.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcEntity.java new file mode 100644 index 0000000..9fa7bfb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcEntity.java @@ -0,0 +1,1038 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * EntityType.Beacon ƼƼ :  Beacon   Ѵ. - kangms
+ * 
+ * + * Protobuf type {@code UgcNpcEntity} + */ +public final class UgcNpcEntity extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgcNpcEntity) + UgcNpcEntityOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgcNpcEntity.newBuilder() to construct. + private UgcNpcEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgcNpcEntity() { + entityInstantGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgcNpcEntity(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcEntity_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcEntity_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity.Builder.class); + } + + public static final int ENTITYINSTANTGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object entityInstantGuid_ = ""; + /** + *
+   * νϽ ƼƼ ֹ߼(Instant) Guid
+   * 
+ * + * string entityInstantGuid = 1; + * @return The entityInstantGuid. + */ + @java.lang.Override + public java.lang.String getEntityInstantGuid() { + java.lang.Object ref = entityInstantGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entityInstantGuid_ = s; + return s; + } + } + /** + *
+   * νϽ ƼƼ ֹ߼(Instant) Guid
+   * 
+ * + * string entityInstantGuid = 1; + * @return The bytes for entityInstantGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getEntityInstantGuidBytes() { + java.lang.Object ref = entityInstantGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + entityInstantGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CURRENTPOS_FIELD_NUMBER = 2; + private com.caliverse.admin.domain.RabbitMq.message.Pos currentPos_; + /** + *
+   *  ġ
+   * 
+ * + * .Pos CurrentPos = 2; + * @return Whether the currentPos field is set. + */ + @java.lang.Override + public boolean hasCurrentPos() { + return currentPos_ != null; + } + /** + *
+   *  ġ
+   * 
+ * + * .Pos CurrentPos = 2; + * @return The currentPos. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Pos getCurrentPos() { + return currentPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : currentPos_; + } + /** + *
+   *  ġ
+   * 
+ * + * .Pos CurrentPos = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getCurrentPosOrBuilder() { + return currentPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : currentPos_; + } + + public static final int UGCNPCAPPEARANCE_FIELD_NUMBER = 5; + private com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance ugcNpcAppearance_; + /** + *
+   * UgcNpc.Beacon  
+   * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + * @return Whether the ugcNpcAppearance field is set. + */ + @java.lang.Override + public boolean hasUgcNpcAppearance() { + return ugcNpcAppearance_ != null; + } + /** + *
+   * UgcNpc.Beacon  
+   * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + * @return The ugcNpcAppearance. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance getUgcNpcAppearance() { + return ugcNpcAppearance_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.getDefaultInstance() : ugcNpcAppearance_; + } + /** + *
+   * UgcNpc.Beacon  
+   * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearanceOrBuilder getUgcNpcAppearanceOrBuilder() { + return ugcNpcAppearance_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.getDefaultInstance() : ugcNpcAppearance_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityInstantGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityInstantGuid_); + } + if (currentPos_ != null) { + output.writeMessage(2, getCurrentPos()); + } + if (ugcNpcAppearance_ != null) { + output.writeMessage(5, getUgcNpcAppearance()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityInstantGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entityInstantGuid_); + } + if (currentPos_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCurrentPos()); + } + if (ugcNpcAppearance_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUgcNpcAppearance()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity other = (com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity) obj; + + if (!getEntityInstantGuid() + .equals(other.getEntityInstantGuid())) return false; + if (hasCurrentPos() != other.hasCurrentPos()) return false; + if (hasCurrentPos()) { + if (!getCurrentPos() + .equals(other.getCurrentPos())) return false; + } + if (hasUgcNpcAppearance() != other.hasUgcNpcAppearance()) return false; + if (hasUgcNpcAppearance()) { + if (!getUgcNpcAppearance() + .equals(other.getUgcNpcAppearance())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ENTITYINSTANTGUID_FIELD_NUMBER; + hash = (53 * hash) + getEntityInstantGuid().hashCode(); + if (hasCurrentPos()) { + hash = (37 * hash) + CURRENTPOS_FIELD_NUMBER; + hash = (53 * hash) + getCurrentPos().hashCode(); + } + if (hasUgcNpcAppearance()) { + hash = (37 * hash) + UGCNPCAPPEARANCE_FIELD_NUMBER; + hash = (53 * hash) + getUgcNpcAppearance().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * EntityType.Beacon ƼƼ :  Beacon   Ѵ. - kangms
+   * 
+ * + * Protobuf type {@code UgcNpcEntity} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgcNpcEntity) + com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntityOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcEntity_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcEntity_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + entityInstantGuid_ = ""; + currentPos_ = null; + if (currentPosBuilder_ != null) { + currentPosBuilder_.dispose(); + currentPosBuilder_ = null; + } + ugcNpcAppearance_ = null; + if (ugcNpcAppearanceBuilder_ != null) { + ugcNpcAppearanceBuilder_.dispose(); + ugcNpcAppearanceBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcEntity_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity build() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity result = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.entityInstantGuid_ = entityInstantGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.currentPos_ = currentPosBuilder_ == null + ? currentPos_ + : currentPosBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.ugcNpcAppearance_ = ugcNpcAppearanceBuilder_ == null + ? ugcNpcAppearance_ + : ugcNpcAppearanceBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity.getDefaultInstance()) return this; + if (!other.getEntityInstantGuid().isEmpty()) { + entityInstantGuid_ = other.entityInstantGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasCurrentPos()) { + mergeCurrentPos(other.getCurrentPos()); + } + if (other.hasUgcNpcAppearance()) { + mergeUgcNpcAppearance(other.getUgcNpcAppearance()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + entityInstantGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCurrentPosFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 42: { + input.readMessage( + getUgcNpcAppearanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object entityInstantGuid_ = ""; + /** + *
+     * νϽ ƼƼ ֹ߼(Instant) Guid
+     * 
+ * + * string entityInstantGuid = 1; + * @return The entityInstantGuid. + */ + public java.lang.String getEntityInstantGuid() { + java.lang.Object ref = entityInstantGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entityInstantGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * νϽ ƼƼ ֹ߼(Instant) Guid
+     * 
+ * + * string entityInstantGuid = 1; + * @return The bytes for entityInstantGuid. + */ + public com.google.protobuf.ByteString + getEntityInstantGuidBytes() { + java.lang.Object ref = entityInstantGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + entityInstantGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * νϽ ƼƼ ֹ߼(Instant) Guid
+     * 
+ * + * string entityInstantGuid = 1; + * @param value The entityInstantGuid to set. + * @return This builder for chaining. + */ + public Builder setEntityInstantGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + entityInstantGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * νϽ ƼƼ ֹ߼(Instant) Guid
+     * 
+ * + * string entityInstantGuid = 1; + * @return This builder for chaining. + */ + public Builder clearEntityInstantGuid() { + entityInstantGuid_ = getDefaultInstance().getEntityInstantGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * νϽ ƼƼ ֹ߼(Instant) Guid
+     * 
+ * + * string entityInstantGuid = 1; + * @param value The bytes for entityInstantGuid to set. + * @return This builder for chaining. + */ + public Builder setEntityInstantGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + entityInstantGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.Pos currentPos_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> currentPosBuilder_; + /** + *
+     *  ġ
+     * 
+ * + * .Pos CurrentPos = 2; + * @return Whether the currentPos field is set. + */ + public boolean hasCurrentPos() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     *  ġ
+     * 
+ * + * .Pos CurrentPos = 2; + * @return The currentPos. + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos getCurrentPos() { + if (currentPosBuilder_ == null) { + return currentPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : currentPos_; + } else { + return currentPosBuilder_.getMessage(); + } + } + /** + *
+     *  ġ
+     * 
+ * + * .Pos CurrentPos = 2; + */ + public Builder setCurrentPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (currentPosBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + currentPos_ = value; + } else { + currentPosBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     *  ġ
+     * 
+ * + * .Pos CurrentPos = 2; + */ + public Builder setCurrentPos( + com.caliverse.admin.domain.RabbitMq.message.Pos.Builder builderForValue) { + if (currentPosBuilder_ == null) { + currentPos_ = builderForValue.build(); + } else { + currentPosBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     *  ġ
+     * 
+ * + * .Pos CurrentPos = 2; + */ + public Builder mergeCurrentPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) { + if (currentPosBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + currentPos_ != null && + currentPos_ != com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance()) { + getCurrentPosBuilder().mergeFrom(value); + } else { + currentPos_ = value; + } + } else { + currentPosBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     *  ġ
+     * 
+ * + * .Pos CurrentPos = 2; + */ + public Builder clearCurrentPos() { + bitField0_ = (bitField0_ & ~0x00000002); + currentPos_ = null; + if (currentPosBuilder_ != null) { + currentPosBuilder_.dispose(); + currentPosBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     *  ġ
+     * 
+ * + * .Pos CurrentPos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.Pos.Builder getCurrentPosBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getCurrentPosFieldBuilder().getBuilder(); + } + /** + *
+     *  ġ
+     * 
+ * + * .Pos CurrentPos = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getCurrentPosOrBuilder() { + if (currentPosBuilder_ != null) { + return currentPosBuilder_.getMessageOrBuilder(); + } else { + return currentPos_ == null ? + com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : currentPos_; + } + } + /** + *
+     *  ġ
+     * 
+ * + * .Pos CurrentPos = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> + getCurrentPosFieldBuilder() { + if (currentPosBuilder_ == null) { + currentPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder>( + getCurrentPos(), + getParentForChildren(), + isClean()); + currentPos_ = null; + } + return currentPosBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance ugcNpcAppearance_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearanceOrBuilder> ugcNpcAppearanceBuilder_; + /** + *
+     * UgcNpc.Beacon  
+     * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + * @return Whether the ugcNpcAppearance field is set. + */ + public boolean hasUgcNpcAppearance() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     * UgcNpc.Beacon  
+     * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + * @return The ugcNpcAppearance. + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance getUgcNpcAppearance() { + if (ugcNpcAppearanceBuilder_ == null) { + return ugcNpcAppearance_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.getDefaultInstance() : ugcNpcAppearance_; + } else { + return ugcNpcAppearanceBuilder_.getMessage(); + } + } + /** + *
+     * UgcNpc.Beacon  
+     * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + */ + public Builder setUgcNpcAppearance(com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance value) { + if (ugcNpcAppearanceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ugcNpcAppearance_ = value; + } else { + ugcNpcAppearanceBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * UgcNpc.Beacon  
+     * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + */ + public Builder setUgcNpcAppearance( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.Builder builderForValue) { + if (ugcNpcAppearanceBuilder_ == null) { + ugcNpcAppearance_ = builderForValue.build(); + } else { + ugcNpcAppearanceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * UgcNpc.Beacon  
+     * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + */ + public Builder mergeUgcNpcAppearance(com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance value) { + if (ugcNpcAppearanceBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + ugcNpcAppearance_ != null && + ugcNpcAppearance_ != com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.getDefaultInstance()) { + getUgcNpcAppearanceBuilder().mergeFrom(value); + } else { + ugcNpcAppearance_ = value; + } + } else { + ugcNpcAppearanceBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * UgcNpc.Beacon  
+     * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + */ + public Builder clearUgcNpcAppearance() { + bitField0_ = (bitField0_ & ~0x00000004); + ugcNpcAppearance_ = null; + if (ugcNpcAppearanceBuilder_ != null) { + ugcNpcAppearanceBuilder_.dispose(); + ugcNpcAppearanceBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * UgcNpc.Beacon  
+     * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.Builder getUgcNpcAppearanceBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getUgcNpcAppearanceFieldBuilder().getBuilder(); + } + /** + *
+     * UgcNpc.Beacon  
+     * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearanceOrBuilder getUgcNpcAppearanceOrBuilder() { + if (ugcNpcAppearanceBuilder_ != null) { + return ugcNpcAppearanceBuilder_.getMessageOrBuilder(); + } else { + return ugcNpcAppearance_ == null ? + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.getDefaultInstance() : ugcNpcAppearance_; + } + } + /** + *
+     * UgcNpc.Beacon  
+     * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearanceOrBuilder> + getUgcNpcAppearanceFieldBuilder() { + if (ugcNpcAppearanceBuilder_ == null) { + ugcNpcAppearanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearanceOrBuilder>( + getUgcNpcAppearance(), + getParentForChildren(), + isClean()); + ugcNpcAppearance_ = null; + } + return ugcNpcAppearanceBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgcNpcEntity) + } + + // @@protoc_insertion_point(class_scope:UgcNpcEntity) + private static final com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgcNpcEntity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcEntityOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcEntityOrBuilder.java new file mode 100644 index 0000000..65fe069 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcEntityOrBuilder.java @@ -0,0 +1,83 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgcNpcEntityOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgcNpcEntity) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * νϽ ƼƼ ֹ߼(Instant) Guid
+   * 
+ * + * string entityInstantGuid = 1; + * @return The entityInstantGuid. + */ + java.lang.String getEntityInstantGuid(); + /** + *
+   * νϽ ƼƼ ֹ߼(Instant) Guid
+   * 
+ * + * string entityInstantGuid = 1; + * @return The bytes for entityInstantGuid. + */ + com.google.protobuf.ByteString + getEntityInstantGuidBytes(); + + /** + *
+   *  ġ
+   * 
+ * + * .Pos CurrentPos = 2; + * @return Whether the currentPos field is set. + */ + boolean hasCurrentPos(); + /** + *
+   *  ġ
+   * 
+ * + * .Pos CurrentPos = 2; + * @return The currentPos. + */ + com.caliverse.admin.domain.RabbitMq.message.Pos getCurrentPos(); + /** + *
+   *  ġ
+   * 
+ * + * .Pos CurrentPos = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getCurrentPosOrBuilder(); + + /** + *
+   * UgcNpc.Beacon  
+   * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + * @return Whether the ugcNpcAppearance field is set. + */ + boolean hasUgcNpcAppearance(); + /** + *
+   * UgcNpc.Beacon  
+   * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + * @return The ugcNpcAppearance. + */ + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance getUgcNpcAppearance(); + /** + *
+   * UgcNpc.Beacon  
+   * 
+ * + * .UgcNpcAppearance ugcNpcAppearance = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearanceOrBuilder getUgcNpcAppearanceOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcInteraction.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcInteraction.java new file mode 100644 index 0000000..688b3a3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcInteraction.java @@ -0,0 +1,866 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * EntityType.Beacon ȣۿ :  Beacon   Ѵ. - kangms
+ * 
+ * + * Protobuf type {@code UgcNpcInteraction} + */ +public final class UgcNpcInteraction extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgcNpcInteraction) + UgcNpcInteractionOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgcNpcInteraction.newBuilder() to construct. + private UgcNpcInteraction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgcNpcInteraction() { + ugcNpcMetaGuid_ = ""; + ownerUserGuid_ = ""; + isCheckLikeFlag_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgcNpcInteraction(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcInteraction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcInteraction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction.Builder.class); + } + + public static final int UGCNPCMETAGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object ugcNpcMetaGuid_ = ""; + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The ugcNpcMetaGuid. + */ + @java.lang.Override + public java.lang.String getUgcNpcMetaGuid() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcNpcMetaGuid_ = s; + return s; + } + } + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The bytes for ugcNpcMetaGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcNpcMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNERUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object ownerUserGuid_ = ""; + /** + *
+   * Ugc Npc Meta   UserGuid	
+   * 
+ * + * string ownerUserGuid = 2; + * @return The ownerUserGuid. + */ + @java.lang.Override + public java.lang.String getOwnerUserGuid() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerUserGuid_ = s; + return s; + } + } + /** + *
+   * Ugc Npc Meta   UserGuid	
+   * 
+ * + * string ownerUserGuid = 2; + * @return The bytes for ownerUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerUserGuidBytes() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ISCHECKLIKEFLAG_FIELD_NUMBER = 5; + private int isCheckLikeFlag_ = 0; + /** + *
+   * Ugc Npc ƿ üũ/ (true: üũ, false: üũ)
+   * 
+ * + * .BoolType IsCheckLikeFlag = 5; + * @return The enum numeric value on the wire for isCheckLikeFlag. + */ + @java.lang.Override public int getIsCheckLikeFlagValue() { + return isCheckLikeFlag_; + } + /** + *
+   * Ugc Npc ƿ üũ/ (true: üũ, false: üũ)
+   * 
+ * + * .BoolType IsCheckLikeFlag = 5; + * @return The isCheckLikeFlag. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsCheckLikeFlag() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isCheckLikeFlag_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcNpcMetaGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ugcNpcMetaGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerUserGuid_); + } + if (isCheckLikeFlag_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + output.writeEnum(5, isCheckLikeFlag_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcNpcMetaGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ugcNpcMetaGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerUserGuid_); + } + if (isCheckLikeFlag_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, isCheckLikeFlag_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction other = (com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction) obj; + + if (!getUgcNpcMetaGuid() + .equals(other.getUgcNpcMetaGuid())) return false; + if (!getOwnerUserGuid() + .equals(other.getOwnerUserGuid())) return false; + if (isCheckLikeFlag_ != other.isCheckLikeFlag_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + UGCNPCMETAGUID_FIELD_NUMBER; + hash = (53 * hash) + getUgcNpcMetaGuid().hashCode(); + hash = (37 * hash) + OWNERUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getOwnerUserGuid().hashCode(); + hash = (37 * hash) + ISCHECKLIKEFLAG_FIELD_NUMBER; + hash = (53 * hash) + isCheckLikeFlag_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * EntityType.Beacon ȣۿ :  Beacon   Ѵ. - kangms
+   * 
+ * + * Protobuf type {@code UgcNpcInteraction} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgcNpcInteraction) + com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteractionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcInteraction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcInteraction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + ugcNpcMetaGuid_ = ""; + ownerUserGuid_ = ""; + isCheckLikeFlag_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcInteraction_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction build() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction result = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.ugcNpcMetaGuid_ = ugcNpcMetaGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.ownerUserGuid_ = ownerUserGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.isCheckLikeFlag_ = isCheckLikeFlag_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction.getDefaultInstance()) return this; + if (!other.getUgcNpcMetaGuid().isEmpty()) { + ugcNpcMetaGuid_ = other.ugcNpcMetaGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getOwnerUserGuid().isEmpty()) { + ownerUserGuid_ = other.ownerUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.isCheckLikeFlag_ != 0) { + setIsCheckLikeFlagValue(other.getIsCheckLikeFlagValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + ugcNpcMetaGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + ownerUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 40: { + isCheckLikeFlag_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object ugcNpcMetaGuid_ = ""; + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The ugcNpcMetaGuid. + */ + public java.lang.String getUgcNpcMetaGuid() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcNpcMetaGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The bytes for ugcNpcMetaGuid. + */ + public com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcNpcMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @param value The ugcNpcMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcNpcMetaGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ugcNpcMetaGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @return This builder for chaining. + */ + public Builder clearUgcNpcMetaGuid() { + ugcNpcMetaGuid_ = getDefaultInstance().getUgcNpcMetaGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @param value The bytes for ugcNpcMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcNpcMetaGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ugcNpcMetaGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object ownerUserGuid_ = ""; + /** + *
+     * Ugc Npc Meta   UserGuid	
+     * 
+ * + * string ownerUserGuid = 2; + * @return The ownerUserGuid. + */ + public java.lang.String getOwnerUserGuid() { + java.lang.Object ref = ownerUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Ugc Npc Meta   UserGuid	
+     * 
+ * + * string ownerUserGuid = 2; + * @return The bytes for ownerUserGuid. + */ + public com.google.protobuf.ByteString + getOwnerUserGuidBytes() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Ugc Npc Meta   UserGuid	
+     * 
+ * + * string ownerUserGuid = 2; + * @param value The ownerUserGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ownerUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta   UserGuid	
+     * 
+ * + * string ownerUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearOwnerUserGuid() { + ownerUserGuid_ = getDefaultInstance().getOwnerUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta   UserGuid	
+     * 
+ * + * string ownerUserGuid = 2; + * @param value The bytes for ownerUserGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ownerUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int isCheckLikeFlag_ = 0; + /** + *
+     * Ugc Npc ƿ üũ/ (true: üũ, false: üũ)
+     * 
+ * + * .BoolType IsCheckLikeFlag = 5; + * @return The enum numeric value on the wire for isCheckLikeFlag. + */ + @java.lang.Override public int getIsCheckLikeFlagValue() { + return isCheckLikeFlag_; + } + /** + *
+     * Ugc Npc ƿ üũ/ (true: üũ, false: üũ)
+     * 
+ * + * .BoolType IsCheckLikeFlag = 5; + * @param value The enum numeric value on the wire for isCheckLikeFlag to set. + * @return This builder for chaining. + */ + public Builder setIsCheckLikeFlagValue(int value) { + isCheckLikeFlag_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Ugc Npc ƿ üũ/ (true: üũ, false: üũ)
+     * 
+ * + * .BoolType IsCheckLikeFlag = 5; + * @return The isCheckLikeFlag. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsCheckLikeFlag() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isCheckLikeFlag_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + /** + *
+     * Ugc Npc ƿ üũ/ (true: üũ, false: üũ)
+     * 
+ * + * .BoolType IsCheckLikeFlag = 5; + * @param value The isCheckLikeFlag to set. + * @return This builder for chaining. + */ + public Builder setIsCheckLikeFlag(com.caliverse.admin.domain.RabbitMq.message.BoolType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + isCheckLikeFlag_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Ugc Npc ƿ üũ/ (true: üũ, false: üũ)
+     * 
+ * + * .BoolType IsCheckLikeFlag = 5; + * @return This builder for chaining. + */ + public Builder clearIsCheckLikeFlag() { + bitField0_ = (bitField0_ & ~0x00000004); + isCheckLikeFlag_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgcNpcInteraction) + } + + // @@protoc_insertion_point(class_scope:UgcNpcInteraction) + private static final com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgcNpcInteraction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcInteraction getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcInteractionOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcInteractionOrBuilder.java new file mode 100644 index 0000000..16f6af9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcInteractionOrBuilder.java @@ -0,0 +1,68 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgcNpcInteractionOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgcNpcInteraction) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The ugcNpcMetaGuid. + */ + java.lang.String getUgcNpcMetaGuid(); + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The bytes for ugcNpcMetaGuid. + */ + com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes(); + + /** + *
+   * Ugc Npc Meta   UserGuid	
+   * 
+ * + * string ownerUserGuid = 2; + * @return The ownerUserGuid. + */ + java.lang.String getOwnerUserGuid(); + /** + *
+   * Ugc Npc Meta   UserGuid	
+   * 
+ * + * string ownerUserGuid = 2; + * @return The bytes for ownerUserGuid. + */ + com.google.protobuf.ByteString + getOwnerUserGuidBytes(); + + /** + *
+   * Ugc Npc ƿ üũ/ (true: üũ, false: üũ)
+   * 
+ * + * .BoolType IsCheckLikeFlag = 5; + * @return The enum numeric value on the wire for isCheckLikeFlag. + */ + int getIsCheckLikeFlagValue(); + /** + *
+   * Ugc Npc ƿ üũ/ (true: üũ, false: üũ)
+   * 
+ * + * .BoolType IsCheckLikeFlag = 5; + * @return The isCheckLikeFlag. + */ + com.caliverse.admin.domain.RabbitMq.message.BoolType getIsCheckLikeFlag(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcItems.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcItems.java new file mode 100644 index 0000000..2417ee7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcItems.java @@ -0,0 +1,1034 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * UGC NPC  
+ * 
+ * + * Protobuf type {@code UgcNpcItems} + */ +public final class UgcNpcItems extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgcNpcItems) + UgcNpcItemsOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgcNpcItems.newBuilder() to construct. + private UgcNpcItems(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgcNpcItems() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgcNpcItems(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcItems_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetHasItems(); + case 5: + return internalGetHasTattooInfos(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcItems_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.Builder.class); + } + + public static final int HASITEMS_FIELD_NUMBER = 1; + private static final class HasItemsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcItems_HasItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> hasItems_; + private com.google.protobuf.MapField + internalGetHasItems() { + if (hasItems_ == null) { + return com.google.protobuf.MapField.emptyMapField( + HasItemsDefaultEntryHolder.defaultEntry); + } + return hasItems_; + } + public int getHasItemsCount() { + return internalGetHasItems().getMap().size(); + } + /** + *
+   * <ITEM_GUID, Item>	
+   * 
+ * + * map<string, .Item> hasItems = 1; + */ + @java.lang.Override + public boolean containsHasItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetHasItems().getMap().containsKey(key); + } + /** + * Use {@link #getHasItemsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getHasItems() { + return getHasItemsMap(); + } + /** + *
+   * <ITEM_GUID, Item>	
+   * 
+ * + * map<string, .Item> hasItems = 1; + */ + @java.lang.Override + public java.util.Map getHasItemsMap() { + return internalGetHasItems().getMap(); + } + /** + *
+   * <ITEM_GUID, Item>	
+   * 
+ * + * map<string, .Item> hasItems = 1; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item getHasItemsOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetHasItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * <ITEM_GUID, Item>	
+   * 
+ * + * map<string, .Item> hasItems = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getHasItemsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetHasItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int HASTATTOOINFOS_FIELD_NUMBER = 5; + private static final class HasTattooInfosDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcItems_HasTattooInfosEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.INT32, + 0, + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> hasTattooInfos_; + private com.google.protobuf.MapField + internalGetHasTattooInfos() { + if (hasTattooInfos_ == null) { + return com.google.protobuf.MapField.emptyMapField( + HasTattooInfosDefaultEntryHolder.defaultEntry); + } + return hasTattooInfos_; + } + public int getHasTattooInfosCount() { + return internalGetHasTattooInfos().getMap().size(); + } + /** + *
+   * <TattooSlotType, TattooSlotInfo>		
+   * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + @java.lang.Override + public boolean containsHasTattooInfos( + int key) { + + return internalGetHasTattooInfos().getMap().containsKey(key); + } + /** + * Use {@link #getHasTattooInfosMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getHasTattooInfos() { + return getHasTattooInfosMap(); + } + /** + *
+   * <TattooSlotType, TattooSlotInfo>		
+   * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + @java.lang.Override + public java.util.Map getHasTattooInfosMap() { + return internalGetHasTattooInfos().getMap(); + } + /** + *
+   * <TattooSlotType, TattooSlotInfo>		
+   * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getHasTattooInfosOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo defaultValue) { + + java.util.Map map = + internalGetHasTattooInfos().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * <TattooSlotType, TattooSlotInfo>		
+   * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getHasTattooInfosOrThrow( + int key) { + + java.util.Map map = + internalGetHasTattooInfos().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHasItems(), + HasItemsDefaultEntryHolder.defaultEntry, + 1); + com.google.protobuf.GeneratedMessageV3 + .serializeIntegerMapTo( + output, + internalGetHasTattooInfos(), + HasTattooInfosDefaultEntryHolder.defaultEntry, + 5); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetHasItems().getMap().entrySet()) { + com.google.protobuf.MapEntry + hasItems__ = HasItemsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, hasItems__); + } + for (java.util.Map.Entry entry + : internalGetHasTattooInfos().getMap().entrySet()) { + com.google.protobuf.MapEntry + hasTattooInfos__ = HasTattooInfosDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, hasTattooInfos__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems other = (com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems) obj; + + if (!internalGetHasItems().equals( + other.internalGetHasItems())) return false; + if (!internalGetHasTattooInfos().equals( + other.internalGetHasTattooInfos())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetHasItems().getMap().isEmpty()) { + hash = (37 * hash) + HASITEMS_FIELD_NUMBER; + hash = (53 * hash) + internalGetHasItems().hashCode(); + } + if (!internalGetHasTattooInfos().getMap().isEmpty()) { + hash = (37 * hash) + HASTATTOOINFOS_FIELD_NUMBER; + hash = (53 * hash) + internalGetHasTattooInfos().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * UGC NPC  
+   * 
+ * + * Protobuf type {@code UgcNpcItems} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgcNpcItems) + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItemsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcItems_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetHasItems(); + case 5: + return internalGetHasTattooInfos(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableHasItems(); + case 5: + return internalGetMutableHasTattooInfos(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcItems_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableHasItems().clear(); + internalGetMutableHasTattooInfos().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcItems_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems build() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems result = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.hasItems_ = internalGetHasItems(); + result.hasItems_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hasTattooInfos_ = internalGetHasTattooInfos(); + result.hasTattooInfos_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.getDefaultInstance()) return this; + internalGetMutableHasItems().mergeFrom( + other.internalGetHasItems()); + bitField0_ |= 0x00000001; + internalGetMutableHasTattooInfos().mergeFrom( + other.internalGetHasTattooInfos()); + bitField0_ |= 0x00000002; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + hasItems__ = input.readMessage( + HasItemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableHasItems().getMutableMap().put( + hasItems__.getKey(), hasItems__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 42: { + com.google.protobuf.MapEntry + hasTattooInfos__ = input.readMessage( + HasTattooInfosDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableHasTattooInfos().getMutableMap().put( + hasTattooInfos__.getKey(), hasTattooInfos__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> hasItems_; + private com.google.protobuf.MapField + internalGetHasItems() { + if (hasItems_ == null) { + return com.google.protobuf.MapField.emptyMapField( + HasItemsDefaultEntryHolder.defaultEntry); + } + return hasItems_; + } + private com.google.protobuf.MapField + internalGetMutableHasItems() { + if (hasItems_ == null) { + hasItems_ = com.google.protobuf.MapField.newMapField( + HasItemsDefaultEntryHolder.defaultEntry); + } + if (!hasItems_.isMutable()) { + hasItems_ = hasItems_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return hasItems_; + } + public int getHasItemsCount() { + return internalGetHasItems().getMap().size(); + } + /** + *
+     * <ITEM_GUID, Item>	
+     * 
+ * + * map<string, .Item> hasItems = 1; + */ + @java.lang.Override + public boolean containsHasItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetHasItems().getMap().containsKey(key); + } + /** + * Use {@link #getHasItemsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getHasItems() { + return getHasItemsMap(); + } + /** + *
+     * <ITEM_GUID, Item>	
+     * 
+ * + * map<string, .Item> hasItems = 1; + */ + @java.lang.Override + public java.util.Map getHasItemsMap() { + return internalGetHasItems().getMap(); + } + /** + *
+     * <ITEM_GUID, Item>	
+     * 
+ * + * map<string, .Item> hasItems = 1; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item getHasItemsOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetHasItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * <ITEM_GUID, Item>	
+     * 
+ * + * map<string, .Item> hasItems = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.Item getHasItemsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetHasItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearHasItems() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableHasItems().getMutableMap() + .clear(); + return this; + } + /** + *
+     * <ITEM_GUID, Item>	
+     * 
+ * + * map<string, .Item> hasItems = 1; + */ + public Builder removeHasItems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableHasItems().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableHasItems() { + bitField0_ |= 0x00000001; + return internalGetMutableHasItems().getMutableMap(); + } + /** + *
+     * <ITEM_GUID, Item>	
+     * 
+ * + * map<string, .Item> hasItems = 1; + */ + public Builder putHasItems( + java.lang.String key, + com.caliverse.admin.domain.RabbitMq.message.Item value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableHasItems().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     * <ITEM_GUID, Item>	
+     * 
+ * + * map<string, .Item> hasItems = 1; + */ + public Builder putAllHasItems( + java.util.Map values) { + internalGetMutableHasItems().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + + private com.google.protobuf.MapField< + java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> hasTattooInfos_; + private com.google.protobuf.MapField + internalGetHasTattooInfos() { + if (hasTattooInfos_ == null) { + return com.google.protobuf.MapField.emptyMapField( + HasTattooInfosDefaultEntryHolder.defaultEntry); + } + return hasTattooInfos_; + } + private com.google.protobuf.MapField + internalGetMutableHasTattooInfos() { + if (hasTattooInfos_ == null) { + hasTattooInfos_ = com.google.protobuf.MapField.newMapField( + HasTattooInfosDefaultEntryHolder.defaultEntry); + } + if (!hasTattooInfos_.isMutable()) { + hasTattooInfos_ = hasTattooInfos_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return hasTattooInfos_; + } + public int getHasTattooInfosCount() { + return internalGetHasTattooInfos().getMap().size(); + } + /** + *
+     * <TattooSlotType, TattooSlotInfo>		
+     * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + @java.lang.Override + public boolean containsHasTattooInfos( + int key) { + + return internalGetHasTattooInfos().getMap().containsKey(key); + } + /** + * Use {@link #getHasTattooInfosMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getHasTattooInfos() { + return getHasTattooInfosMap(); + } + /** + *
+     * <TattooSlotType, TattooSlotInfo>		
+     * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + @java.lang.Override + public java.util.Map getHasTattooInfosMap() { + return internalGetHasTattooInfos().getMap(); + } + /** + *
+     * <TattooSlotType, TattooSlotInfo>		
+     * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + @java.lang.Override + public /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getHasTattooInfosOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo defaultValue) { + + java.util.Map map = + internalGetHasTattooInfos().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * <TattooSlotType, TattooSlotInfo>		
+     * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getHasTattooInfosOrThrow( + int key) { + + java.util.Map map = + internalGetHasTattooInfos().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearHasTattooInfos() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableHasTattooInfos().getMutableMap() + .clear(); + return this; + } + /** + *
+     * <TattooSlotType, TattooSlotInfo>		
+     * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + public Builder removeHasTattooInfos( + int key) { + + internalGetMutableHasTattooInfos().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableHasTattooInfos() { + bitField0_ |= 0x00000002; + return internalGetMutableHasTattooInfos().getMutableMap(); + } + /** + *
+     * <TattooSlotType, TattooSlotInfo>		
+     * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + public Builder putHasTattooInfos( + int key, + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo value) { + + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableHasTattooInfos().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000002; + return this; + } + /** + *
+     * <TattooSlotType, TattooSlotInfo>		
+     * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + public Builder putAllHasTattooInfos( + java.util.Map values) { + internalGetMutableHasTattooInfos().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000002; + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgcNpcItems) + } + + // @@protoc_insertion_point(class_scope:UgcNpcItems) + private static final com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgcNpcItems parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcItemsOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcItemsOrBuilder.java new file mode 100644 index 0000000..3ecf1d3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcItemsOrBuilder.java @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgcNpcItemsOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgcNpcItems) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * <ITEM_GUID, Item>	
+   * 
+ * + * map<string, .Item> hasItems = 1; + */ + int getHasItemsCount(); + /** + *
+   * <ITEM_GUID, Item>	
+   * 
+ * + * map<string, .Item> hasItems = 1; + */ + boolean containsHasItems( + java.lang.String key); + /** + * Use {@link #getHasItemsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getHasItems(); + /** + *
+   * <ITEM_GUID, Item>	
+   * 
+ * + * map<string, .Item> hasItems = 1; + */ + java.util.Map + getHasItemsMap(); + /** + *
+   * <ITEM_GUID, Item>	
+   * 
+ * + * map<string, .Item> hasItems = 1; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item getHasItemsOrDefault( + java.lang.String key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.Item defaultValue); + /** + *
+   * <ITEM_GUID, Item>	
+   * 
+ * + * map<string, .Item> hasItems = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.Item getHasItemsOrThrow( + java.lang.String key); + + /** + *
+   * <TattooSlotType, TattooSlotInfo>		
+   * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + int getHasTattooInfosCount(); + /** + *
+   * <TattooSlotType, TattooSlotInfo>		
+   * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + boolean containsHasTattooInfos( + int key); + /** + * Use {@link #getHasTattooInfosMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getHasTattooInfos(); + /** + *
+   * <TattooSlotType, TattooSlotInfo>		
+   * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + java.util.Map + getHasTattooInfosMap(); + /** + *
+   * <TattooSlotType, TattooSlotInfo>		
+   * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getHasTattooInfosOrDefault( + int key, + /* nullable */ +com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo defaultValue); + /** + *
+   * <TattooSlotType, TattooSlotInfo>		
+   * 
+ * + * map<int32, .TattooSlotInfo> hasTattooInfos = 5; + */ + com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getHasTattooInfosOrThrow( + int key); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcRank.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcRank.java new file mode 100644 index 0000000..9f560f4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcRank.java @@ -0,0 +1,1474 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgcNpcRank} + */ +public final class UgcNpcRank extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgcNpcRank) + UgcNpcRankOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgcNpcRank.newBuilder() to construct. + private UgcNpcRank(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgcNpcRank() { + title_ = ""; + npcNickname_ = ""; + ugcNpcMetaGuid_ = ""; + ownerUserNickname_ = ""; + ownerUserGuid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgcNpcRank(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcRank_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcRank_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank.Builder.class); + } + + public static final int RANK_FIELD_NUMBER = 1; + private int rank_ = 0; + /** + *
+   *  
+   * 
+ * + * int32 rank = 1; + * @return The rank. + */ + @java.lang.Override + public int getRank() { + return rank_; + } + + public static final int TITLE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object title_ = ""; + /** + *
+   * ugc npc ŸƲ
+   * 
+ * + * string title = 2; + * @return The title. + */ + @java.lang.Override + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } + } + /** + *
+   * ugc npc ŸƲ
+   * 
+ * + * string title = 2; + * @return The bytes for title. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NPCNICKNAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object npcNickname_ = ""; + /** + *
+   * ugc npc г
+   * 
+ * + * string npcNickname = 3; + * @return The npcNickname. + */ + @java.lang.Override + public java.lang.String getNpcNickname() { + java.lang.Object ref = npcNickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + npcNickname_ = s; + return s; + } + } + /** + *
+   * ugc npc г
+   * 
+ * + * string npcNickname = 3; + * @return The bytes for npcNickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNpcNicknameBytes() { + java.lang.Object ref = npcNickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + npcNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UGCNPCMETAGUID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object ugcNpcMetaGuid_ = ""; + /** + *
+   * ugc npc meta guid
+   * 
+ * + * string ugcNpcMetaGuid = 4; + * @return The ugcNpcMetaGuid. + */ + @java.lang.Override + public java.lang.String getUgcNpcMetaGuid() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcNpcMetaGuid_ = s; + return s; + } + } + /** + *
+   * ugc npc meta guid
+   * 
+ * + * string ugcNpcMetaGuid = 4; + * @return The bytes for ugcNpcMetaGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcNpcMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BODYITEMMETAID_FIELD_NUMBER = 5; + private int bodyItemMetaId_ = 0; + /** + *
+   * ugc npc body meta Id
+   * 
+ * + * int32 bodyItemMetaId = 5; + * @return The bodyItemMetaId. + */ + @java.lang.Override + public int getBodyItemMetaId() { + return bodyItemMetaId_; + } + + public static final int OWNERUSERNICKNAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object ownerUserNickname_ = ""; + /** + *
+   *  г
+   * 
+ * + * string ownerUserNickname = 6; + * @return The ownerUserNickname. + */ + @java.lang.Override + public java.lang.String getOwnerUserNickname() { + java.lang.Object ref = ownerUserNickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerUserNickname_ = s; + return s; + } + } + /** + *
+   *  г
+   * 
+ * + * string ownerUserNickname = 6; + * @return The bytes for ownerUserNickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerUserNicknameBytes() { + java.lang.Object ref = ownerUserNickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerUserNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNERUSERGUID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object ownerUserGuid_ = ""; + /** + *
+   *  UserGuid
+   * 
+ * + * string ownerUserGuid = 7; + * @return The ownerUserGuid. + */ + @java.lang.Override + public java.lang.String getOwnerUserGuid() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerUserGuid_ = s; + return s; + } + } + /** + *
+   *  UserGuid
+   * 
+ * + * string ownerUserGuid = 7; + * @return The bytes for ownerUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerUserGuidBytes() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCORE_FIELD_NUMBER = 8; + private int score_ = 0; + /** + *
+   * ranking ǥ
+   * 
+ * + * int32 score = 8; + * @return The score. + */ + @java.lang.Override + public int getScore() { + return score_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (rank_ != 0) { + output.writeInt32(1, rank_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(npcNickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, npcNickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcNpcMetaGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ugcNpcMetaGuid_); + } + if (bodyItemMetaId_ != 0) { + output.writeInt32(5, bodyItemMetaId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserNickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, ownerUserNickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, ownerUserGuid_); + } + if (score_ != 0) { + output.writeInt32(8, score_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (rank_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, rank_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(npcNickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, npcNickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcNpcMetaGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ugcNpcMetaGuid_); + } + if (bodyItemMetaId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, bodyItemMetaId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserNickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, ownerUserNickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, ownerUserGuid_); + } + if (score_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, score_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank other = (com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank) obj; + + if (getRank() + != other.getRank()) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getNpcNickname() + .equals(other.getNpcNickname())) return false; + if (!getUgcNpcMetaGuid() + .equals(other.getUgcNpcMetaGuid())) return false; + if (getBodyItemMetaId() + != other.getBodyItemMetaId()) return false; + if (!getOwnerUserNickname() + .equals(other.getOwnerUserNickname())) return false; + if (!getOwnerUserGuid() + .equals(other.getOwnerUserGuid())) return false; + if (getScore() + != other.getScore()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RANK_FIELD_NUMBER; + hash = (53 * hash) + getRank(); + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); + hash = (37 * hash) + NPCNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getNpcNickname().hashCode(); + hash = (37 * hash) + UGCNPCMETAGUID_FIELD_NUMBER; + hash = (53 * hash) + getUgcNpcMetaGuid().hashCode(); + hash = (37 * hash) + BODYITEMMETAID_FIELD_NUMBER; + hash = (53 * hash) + getBodyItemMetaId(); + hash = (37 * hash) + OWNERUSERNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getOwnerUserNickname().hashCode(); + hash = (37 * hash) + OWNERUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getOwnerUserGuid().hashCode(); + hash = (37 * hash) + SCORE_FIELD_NUMBER; + hash = (53 * hash) + getScore(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgcNpcRank} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgcNpcRank) + com.caliverse.admin.domain.RabbitMq.message.UgcNpcRankOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcRank_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcRank_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + rank_ = 0; + title_ = ""; + npcNickname_ = ""; + ugcNpcMetaGuid_ = ""; + bodyItemMetaId_ = 0; + ownerUserNickname_ = ""; + ownerUserGuid_ = ""; + score_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcRank_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank build() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank result = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.rank_ = rank_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.title_ = title_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.npcNickname_ = npcNickname_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.ugcNpcMetaGuid_ = ugcNpcMetaGuid_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.bodyItemMetaId_ = bodyItemMetaId_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.ownerUserNickname_ = ownerUserNickname_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.ownerUserGuid_ = ownerUserGuid_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.score_ = score_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank.getDefaultInstance()) return this; + if (other.getRank() != 0) { + setRank(other.getRank()); + } + if (!other.getTitle().isEmpty()) { + title_ = other.title_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getNpcNickname().isEmpty()) { + npcNickname_ = other.npcNickname_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getUgcNpcMetaGuid().isEmpty()) { + ugcNpcMetaGuid_ = other.ugcNpcMetaGuid_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.getBodyItemMetaId() != 0) { + setBodyItemMetaId(other.getBodyItemMetaId()); + } + if (!other.getOwnerUserNickname().isEmpty()) { + ownerUserNickname_ = other.ownerUserNickname_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getOwnerUserGuid().isEmpty()) { + ownerUserGuid_ = other.ownerUserGuid_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (other.getScore() != 0) { + setScore(other.getScore()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + rank_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + npcNickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + ugcNpcMetaGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + bodyItemMetaId_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + ownerUserNickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + ownerUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 64: { + score_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int rank_ ; + /** + *
+     *  
+     * 
+ * + * int32 rank = 1; + * @return The rank. + */ + @java.lang.Override + public int getRank() { + return rank_; + } + /** + *
+     *  
+     * 
+ * + * int32 rank = 1; + * @param value The rank to set. + * @return This builder for chaining. + */ + public Builder setRank(int value) { + + rank_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     *  
+     * 
+ * + * int32 rank = 1; + * @return This builder for chaining. + */ + public Builder clearRank() { + bitField0_ = (bitField0_ & ~0x00000001); + rank_ = 0; + onChanged(); + return this; + } + + private java.lang.Object title_ = ""; + /** + *
+     * ugc npc ŸƲ
+     * 
+ * + * string title = 2; + * @return The title. + */ + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * ugc npc ŸƲ
+     * 
+ * + * string title = 2; + * @return The bytes for title. + */ + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * ugc npc ŸƲ
+     * 
+ * + * string title = 2; + * @param value The title to set. + * @return This builder for chaining. + */ + public Builder setTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + title_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * ugc npc ŸƲ
+     * 
+ * + * string title = 2; + * @return This builder for chaining. + */ + public Builder clearTitle() { + title_ = getDefaultInstance().getTitle(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * ugc npc ŸƲ
+     * 
+ * + * string title = 2; + * @param value The bytes for title to set. + * @return This builder for chaining. + */ + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + title_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object npcNickname_ = ""; + /** + *
+     * ugc npc г
+     * 
+ * + * string npcNickname = 3; + * @return The npcNickname. + */ + public java.lang.String getNpcNickname() { + java.lang.Object ref = npcNickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + npcNickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * ugc npc г
+     * 
+ * + * string npcNickname = 3; + * @return The bytes for npcNickname. + */ + public com.google.protobuf.ByteString + getNpcNicknameBytes() { + java.lang.Object ref = npcNickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + npcNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * ugc npc г
+     * 
+ * + * string npcNickname = 3; + * @param value The npcNickname to set. + * @return This builder for chaining. + */ + public Builder setNpcNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + npcNickname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * ugc npc г
+     * 
+ * + * string npcNickname = 3; + * @return This builder for chaining. + */ + public Builder clearNpcNickname() { + npcNickname_ = getDefaultInstance().getNpcNickname(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+     * ugc npc г
+     * 
+ * + * string npcNickname = 3; + * @param value The bytes for npcNickname to set. + * @return This builder for chaining. + */ + public Builder setNpcNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + npcNickname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object ugcNpcMetaGuid_ = ""; + /** + *
+     * ugc npc meta guid
+     * 
+ * + * string ugcNpcMetaGuid = 4; + * @return The ugcNpcMetaGuid. + */ + public java.lang.String getUgcNpcMetaGuid() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcNpcMetaGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * ugc npc meta guid
+     * 
+ * + * string ugcNpcMetaGuid = 4; + * @return The bytes for ugcNpcMetaGuid. + */ + public com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcNpcMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * ugc npc meta guid
+     * 
+ * + * string ugcNpcMetaGuid = 4; + * @param value The ugcNpcMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcNpcMetaGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ugcNpcMetaGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * ugc npc meta guid
+     * 
+ * + * string ugcNpcMetaGuid = 4; + * @return This builder for chaining. + */ + public Builder clearUgcNpcMetaGuid() { + ugcNpcMetaGuid_ = getDefaultInstance().getUgcNpcMetaGuid(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+     * ugc npc meta guid
+     * 
+ * + * string ugcNpcMetaGuid = 4; + * @param value The bytes for ugcNpcMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcNpcMetaGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ugcNpcMetaGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private int bodyItemMetaId_ ; + /** + *
+     * ugc npc body meta Id
+     * 
+ * + * int32 bodyItemMetaId = 5; + * @return The bodyItemMetaId. + */ + @java.lang.Override + public int getBodyItemMetaId() { + return bodyItemMetaId_; + } + /** + *
+     * ugc npc body meta Id
+     * 
+ * + * int32 bodyItemMetaId = 5; + * @param value The bodyItemMetaId to set. + * @return This builder for chaining. + */ + public Builder setBodyItemMetaId(int value) { + + bodyItemMetaId_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * ugc npc body meta Id
+     * 
+ * + * int32 bodyItemMetaId = 5; + * @return This builder for chaining. + */ + public Builder clearBodyItemMetaId() { + bitField0_ = (bitField0_ & ~0x00000010); + bodyItemMetaId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object ownerUserNickname_ = ""; + /** + *
+     *  г
+     * 
+ * + * string ownerUserNickname = 6; + * @return The ownerUserNickname. + */ + public java.lang.String getOwnerUserNickname() { + java.lang.Object ref = ownerUserNickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerUserNickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     *  г
+     * 
+ * + * string ownerUserNickname = 6; + * @return The bytes for ownerUserNickname. + */ + public com.google.protobuf.ByteString + getOwnerUserNicknameBytes() { + java.lang.Object ref = ownerUserNickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerUserNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     *  г
+     * 
+ * + * string ownerUserNickname = 6; + * @param value The ownerUserNickname to set. + * @return This builder for chaining. + */ + public Builder setOwnerUserNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ownerUserNickname_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     *  г
+     * 
+ * + * string ownerUserNickname = 6; + * @return This builder for chaining. + */ + public Builder clearOwnerUserNickname() { + ownerUserNickname_ = getDefaultInstance().getOwnerUserNickname(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + *
+     *  г
+     * 
+ * + * string ownerUserNickname = 6; + * @param value The bytes for ownerUserNickname to set. + * @return This builder for chaining. + */ + public Builder setOwnerUserNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ownerUserNickname_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object ownerUserGuid_ = ""; + /** + *
+     *  UserGuid
+     * 
+ * + * string ownerUserGuid = 7; + * @return The ownerUserGuid. + */ + public java.lang.String getOwnerUserGuid() { + java.lang.Object ref = ownerUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     *  UserGuid
+     * 
+ * + * string ownerUserGuid = 7; + * @return The bytes for ownerUserGuid. + */ + public com.google.protobuf.ByteString + getOwnerUserGuidBytes() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     *  UserGuid
+     * 
+ * + * string ownerUserGuid = 7; + * @param value The ownerUserGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ownerUserGuid_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     *  UserGuid
+     * 
+ * + * string ownerUserGuid = 7; + * @return This builder for chaining. + */ + public Builder clearOwnerUserGuid() { + ownerUserGuid_ = getDefaultInstance().getOwnerUserGuid(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + *
+     *  UserGuid
+     * 
+ * + * string ownerUserGuid = 7; + * @param value The bytes for ownerUserGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ownerUserGuid_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private int score_ ; + /** + *
+     * ranking ǥ
+     * 
+ * + * int32 score = 8; + * @return The score. + */ + @java.lang.Override + public int getScore() { + return score_; + } + /** + *
+     * ranking ǥ
+     * 
+ * + * int32 score = 8; + * @param value The score to set. + * @return This builder for chaining. + */ + public Builder setScore(int value) { + + score_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     * ranking ǥ
+     * 
+ * + * int32 score = 8; + * @return This builder for chaining. + */ + public Builder clearScore() { + bitField0_ = (bitField0_ & ~0x00000080); + score_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgcNpcRank) + } + + // @@protoc_insertion_point(class_scope:UgcNpcRank) + private static final com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgcNpcRank parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcRankOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcRankOrBuilder.java new file mode 100644 index 0000000..2c09242 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcRankOrBuilder.java @@ -0,0 +1,139 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgcNpcRankOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgcNpcRank) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *  
+   * 
+ * + * int32 rank = 1; + * @return The rank. + */ + int getRank(); + + /** + *
+   * ugc npc ŸƲ
+   * 
+ * + * string title = 2; + * @return The title. + */ + java.lang.String getTitle(); + /** + *
+   * ugc npc ŸƲ
+   * 
+ * + * string title = 2; + * @return The bytes for title. + */ + com.google.protobuf.ByteString + getTitleBytes(); + + /** + *
+   * ugc npc г
+   * 
+ * + * string npcNickname = 3; + * @return The npcNickname. + */ + java.lang.String getNpcNickname(); + /** + *
+   * ugc npc г
+   * 
+ * + * string npcNickname = 3; + * @return The bytes for npcNickname. + */ + com.google.protobuf.ByteString + getNpcNicknameBytes(); + + /** + *
+   * ugc npc meta guid
+   * 
+ * + * string ugcNpcMetaGuid = 4; + * @return The ugcNpcMetaGuid. + */ + java.lang.String getUgcNpcMetaGuid(); + /** + *
+   * ugc npc meta guid
+   * 
+ * + * string ugcNpcMetaGuid = 4; + * @return The bytes for ugcNpcMetaGuid. + */ + com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes(); + + /** + *
+   * ugc npc body meta Id
+   * 
+ * + * int32 bodyItemMetaId = 5; + * @return The bodyItemMetaId. + */ + int getBodyItemMetaId(); + + /** + *
+   *  г
+   * 
+ * + * string ownerUserNickname = 6; + * @return The ownerUserNickname. + */ + java.lang.String getOwnerUserNickname(); + /** + *
+   *  г
+   * 
+ * + * string ownerUserNickname = 6; + * @return The bytes for ownerUserNickname. + */ + com.google.protobuf.ByteString + getOwnerUserNicknameBytes(); + + /** + *
+   *  UserGuid
+   * 
+ * + * string ownerUserGuid = 7; + * @return The ownerUserGuid. + */ + java.lang.String getOwnerUserGuid(); + /** + *
+   *  UserGuid
+   * 
+ * + * string ownerUserGuid = 7; + * @return The bytes for ownerUserGuid. + */ + com.google.protobuf.ByteString + getOwnerUserGuidBytes(); + + /** + *
+   * ranking ǥ
+   * 
+ * + * int32 score = 8; + * @return The score. + */ + int getScore(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcRankState.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcRankState.java new file mode 100644 index 0000000..5455f1a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcRankState.java @@ -0,0 +1,138 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf enum {@code UgcNpcRankState} + */ +public enum UgcNpcRankState + implements com.google.protobuf.ProtocolMessageEnum { + /** + * UgcNpcRankState_None = 0; + */ + UgcNpcRankState_None(0), + /** + *
+   * Ʈ
+   * 
+ * + * UgcNpcRankState_Trend = 1; + */ + UgcNpcRankState_Trend(1), + /** + *
+   *  
+   * 
+ * + * UgcNpcRankState_Total = 2; + */ + UgcNpcRankState_Total(2), + UNRECOGNIZED(-1), + ; + + /** + * UgcNpcRankState_None = 0; + */ + public static final int UgcNpcRankState_None_VALUE = 0; + /** + *
+   * Ʈ
+   * 
+ * + * UgcNpcRankState_Trend = 1; + */ + public static final int UgcNpcRankState_Trend_VALUE = 1; + /** + *
+   *  
+   * 
+ * + * UgcNpcRankState_Total = 2; + */ + public static final int UgcNpcRankState_Total_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UgcNpcRankState valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UgcNpcRankState forNumber(int value) { + switch (value) { + case 0: return UgcNpcRankState_None; + case 1: return UgcNpcRankState_Trend; + case 2: return UgcNpcRankState_Total; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + UgcNpcRankState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UgcNpcRankState findValueByNumber(int number) { + return UgcNpcRankState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(13); + } + + private static final UgcNpcRankState[] VALUES = values(); + + public static UgcNpcRankState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UgcNpcRankState(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:UgcNpcRankState) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcRankType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcRankType.java new file mode 100644 index 0000000..44a958f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcRankType.java @@ -0,0 +1,155 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf enum {@code UgcNpcRankType} + */ +public enum UgcNpcRankType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * UgcNpcRankType_None = 0; + */ + UgcNpcRankType_None(0), + /** + *
+   * Like 
+   * 
+ * + * UgcNpcRankType_Like = 1; + */ + UgcNpcRankType_Like(1), + /** + *
+   * ȭ 
+   * 
+ * + * UgcNpcRankType_Communication = 2; + */ + UgcNpcRankType_Communication(2), + /** + *
+   * UGQ Ϸ 
+   * 
+ * + * UgcNpcRankType_Quest = 3; + */ + UgcNpcRankType_Quest(3), + UNRECOGNIZED(-1), + ; + + /** + * UgcNpcRankType_None = 0; + */ + public static final int UgcNpcRankType_None_VALUE = 0; + /** + *
+   * Like 
+   * 
+ * + * UgcNpcRankType_Like = 1; + */ + public static final int UgcNpcRankType_Like_VALUE = 1; + /** + *
+   * ȭ 
+   * 
+ * + * UgcNpcRankType_Communication = 2; + */ + public static final int UgcNpcRankType_Communication_VALUE = 2; + /** + *
+   * UGQ Ϸ 
+   * 
+ * + * UgcNpcRankType_Quest = 3; + */ + public static final int UgcNpcRankType_Quest_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UgcNpcRankType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UgcNpcRankType forNumber(int value) { + switch (value) { + case 0: return UgcNpcRankType_None; + case 1: return UgcNpcRankType_Like; + case 2: return UgcNpcRankType_Communication; + case 3: return UgcNpcRankType_Quest; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + UgcNpcRankType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UgcNpcRankType findValueByNumber(int number) { + return UgcNpcRankType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(14); + } + + private static final UgcNpcRankType[] VALUES = values(); + + public static UgcNpcRankType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UgcNpcRankType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:UgcNpcRankType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcSummary.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcSummary.java new file mode 100644 index 0000000..de56485 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcSummary.java @@ -0,0 +1,3672 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * EntityType.Beacon Ÿ  :  Beacon   Ѵ. - kangms
+ * 
+ * + * Protobuf type {@code UgcNpcSummary} + */ +public final class UgcNpcSummary extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgcNpcSummary) + UgcNpcSummaryOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgcNpcSummary.newBuilder() to construct. + private UgcNpcSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgcNpcSummary() { + ugcNpcMetaGuid_ = ""; + ownerUserGuid_ = ""; + title_ = ""; + nickname_ = ""; + greeting_ = ""; + introduction_ = ""; + hashTagMetaIds_ = emptyIntList(); + description_ = ""; + worldScenario_ = ""; + habitSocialActionIds_ = emptyIntList(); + dialogueSocialActionIds_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgcNpcSummary(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcSummary_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcSummary_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary.Builder.class); + } + + public static final int UGCNPCMETAGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object ugcNpcMetaGuid_ = ""; + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The ugcNpcMetaGuid. + */ + @java.lang.Override + public java.lang.String getUgcNpcMetaGuid() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcNpcMetaGuid_ = s; + return s; + } + } + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The bytes for ugcNpcMetaGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcNpcMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNERUSERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object ownerUserGuid_ = ""; + /** + *
+   * Ugc Npc Meta   UserGuid
+   * 
+ * + * string ownerUserGuid = 2; + * @return The ownerUserGuid. + */ + @java.lang.Override + public java.lang.String getOwnerUserGuid() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerUserGuid_ = s; + return s; + } + } + /** + *
+   * Ugc Npc Meta   UserGuid
+   * 
+ * + * string ownerUserGuid = 2; + * @return The bytes for ownerUserGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerUserGuidBytes() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BODYITEMMETAID_FIELD_NUMBER = 3; + private int bodyItemMetaId_ = 0; + /** + *
+   * ItemData.xlsx 
+   * 
+ * + * int32 bodyItemMetaId = 3; + * @return The bodyItemMetaId. + */ + @java.lang.Override + public int getBodyItemMetaId() { + return bodyItemMetaId_; + } + + public static final int TITLE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object title_ = ""; + /** + *
+   * ŸƲ
+   * 
+ * + * string title = 4; + * @return The title. + */ + @java.lang.Override + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } + } + /** + *
+   * ŸƲ
+   * 
+ * + * string title = 4; + * @return The bytes for title. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NICKNAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object nickname_ = ""; + /** + *
+   * Ugc Npc г
+   * 
+ * + * string nickname = 5; + * @return The nickname. + */ + @java.lang.Override + public java.lang.String getNickname() { + java.lang.Object ref = nickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickname_ = s; + return s; + } + } + /** + *
+   * Ugc Npc г
+   * 
+ * + * string nickname = 5; + * @return The bytes for nickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNicknameBytes() { + java.lang.Object ref = nickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GREETING_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object greeting_ = ""; + /** + *
+   * λ縻
+   * 
+ * + * string greeting = 6; + * @return The greeting. + */ + @java.lang.Override + public java.lang.String getGreeting() { + java.lang.Object ref = greeting_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + greeting_ = s; + return s; + } + } + /** + *
+   * λ縻
+   * 
+ * + * string greeting = 6; + * @return The bytes for greeting. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGreetingBytes() { + java.lang.Object ref = greeting_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + greeting_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INTRODUCTION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object introduction_ = ""; + /** + *
+   * ڱҰ
+   * 
+ * + * string introduction = 7; + * @return The introduction. + */ + @java.lang.Override + public java.lang.String getIntroduction() { + java.lang.Object ref = introduction_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + introduction_ = s; + return s; + } + } + /** + *
+   * ڱҰ
+   * 
+ * + * string introduction = 7; + * @return The bytes for introduction. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIntroductionBytes() { + java.lang.Object ref = introduction_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + introduction_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ABILITIES_FIELD_NUMBER = 8; + private com.caliverse.admin.domain.RabbitMq.message.AbilityInfo abilities_; + /** + *
+   *  ɷġ, Game_Define.AbilityInfo 
+   * 
+ * + * .AbilityInfo abilities = 8; + * @return Whether the abilities field is set. + */ + @java.lang.Override + public boolean hasAbilities() { + return abilities_ != null; + } + /** + *
+   *  ɷġ, Game_Define.AbilityInfo 
+   * 
+ * + * .AbilityInfo abilities = 8; + * @return The abilities. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo getAbilities() { + return abilities_ == null ? com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance() : abilities_; + } + /** + *
+   *  ɷġ, Game_Define.AbilityInfo 
+   * 
+ * + * .AbilityInfo abilities = 8; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder getAbilitiesOrBuilder() { + return abilities_ == null ? com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance() : abilities_; + } + + public static final int HASHTAGMETAIDS_FIELD_NUMBER = 20; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList hashTagMetaIds_; + /** + *
+   * ±  (˻), BeaconTagData.xlsx 
+   * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @return A list containing the hashTagMetaIds. + */ + @java.lang.Override + public java.util.List + getHashTagMetaIdsList() { + return hashTagMetaIds_; + } + /** + *
+   * ±  (˻), BeaconTagData.xlsx 
+   * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @return The count of hashTagMetaIds. + */ + public int getHashTagMetaIdsCount() { + return hashTagMetaIds_.size(); + } + /** + *
+   * ±  (˻), BeaconTagData.xlsx 
+   * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @param index The index of the element to return. + * @return The hashTagMetaIds at the given index. + */ + public int getHashTagMetaIds(int index) { + return hashTagMetaIds_.getInt(index); + } + private int hashTagMetaIdsMemoizedSerializedSize = -1; + + public static final int ENTITYSTATEINFO_FIELD_NUMBER = 21; + private com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo entityStateInfo_; + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return Whether the entityStateInfo field is set. + */ + @java.lang.Override + public boolean hasEntityStateInfo() { + return entityStateInfo_ != null; + } + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return The entityStateInfo. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getEntityStateInfo() { + return entityStateInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder getEntityStateInfoOrBuilder() { + return entityStateInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } + + public static final int DESCRIPTION_FIELD_NUMBER = 31; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + *
+   * ij 
+   * 
+ * + * string description = 31; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + *
+   * ij 
+   * 
+ * + * string description = 31; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WORLDSCENARIO_FIELD_NUMBER = 32; + @SuppressWarnings("serial") + private volatile java.lang.Object worldScenario_ = ""; + /** + *
+   * 
+   * 
+ * + * string worldScenario = 32; + * @return The worldScenario. + */ + @java.lang.Override + public java.lang.String getWorldScenario() { + java.lang.Object ref = worldScenario_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + worldScenario_ = s; + return s; + } + } + /** + *
+   * 
+   * 
+ * + * string worldScenario = 32; + * @return The bytes for worldScenario. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorldScenarioBytes() { + java.lang.Object ref = worldScenario_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + worldScenario_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEFAULTSOCIALACTIONID_FIELD_NUMBER = 33; + private int defaultSocialActionId_ = 0; + /** + *
+   * ⺻ SocialAction Meta Id
+   * 
+ * + * int32 defaultSocialActionId = 33; + * @return The defaultSocialActionId. + */ + @java.lang.Override + public int getDefaultSocialActionId() { + return defaultSocialActionId_; + } + + public static final int HABITSOCIALACTIONIDS_FIELD_NUMBER = 34; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList habitSocialActionIds_; + /** + *
+   *  ϴ SocialAction Meta Id 
+   * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @return A list containing the habitSocialActionIds. + */ + @java.lang.Override + public java.util.List + getHabitSocialActionIdsList() { + return habitSocialActionIds_; + } + /** + *
+   *  ϴ SocialAction Meta Id 
+   * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @return The count of habitSocialActionIds. + */ + public int getHabitSocialActionIdsCount() { + return habitSocialActionIds_.size(); + } + /** + *
+   *  ϴ SocialAction Meta Id 
+   * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @param index The index of the element to return. + * @return The habitSocialActionIds at the given index. + */ + public int getHabitSocialActionIds(int index) { + return habitSocialActionIds_.getInt(index); + } + private int habitSocialActionIdsMemoizedSerializedSize = -1; + + public static final int DIALOGUESOCIALACTIONIDS_FIELD_NUMBER = 35; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList dialogueSocialActionIds_; + /** + *
+   * ȭ ⺻ SocialAction Meta Id 
+   * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @return A list containing the dialogueSocialActionIds. + */ + @java.lang.Override + public java.util.List + getDialogueSocialActionIdsList() { + return dialogueSocialActionIds_; + } + /** + *
+   * ȭ ⺻ SocialAction Meta Id 
+   * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @return The count of dialogueSocialActionIds. + */ + public int getDialogueSocialActionIdsCount() { + return dialogueSocialActionIds_.size(); + } + /** + *
+   * ȭ ⺻ SocialAction Meta Id 
+   * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @param index The index of the element to return. + * @return The dialogueSocialActionIds at the given index. + */ + public int getDialogueSocialActionIds(int index) { + return dialogueSocialActionIds_.getInt(index); + } + private int dialogueSocialActionIdsMemoizedSerializedSize = -1; + + public static final int APPEARCUSTOMIZE_FIELD_NUMBER = 41; + private com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization appearCustomize_; + /** + *
+   *  Ŀ͸¡
+   * 
+ * + * .AppearanceCustomization appearCustomize = 41; + * @return Whether the appearCustomize field is set. + */ + @java.lang.Override + public boolean hasAppearCustomize() { + return appearCustomize_ != null; + } + /** + *
+   *  Ŀ͸¡
+   * 
+ * + * .AppearanceCustomization appearCustomize = 41; + * @return The appearCustomize. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getAppearCustomize() { + return appearCustomize_ == null ? com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_; + } + /** + *
+   *  Ŀ͸¡
+   * 
+ * + * .AppearanceCustomization appearCustomize = 41; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder getAppearCustomizeOrBuilder() { + return appearCustomize_ == null ? com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_; + } + + public static final int LOCATEDINSTANCECONTEXT_FIELD_NUMBER = 51; + private com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext locatedInstanceContext_; + /** + *
+   *   νϽ   <= ߰	
+   * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + * @return Whether the locatedInstanceContext field is set. + */ + @java.lang.Override + public boolean hasLocatedInstanceContext() { + return locatedInstanceContext_ != null; + } + /** + *
+   *   νϽ   <= ߰	
+   * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + * @return The locatedInstanceContext. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext getLocatedInstanceContext() { + return locatedInstanceContext_ == null ? com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.getDefaultInstance() : locatedInstanceContext_; + } + /** + *
+   *   νϽ   <= ߰	
+   * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder getLocatedInstanceContextOrBuilder() { + return locatedInstanceContext_ == null ? com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.getDefaultInstance() : locatedInstanceContext_; + } + + public static final int CREATEDTIME_FIELD_NUMBER = 101; + private com.google.protobuf.Timestamp createdTime_; + /** + *
+   *   DateTime
+   * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + * @return Whether the createdTime field is set. + */ + @java.lang.Override + public boolean hasCreatedTime() { + return createdTime_ != null; + } + /** + *
+   *   DateTime
+   * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + * @return The createdTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreatedTime() { + return createdTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdTime_; + } + /** + *
+   *   DateTime
+   * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder() { + return createdTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcNpcMetaGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ugcNpcMetaGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerUserGuid_); + } + if (bodyItemMetaId_ != 0) { + output.writeInt32(3, bodyItemMetaId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, title_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, nickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greeting_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, greeting_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(introduction_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, introduction_); + } + if (abilities_ != null) { + output.writeMessage(8, getAbilities()); + } + if (getHashTagMetaIdsList().size() > 0) { + output.writeUInt32NoTag(162); + output.writeUInt32NoTag(hashTagMetaIdsMemoizedSerializedSize); + } + for (int i = 0; i < hashTagMetaIds_.size(); i++) { + output.writeInt32NoTag(hashTagMetaIds_.getInt(i)); + } + if (entityStateInfo_ != null) { + output.writeMessage(21, getEntityStateInfo()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 31, description_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(worldScenario_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 32, worldScenario_); + } + if (defaultSocialActionId_ != 0) { + output.writeInt32(33, defaultSocialActionId_); + } + if (getHabitSocialActionIdsList().size() > 0) { + output.writeUInt32NoTag(274); + output.writeUInt32NoTag(habitSocialActionIdsMemoizedSerializedSize); + } + for (int i = 0; i < habitSocialActionIds_.size(); i++) { + output.writeInt32NoTag(habitSocialActionIds_.getInt(i)); + } + if (getDialogueSocialActionIdsList().size() > 0) { + output.writeUInt32NoTag(282); + output.writeUInt32NoTag(dialogueSocialActionIdsMemoizedSerializedSize); + } + for (int i = 0; i < dialogueSocialActionIds_.size(); i++) { + output.writeInt32NoTag(dialogueSocialActionIds_.getInt(i)); + } + if (appearCustomize_ != null) { + output.writeMessage(41, getAppearCustomize()); + } + if (locatedInstanceContext_ != null) { + output.writeMessage(51, getLocatedInstanceContext()); + } + if (createdTime_ != null) { + output.writeMessage(101, getCreatedTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcNpcMetaGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ugcNpcMetaGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerUserGuid_); + } + if (bodyItemMetaId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, bodyItemMetaId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, title_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, nickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greeting_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, greeting_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(introduction_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, introduction_); + } + if (abilities_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getAbilities()); + } + { + int dataSize = 0; + for (int i = 0; i < hashTagMetaIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(hashTagMetaIds_.getInt(i)); + } + size += dataSize; + if (!getHashTagMetaIdsList().isEmpty()) { + size += 2; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + hashTagMetaIdsMemoizedSerializedSize = dataSize; + } + if (entityStateInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getEntityStateInfo()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, description_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(worldScenario_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, worldScenario_); + } + if (defaultSocialActionId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(33, defaultSocialActionId_); + } + { + int dataSize = 0; + for (int i = 0; i < habitSocialActionIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(habitSocialActionIds_.getInt(i)); + } + size += dataSize; + if (!getHabitSocialActionIdsList().isEmpty()) { + size += 2; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + habitSocialActionIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < dialogueSocialActionIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dialogueSocialActionIds_.getInt(i)); + } + size += dataSize; + if (!getDialogueSocialActionIdsList().isEmpty()) { + size += 2; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + dialogueSocialActionIdsMemoizedSerializedSize = dataSize; + } + if (appearCustomize_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(41, getAppearCustomize()); + } + if (locatedInstanceContext_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(51, getLocatedInstanceContext()); + } + if (createdTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(101, getCreatedTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary other = (com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary) obj; + + if (!getUgcNpcMetaGuid() + .equals(other.getUgcNpcMetaGuid())) return false; + if (!getOwnerUserGuid() + .equals(other.getOwnerUserGuid())) return false; + if (getBodyItemMetaId() + != other.getBodyItemMetaId()) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getNickname() + .equals(other.getNickname())) return false; + if (!getGreeting() + .equals(other.getGreeting())) return false; + if (!getIntroduction() + .equals(other.getIntroduction())) return false; + if (hasAbilities() != other.hasAbilities()) return false; + if (hasAbilities()) { + if (!getAbilities() + .equals(other.getAbilities())) return false; + } + if (!getHashTagMetaIdsList() + .equals(other.getHashTagMetaIdsList())) return false; + if (hasEntityStateInfo() != other.hasEntityStateInfo()) return false; + if (hasEntityStateInfo()) { + if (!getEntityStateInfo() + .equals(other.getEntityStateInfo())) return false; + } + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getWorldScenario() + .equals(other.getWorldScenario())) return false; + if (getDefaultSocialActionId() + != other.getDefaultSocialActionId()) return false; + if (!getHabitSocialActionIdsList() + .equals(other.getHabitSocialActionIdsList())) return false; + if (!getDialogueSocialActionIdsList() + .equals(other.getDialogueSocialActionIdsList())) return false; + if (hasAppearCustomize() != other.hasAppearCustomize()) return false; + if (hasAppearCustomize()) { + if (!getAppearCustomize() + .equals(other.getAppearCustomize())) return false; + } + if (hasLocatedInstanceContext() != other.hasLocatedInstanceContext()) return false; + if (hasLocatedInstanceContext()) { + if (!getLocatedInstanceContext() + .equals(other.getLocatedInstanceContext())) return false; + } + if (hasCreatedTime() != other.hasCreatedTime()) return false; + if (hasCreatedTime()) { + if (!getCreatedTime() + .equals(other.getCreatedTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + UGCNPCMETAGUID_FIELD_NUMBER; + hash = (53 * hash) + getUgcNpcMetaGuid().hashCode(); + hash = (37 * hash) + OWNERUSERGUID_FIELD_NUMBER; + hash = (53 * hash) + getOwnerUserGuid().hashCode(); + hash = (37 * hash) + BODYITEMMETAID_FIELD_NUMBER; + hash = (53 * hash) + getBodyItemMetaId(); + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); + hash = (37 * hash) + NICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getNickname().hashCode(); + hash = (37 * hash) + GREETING_FIELD_NUMBER; + hash = (53 * hash) + getGreeting().hashCode(); + hash = (37 * hash) + INTRODUCTION_FIELD_NUMBER; + hash = (53 * hash) + getIntroduction().hashCode(); + if (hasAbilities()) { + hash = (37 * hash) + ABILITIES_FIELD_NUMBER; + hash = (53 * hash) + getAbilities().hashCode(); + } + if (getHashTagMetaIdsCount() > 0) { + hash = (37 * hash) + HASHTAGMETAIDS_FIELD_NUMBER; + hash = (53 * hash) + getHashTagMetaIdsList().hashCode(); + } + if (hasEntityStateInfo()) { + hash = (37 * hash) + ENTITYSTATEINFO_FIELD_NUMBER; + hash = (53 * hash) + getEntityStateInfo().hashCode(); + } + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + WORLDSCENARIO_FIELD_NUMBER; + hash = (53 * hash) + getWorldScenario().hashCode(); + hash = (37 * hash) + DEFAULTSOCIALACTIONID_FIELD_NUMBER; + hash = (53 * hash) + getDefaultSocialActionId(); + if (getHabitSocialActionIdsCount() > 0) { + hash = (37 * hash) + HABITSOCIALACTIONIDS_FIELD_NUMBER; + hash = (53 * hash) + getHabitSocialActionIdsList().hashCode(); + } + if (getDialogueSocialActionIdsCount() > 0) { + hash = (37 * hash) + DIALOGUESOCIALACTIONIDS_FIELD_NUMBER; + hash = (53 * hash) + getDialogueSocialActionIdsList().hashCode(); + } + if (hasAppearCustomize()) { + hash = (37 * hash) + APPEARCUSTOMIZE_FIELD_NUMBER; + hash = (53 * hash) + getAppearCustomize().hashCode(); + } + if (hasLocatedInstanceContext()) { + hash = (37 * hash) + LOCATEDINSTANCECONTEXT_FIELD_NUMBER; + hash = (53 * hash) + getLocatedInstanceContext().hashCode(); + } + if (hasCreatedTime()) { + hash = (37 * hash) + CREATEDTIME_FIELD_NUMBER; + hash = (53 * hash) + getCreatedTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * EntityType.Beacon Ÿ  :  Beacon   Ѵ. - kangms
+   * 
+ * + * Protobuf type {@code UgcNpcSummary} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgcNpcSummary) + com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummaryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcSummary_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcSummary_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + ugcNpcMetaGuid_ = ""; + ownerUserGuid_ = ""; + bodyItemMetaId_ = 0; + title_ = ""; + nickname_ = ""; + greeting_ = ""; + introduction_ = ""; + abilities_ = null; + if (abilitiesBuilder_ != null) { + abilitiesBuilder_.dispose(); + abilitiesBuilder_ = null; + } + hashTagMetaIds_ = emptyIntList(); + entityStateInfo_ = null; + if (entityStateInfoBuilder_ != null) { + entityStateInfoBuilder_.dispose(); + entityStateInfoBuilder_ = null; + } + description_ = ""; + worldScenario_ = ""; + defaultSocialActionId_ = 0; + habitSocialActionIds_ = emptyIntList(); + dialogueSocialActionIds_ = emptyIntList(); + appearCustomize_ = null; + if (appearCustomizeBuilder_ != null) { + appearCustomizeBuilder_.dispose(); + appearCustomizeBuilder_ = null; + } + locatedInstanceContext_ = null; + if (locatedInstanceContextBuilder_ != null) { + locatedInstanceContextBuilder_.dispose(); + locatedInstanceContextBuilder_ = null; + } + createdTime_ = null; + if (createdTimeBuilder_ != null) { + createdTimeBuilder_.dispose(); + createdTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcSummary_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary build() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary result = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary result) { + if (((bitField0_ & 0x00000100) != 0)) { + hashTagMetaIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000100); + } + result.hashTagMetaIds_ = hashTagMetaIds_; + if (((bitField0_ & 0x00002000) != 0)) { + habitSocialActionIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00002000); + } + result.habitSocialActionIds_ = habitSocialActionIds_; + if (((bitField0_ & 0x00004000) != 0)) { + dialogueSocialActionIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00004000); + } + result.dialogueSocialActionIds_ = dialogueSocialActionIds_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.ugcNpcMetaGuid_ = ugcNpcMetaGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.ownerUserGuid_ = ownerUserGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.bodyItemMetaId_ = bodyItemMetaId_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.title_ = title_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.nickname_ = nickname_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.greeting_ = greeting_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.introduction_ = introduction_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.abilities_ = abilitiesBuilder_ == null + ? abilities_ + : abilitiesBuilder_.build(); + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.entityStateInfo_ = entityStateInfoBuilder_ == null + ? entityStateInfo_ + : entityStateInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.worldScenario_ = worldScenario_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.defaultSocialActionId_ = defaultSocialActionId_; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.appearCustomize_ = appearCustomizeBuilder_ == null + ? appearCustomize_ + : appearCustomizeBuilder_.build(); + } + if (((from_bitField0_ & 0x00010000) != 0)) { + result.locatedInstanceContext_ = locatedInstanceContextBuilder_ == null + ? locatedInstanceContext_ + : locatedInstanceContextBuilder_.build(); + } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.createdTime_ = createdTimeBuilder_ == null + ? createdTime_ + : createdTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary.getDefaultInstance()) return this; + if (!other.getUgcNpcMetaGuid().isEmpty()) { + ugcNpcMetaGuid_ = other.ugcNpcMetaGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getOwnerUserGuid().isEmpty()) { + ownerUserGuid_ = other.ownerUserGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getBodyItemMetaId() != 0) { + setBodyItemMetaId(other.getBodyItemMetaId()); + } + if (!other.getTitle().isEmpty()) { + title_ = other.title_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getNickname().isEmpty()) { + nickname_ = other.nickname_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getGreeting().isEmpty()) { + greeting_ = other.greeting_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getIntroduction().isEmpty()) { + introduction_ = other.introduction_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (other.hasAbilities()) { + mergeAbilities(other.getAbilities()); + } + if (!other.hashTagMetaIds_.isEmpty()) { + if (hashTagMetaIds_.isEmpty()) { + hashTagMetaIds_ = other.hashTagMetaIds_; + bitField0_ = (bitField0_ & ~0x00000100); + } else { + ensureHashTagMetaIdsIsMutable(); + hashTagMetaIds_.addAll(other.hashTagMetaIds_); + } + onChanged(); + } + if (other.hasEntityStateInfo()) { + mergeEntityStateInfo(other.getEntityStateInfo()); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000400; + onChanged(); + } + if (!other.getWorldScenario().isEmpty()) { + worldScenario_ = other.worldScenario_; + bitField0_ |= 0x00000800; + onChanged(); + } + if (other.getDefaultSocialActionId() != 0) { + setDefaultSocialActionId(other.getDefaultSocialActionId()); + } + if (!other.habitSocialActionIds_.isEmpty()) { + if (habitSocialActionIds_.isEmpty()) { + habitSocialActionIds_ = other.habitSocialActionIds_; + bitField0_ = (bitField0_ & ~0x00002000); + } else { + ensureHabitSocialActionIdsIsMutable(); + habitSocialActionIds_.addAll(other.habitSocialActionIds_); + } + onChanged(); + } + if (!other.dialogueSocialActionIds_.isEmpty()) { + if (dialogueSocialActionIds_.isEmpty()) { + dialogueSocialActionIds_ = other.dialogueSocialActionIds_; + bitField0_ = (bitField0_ & ~0x00004000); + } else { + ensureDialogueSocialActionIdsIsMutable(); + dialogueSocialActionIds_.addAll(other.dialogueSocialActionIds_); + } + onChanged(); + } + if (other.hasAppearCustomize()) { + mergeAppearCustomize(other.getAppearCustomize()); + } + if (other.hasLocatedInstanceContext()) { + mergeLocatedInstanceContext(other.getLocatedInstanceContext()); + } + if (other.hasCreatedTime()) { + mergeCreatedTime(other.getCreatedTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + ugcNpcMetaGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + ownerUserGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + bodyItemMetaId_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + nickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + greeting_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + introduction_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + input.readMessage( + getAbilitiesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 160: { + int v = input.readInt32(); + ensureHashTagMetaIdsIsMutable(); + hashTagMetaIds_.addInt(v); + break; + } // case 160 + case 162: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureHashTagMetaIdsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + hashTagMetaIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 162 + case 170: { + input.readMessage( + getEntityStateInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 170 + case 250: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 250 + case 258: { + worldScenario_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 258 + case 264: { + defaultSocialActionId_ = input.readInt32(); + bitField0_ |= 0x00001000; + break; + } // case 264 + case 272: { + int v = input.readInt32(); + ensureHabitSocialActionIdsIsMutable(); + habitSocialActionIds_.addInt(v); + break; + } // case 272 + case 274: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureHabitSocialActionIdsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + habitSocialActionIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 274 + case 280: { + int v = input.readInt32(); + ensureDialogueSocialActionIdsIsMutable(); + dialogueSocialActionIds_.addInt(v); + break; + } // case 280 + case 282: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureDialogueSocialActionIdsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + dialogueSocialActionIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 282 + case 330: { + input.readMessage( + getAppearCustomizeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 330 + case 410: { + input.readMessage( + getLocatedInstanceContextFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00010000; + break; + } // case 410 + case 810: { + input.readMessage( + getCreatedTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 810 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object ugcNpcMetaGuid_ = ""; + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The ugcNpcMetaGuid. + */ + public java.lang.String getUgcNpcMetaGuid() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcNpcMetaGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The bytes for ugcNpcMetaGuid. + */ + public com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes() { + java.lang.Object ref = ugcNpcMetaGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcNpcMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @param value The ugcNpcMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcNpcMetaGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ugcNpcMetaGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @return This builder for chaining. + */ + public Builder clearUgcNpcMetaGuid() { + ugcNpcMetaGuid_ = getDefaultInstance().getUgcNpcMetaGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta Id (GUID)
+     * 
+ * + * string ugcNpcMetaGuid = 1; + * @param value The bytes for ugcNpcMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcNpcMetaGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ugcNpcMetaGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object ownerUserGuid_ = ""; + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @return The ownerUserGuid. + */ + public java.lang.String getOwnerUserGuid() { + java.lang.Object ref = ownerUserGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerUserGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @return The bytes for ownerUserGuid. + */ + public com.google.protobuf.ByteString + getOwnerUserGuidBytes() { + java.lang.Object ref = ownerUserGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerUserGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @param value The ownerUserGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ownerUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @return This builder for chaining. + */ + public Builder clearOwnerUserGuid() { + ownerUserGuid_ = getDefaultInstance().getOwnerUserGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Ugc Npc Meta   UserGuid
+     * 
+ * + * string ownerUserGuid = 2; + * @param value The bytes for ownerUserGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ownerUserGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int bodyItemMetaId_ ; + /** + *
+     * ItemData.xlsx 
+     * 
+ * + * int32 bodyItemMetaId = 3; + * @return The bodyItemMetaId. + */ + @java.lang.Override + public int getBodyItemMetaId() { + return bodyItemMetaId_; + } + /** + *
+     * ItemData.xlsx 
+     * 
+ * + * int32 bodyItemMetaId = 3; + * @param value The bodyItemMetaId to set. + * @return This builder for chaining. + */ + public Builder setBodyItemMetaId(int value) { + + bodyItemMetaId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * ItemData.xlsx 
+     * 
+ * + * int32 bodyItemMetaId = 3; + * @return This builder for chaining. + */ + public Builder clearBodyItemMetaId() { + bitField0_ = (bitField0_ & ~0x00000004); + bodyItemMetaId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object title_ = ""; + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @return The title. + */ + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @return The bytes for title. + */ + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @param value The title to set. + * @return This builder for chaining. + */ + public Builder setTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + title_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @return This builder for chaining. + */ + public Builder clearTitle() { + title_ = getDefaultInstance().getTitle(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+     * ŸƲ
+     * 
+ * + * string title = 4; + * @param value The bytes for title to set. + * @return This builder for chaining. + */ + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + title_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object nickname_ = ""; + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @return The nickname. + */ + public java.lang.String getNickname() { + java.lang.Object ref = nickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @return The bytes for nickname. + */ + public com.google.protobuf.ByteString + getNicknameBytes() { + java.lang.Object ref = nickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @param value The nickname to set. + * @return This builder for chaining. + */ + public Builder setNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nickname_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @return This builder for chaining. + */ + public Builder clearNickname() { + nickname_ = getDefaultInstance().getNickname(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+     * Ugc Npc г
+     * 
+ * + * string nickname = 5; + * @param value The bytes for nickname to set. + * @return This builder for chaining. + */ + public Builder setNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nickname_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object greeting_ = ""; + /** + *
+     * λ縻
+     * 
+ * + * string greeting = 6; + * @return The greeting. + */ + public java.lang.String getGreeting() { + java.lang.Object ref = greeting_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + greeting_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * λ縻
+     * 
+ * + * string greeting = 6; + * @return The bytes for greeting. + */ + public com.google.protobuf.ByteString + getGreetingBytes() { + java.lang.Object ref = greeting_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + greeting_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * λ縻
+     * 
+ * + * string greeting = 6; + * @param value The greeting to set. + * @return This builder for chaining. + */ + public Builder setGreeting( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + greeting_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * λ縻
+     * 
+ * + * string greeting = 6; + * @return This builder for chaining. + */ + public Builder clearGreeting() { + greeting_ = getDefaultInstance().getGreeting(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + *
+     * λ縻
+     * 
+ * + * string greeting = 6; + * @param value The bytes for greeting to set. + * @return This builder for chaining. + */ + public Builder setGreetingBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + greeting_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object introduction_ = ""; + /** + *
+     * ڱҰ
+     * 
+ * + * string introduction = 7; + * @return The introduction. + */ + public java.lang.String getIntroduction() { + java.lang.Object ref = introduction_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + introduction_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * ڱҰ
+     * 
+ * + * string introduction = 7; + * @return The bytes for introduction. + */ + public com.google.protobuf.ByteString + getIntroductionBytes() { + java.lang.Object ref = introduction_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + introduction_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * ڱҰ
+     * 
+ * + * string introduction = 7; + * @param value The introduction to set. + * @return This builder for chaining. + */ + public Builder setIntroduction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + introduction_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * ڱҰ
+     * 
+ * + * string introduction = 7; + * @return This builder for chaining. + */ + public Builder clearIntroduction() { + introduction_ = getDefaultInstance().getIntroduction(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + *
+     * ڱҰ
+     * 
+ * + * string introduction = 7; + * @param value The bytes for introduction to set. + * @return This builder for chaining. + */ + public Builder setIntroductionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + introduction_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.AbilityInfo abilities_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo, com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder> abilitiesBuilder_; + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 8; + * @return Whether the abilities field is set. + */ + public boolean hasAbilities() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 8; + * @return The abilities. + */ + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo getAbilities() { + if (abilitiesBuilder_ == null) { + return abilities_ == null ? com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance() : abilities_; + } else { + return abilitiesBuilder_.getMessage(); + } + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 8; + */ + public Builder setAbilities(com.caliverse.admin.domain.RabbitMq.message.AbilityInfo value) { + if (abilitiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + abilities_ = value; + } else { + abilitiesBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 8; + */ + public Builder setAbilities( + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder builderForValue) { + if (abilitiesBuilder_ == null) { + abilities_ = builderForValue.build(); + } else { + abilitiesBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 8; + */ + public Builder mergeAbilities(com.caliverse.admin.domain.RabbitMq.message.AbilityInfo value) { + if (abilitiesBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + abilities_ != null && + abilities_ != com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance()) { + getAbilitiesBuilder().mergeFrom(value); + } else { + abilities_ = value; + } + } else { + abilitiesBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 8; + */ + public Builder clearAbilities() { + bitField0_ = (bitField0_ & ~0x00000080); + abilities_ = null; + if (abilitiesBuilder_ != null) { + abilitiesBuilder_.dispose(); + abilitiesBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder getAbilitiesBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getAbilitiesFieldBuilder().getBuilder(); + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder getAbilitiesOrBuilder() { + if (abilitiesBuilder_ != null) { + return abilitiesBuilder_.getMessageOrBuilder(); + } else { + return abilities_ == null ? + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance() : abilities_; + } + } + /** + *
+     *  ɷġ, Game_Define.AbilityInfo 
+     * 
+ * + * .AbilityInfo abilities = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo, com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder> + getAbilitiesFieldBuilder() { + if (abilitiesBuilder_ == null) { + abilitiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo, com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder>( + getAbilities(), + getParentForChildren(), + isClean()); + abilities_ = null; + } + return abilitiesBuilder_; + } + + private com.google.protobuf.Internal.IntList hashTagMetaIds_ = emptyIntList(); + private void ensureHashTagMetaIdsIsMutable() { + if (!((bitField0_ & 0x00000100) != 0)) { + hashTagMetaIds_ = mutableCopy(hashTagMetaIds_); + bitField0_ |= 0x00000100; + } + } + /** + *
+     * ±  (˻), BeaconTagData.xlsx 
+     * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @return A list containing the hashTagMetaIds. + */ + public java.util.List + getHashTagMetaIdsList() { + return ((bitField0_ & 0x00000100) != 0) ? + java.util.Collections.unmodifiableList(hashTagMetaIds_) : hashTagMetaIds_; + } + /** + *
+     * ±  (˻), BeaconTagData.xlsx 
+     * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @return The count of hashTagMetaIds. + */ + public int getHashTagMetaIdsCount() { + return hashTagMetaIds_.size(); + } + /** + *
+     * ±  (˻), BeaconTagData.xlsx 
+     * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @param index The index of the element to return. + * @return The hashTagMetaIds at the given index. + */ + public int getHashTagMetaIds(int index) { + return hashTagMetaIds_.getInt(index); + } + /** + *
+     * ±  (˻), BeaconTagData.xlsx 
+     * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @param index The index to set the value at. + * @param value The hashTagMetaIds to set. + * @return This builder for chaining. + */ + public Builder setHashTagMetaIds( + int index, int value) { + + ensureHashTagMetaIdsIsMutable(); + hashTagMetaIds_.setInt(index, value); + onChanged(); + return this; + } + /** + *
+     * ±  (˻), BeaconTagData.xlsx 
+     * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @param value The hashTagMetaIds to add. + * @return This builder for chaining. + */ + public Builder addHashTagMetaIds(int value) { + + ensureHashTagMetaIdsIsMutable(); + hashTagMetaIds_.addInt(value); + onChanged(); + return this; + } + /** + *
+     * ±  (˻), BeaconTagData.xlsx 
+     * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @param values The hashTagMetaIds to add. + * @return This builder for chaining. + */ + public Builder addAllHashTagMetaIds( + java.lang.Iterable values) { + ensureHashTagMetaIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, hashTagMetaIds_); + onChanged(); + return this; + } + /** + *
+     * ±  (˻), BeaconTagData.xlsx 
+     * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @return This builder for chaining. + */ + public Builder clearHashTagMetaIds() { + hashTagMetaIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo entityStateInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder> entityStateInfoBuilder_; + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return Whether the entityStateInfo field is set. + */ + public boolean hasEntityStateInfo() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return The entityStateInfo. + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getEntityStateInfo() { + if (entityStateInfoBuilder_ == null) { + return entityStateInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } else { + return entityStateInfoBuilder_.getMessage(); + } + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder setEntityStateInfo(com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo value) { + if (entityStateInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + entityStateInfo_ = value; + } else { + entityStateInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder setEntityStateInfo( + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder builderForValue) { + if (entityStateInfoBuilder_ == null) { + entityStateInfo_ = builderForValue.build(); + } else { + entityStateInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder mergeEntityStateInfo(com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo value) { + if (entityStateInfoBuilder_ == null) { + if (((bitField0_ & 0x00000200) != 0) && + entityStateInfo_ != null && + entityStateInfo_ != com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance()) { + getEntityStateInfoBuilder().mergeFrom(value); + } else { + entityStateInfo_ = value; + } + } else { + entityStateInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public Builder clearEntityStateInfo() { + bitField0_ = (bitField0_ & ~0x00000200); + entityStateInfo_ = null; + if (entityStateInfoBuilder_ != null) { + entityStateInfoBuilder_.dispose(); + entityStateInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder getEntityStateInfoBuilder() { + bitField0_ |= 0x00000200; + onChanged(); + return getEntityStateInfoFieldBuilder().getBuilder(); + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + public com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder getEntityStateInfoOrBuilder() { + if (entityStateInfoBuilder_ != null) { + return entityStateInfoBuilder_.getMessageOrBuilder(); + } else { + return entityStateInfo_ == null ? + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.getDefaultInstance() : entityStateInfo_; + } + } + /** + *
+     * ƼƼ  
+     * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder> + getEntityStateInfoFieldBuilder() { + if (entityStateInfoBuilder_ == null) { + entityStateInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder>( + getEntityStateInfo(), + getParentForChildren(), + isClean()); + entityStateInfo_ = null; + } + return entityStateInfoBuilder_; + } + + private java.lang.Object description_ = ""; + /** + *
+     * ij 
+     * 
+ * + * string description = 31; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * ij 
+     * 
+ * + * string description = 31; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * ij 
+     * 
+ * + * string description = 31; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + *
+     * ij 
+     * 
+ * + * string description = 31; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; + } + /** + *
+     * ij 
+     * 
+ * + * string description = 31; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + private java.lang.Object worldScenario_ = ""; + /** + *
+     * 
+     * 
+ * + * string worldScenario = 32; + * @return The worldScenario. + */ + public java.lang.String getWorldScenario() { + java.lang.Object ref = worldScenario_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + worldScenario_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * 
+     * 
+ * + * string worldScenario = 32; + * @return The bytes for worldScenario. + */ + public com.google.protobuf.ByteString + getWorldScenarioBytes() { + java.lang.Object ref = worldScenario_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + worldScenario_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * 
+     * 
+ * + * string worldScenario = 32; + * @param value The worldScenario to set. + * @return This builder for chaining. + */ + public Builder setWorldScenario( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + worldScenario_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + *
+     * 
+     * 
+ * + * string worldScenario = 32; + * @return This builder for chaining. + */ + public Builder clearWorldScenario() { + worldScenario_ = getDefaultInstance().getWorldScenario(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + /** + *
+     * 
+     * 
+ * + * string worldScenario = 32; + * @param value The bytes for worldScenario to set. + * @return This builder for chaining. + */ + public Builder setWorldScenarioBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + worldScenario_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + + private int defaultSocialActionId_ ; + /** + *
+     * ⺻ SocialAction Meta Id
+     * 
+ * + * int32 defaultSocialActionId = 33; + * @return The defaultSocialActionId. + */ + @java.lang.Override + public int getDefaultSocialActionId() { + return defaultSocialActionId_; + } + /** + *
+     * ⺻ SocialAction Meta Id
+     * 
+ * + * int32 defaultSocialActionId = 33; + * @param value The defaultSocialActionId to set. + * @return This builder for chaining. + */ + public Builder setDefaultSocialActionId(int value) { + + defaultSocialActionId_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + *
+     * ⺻ SocialAction Meta Id
+     * 
+ * + * int32 defaultSocialActionId = 33; + * @return This builder for chaining. + */ + public Builder clearDefaultSocialActionId() { + bitField0_ = (bitField0_ & ~0x00001000); + defaultSocialActionId_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList habitSocialActionIds_ = emptyIntList(); + private void ensureHabitSocialActionIdsIsMutable() { + if (!((bitField0_ & 0x00002000) != 0)) { + habitSocialActionIds_ = mutableCopy(habitSocialActionIds_); + bitField0_ |= 0x00002000; + } + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @return A list containing the habitSocialActionIds. + */ + public java.util.List + getHabitSocialActionIdsList() { + return ((bitField0_ & 0x00002000) != 0) ? + java.util.Collections.unmodifiableList(habitSocialActionIds_) : habitSocialActionIds_; + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @return The count of habitSocialActionIds. + */ + public int getHabitSocialActionIdsCount() { + return habitSocialActionIds_.size(); + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @param index The index of the element to return. + * @return The habitSocialActionIds at the given index. + */ + public int getHabitSocialActionIds(int index) { + return habitSocialActionIds_.getInt(index); + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @param index The index to set the value at. + * @param value The habitSocialActionIds to set. + * @return This builder for chaining. + */ + public Builder setHabitSocialActionIds( + int index, int value) { + + ensureHabitSocialActionIdsIsMutable(); + habitSocialActionIds_.setInt(index, value); + onChanged(); + return this; + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @param value The habitSocialActionIds to add. + * @return This builder for chaining. + */ + public Builder addHabitSocialActionIds(int value) { + + ensureHabitSocialActionIdsIsMutable(); + habitSocialActionIds_.addInt(value); + onChanged(); + return this; + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @param values The habitSocialActionIds to add. + * @return This builder for chaining. + */ + public Builder addAllHabitSocialActionIds( + java.lang.Iterable values) { + ensureHabitSocialActionIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, habitSocialActionIds_); + onChanged(); + return this; + } + /** + *
+     *  ϴ SocialAction Meta Id 
+     * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @return This builder for chaining. + */ + public Builder clearHabitSocialActionIds() { + habitSocialActionIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00002000); + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList dialogueSocialActionIds_ = emptyIntList(); + private void ensureDialogueSocialActionIdsIsMutable() { + if (!((bitField0_ & 0x00004000) != 0)) { + dialogueSocialActionIds_ = mutableCopy(dialogueSocialActionIds_); + bitField0_ |= 0x00004000; + } + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @return A list containing the dialogueSocialActionIds. + */ + public java.util.List + getDialogueSocialActionIdsList() { + return ((bitField0_ & 0x00004000) != 0) ? + java.util.Collections.unmodifiableList(dialogueSocialActionIds_) : dialogueSocialActionIds_; + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @return The count of dialogueSocialActionIds. + */ + public int getDialogueSocialActionIdsCount() { + return dialogueSocialActionIds_.size(); + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @param index The index of the element to return. + * @return The dialogueSocialActionIds at the given index. + */ + public int getDialogueSocialActionIds(int index) { + return dialogueSocialActionIds_.getInt(index); + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @param index The index to set the value at. + * @param value The dialogueSocialActionIds to set. + * @return This builder for chaining. + */ + public Builder setDialogueSocialActionIds( + int index, int value) { + + ensureDialogueSocialActionIdsIsMutable(); + dialogueSocialActionIds_.setInt(index, value); + onChanged(); + return this; + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @param value The dialogueSocialActionIds to add. + * @return This builder for chaining. + */ + public Builder addDialogueSocialActionIds(int value) { + + ensureDialogueSocialActionIdsIsMutable(); + dialogueSocialActionIds_.addInt(value); + onChanged(); + return this; + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @param values The dialogueSocialActionIds to add. + * @return This builder for chaining. + */ + public Builder addAllDialogueSocialActionIds( + java.lang.Iterable values) { + ensureDialogueSocialActionIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dialogueSocialActionIds_); + onChanged(); + return this; + } + /** + *
+     * ȭ ⺻ SocialAction Meta Id 
+     * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @return This builder for chaining. + */ + public Builder clearDialogueSocialActionIds() { + dialogueSocialActionIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00004000); + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization appearCustomize_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder> appearCustomizeBuilder_; + /** + *
+     *  Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 41; + * @return Whether the appearCustomize field is set. + */ + public boolean hasAppearCustomize() { + return ((bitField0_ & 0x00008000) != 0); + } + /** + *
+     *  Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 41; + * @return The appearCustomize. + */ + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getAppearCustomize() { + if (appearCustomizeBuilder_ == null) { + return appearCustomize_ == null ? com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_; + } else { + return appearCustomizeBuilder_.getMessage(); + } + } + /** + *
+     *  Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 41; + */ + public Builder setAppearCustomize(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization value) { + if (appearCustomizeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + appearCustomize_ = value; + } else { + appearCustomizeBuilder_.setMessage(value); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+     *  Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 41; + */ + public Builder setAppearCustomize( + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder builderForValue) { + if (appearCustomizeBuilder_ == null) { + appearCustomize_ = builderForValue.build(); + } else { + appearCustomizeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+     *  Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 41; + */ + public Builder mergeAppearCustomize(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization value) { + if (appearCustomizeBuilder_ == null) { + if (((bitField0_ & 0x00008000) != 0) && + appearCustomize_ != null && + appearCustomize_ != com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance()) { + getAppearCustomizeBuilder().mergeFrom(value); + } else { + appearCustomize_ = value; + } + } else { + appearCustomizeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+     *  Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 41; + */ + public Builder clearAppearCustomize() { + bitField0_ = (bitField0_ & ~0x00008000); + appearCustomize_ = null; + if (appearCustomizeBuilder_ != null) { + appearCustomizeBuilder_.dispose(); + appearCustomizeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     *  Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 41; + */ + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder getAppearCustomizeBuilder() { + bitField0_ |= 0x00008000; + onChanged(); + return getAppearCustomizeFieldBuilder().getBuilder(); + } + /** + *
+     *  Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 41; + */ + public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder getAppearCustomizeOrBuilder() { + if (appearCustomizeBuilder_ != null) { + return appearCustomizeBuilder_.getMessageOrBuilder(); + } else { + return appearCustomize_ == null ? + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_; + } + } + /** + *
+     *  Ŀ͸¡
+     * 
+ * + * .AppearanceCustomization appearCustomize = 41; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder> + getAppearCustomizeFieldBuilder() { + if (appearCustomizeBuilder_ == null) { + appearCustomizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder>( + getAppearCustomize(), + getParentForChildren(), + isClean()); + appearCustomize_ = null; + } + return appearCustomizeBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext locatedInstanceContext_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.Builder, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder> locatedInstanceContextBuilder_; + /** + *
+     *   νϽ   <= ߰	
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + * @return Whether the locatedInstanceContext field is set. + */ + public boolean hasLocatedInstanceContext() { + return ((bitField0_ & 0x00010000) != 0); + } + /** + *
+     *   νϽ   <= ߰	
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + * @return The locatedInstanceContext. + */ + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext getLocatedInstanceContext() { + if (locatedInstanceContextBuilder_ == null) { + return locatedInstanceContext_ == null ? com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.getDefaultInstance() : locatedInstanceContext_; + } else { + return locatedInstanceContextBuilder_.getMessage(); + } + } + /** + *
+     *   νϽ   <= ߰	
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + */ + public Builder setLocatedInstanceContext(com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext value) { + if (locatedInstanceContextBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + locatedInstanceContext_ = value; + } else { + locatedInstanceContextBuilder_.setMessage(value); + } + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + *
+     *   νϽ   <= ߰	
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + */ + public Builder setLocatedInstanceContext( + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.Builder builderForValue) { + if (locatedInstanceContextBuilder_ == null) { + locatedInstanceContext_ = builderForValue.build(); + } else { + locatedInstanceContextBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + *
+     *   νϽ   <= ߰	
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + */ + public Builder mergeLocatedInstanceContext(com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext value) { + if (locatedInstanceContextBuilder_ == null) { + if (((bitField0_ & 0x00010000) != 0) && + locatedInstanceContext_ != null && + locatedInstanceContext_ != com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.getDefaultInstance()) { + getLocatedInstanceContextBuilder().mergeFrom(value); + } else { + locatedInstanceContext_ = value; + } + } else { + locatedInstanceContextBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + *
+     *   νϽ   <= ߰	
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + */ + public Builder clearLocatedInstanceContext() { + bitField0_ = (bitField0_ & ~0x00010000); + locatedInstanceContext_ = null; + if (locatedInstanceContextBuilder_ != null) { + locatedInstanceContextBuilder_.dispose(); + locatedInstanceContextBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     *   νϽ   <= ߰	
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + */ + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.Builder getLocatedInstanceContextBuilder() { + bitField0_ |= 0x00010000; + onChanged(); + return getLocatedInstanceContextFieldBuilder().getBuilder(); + } + /** + *
+     *   νϽ   <= ߰	
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + */ + public com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder getLocatedInstanceContextOrBuilder() { + if (locatedInstanceContextBuilder_ != null) { + return locatedInstanceContextBuilder_.getMessageOrBuilder(); + } else { + return locatedInstanceContext_ == null ? + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.getDefaultInstance() : locatedInstanceContext_; + } + } + /** + *
+     *   νϽ   <= ߰	
+     * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.Builder, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder> + getLocatedInstanceContextFieldBuilder() { + if (locatedInstanceContextBuilder_ == null) { + locatedInstanceContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext.Builder, com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder>( + getLocatedInstanceContext(), + getParentForChildren(), + isClean()); + locatedInstanceContext_ = null; + } + return locatedInstanceContextBuilder_; + } + + private com.google.protobuf.Timestamp createdTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdTimeBuilder_; + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + * @return Whether the createdTime field is set. + */ + public boolean hasCreatedTime() { + return ((bitField0_ & 0x00020000) != 0); + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + * @return The createdTime. + */ + public com.google.protobuf.Timestamp getCreatedTime() { + if (createdTimeBuilder_ == null) { + return createdTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdTime_; + } else { + return createdTimeBuilder_.getMessage(); + } + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + public Builder setCreatedTime(com.google.protobuf.Timestamp value) { + if (createdTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createdTime_ = value; + } else { + createdTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00020000; + onChanged(); + return this; + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + public Builder setCreatedTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (createdTimeBuilder_ == null) { + createdTime_ = builderForValue.build(); + } else { + createdTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00020000; + onChanged(); + return this; + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + public Builder mergeCreatedTime(com.google.protobuf.Timestamp value) { + if (createdTimeBuilder_ == null) { + if (((bitField0_ & 0x00020000) != 0) && + createdTime_ != null && + createdTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreatedTimeBuilder().mergeFrom(value); + } else { + createdTime_ = value; + } + } else { + createdTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00020000; + onChanged(); + return this; + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + public Builder clearCreatedTime() { + bitField0_ = (bitField0_ & ~0x00020000); + createdTime_ = null; + if (createdTimeBuilder_ != null) { + createdTimeBuilder_.dispose(); + createdTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + public com.google.protobuf.Timestamp.Builder getCreatedTimeBuilder() { + bitField0_ |= 0x00020000; + onChanged(); + return getCreatedTimeFieldBuilder().getBuilder(); + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + public com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder() { + if (createdTimeBuilder_ != null) { + return createdTimeBuilder_.getMessageOrBuilder(); + } else { + return createdTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createdTime_; + } + } + /** + *
+     *   DateTime
+     * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCreatedTimeFieldBuilder() { + if (createdTimeBuilder_ == null) { + createdTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreatedTime(), + getParentForChildren(), + isClean()); + createdTime_ = null; + } + return createdTimeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgcNpcSummary) + } + + // @@protoc_insertion_point(class_scope:UgcNpcSummary) + private static final com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgcNpcSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgcNpcSummary getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcSummaryOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcSummaryOrBuilder.java new file mode 100644 index 0000000..b575ac9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgcNpcSummaryOrBuilder.java @@ -0,0 +1,411 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgcNpcSummaryOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgcNpcSummary) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The ugcNpcMetaGuid. + */ + java.lang.String getUgcNpcMetaGuid(); + /** + *
+   * Ugc Npc Meta Id (GUID)
+   * 
+ * + * string ugcNpcMetaGuid = 1; + * @return The bytes for ugcNpcMetaGuid. + */ + com.google.protobuf.ByteString + getUgcNpcMetaGuidBytes(); + + /** + *
+   * Ugc Npc Meta   UserGuid
+   * 
+ * + * string ownerUserGuid = 2; + * @return The ownerUserGuid. + */ + java.lang.String getOwnerUserGuid(); + /** + *
+   * Ugc Npc Meta   UserGuid
+   * 
+ * + * string ownerUserGuid = 2; + * @return The bytes for ownerUserGuid. + */ + com.google.protobuf.ByteString + getOwnerUserGuidBytes(); + + /** + *
+   * ItemData.xlsx 
+   * 
+ * + * int32 bodyItemMetaId = 3; + * @return The bodyItemMetaId. + */ + int getBodyItemMetaId(); + + /** + *
+   * ŸƲ
+   * 
+ * + * string title = 4; + * @return The title. + */ + java.lang.String getTitle(); + /** + *
+   * ŸƲ
+   * 
+ * + * string title = 4; + * @return The bytes for title. + */ + com.google.protobuf.ByteString + getTitleBytes(); + + /** + *
+   * Ugc Npc г
+   * 
+ * + * string nickname = 5; + * @return The nickname. + */ + java.lang.String getNickname(); + /** + *
+   * Ugc Npc г
+   * 
+ * + * string nickname = 5; + * @return The bytes for nickname. + */ + com.google.protobuf.ByteString + getNicknameBytes(); + + /** + *
+   * λ縻
+   * 
+ * + * string greeting = 6; + * @return The greeting. + */ + java.lang.String getGreeting(); + /** + *
+   * λ縻
+   * 
+ * + * string greeting = 6; + * @return The bytes for greeting. + */ + com.google.protobuf.ByteString + getGreetingBytes(); + + /** + *
+   * ڱҰ
+   * 
+ * + * string introduction = 7; + * @return The introduction. + */ + java.lang.String getIntroduction(); + /** + *
+   * ڱҰ
+   * 
+ * + * string introduction = 7; + * @return The bytes for introduction. + */ + com.google.protobuf.ByteString + getIntroductionBytes(); + + /** + *
+   *  ɷġ, Game_Define.AbilityInfo 
+   * 
+ * + * .AbilityInfo abilities = 8; + * @return Whether the abilities field is set. + */ + boolean hasAbilities(); + /** + *
+   *  ɷġ, Game_Define.AbilityInfo 
+   * 
+ * + * .AbilityInfo abilities = 8; + * @return The abilities. + */ + com.caliverse.admin.domain.RabbitMq.message.AbilityInfo getAbilities(); + /** + *
+   *  ɷġ, Game_Define.AbilityInfo 
+   * 
+ * + * .AbilityInfo abilities = 8; + */ + com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder getAbilitiesOrBuilder(); + + /** + *
+   * ±  (˻), BeaconTagData.xlsx 
+   * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @return A list containing the hashTagMetaIds. + */ + java.util.List getHashTagMetaIdsList(); + /** + *
+   * ±  (˻), BeaconTagData.xlsx 
+   * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @return The count of hashTagMetaIds. + */ + int getHashTagMetaIdsCount(); + /** + *
+   * ±  (˻), BeaconTagData.xlsx 
+   * 
+ * + * repeated int32 hashTagMetaIds = 20; + * @param index The index of the element to return. + * @return The hashTagMetaIds at the given index. + */ + int getHashTagMetaIds(int index); + + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return Whether the entityStateInfo field is set. + */ + boolean hasEntityStateInfo(); + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + * @return The entityStateInfo. + */ + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfo getEntityStateInfo(); + /** + *
+   * ƼƼ  
+   * 
+ * + * .EntityStateInfo entityStateInfo = 21; + */ + com.caliverse.admin.domain.RabbitMq.message.EntityStateInfoOrBuilder getEntityStateInfoOrBuilder(); + + /** + *
+   * ij 
+   * 
+ * + * string description = 31; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+   * ij 
+   * 
+ * + * string description = 31; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + *
+   * 
+   * 
+ * + * string worldScenario = 32; + * @return The worldScenario. + */ + java.lang.String getWorldScenario(); + /** + *
+   * 
+   * 
+ * + * string worldScenario = 32; + * @return The bytes for worldScenario. + */ + com.google.protobuf.ByteString + getWorldScenarioBytes(); + + /** + *
+   * ⺻ SocialAction Meta Id
+   * 
+ * + * int32 defaultSocialActionId = 33; + * @return The defaultSocialActionId. + */ + int getDefaultSocialActionId(); + + /** + *
+   *  ϴ SocialAction Meta Id 
+   * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @return A list containing the habitSocialActionIds. + */ + java.util.List getHabitSocialActionIdsList(); + /** + *
+   *  ϴ SocialAction Meta Id 
+   * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @return The count of habitSocialActionIds. + */ + int getHabitSocialActionIdsCount(); + /** + *
+   *  ϴ SocialAction Meta Id 
+   * 
+ * + * repeated int32 habitSocialActionIds = 34; + * @param index The index of the element to return. + * @return The habitSocialActionIds at the given index. + */ + int getHabitSocialActionIds(int index); + + /** + *
+   * ȭ ⺻ SocialAction Meta Id 
+   * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @return A list containing the dialogueSocialActionIds. + */ + java.util.List getDialogueSocialActionIdsList(); + /** + *
+   * ȭ ⺻ SocialAction Meta Id 
+   * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @return The count of dialogueSocialActionIds. + */ + int getDialogueSocialActionIdsCount(); + /** + *
+   * ȭ ⺻ SocialAction Meta Id 
+   * 
+ * + * repeated int32 dialogueSocialActionIds = 35; + * @param index The index of the element to return. + * @return The dialogueSocialActionIds at the given index. + */ + int getDialogueSocialActionIds(int index); + + /** + *
+   *  Ŀ͸¡
+   * 
+ * + * .AppearanceCustomization appearCustomize = 41; + * @return Whether the appearCustomize field is set. + */ + boolean hasAppearCustomize(); + /** + *
+   *  Ŀ͸¡
+   * 
+ * + * .AppearanceCustomization appearCustomize = 41; + * @return The appearCustomize. + */ + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getAppearCustomize(); + /** + *
+   *  Ŀ͸¡
+   * 
+ * + * .AppearanceCustomization appearCustomize = 41; + */ + com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder getAppearCustomizeOrBuilder(); + + /** + *
+   *   νϽ   <= ߰	
+   * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + * @return Whether the locatedInstanceContext field is set. + */ + boolean hasLocatedInstanceContext(); + /** + *
+   *   νϽ   <= ߰	
+   * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + * @return The locatedInstanceContext. + */ + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContext getLocatedInstanceContext(); + /** + *
+   *   νϽ   <= ߰	
+   * 
+ * + * .LocatedInstanceContext locatedInstanceContext = 51; + */ + com.caliverse.admin.domain.RabbitMq.message.LocatedInstanceContextOrBuilder getLocatedInstanceContextOrBuilder(); + + /** + *
+   *   DateTime
+   * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + * @return Whether the createdTime field is set. + */ + boolean hasCreatedTime(); + /** + *
+   *   DateTime
+   * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + * @return The createdTime. + */ + com.google.protobuf.Timestamp getCreatedTime(); + /** + *
+   *   DateTime
+   * 
+ * + * .google.protobuf.Timestamp createdTime = 101; + */ + com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardItem.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardItem.java new file mode 100644 index 0000000..1ae2ce6 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardItem.java @@ -0,0 +1,1257 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqBoardItem} + */ +public final class UgqBoardItem extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqBoardItem) + UgqBoardItemOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqBoardItem.newBuilder() to construct. + private UgqBoardItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqBoardItem() { + title_ = ""; + titleImagePath_ = ""; + author_ = ""; + gradeType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqBoardItem(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.class, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder.class); + } + + private int bitField0_; + public static final int COMPOSEDQUESTID_FIELD_NUMBER = 1; + private long composedQuestId_ = 0L; + /** + *
+   *UgqQuestId ugqQuestId = 1;
+   * 
+ * + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + + public static final int TITLE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object title_ = ""; + /** + * optional string title = 2; + * @return Whether the title field is set. + */ + @java.lang.Override + public boolean hasTitle() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string title = 2; + * @return The title. + */ + @java.lang.Override + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } + } + /** + * optional string title = 2; + * @return The bytes for title. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TITLEIMAGEPATH_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object titleImagePath_ = ""; + /** + * optional string titleImagePath = 3; + * @return Whether the titleImagePath field is set. + */ + @java.lang.Override + public boolean hasTitleImagePath() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string titleImagePath = 3; + * @return The titleImagePath. + */ + @java.lang.Override + public java.lang.String getTitleImagePath() { + java.lang.Object ref = titleImagePath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + titleImagePath_ = s; + return s; + } + } + /** + * optional string titleImagePath = 3; + * @return The bytes for titleImagePath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTitleImagePathBytes() { + java.lang.Object ref = titleImagePath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + titleImagePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LIKECOUNT_FIELD_NUMBER = 4; + private int likeCount_ = 0; + /** + * int32 likeCount = 4; + * @return The likeCount. + */ + @java.lang.Override + public int getLikeCount() { + return likeCount_; + } + + public static final int BOOKMARKCOUNT_FIELD_NUMBER = 5; + private int bookmarkCount_ = 0; + /** + * int32 bookmarkCount = 5; + * @return The bookmarkCount. + */ + @java.lang.Override + public int getBookmarkCount() { + return bookmarkCount_; + } + + public static final int AUTHOR_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object author_ = ""; + /** + * optional string author = 6; + * @return Whether the author field is set. + */ + @java.lang.Override + public boolean hasAuthor() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string author = 6; + * @return The author. + */ + @java.lang.Override + public java.lang.String getAuthor() { + java.lang.Object ref = author_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + author_ = s; + return s; + } + } + /** + * optional string author = 6; + * @return The bytes for author. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAuthorBytes() { + java.lang.Object ref = author_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + author_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GRADETYPE_FIELD_NUMBER = 7; + private int gradeType_ = 0; + /** + * .UgqGradeType gradeType = 7; + * @return The enum numeric value on the wire for gradeType. + */ + @java.lang.Override public int getGradeTypeValue() { + return gradeType_; + } + /** + * .UgqGradeType gradeType = 7; + * @return The gradeType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType() { + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(gradeType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result; + } + + public static final int COST_FIELD_NUMBER = 8; + private int cost_ = 0; + /** + * int32 cost = 8; + * @return The cost. + */ + @java.lang.Override + public int getCost() { + return cost_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (composedQuestId_ != 0L) { + output.writeInt64(1, composedQuestId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, titleImagePath_); + } + if (likeCount_ != 0) { + output.writeInt32(4, likeCount_); + } + if (bookmarkCount_ != 0) { + output.writeInt32(5, bookmarkCount_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, author_); + } + if (gradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) { + output.writeEnum(7, gradeType_); + } + if (cost_ != 0) { + output.writeInt32(8, cost_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (composedQuestId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, composedQuestId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, titleImagePath_); + } + if (likeCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, likeCount_); + } + if (bookmarkCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, bookmarkCount_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, author_); + } + if (gradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, gradeType_); + } + if (cost_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, cost_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem other = (com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem) obj; + + if (getComposedQuestId() + != other.getComposedQuestId()) return false; + if (hasTitle() != other.hasTitle()) return false; + if (hasTitle()) { + if (!getTitle() + .equals(other.getTitle())) return false; + } + if (hasTitleImagePath() != other.hasTitleImagePath()) return false; + if (hasTitleImagePath()) { + if (!getTitleImagePath() + .equals(other.getTitleImagePath())) return false; + } + if (getLikeCount() + != other.getLikeCount()) return false; + if (getBookmarkCount() + != other.getBookmarkCount()) return false; + if (hasAuthor() != other.hasAuthor()) return false; + if (hasAuthor()) { + if (!getAuthor() + .equals(other.getAuthor())) return false; + } + if (gradeType_ != other.gradeType_) return false; + if (getCost() + != other.getCost()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getComposedQuestId()); + if (hasTitle()) { + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); + } + if (hasTitleImagePath()) { + hash = (37 * hash) + TITLEIMAGEPATH_FIELD_NUMBER; + hash = (53 * hash) + getTitleImagePath().hashCode(); + } + hash = (37 * hash) + LIKECOUNT_FIELD_NUMBER; + hash = (53 * hash) + getLikeCount(); + hash = (37 * hash) + BOOKMARKCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getBookmarkCount(); + if (hasAuthor()) { + hash = (37 * hash) + AUTHOR_FIELD_NUMBER; + hash = (53 * hash) + getAuthor().hashCode(); + } + hash = (37 * hash) + GRADETYPE_FIELD_NUMBER; + hash = (53 * hash) + gradeType_; + hash = (37 * hash) + COST_FIELD_NUMBER; + hash = (53 * hash) + getCost(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqBoardItem} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqBoardItem) + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.class, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + composedQuestId_ = 0L; + title_ = ""; + titleImagePath_ = ""; + likeCount_ = 0; + bookmarkCount_ = 0; + author_ = ""; + gradeType_ = 0; + cost_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardItem_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem build() { + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem result = new com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.composedQuestId_ = composedQuestId_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.title_ = title_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.titleImagePath_ = titleImagePath_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.likeCount_ = likeCount_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.bookmarkCount_ = bookmarkCount_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.author_ = author_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.gradeType_ = gradeType_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.cost_ = cost_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance()) return this; + if (other.getComposedQuestId() != 0L) { + setComposedQuestId(other.getComposedQuestId()); + } + if (other.hasTitle()) { + title_ = other.title_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasTitleImagePath()) { + titleImagePath_ = other.titleImagePath_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getLikeCount() != 0) { + setLikeCount(other.getLikeCount()); + } + if (other.getBookmarkCount() != 0) { + setBookmarkCount(other.getBookmarkCount()); + } + if (other.hasAuthor()) { + author_ = other.author_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.gradeType_ != 0) { + setGradeTypeValue(other.getGradeTypeValue()); + } + if (other.getCost() != 0) { + setCost(other.getCost()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + composedQuestId_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + titleImagePath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + likeCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + bookmarkCount_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + author_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: { + gradeType_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + cost_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long composedQuestId_ ; + /** + *
+     *UgqQuestId ugqQuestId = 1;
+     * 
+ * + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + /** + *
+     *UgqQuestId ugqQuestId = 1;
+     * 
+ * + * int64 composedQuestId = 1; + * @param value The composedQuestId to set. + * @return This builder for chaining. + */ + public Builder setComposedQuestId(long value) { + + composedQuestId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     *UgqQuestId ugqQuestId = 1;
+     * 
+ * + * int64 composedQuestId = 1; + * @return This builder for chaining. + */ + public Builder clearComposedQuestId() { + bitField0_ = (bitField0_ & ~0x00000001); + composedQuestId_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object title_ = ""; + /** + * optional string title = 2; + * @return Whether the title field is set. + */ + public boolean hasTitle() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string title = 2; + * @return The title. + */ + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string title = 2; + * @return The bytes for title. + */ + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string title = 2; + * @param value The title to set. + * @return This builder for chaining. + */ + public Builder setTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + title_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * optional string title = 2; + * @return This builder for chaining. + */ + public Builder clearTitle() { + title_ = getDefaultInstance().getTitle(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * optional string title = 2; + * @param value The bytes for title to set. + * @return This builder for chaining. + */ + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + title_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object titleImagePath_ = ""; + /** + * optional string titleImagePath = 3; + * @return Whether the titleImagePath field is set. + */ + public boolean hasTitleImagePath() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string titleImagePath = 3; + * @return The titleImagePath. + */ + public java.lang.String getTitleImagePath() { + java.lang.Object ref = titleImagePath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + titleImagePath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string titleImagePath = 3; + * @return The bytes for titleImagePath. + */ + public com.google.protobuf.ByteString + getTitleImagePathBytes() { + java.lang.Object ref = titleImagePath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + titleImagePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string titleImagePath = 3; + * @param value The titleImagePath to set. + * @return This builder for chaining. + */ + public Builder setTitleImagePath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + titleImagePath_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * optional string titleImagePath = 3; + * @return This builder for chaining. + */ + public Builder clearTitleImagePath() { + titleImagePath_ = getDefaultInstance().getTitleImagePath(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * optional string titleImagePath = 3; + * @param value The bytes for titleImagePath to set. + * @return This builder for chaining. + */ + public Builder setTitleImagePathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + titleImagePath_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int likeCount_ ; + /** + * int32 likeCount = 4; + * @return The likeCount. + */ + @java.lang.Override + public int getLikeCount() { + return likeCount_; + } + /** + * int32 likeCount = 4; + * @param value The likeCount to set. + * @return This builder for chaining. + */ + public Builder setLikeCount(int value) { + + likeCount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 likeCount = 4; + * @return This builder for chaining. + */ + public Builder clearLikeCount() { + bitField0_ = (bitField0_ & ~0x00000008); + likeCount_ = 0; + onChanged(); + return this; + } + + private int bookmarkCount_ ; + /** + * int32 bookmarkCount = 5; + * @return The bookmarkCount. + */ + @java.lang.Override + public int getBookmarkCount() { + return bookmarkCount_; + } + /** + * int32 bookmarkCount = 5; + * @param value The bookmarkCount to set. + * @return This builder for chaining. + */ + public Builder setBookmarkCount(int value) { + + bookmarkCount_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * int32 bookmarkCount = 5; + * @return This builder for chaining. + */ + public Builder clearBookmarkCount() { + bitField0_ = (bitField0_ & ~0x00000010); + bookmarkCount_ = 0; + onChanged(); + return this; + } + + private java.lang.Object author_ = ""; + /** + * optional string author = 6; + * @return Whether the author field is set. + */ + public boolean hasAuthor() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * optional string author = 6; + * @return The author. + */ + public java.lang.String getAuthor() { + java.lang.Object ref = author_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + author_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string author = 6; + * @return The bytes for author. + */ + public com.google.protobuf.ByteString + getAuthorBytes() { + java.lang.Object ref = author_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + author_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string author = 6; + * @param value The author to set. + * @return This builder for chaining. + */ + public Builder setAuthor( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + author_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * optional string author = 6; + * @return This builder for chaining. + */ + public Builder clearAuthor() { + author_ = getDefaultInstance().getAuthor(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * optional string author = 6; + * @param value The bytes for author to set. + * @return This builder for chaining. + */ + public Builder setAuthorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + author_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private int gradeType_ = 0; + /** + * .UgqGradeType gradeType = 7; + * @return The enum numeric value on the wire for gradeType. + */ + @java.lang.Override public int getGradeTypeValue() { + return gradeType_; + } + /** + * .UgqGradeType gradeType = 7; + * @param value The enum numeric value on the wire for gradeType to set. + * @return This builder for chaining. + */ + public Builder setGradeTypeValue(int value) { + gradeType_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .UgqGradeType gradeType = 7; + * @return The gradeType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType() { + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(gradeType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result; + } + /** + * .UgqGradeType gradeType = 7; + * @param value The gradeType to set. + * @return This builder for chaining. + */ + public Builder setGradeType(com.caliverse.admin.domain.RabbitMq.message.UgqGradeType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + gradeType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .UgqGradeType gradeType = 7; + * @return This builder for chaining. + */ + public Builder clearGradeType() { + bitField0_ = (bitField0_ & ~0x00000040); + gradeType_ = 0; + onChanged(); + return this; + } + + private int cost_ ; + /** + * int32 cost = 8; + * @return The cost. + */ + @java.lang.Override + public int getCost() { + return cost_; + } + /** + * int32 cost = 8; + * @param value The cost to set. + * @return This builder for chaining. + */ + public Builder setCost(int value) { + + cost_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * int32 cost = 8; + * @return This builder for chaining. + */ + public Builder clearCost() { + bitField0_ = (bitField0_ & ~0x00000080); + cost_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqBoardItem) + } + + // @@protoc_insertion_point(class_scope:UgqBoardItem) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqBoardItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardItemDetail.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardItemDetail.java new file mode 100644 index 0000000..4742e88 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardItemDetail.java @@ -0,0 +1,2112 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqBoardItemDetail} + */ +public final class UgqBoardItemDetail extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqBoardItemDetail) + UgqBoardItemDetailOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqBoardItemDetail.newBuilder() to construct. + private UgqBoardItemDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqBoardItemDetail() { + title_ = ""; + titleImagePath_ = ""; + author_ = ""; + description_ = ""; + langs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + beacon_ = ""; + liked_ = 0; + bookmarked_ = 0; + gradeType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqBoardItemDetail(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardItemDetail_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardItemDetail_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail.class, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail.Builder.class); + } + + private int bitField0_; + public static final int COMPOSEDQUESTID_FIELD_NUMBER = 1; + private long composedQuestId_ = 0L; + /** + *
+   *UgqQuestId ugqQuestId = 1;
+   * 
+ * + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + + public static final int TITLE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object title_ = ""; + /** + * optional string title = 2; + * @return Whether the title field is set. + */ + @java.lang.Override + public boolean hasTitle() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string title = 2; + * @return The title. + */ + @java.lang.Override + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } + } + /** + * optional string title = 2; + * @return The bytes for title. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TITLEIMAGEPATH_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object titleImagePath_ = ""; + /** + * optional string titleImagePath = 3; + * @return Whether the titleImagePath field is set. + */ + @java.lang.Override + public boolean hasTitleImagePath() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string titleImagePath = 3; + * @return The titleImagePath. + */ + @java.lang.Override + public java.lang.String getTitleImagePath() { + java.lang.Object ref = titleImagePath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + titleImagePath_ = s; + return s; + } + } + /** + * optional string titleImagePath = 3; + * @return The bytes for titleImagePath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTitleImagePathBytes() { + java.lang.Object ref = titleImagePath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + titleImagePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LIKECOUNT_FIELD_NUMBER = 4; + private int likeCount_ = 0; + /** + * int32 likeCount = 4; + * @return The likeCount. + */ + @java.lang.Override + public int getLikeCount() { + return likeCount_; + } + + public static final int BOOKMARKCOUNT_FIELD_NUMBER = 5; + private int bookmarkCount_ = 0; + /** + * int32 bookmarkCount = 5; + * @return The bookmarkCount. + */ + @java.lang.Override + public int getBookmarkCount() { + return bookmarkCount_; + } + + public static final int AUTHOR_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object author_ = ""; + /** + * optional string author = 6; + * @return Whether the author field is set. + */ + @java.lang.Override + public boolean hasAuthor() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string author = 6; + * @return The author. + */ + @java.lang.Override + public java.lang.String getAuthor() { + java.lang.Object ref = author_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + author_ = s; + return s; + } + } + /** + * optional string author = 6; + * @return The bytes for author. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAuthorBytes() { + java.lang.Object ref = author_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + author_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + * optional string description = 7; + * @return Whether the description field is set. + */ + @java.lang.Override + public boolean hasDescription() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional string description = 7; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + * optional string description = 7; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LANGS_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList langs_; + /** + * repeated string langs = 8; + * @return A list containing the langs. + */ + public com.google.protobuf.ProtocolStringList + getLangsList() { + return langs_; + } + /** + * repeated string langs = 8; + * @return The count of langs. + */ + public int getLangsCount() { + return langs_.size(); + } + /** + * repeated string langs = 8; + * @param index The index of the element to return. + * @return The langs at the given index. + */ + public java.lang.String getLangs(int index) { + return langs_.get(index); + } + /** + * repeated string langs = 8; + * @param index The index of the value to return. + * @return The bytes of the langs at the given index. + */ + public com.google.protobuf.ByteString + getLangsBytes(int index) { + return langs_.getByteString(index); + } + + public static final int BEACON_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private volatile java.lang.Object beacon_ = ""; + /** + *
+   *NPC г׹
+   * 
+ * + * optional string beacon = 9; + * @return Whether the beacon field is set. + */ + @java.lang.Override + public boolean hasBeacon() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + *
+   *NPC г׹
+   * 
+ * + * optional string beacon = 9; + * @return The beacon. + */ + @java.lang.Override + public java.lang.String getBeacon() { + java.lang.Object ref = beacon_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + beacon_ = s; + return s; + } + } + /** + *
+   *NPC г׹
+   * 
+ * + * optional string beacon = 9; + * @return The bytes for beacon. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBeaconBytes() { + java.lang.Object ref = beacon_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + beacon_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LIKED_FIELD_NUMBER = 10; + private int liked_ = 0; + /** + * .BoolType liked = 10; + * @return The enum numeric value on the wire for liked. + */ + @java.lang.Override public int getLikedValue() { + return liked_; + } + /** + * .BoolType liked = 10; + * @return The liked. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getLiked() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(liked_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + + public static final int BOOKMARKED_FIELD_NUMBER = 11; + private int bookmarked_ = 0; + /** + * .BoolType bookmarked = 11; + * @return The enum numeric value on the wire for bookmarked. + */ + @java.lang.Override public int getBookmarkedValue() { + return bookmarked_; + } + /** + * .BoolType bookmarked = 11; + * @return The bookmarked. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getBookmarked() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(bookmarked_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + + public static final int GRADETYPE_FIELD_NUMBER = 12; + private int gradeType_ = 0; + /** + * .UgqGradeType gradeType = 12; + * @return The enum numeric value on the wire for gradeType. + */ + @java.lang.Override public int getGradeTypeValue() { + return gradeType_; + } + /** + * .UgqGradeType gradeType = 12; + * @return The gradeType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType() { + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(gradeType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result; + } + + public static final int COST_FIELD_NUMBER = 13; + private int cost_ = 0; + /** + * int32 cost = 13; + * @return The cost. + */ + @java.lang.Override + public int getCost() { + return cost_; + } + + public static final int ACCEPTCOUNT_FIELD_NUMBER = 14; + private int acceptCount_ = 0; + /** + * int32 acceptCount = 14; + * @return The acceptCount. + */ + @java.lang.Override + public int getAcceptCount() { + return acceptCount_; + } + + public static final int COMPLETECOUNT_FIELD_NUMBER = 15; + private int completeCount_ = 0; + /** + * int32 completeCount = 15; + * @return The completeCount. + */ + @java.lang.Override + public int getCompleteCount() { + return completeCount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (composedQuestId_ != 0L) { + output.writeInt64(1, composedQuestId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, titleImagePath_); + } + if (likeCount_ != 0) { + output.writeInt32(4, likeCount_); + } + if (bookmarkCount_ != 0) { + output.writeInt32(5, bookmarkCount_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, author_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); + } + for (int i = 0; i < langs_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, langs_.getRaw(i)); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, beacon_); + } + if (liked_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + output.writeEnum(10, liked_); + } + if (bookmarked_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + output.writeEnum(11, bookmarked_); + } + if (gradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) { + output.writeEnum(12, gradeType_); + } + if (cost_ != 0) { + output.writeInt32(13, cost_); + } + if (acceptCount_ != 0) { + output.writeInt32(14, acceptCount_); + } + if (completeCount_ != 0) { + output.writeInt32(15, completeCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (composedQuestId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, composedQuestId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, titleImagePath_); + } + if (likeCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, likeCount_); + } + if (bookmarkCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, bookmarkCount_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, author_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); + } + { + int dataSize = 0; + for (int i = 0; i < langs_.size(); i++) { + dataSize += computeStringSizeNoTag(langs_.getRaw(i)); + } + size += dataSize; + size += 1 * getLangsList().size(); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, beacon_); + } + if (liked_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, liked_); + } + if (bookmarked_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, bookmarked_); + } + if (gradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, gradeType_); + } + if (cost_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(13, cost_); + } + if (acceptCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(14, acceptCount_); + } + if (completeCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(15, completeCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail other = (com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail) obj; + + if (getComposedQuestId() + != other.getComposedQuestId()) return false; + if (hasTitle() != other.hasTitle()) return false; + if (hasTitle()) { + if (!getTitle() + .equals(other.getTitle())) return false; + } + if (hasTitleImagePath() != other.hasTitleImagePath()) return false; + if (hasTitleImagePath()) { + if (!getTitleImagePath() + .equals(other.getTitleImagePath())) return false; + } + if (getLikeCount() + != other.getLikeCount()) return false; + if (getBookmarkCount() + != other.getBookmarkCount()) return false; + if (hasAuthor() != other.hasAuthor()) return false; + if (hasAuthor()) { + if (!getAuthor() + .equals(other.getAuthor())) return false; + } + if (hasDescription() != other.hasDescription()) return false; + if (hasDescription()) { + if (!getDescription() + .equals(other.getDescription())) return false; + } + if (!getLangsList() + .equals(other.getLangsList())) return false; + if (hasBeacon() != other.hasBeacon()) return false; + if (hasBeacon()) { + if (!getBeacon() + .equals(other.getBeacon())) return false; + } + if (liked_ != other.liked_) return false; + if (bookmarked_ != other.bookmarked_) return false; + if (gradeType_ != other.gradeType_) return false; + if (getCost() + != other.getCost()) return false; + if (getAcceptCount() + != other.getAcceptCount()) return false; + if (getCompleteCount() + != other.getCompleteCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getComposedQuestId()); + if (hasTitle()) { + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); + } + if (hasTitleImagePath()) { + hash = (37 * hash) + TITLEIMAGEPATH_FIELD_NUMBER; + hash = (53 * hash) + getTitleImagePath().hashCode(); + } + hash = (37 * hash) + LIKECOUNT_FIELD_NUMBER; + hash = (53 * hash) + getLikeCount(); + hash = (37 * hash) + BOOKMARKCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getBookmarkCount(); + if (hasAuthor()) { + hash = (37 * hash) + AUTHOR_FIELD_NUMBER; + hash = (53 * hash) + getAuthor().hashCode(); + } + if (hasDescription()) { + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + } + if (getLangsCount() > 0) { + hash = (37 * hash) + LANGS_FIELD_NUMBER; + hash = (53 * hash) + getLangsList().hashCode(); + } + if (hasBeacon()) { + hash = (37 * hash) + BEACON_FIELD_NUMBER; + hash = (53 * hash) + getBeacon().hashCode(); + } + hash = (37 * hash) + LIKED_FIELD_NUMBER; + hash = (53 * hash) + liked_; + hash = (37 * hash) + BOOKMARKED_FIELD_NUMBER; + hash = (53 * hash) + bookmarked_; + hash = (37 * hash) + GRADETYPE_FIELD_NUMBER; + hash = (53 * hash) + gradeType_; + hash = (37 * hash) + COST_FIELD_NUMBER; + hash = (53 * hash) + getCost(); + hash = (37 * hash) + ACCEPTCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getAcceptCount(); + hash = (37 * hash) + COMPLETECOUNT_FIELD_NUMBER; + hash = (53 * hash) + getCompleteCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqBoardItemDetail} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqBoardItemDetail) + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetailOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardItemDetail_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardItemDetail_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail.class, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + composedQuestId_ = 0L; + title_ = ""; + titleImagePath_ = ""; + likeCount_ = 0; + bookmarkCount_ = 0; + author_ = ""; + description_ = ""; + langs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000080); + beacon_ = ""; + liked_ = 0; + bookmarked_ = 0; + gradeType_ = 0; + cost_ = 0; + acceptCount_ = 0; + completeCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardItemDetail_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail build() { + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail result = new com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail result) { + if (((bitField0_ & 0x00000080) != 0)) { + langs_ = langs_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.langs_ = langs_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.composedQuestId_ = composedQuestId_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.title_ = title_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.titleImagePath_ = titleImagePath_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.likeCount_ = likeCount_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.bookmarkCount_ = bookmarkCount_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.author_ = author_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.description_ = description_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.beacon_ = beacon_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.liked_ = liked_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.bookmarked_ = bookmarked_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.gradeType_ = gradeType_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.cost_ = cost_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.acceptCount_ = acceptCount_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.completeCount_ = completeCount_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail.getDefaultInstance()) return this; + if (other.getComposedQuestId() != 0L) { + setComposedQuestId(other.getComposedQuestId()); + } + if (other.hasTitle()) { + title_ = other.title_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasTitleImagePath()) { + titleImagePath_ = other.titleImagePath_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getLikeCount() != 0) { + setLikeCount(other.getLikeCount()); + } + if (other.getBookmarkCount() != 0) { + setBookmarkCount(other.getBookmarkCount()); + } + if (other.hasAuthor()) { + author_ = other.author_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.hasDescription()) { + description_ = other.description_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.langs_.isEmpty()) { + if (langs_.isEmpty()) { + langs_ = other.langs_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureLangsIsMutable(); + langs_.addAll(other.langs_); + } + onChanged(); + } + if (other.hasBeacon()) { + beacon_ = other.beacon_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (other.liked_ != 0) { + setLikedValue(other.getLikedValue()); + } + if (other.bookmarked_ != 0) { + setBookmarkedValue(other.getBookmarkedValue()); + } + if (other.gradeType_ != 0) { + setGradeTypeValue(other.getGradeTypeValue()); + } + if (other.getCost() != 0) { + setCost(other.getCost()); + } + if (other.getAcceptCount() != 0) { + setAcceptCount(other.getAcceptCount()); + } + if (other.getCompleteCount() != 0) { + setCompleteCount(other.getCompleteCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + composedQuestId_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + titleImagePath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + likeCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + bookmarkCount_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + author_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLangsIsMutable(); + langs_.add(s); + break; + } // case 66 + case 74: { + beacon_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: { + liked_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + bookmarked_ = input.readEnum(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 96: { + gradeType_ = input.readEnum(); + bitField0_ |= 0x00000800; + break; + } // case 96 + case 104: { + cost_ = input.readInt32(); + bitField0_ |= 0x00001000; + break; + } // case 104 + case 112: { + acceptCount_ = input.readInt32(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: { + completeCount_ = input.readInt32(); + bitField0_ |= 0x00004000; + break; + } // case 120 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long composedQuestId_ ; + /** + *
+     *UgqQuestId ugqQuestId = 1;
+     * 
+ * + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + /** + *
+     *UgqQuestId ugqQuestId = 1;
+     * 
+ * + * int64 composedQuestId = 1; + * @param value The composedQuestId to set. + * @return This builder for chaining. + */ + public Builder setComposedQuestId(long value) { + + composedQuestId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     *UgqQuestId ugqQuestId = 1;
+     * 
+ * + * int64 composedQuestId = 1; + * @return This builder for chaining. + */ + public Builder clearComposedQuestId() { + bitField0_ = (bitField0_ & ~0x00000001); + composedQuestId_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object title_ = ""; + /** + * optional string title = 2; + * @return Whether the title field is set. + */ + public boolean hasTitle() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string title = 2; + * @return The title. + */ + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string title = 2; + * @return The bytes for title. + */ + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string title = 2; + * @param value The title to set. + * @return This builder for chaining. + */ + public Builder setTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + title_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * optional string title = 2; + * @return This builder for chaining. + */ + public Builder clearTitle() { + title_ = getDefaultInstance().getTitle(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * optional string title = 2; + * @param value The bytes for title to set. + * @return This builder for chaining. + */ + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + title_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object titleImagePath_ = ""; + /** + * optional string titleImagePath = 3; + * @return Whether the titleImagePath field is set. + */ + public boolean hasTitleImagePath() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string titleImagePath = 3; + * @return The titleImagePath. + */ + public java.lang.String getTitleImagePath() { + java.lang.Object ref = titleImagePath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + titleImagePath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string titleImagePath = 3; + * @return The bytes for titleImagePath. + */ + public com.google.protobuf.ByteString + getTitleImagePathBytes() { + java.lang.Object ref = titleImagePath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + titleImagePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string titleImagePath = 3; + * @param value The titleImagePath to set. + * @return This builder for chaining. + */ + public Builder setTitleImagePath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + titleImagePath_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * optional string titleImagePath = 3; + * @return This builder for chaining. + */ + public Builder clearTitleImagePath() { + titleImagePath_ = getDefaultInstance().getTitleImagePath(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * optional string titleImagePath = 3; + * @param value The bytes for titleImagePath to set. + * @return This builder for chaining. + */ + public Builder setTitleImagePathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + titleImagePath_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int likeCount_ ; + /** + * int32 likeCount = 4; + * @return The likeCount. + */ + @java.lang.Override + public int getLikeCount() { + return likeCount_; + } + /** + * int32 likeCount = 4; + * @param value The likeCount to set. + * @return This builder for chaining. + */ + public Builder setLikeCount(int value) { + + likeCount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 likeCount = 4; + * @return This builder for chaining. + */ + public Builder clearLikeCount() { + bitField0_ = (bitField0_ & ~0x00000008); + likeCount_ = 0; + onChanged(); + return this; + } + + private int bookmarkCount_ ; + /** + * int32 bookmarkCount = 5; + * @return The bookmarkCount. + */ + @java.lang.Override + public int getBookmarkCount() { + return bookmarkCount_; + } + /** + * int32 bookmarkCount = 5; + * @param value The bookmarkCount to set. + * @return This builder for chaining. + */ + public Builder setBookmarkCount(int value) { + + bookmarkCount_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * int32 bookmarkCount = 5; + * @return This builder for chaining. + */ + public Builder clearBookmarkCount() { + bitField0_ = (bitField0_ & ~0x00000010); + bookmarkCount_ = 0; + onChanged(); + return this; + } + + private java.lang.Object author_ = ""; + /** + * optional string author = 6; + * @return Whether the author field is set. + */ + public boolean hasAuthor() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * optional string author = 6; + * @return The author. + */ + public java.lang.String getAuthor() { + java.lang.Object ref = author_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + author_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string author = 6; + * @return The bytes for author. + */ + public com.google.protobuf.ByteString + getAuthorBytes() { + java.lang.Object ref = author_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + author_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string author = 6; + * @param value The author to set. + * @return This builder for chaining. + */ + public Builder setAuthor( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + author_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * optional string author = 6; + * @return This builder for chaining. + */ + public Builder clearAuthor() { + author_ = getDefaultInstance().getAuthor(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * optional string author = 6; + * @param value The bytes for author to set. + * @return This builder for chaining. + */ + public Builder setAuthorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + author_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + * optional string description = 7; + * @return Whether the description field is set. + */ + public boolean hasDescription() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * optional string description = 7; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string description = 7; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string description = 7; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * optional string description = 7; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * optional string description = 7; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList langs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLangsIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + langs_ = new com.google.protobuf.LazyStringArrayList(langs_); + bitField0_ |= 0x00000080; + } + } + /** + * repeated string langs = 8; + * @return A list containing the langs. + */ + public com.google.protobuf.ProtocolStringList + getLangsList() { + return langs_.getUnmodifiableView(); + } + /** + * repeated string langs = 8; + * @return The count of langs. + */ + public int getLangsCount() { + return langs_.size(); + } + /** + * repeated string langs = 8; + * @param index The index of the element to return. + * @return The langs at the given index. + */ + public java.lang.String getLangs(int index) { + return langs_.get(index); + } + /** + * repeated string langs = 8; + * @param index The index of the value to return. + * @return The bytes of the langs at the given index. + */ + public com.google.protobuf.ByteString + getLangsBytes(int index) { + return langs_.getByteString(index); + } + /** + * repeated string langs = 8; + * @param index The index to set the value at. + * @param value The langs to set. + * @return This builder for chaining. + */ + public Builder setLangs( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureLangsIsMutable(); + langs_.set(index, value); + onChanged(); + return this; + } + /** + * repeated string langs = 8; + * @param value The langs to add. + * @return This builder for chaining. + */ + public Builder addLangs( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureLangsIsMutable(); + langs_.add(value); + onChanged(); + return this; + } + /** + * repeated string langs = 8; + * @param values The langs to add. + * @return This builder for chaining. + */ + public Builder addAllLangs( + java.lang.Iterable values) { + ensureLangsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, langs_); + onChanged(); + return this; + } + /** + * repeated string langs = 8; + * @return This builder for chaining. + */ + public Builder clearLangs() { + langs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * repeated string langs = 8; + * @param value The bytes of the langs to add. + * @return This builder for chaining. + */ + public Builder addLangsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureLangsIsMutable(); + langs_.add(value); + onChanged(); + return this; + } + + private java.lang.Object beacon_ = ""; + /** + *
+     *NPC г׹
+     * 
+ * + * optional string beacon = 9; + * @return Whether the beacon field is set. + */ + public boolean hasBeacon() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + *
+     *NPC г׹
+     * 
+ * + * optional string beacon = 9; + * @return The beacon. + */ + public java.lang.String getBeacon() { + java.lang.Object ref = beacon_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + beacon_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     *NPC г׹
+     * 
+ * + * optional string beacon = 9; + * @return The bytes for beacon. + */ + public com.google.protobuf.ByteString + getBeaconBytes() { + java.lang.Object ref = beacon_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + beacon_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     *NPC г׹
+     * 
+ * + * optional string beacon = 9; + * @param value The beacon to set. + * @return This builder for chaining. + */ + public Builder setBeacon( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + beacon_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+     *NPC г׹
+     * 
+ * + * optional string beacon = 9; + * @return This builder for chaining. + */ + public Builder clearBeacon() { + beacon_ = getDefaultInstance().getBeacon(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + *
+     *NPC г׹
+     * 
+ * + * optional string beacon = 9; + * @param value The bytes for beacon to set. + * @return This builder for chaining. + */ + public Builder setBeaconBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + beacon_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private int liked_ = 0; + /** + * .BoolType liked = 10; + * @return The enum numeric value on the wire for liked. + */ + @java.lang.Override public int getLikedValue() { + return liked_; + } + /** + * .BoolType liked = 10; + * @param value The enum numeric value on the wire for liked to set. + * @return This builder for chaining. + */ + public Builder setLikedValue(int value) { + liked_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * .BoolType liked = 10; + * @return The liked. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BoolType getLiked() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(liked_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + /** + * .BoolType liked = 10; + * @param value The liked to set. + * @return This builder for chaining. + */ + public Builder setLiked(com.caliverse.admin.domain.RabbitMq.message.BoolType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + liked_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .BoolType liked = 10; + * @return This builder for chaining. + */ + public Builder clearLiked() { + bitField0_ = (bitField0_ & ~0x00000200); + liked_ = 0; + onChanged(); + return this; + } + + private int bookmarked_ = 0; + /** + * .BoolType bookmarked = 11; + * @return The enum numeric value on the wire for bookmarked. + */ + @java.lang.Override public int getBookmarkedValue() { + return bookmarked_; + } + /** + * .BoolType bookmarked = 11; + * @param value The enum numeric value on the wire for bookmarked to set. + * @return This builder for chaining. + */ + public Builder setBookmarkedValue(int value) { + bookmarked_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * .BoolType bookmarked = 11; + * @return The bookmarked. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BoolType getBookmarked() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(bookmarked_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + /** + * .BoolType bookmarked = 11; + * @param value The bookmarked to set. + * @return This builder for chaining. + */ + public Builder setBookmarked(com.caliverse.admin.domain.RabbitMq.message.BoolType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; + bookmarked_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .BoolType bookmarked = 11; + * @return This builder for chaining. + */ + public Builder clearBookmarked() { + bitField0_ = (bitField0_ & ~0x00000400); + bookmarked_ = 0; + onChanged(); + return this; + } + + private int gradeType_ = 0; + /** + * .UgqGradeType gradeType = 12; + * @return The enum numeric value on the wire for gradeType. + */ + @java.lang.Override public int getGradeTypeValue() { + return gradeType_; + } + /** + * .UgqGradeType gradeType = 12; + * @param value The enum numeric value on the wire for gradeType to set. + * @return This builder for chaining. + */ + public Builder setGradeTypeValue(int value) { + gradeType_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * .UgqGradeType gradeType = 12; + * @return The gradeType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType() { + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(gradeType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result; + } + /** + * .UgqGradeType gradeType = 12; + * @param value The gradeType to set. + * @return This builder for chaining. + */ + public Builder setGradeType(com.caliverse.admin.domain.RabbitMq.message.UgqGradeType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000800; + gradeType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .UgqGradeType gradeType = 12; + * @return This builder for chaining. + */ + public Builder clearGradeType() { + bitField0_ = (bitField0_ & ~0x00000800); + gradeType_ = 0; + onChanged(); + return this; + } + + private int cost_ ; + /** + * int32 cost = 13; + * @return The cost. + */ + @java.lang.Override + public int getCost() { + return cost_; + } + /** + * int32 cost = 13; + * @param value The cost to set. + * @return This builder for chaining. + */ + public Builder setCost(int value) { + + cost_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * int32 cost = 13; + * @return This builder for chaining. + */ + public Builder clearCost() { + bitField0_ = (bitField0_ & ~0x00001000); + cost_ = 0; + onChanged(); + return this; + } + + private int acceptCount_ ; + /** + * int32 acceptCount = 14; + * @return The acceptCount. + */ + @java.lang.Override + public int getAcceptCount() { + return acceptCount_; + } + /** + * int32 acceptCount = 14; + * @param value The acceptCount to set. + * @return This builder for chaining. + */ + public Builder setAcceptCount(int value) { + + acceptCount_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * int32 acceptCount = 14; + * @return This builder for chaining. + */ + public Builder clearAcceptCount() { + bitField0_ = (bitField0_ & ~0x00002000); + acceptCount_ = 0; + onChanged(); + return this; + } + + private int completeCount_ ; + /** + * int32 completeCount = 15; + * @return The completeCount. + */ + @java.lang.Override + public int getCompleteCount() { + return completeCount_; + } + /** + * int32 completeCount = 15; + * @param value The completeCount to set. + * @return This builder for chaining. + */ + public Builder setCompleteCount(int value) { + + completeCount_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + * int32 completeCount = 15; + * @return This builder for chaining. + */ + public Builder clearCompleteCount() { + bitField0_ = (bitField0_ & ~0x00004000); + completeCount_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqBoardItemDetail) + } + + // @@protoc_insertion_point(class_scope:UgqBoardItemDetail) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqBoardItemDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardItemDetailOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardItemDetailOrBuilder.java new file mode 100644 index 0000000..f5743ed --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardItemDetailOrBuilder.java @@ -0,0 +1,204 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqBoardItemDetailOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqBoardItemDetail) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *UgqQuestId ugqQuestId = 1;
+   * 
+ * + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + long getComposedQuestId(); + + /** + * optional string title = 2; + * @return Whether the title field is set. + */ + boolean hasTitle(); + /** + * optional string title = 2; + * @return The title. + */ + java.lang.String getTitle(); + /** + * optional string title = 2; + * @return The bytes for title. + */ + com.google.protobuf.ByteString + getTitleBytes(); + + /** + * optional string titleImagePath = 3; + * @return Whether the titleImagePath field is set. + */ + boolean hasTitleImagePath(); + /** + * optional string titleImagePath = 3; + * @return The titleImagePath. + */ + java.lang.String getTitleImagePath(); + /** + * optional string titleImagePath = 3; + * @return The bytes for titleImagePath. + */ + com.google.protobuf.ByteString + getTitleImagePathBytes(); + + /** + * int32 likeCount = 4; + * @return The likeCount. + */ + int getLikeCount(); + + /** + * int32 bookmarkCount = 5; + * @return The bookmarkCount. + */ + int getBookmarkCount(); + + /** + * optional string author = 6; + * @return Whether the author field is set. + */ + boolean hasAuthor(); + /** + * optional string author = 6; + * @return The author. + */ + java.lang.String getAuthor(); + /** + * optional string author = 6; + * @return The bytes for author. + */ + com.google.protobuf.ByteString + getAuthorBytes(); + + /** + * optional string description = 7; + * @return Whether the description field is set. + */ + boolean hasDescription(); + /** + * optional string description = 7; + * @return The description. + */ + java.lang.String getDescription(); + /** + * optional string description = 7; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + * repeated string langs = 8; + * @return A list containing the langs. + */ + java.util.List + getLangsList(); + /** + * repeated string langs = 8; + * @return The count of langs. + */ + int getLangsCount(); + /** + * repeated string langs = 8; + * @param index The index of the element to return. + * @return The langs at the given index. + */ + java.lang.String getLangs(int index); + /** + * repeated string langs = 8; + * @param index The index of the value to return. + * @return The bytes of the langs at the given index. + */ + com.google.protobuf.ByteString + getLangsBytes(int index); + + /** + *
+   *NPC г׹
+   * 
+ * + * optional string beacon = 9; + * @return Whether the beacon field is set. + */ + boolean hasBeacon(); + /** + *
+   *NPC г׹
+   * 
+ * + * optional string beacon = 9; + * @return The beacon. + */ + java.lang.String getBeacon(); + /** + *
+   *NPC г׹
+   * 
+ * + * optional string beacon = 9; + * @return The bytes for beacon. + */ + com.google.protobuf.ByteString + getBeaconBytes(); + + /** + * .BoolType liked = 10; + * @return The enum numeric value on the wire for liked. + */ + int getLikedValue(); + /** + * .BoolType liked = 10; + * @return The liked. + */ + com.caliverse.admin.domain.RabbitMq.message.BoolType getLiked(); + + /** + * .BoolType bookmarked = 11; + * @return The enum numeric value on the wire for bookmarked. + */ + int getBookmarkedValue(); + /** + * .BoolType bookmarked = 11; + * @return The bookmarked. + */ + com.caliverse.admin.domain.RabbitMq.message.BoolType getBookmarked(); + + /** + * .UgqGradeType gradeType = 12; + * @return The enum numeric value on the wire for gradeType. + */ + int getGradeTypeValue(); + /** + * .UgqGradeType gradeType = 12; + * @return The gradeType. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType(); + + /** + * int32 cost = 13; + * @return The cost. + */ + int getCost(); + + /** + * int32 acceptCount = 14; + * @return The acceptCount. + */ + int getAcceptCount(); + + /** + * int32 completeCount = 15; + * @return The completeCount. + */ + int getCompleteCount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardItemOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardItemOrBuilder.java new file mode 100644 index 0000000..ca5ff55 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardItemOrBuilder.java @@ -0,0 +1,99 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqBoardItemOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqBoardItem) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *UgqQuestId ugqQuestId = 1;
+   * 
+ * + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + long getComposedQuestId(); + + /** + * optional string title = 2; + * @return Whether the title field is set. + */ + boolean hasTitle(); + /** + * optional string title = 2; + * @return The title. + */ + java.lang.String getTitle(); + /** + * optional string title = 2; + * @return The bytes for title. + */ + com.google.protobuf.ByteString + getTitleBytes(); + + /** + * optional string titleImagePath = 3; + * @return Whether the titleImagePath field is set. + */ + boolean hasTitleImagePath(); + /** + * optional string titleImagePath = 3; + * @return The titleImagePath. + */ + java.lang.String getTitleImagePath(); + /** + * optional string titleImagePath = 3; + * @return The bytes for titleImagePath. + */ + com.google.protobuf.ByteString + getTitleImagePathBytes(); + + /** + * int32 likeCount = 4; + * @return The likeCount. + */ + int getLikeCount(); + + /** + * int32 bookmarkCount = 5; + * @return The bookmarkCount. + */ + int getBookmarkCount(); + + /** + * optional string author = 6; + * @return Whether the author field is set. + */ + boolean hasAuthor(); + /** + * optional string author = 6; + * @return The author. + */ + java.lang.String getAuthor(); + /** + * optional string author = 6; + * @return The bytes for author. + */ + com.google.protobuf.ByteString + getAuthorBytes(); + + /** + * .UgqGradeType gradeType = 7; + * @return The enum numeric value on the wire for gradeType. + */ + int getGradeTypeValue(); + /** + * .UgqGradeType gradeType = 7; + * @return The gradeType. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType(); + + /** + * int32 cost = 8; + * @return The cost. + */ + int getCost(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardSearchResult.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardSearchResult.java new file mode 100644 index 0000000..1f2594f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardSearchResult.java @@ -0,0 +1,960 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqBoardSearchResult} + */ +public final class UgqBoardSearchResult extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqBoardSearchResult) + UgqBoardSearchResultOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqBoardSearchResult.newBuilder() to construct. + private UgqBoardSearchResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqBoardSearchResult() { + items_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqBoardSearchResult(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardSearchResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardSearchResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult.class, com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult.Builder.class); + } + + public static final int PAGENUMBER_FIELD_NUMBER = 1; + private int pageNumber_ = 0; + /** + * int32 pageNumber = 1; + * @return The pageNumber. + */ + @java.lang.Override + public int getPageNumber() { + return pageNumber_; + } + + public static final int PAGESIZE_FIELD_NUMBER = 2; + private int pageSize_ = 0; + /** + * int32 pageSize = 2; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int TOTALPAGES_FIELD_NUMBER = 3; + private int totalPages_ = 0; + /** + * int32 totalPages = 3; + * @return The totalPages. + */ + @java.lang.Override + public int getTotalPages() { + return totalPages_; + } + + public static final int ITEMS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List items_; + /** + * repeated .UgqBoardItem items = 4; + */ + @java.lang.Override + public java.util.List getItemsList() { + return items_; + } + /** + * repeated .UgqBoardItem items = 4; + */ + @java.lang.Override + public java.util.List + getItemsOrBuilderList() { + return items_; + } + /** + * repeated .UgqBoardItem items = 4; + */ + @java.lang.Override + public int getItemsCount() { + return items_.size(); + } + /** + * repeated .UgqBoardItem items = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getItems(int index) { + return items_.get(index); + } + /** + * repeated .UgqBoardItem items = 4; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder getItemsOrBuilder( + int index) { + return items_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (pageNumber_ != 0) { + output.writeInt32(1, pageNumber_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (totalPages_ != 0) { + output.writeInt32(3, totalPages_); + } + for (int i = 0; i < items_.size(); i++) { + output.writeMessage(4, items_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (pageNumber_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, pageNumber_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); + } + if (totalPages_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, totalPages_); + } + for (int i = 0; i < items_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, items_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult other = (com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult) obj; + + if (getPageNumber() + != other.getPageNumber()) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (getTotalPages() + != other.getTotalPages()) return false; + if (!getItemsList() + .equals(other.getItemsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PAGENUMBER_FIELD_NUMBER; + hash = (53 * hash) + getPageNumber(); + hash = (37 * hash) + PAGESIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + TOTALPAGES_FIELD_NUMBER; + hash = (53 * hash) + getTotalPages(); + if (getItemsCount() > 0) { + hash = (37 * hash) + ITEMS_FIELD_NUMBER; + hash = (53 * hash) + getItemsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqBoardSearchResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqBoardSearchResult) + com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardSearchResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardSearchResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult.class, com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + pageNumber_ = 0; + pageSize_ = 0; + totalPages_ = 0; + if (itemsBuilder_ == null) { + items_ = java.util.Collections.emptyList(); + } else { + items_ = null; + itemsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardSearchResult_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult build() { + com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult result = new com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult result) { + if (itemsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + items_ = java.util.Collections.unmodifiableList(items_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.items_ = items_; + } else { + result.items_ = itemsBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.pageNumber_ = pageNumber_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.totalPages_ = totalPages_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult.getDefaultInstance()) return this; + if (other.getPageNumber() != 0) { + setPageNumber(other.getPageNumber()); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (other.getTotalPages() != 0) { + setTotalPages(other.getTotalPages()); + } + if (itemsBuilder_ == null) { + if (!other.items_.isEmpty()) { + if (items_.isEmpty()) { + items_ = other.items_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureItemsIsMutable(); + items_.addAll(other.items_); + } + onChanged(); + } + } else { + if (!other.items_.isEmpty()) { + if (itemsBuilder_.isEmpty()) { + itemsBuilder_.dispose(); + itemsBuilder_ = null; + items_ = other.items_; + bitField0_ = (bitField0_ & ~0x00000008); + itemsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getItemsFieldBuilder() : null; + } else { + itemsBuilder_.addAllMessages(other.items_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + pageNumber_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + totalPages_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.parser(), + extensionRegistry); + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(m); + } else { + itemsBuilder_.addMessage(m); + } + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int pageNumber_ ; + /** + * int32 pageNumber = 1; + * @return The pageNumber. + */ + @java.lang.Override + public int getPageNumber() { + return pageNumber_; + } + /** + * int32 pageNumber = 1; + * @param value The pageNumber to set. + * @return This builder for chaining. + */ + public Builder setPageNumber(int value) { + + pageNumber_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 pageNumber = 1; + * @return This builder for chaining. + */ + public Builder clearPageNumber() { + bitField0_ = (bitField0_ & ~0x00000001); + pageNumber_ = 0; + onChanged(); + return this; + } + + private int pageSize_ ; + /** + * int32 pageSize = 2; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * int32 pageSize = 2; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 pageSize = 2; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private int totalPages_ ; + /** + * int32 totalPages = 3; + * @return The totalPages. + */ + @java.lang.Override + public int getTotalPages() { + return totalPages_; + } + /** + * int32 totalPages = 3; + * @param value The totalPages to set. + * @return This builder for chaining. + */ + public Builder setTotalPages(int value) { + + totalPages_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 totalPages = 3; + * @return This builder for chaining. + */ + public Builder clearTotalPages() { + bitField0_ = (bitField0_ & ~0x00000004); + totalPages_ = 0; + onChanged(); + return this; + } + + private java.util.List items_ = + java.util.Collections.emptyList(); + private void ensureItemsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + items_ = new java.util.ArrayList(items_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder> itemsBuilder_; + + /** + * repeated .UgqBoardItem items = 4; + */ + public java.util.List getItemsList() { + if (itemsBuilder_ == null) { + return java.util.Collections.unmodifiableList(items_); + } else { + return itemsBuilder_.getMessageList(); + } + } + /** + * repeated .UgqBoardItem items = 4; + */ + public int getItemsCount() { + if (itemsBuilder_ == null) { + return items_.size(); + } else { + return itemsBuilder_.getCount(); + } + } + /** + * repeated .UgqBoardItem items = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getItems(int index) { + if (itemsBuilder_ == null) { + return items_.get(index); + } else { + return itemsBuilder_.getMessage(index); + } + } + /** + * repeated .UgqBoardItem items = 4; + */ + public Builder setItems( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.set(index, value); + onChanged(); + } else { + itemsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .UgqBoardItem items = 4; + */ + public Builder setItems( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.set(index, builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgqBoardItem items = 4; + */ + public Builder addItems(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.add(value); + onChanged(); + } else { + itemsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .UgqBoardItem items = 4; + */ + public Builder addItems( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.add(index, value); + onChanged(); + } else { + itemsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .UgqBoardItem items = 4; + */ + public Builder addItems( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .UgqBoardItem items = 4; + */ + public Builder addItems( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(index, builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgqBoardItem items = 4; + */ + public Builder addAllItems( + java.lang.Iterable values) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, items_); + onChanged(); + } else { + itemsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .UgqBoardItem items = 4; + */ + public Builder clearItems() { + if (itemsBuilder_ == null) { + items_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + itemsBuilder_.clear(); + } + return this; + } + /** + * repeated .UgqBoardItem items = 4; + */ + public Builder removeItems(int index) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.remove(index); + onChanged(); + } else { + itemsBuilder_.remove(index); + } + return this; + } + /** + * repeated .UgqBoardItem items = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder getItemsBuilder( + int index) { + return getItemsFieldBuilder().getBuilder(index); + } + /** + * repeated .UgqBoardItem items = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder getItemsOrBuilder( + int index) { + if (itemsBuilder_ == null) { + return items_.get(index); } else { + return itemsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .UgqBoardItem items = 4; + */ + public java.util.List + getItemsOrBuilderList() { + if (itemsBuilder_ != null) { + return itemsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(items_); + } + } + /** + * repeated .UgqBoardItem items = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder addItemsBuilder() { + return getItemsFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance()); + } + /** + * repeated .UgqBoardItem items = 4; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder addItemsBuilder( + int index) { + return getItemsFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.getDefaultInstance()); + } + /** + * repeated .UgqBoardItem items = 4; + */ + public java.util.List + getItemsBuilderList() { + return getItemsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder> + getItemsFieldBuilder() { + if (itemsBuilder_ == null) { + itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder>( + items_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + items_ = null; + } + return itemsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqBoardSearchResult) + } + + // @@protoc_insertion_point(class_scope:UgqBoardSearchResult) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqBoardSearchResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardSearchResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardSearchResultOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardSearchResultOrBuilder.java new file mode 100644 index 0000000..4f3f36e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardSearchResultOrBuilder.java @@ -0,0 +1,51 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqBoardSearchResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqBoardSearchResult) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 pageNumber = 1; + * @return The pageNumber. + */ + int getPageNumber(); + + /** + * int32 pageSize = 2; + * @return The pageSize. + */ + int getPageSize(); + + /** + * int32 totalPages = 3; + * @return The totalPages. + */ + int getTotalPages(); + + /** + * repeated .UgqBoardItem items = 4; + */ + java.util.List + getItemsList(); + /** + * repeated .UgqBoardItem items = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItem getItems(int index); + /** + * repeated .UgqBoardItem items = 4; + */ + int getItemsCount(); + /** + * repeated .UgqBoardItem items = 4; + */ + java.util.List + getItemsOrBuilderList(); + /** + * repeated .UgqBoardItem items = 4; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemOrBuilder getItemsOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardSportlightResult.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardSportlightResult.java new file mode 100644 index 0000000..ebe6654 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardSportlightResult.java @@ -0,0 +1,770 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqBoardSportlightResult} + */ +public final class UgqBoardSportlightResult extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqBoardSportlightResult) + UgqBoardSportlightResultOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqBoardSportlightResult.newBuilder() to construct. + private UgqBoardSportlightResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqBoardSportlightResult() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqBoardSportlightResult(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardSportlightResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardSportlightResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult.class, com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult.Builder.class); + } + + public static final int MOSTLIKED_FIELD_NUMBER = 1; + private com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem mostLiked_; + /** + * .DateRangeUgqBoardItem mostLiked = 1; + * @return Whether the mostLiked field is set. + */ + @java.lang.Override + public boolean hasMostLiked() { + return mostLiked_ != null; + } + /** + * .DateRangeUgqBoardItem mostLiked = 1; + * @return The mostLiked. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem getMostLiked() { + return mostLiked_ == null ? com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.getDefaultInstance() : mostLiked_; + } + /** + * .DateRangeUgqBoardItem mostLiked = 1; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder getMostLikedOrBuilder() { + return mostLiked_ == null ? com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.getDefaultInstance() : mostLiked_; + } + + public static final int MOSTBOOKMARKED_FIELD_NUMBER = 2; + private com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem mostBookmarked_; + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + * @return Whether the mostBookmarked field is set. + */ + @java.lang.Override + public boolean hasMostBookmarked() { + return mostBookmarked_ != null; + } + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + * @return The mostBookmarked. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem getMostBookmarked() { + return mostBookmarked_ == null ? com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.getDefaultInstance() : mostBookmarked_; + } + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder getMostBookmarkedOrBuilder() { + return mostBookmarked_ == null ? com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.getDefaultInstance() : mostBookmarked_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (mostLiked_ != null) { + output.writeMessage(1, getMostLiked()); + } + if (mostBookmarked_ != null) { + output.writeMessage(2, getMostBookmarked()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (mostLiked_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMostLiked()); + } + if (mostBookmarked_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMostBookmarked()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult other = (com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult) obj; + + if (hasMostLiked() != other.hasMostLiked()) return false; + if (hasMostLiked()) { + if (!getMostLiked() + .equals(other.getMostLiked())) return false; + } + if (hasMostBookmarked() != other.hasMostBookmarked()) return false; + if (hasMostBookmarked()) { + if (!getMostBookmarked() + .equals(other.getMostBookmarked())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasMostLiked()) { + hash = (37 * hash) + MOSTLIKED_FIELD_NUMBER; + hash = (53 * hash) + getMostLiked().hashCode(); + } + if (hasMostBookmarked()) { + hash = (37 * hash) + MOSTBOOKMARKED_FIELD_NUMBER; + hash = (53 * hash) + getMostBookmarked().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqBoardSportlightResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqBoardSportlightResult) + com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardSportlightResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardSportlightResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult.class, com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + mostLiked_ = null; + if (mostLikedBuilder_ != null) { + mostLikedBuilder_.dispose(); + mostLikedBuilder_ = null; + } + mostBookmarked_ = null; + if (mostBookmarkedBuilder_ != null) { + mostBookmarkedBuilder_.dispose(); + mostBookmarkedBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqBoardSportlightResult_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult build() { + com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult result = new com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.mostLiked_ = mostLikedBuilder_ == null + ? mostLiked_ + : mostLikedBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.mostBookmarked_ = mostBookmarkedBuilder_ == null + ? mostBookmarked_ + : mostBookmarkedBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult.getDefaultInstance()) return this; + if (other.hasMostLiked()) { + mergeMostLiked(other.getMostLiked()); + } + if (other.hasMostBookmarked()) { + mergeMostBookmarked(other.getMostBookmarked()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getMostLikedFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getMostBookmarkedFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem mostLiked_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder> mostLikedBuilder_; + /** + * .DateRangeUgqBoardItem mostLiked = 1; + * @return Whether the mostLiked field is set. + */ + public boolean hasMostLiked() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .DateRangeUgqBoardItem mostLiked = 1; + * @return The mostLiked. + */ + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem getMostLiked() { + if (mostLikedBuilder_ == null) { + return mostLiked_ == null ? com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.getDefaultInstance() : mostLiked_; + } else { + return mostLikedBuilder_.getMessage(); + } + } + /** + * .DateRangeUgqBoardItem mostLiked = 1; + */ + public Builder setMostLiked(com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem value) { + if (mostLikedBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + mostLiked_ = value; + } else { + mostLikedBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .DateRangeUgqBoardItem mostLiked = 1; + */ + public Builder setMostLiked( + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.Builder builderForValue) { + if (mostLikedBuilder_ == null) { + mostLiked_ = builderForValue.build(); + } else { + mostLikedBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .DateRangeUgqBoardItem mostLiked = 1; + */ + public Builder mergeMostLiked(com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem value) { + if (mostLikedBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + mostLiked_ != null && + mostLiked_ != com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.getDefaultInstance()) { + getMostLikedBuilder().mergeFrom(value); + } else { + mostLiked_ = value; + } + } else { + mostLikedBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .DateRangeUgqBoardItem mostLiked = 1; + */ + public Builder clearMostLiked() { + bitField0_ = (bitField0_ & ~0x00000001); + mostLiked_ = null; + if (mostLikedBuilder_ != null) { + mostLikedBuilder_.dispose(); + mostLikedBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .DateRangeUgqBoardItem mostLiked = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.Builder getMostLikedBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getMostLikedFieldBuilder().getBuilder(); + } + /** + * .DateRangeUgqBoardItem mostLiked = 1; + */ + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder getMostLikedOrBuilder() { + if (mostLikedBuilder_ != null) { + return mostLikedBuilder_.getMessageOrBuilder(); + } else { + return mostLiked_ == null ? + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.getDefaultInstance() : mostLiked_; + } + } + /** + * .DateRangeUgqBoardItem mostLiked = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder> + getMostLikedFieldBuilder() { + if (mostLikedBuilder_ == null) { + mostLikedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder>( + getMostLiked(), + getParentForChildren(), + isClean()); + mostLiked_ = null; + } + return mostLikedBuilder_; + } + + private com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem mostBookmarked_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder> mostBookmarkedBuilder_; + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + * @return Whether the mostBookmarked field is set. + */ + public boolean hasMostBookmarked() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + * @return The mostBookmarked. + */ + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem getMostBookmarked() { + if (mostBookmarkedBuilder_ == null) { + return mostBookmarked_ == null ? com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.getDefaultInstance() : mostBookmarked_; + } else { + return mostBookmarkedBuilder_.getMessage(); + } + } + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + */ + public Builder setMostBookmarked(com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem value) { + if (mostBookmarkedBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + mostBookmarked_ = value; + } else { + mostBookmarkedBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + */ + public Builder setMostBookmarked( + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.Builder builderForValue) { + if (mostBookmarkedBuilder_ == null) { + mostBookmarked_ = builderForValue.build(); + } else { + mostBookmarkedBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + */ + public Builder mergeMostBookmarked(com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem value) { + if (mostBookmarkedBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + mostBookmarked_ != null && + mostBookmarked_ != com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.getDefaultInstance()) { + getMostBookmarkedBuilder().mergeFrom(value); + } else { + mostBookmarked_ = value; + } + } else { + mostBookmarkedBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + */ + public Builder clearMostBookmarked() { + bitField0_ = (bitField0_ & ~0x00000002); + mostBookmarked_ = null; + if (mostBookmarkedBuilder_ != null) { + mostBookmarkedBuilder_.dispose(); + mostBookmarkedBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.Builder getMostBookmarkedBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getMostBookmarkedFieldBuilder().getBuilder(); + } + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder getMostBookmarkedOrBuilder() { + if (mostBookmarkedBuilder_ != null) { + return mostBookmarkedBuilder_.getMessageOrBuilder(); + } else { + return mostBookmarked_ == null ? + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.getDefaultInstance() : mostBookmarked_; + } + } + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder> + getMostBookmarkedFieldBuilder() { + if (mostBookmarkedBuilder_ == null) { + mostBookmarkedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem.Builder, com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder>( + getMostBookmarked(), + getParentForChildren(), + isClean()); + mostBookmarked_ = null; + } + return mostBookmarkedBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqBoardSportlightResult) + } + + // @@protoc_insertion_point(class_scope:UgqBoardSportlightResult) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqBoardSportlightResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqBoardSportlightResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardSportlightResultOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardSportlightResultOrBuilder.java new file mode 100644 index 0000000..27e7c2b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqBoardSportlightResultOrBuilder.java @@ -0,0 +1,39 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqBoardSportlightResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqBoardSportlightResult) + com.google.protobuf.MessageOrBuilder { + + /** + * .DateRangeUgqBoardItem mostLiked = 1; + * @return Whether the mostLiked field is set. + */ + boolean hasMostLiked(); + /** + * .DateRangeUgqBoardItem mostLiked = 1; + * @return The mostLiked. + */ + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem getMostLiked(); + /** + * .DateRangeUgqBoardItem mostLiked = 1; + */ + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder getMostLikedOrBuilder(); + + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + * @return Whether the mostBookmarked field is set. + */ + boolean hasMostBookmarked(); + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + * @return The mostBookmarked. + */ + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItem getMostBookmarked(); + /** + * .DateRangeUgqBoardItem mostBookmarked = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.DateRangeUgqBoardItemOrBuilder getMostBookmarkedOrBuilder(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqCurrentState.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqCurrentState.java new file mode 100644 index 0000000..69a62b9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqCurrentState.java @@ -0,0 +1,585 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqCurrentState} + */ +public final class UgqCurrentState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqCurrentState) + UgqCurrentStateOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqCurrentState.newBuilder() to construct. + private UgqCurrentState(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqCurrentState() { + ugqState_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqCurrentState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqCurrentState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqCurrentState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState.class, com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState.Builder.class); + } + + public static final int COMPOSEDQUESTID_FIELD_NUMBER = 1; + private long composedQuestId_ = 0L; + /** + *
+   *UgqQuestId ugqQuestId = 1;
+   * 
+ * + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + + public static final int UGQSTATE_FIELD_NUMBER = 2; + private int ugqState_ = 0; + /** + * .UgqStateType ugqState = 2; + * @return The enum numeric value on the wire for ugqState. + */ + @java.lang.Override public int getUgqStateValue() { + return ugqState_; + } + /** + * .UgqStateType ugqState = 2; + * @return The ugqState. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.UgqStateType getUgqState() { + com.caliverse.admin.domain.RabbitMq.message.UgqStateType result = com.caliverse.admin.domain.RabbitMq.message.UgqStateType.forNumber(ugqState_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqStateType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (composedQuestId_ != 0L) { + output.writeInt64(1, composedQuestId_); + } + if (ugqState_ != com.caliverse.admin.domain.RabbitMq.message.UgqStateType.UgqStateType_None.getNumber()) { + output.writeEnum(2, ugqState_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (composedQuestId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, composedQuestId_); + } + if (ugqState_ != com.caliverse.admin.domain.RabbitMq.message.UgqStateType.UgqStateType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, ugqState_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState other = (com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState) obj; + + if (getComposedQuestId() + != other.getComposedQuestId()) return false; + if (ugqState_ != other.ugqState_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getComposedQuestId()); + hash = (37 * hash) + UGQSTATE_FIELD_NUMBER; + hash = (53 * hash) + ugqState_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqCurrentState} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqCurrentState) + com.caliverse.admin.domain.RabbitMq.message.UgqCurrentStateOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqCurrentState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqCurrentState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState.class, com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + composedQuestId_ = 0L; + ugqState_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqCurrentState_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState build() { + com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState result = new com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.composedQuestId_ = composedQuestId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.ugqState_ = ugqState_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState.getDefaultInstance()) return this; + if (other.getComposedQuestId() != 0L) { + setComposedQuestId(other.getComposedQuestId()); + } + if (other.ugqState_ != 0) { + setUgqStateValue(other.getUgqStateValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + composedQuestId_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + ugqState_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long composedQuestId_ ; + /** + *
+     *UgqQuestId ugqQuestId = 1;
+     * 
+ * + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + /** + *
+     *UgqQuestId ugqQuestId = 1;
+     * 
+ * + * int64 composedQuestId = 1; + * @param value The composedQuestId to set. + * @return This builder for chaining. + */ + public Builder setComposedQuestId(long value) { + + composedQuestId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     *UgqQuestId ugqQuestId = 1;
+     * 
+ * + * int64 composedQuestId = 1; + * @return This builder for chaining. + */ + public Builder clearComposedQuestId() { + bitField0_ = (bitField0_ & ~0x00000001); + composedQuestId_ = 0L; + onChanged(); + return this; + } + + private int ugqState_ = 0; + /** + * .UgqStateType ugqState = 2; + * @return The enum numeric value on the wire for ugqState. + */ + @java.lang.Override public int getUgqStateValue() { + return ugqState_; + } + /** + * .UgqStateType ugqState = 2; + * @param value The enum numeric value on the wire for ugqState to set. + * @return This builder for chaining. + */ + public Builder setUgqStateValue(int value) { + ugqState_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .UgqStateType ugqState = 2; + * @return The ugqState. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqStateType getUgqState() { + com.caliverse.admin.domain.RabbitMq.message.UgqStateType result = com.caliverse.admin.domain.RabbitMq.message.UgqStateType.forNumber(ugqState_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqStateType.UNRECOGNIZED : result; + } + /** + * .UgqStateType ugqState = 2; + * @param value The ugqState to set. + * @return This builder for chaining. + */ + public Builder setUgqState(com.caliverse.admin.domain.RabbitMq.message.UgqStateType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + ugqState_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .UgqStateType ugqState = 2; + * @return This builder for chaining. + */ + public Builder clearUgqState() { + bitField0_ = (bitField0_ & ~0x00000002); + ugqState_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqCurrentState) + } + + // @@protoc_insertion_point(class_scope:UgqCurrentState) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqCurrentState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqCurrentState getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqCurrentStateOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqCurrentStateOrBuilder.java new file mode 100644 index 0000000..2c14dcc --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqCurrentStateOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqCurrentStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqCurrentState) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *UgqQuestId ugqQuestId = 1;
+   * 
+ * + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + long getComposedQuestId(); + + /** + * .UgqStateType ugqState = 2; + * @return The enum numeric value on the wire for ugqState. + */ + int getUgqStateValue(); + /** + * .UgqStateType ugqState = 2; + * @return The ugqState. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqStateType getUgqState(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDailyRewardCount.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDailyRewardCount.java new file mode 100644 index 0000000..ec7e081 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDailyRewardCount.java @@ -0,0 +1,634 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqDailyRewardCount} + */ +public final class UgqDailyRewardCount extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqDailyRewardCount) + UgqDailyRewardCountOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqDailyRewardCount.newBuilder() to construct. + private UgqDailyRewardCount(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqDailyRewardCount() { + gradeType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqDailyRewardCount(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDailyRewardCount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDailyRewardCount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount.class, com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount.Builder.class); + } + + public static final int GRADETYPE_FIELD_NUMBER = 1; + private int gradeType_ = 0; + /** + * .UgqGradeType gradeType = 1; + * @return The enum numeric value on the wire for gradeType. + */ + @java.lang.Override public int getGradeTypeValue() { + return gradeType_; + } + /** + * .UgqGradeType gradeType = 1; + * @return The gradeType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType() { + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(gradeType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result; + } + + public static final int DAILYMAXCOUNT_FIELD_NUMBER = 2; + private int dailyMaxCount_ = 0; + /** + * int32 dailyMaxCount = 2; + * @return The dailyMaxCount. + */ + @java.lang.Override + public int getDailyMaxCount() { + return dailyMaxCount_; + } + + public static final int CURRENTCOUNT_FIELD_NUMBER = 3; + private int currentCount_ = 0; + /** + * int32 currentCount = 3; + * @return The currentCount. + */ + @java.lang.Override + public int getCurrentCount() { + return currentCount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (gradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) { + output.writeEnum(1, gradeType_); + } + if (dailyMaxCount_ != 0) { + output.writeInt32(2, dailyMaxCount_); + } + if (currentCount_ != 0) { + output.writeInt32(3, currentCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (gradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, gradeType_); + } + if (dailyMaxCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, dailyMaxCount_); + } + if (currentCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, currentCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount other = (com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount) obj; + + if (gradeType_ != other.gradeType_) return false; + if (getDailyMaxCount() + != other.getDailyMaxCount()) return false; + if (getCurrentCount() + != other.getCurrentCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + GRADETYPE_FIELD_NUMBER; + hash = (53 * hash) + gradeType_; + hash = (37 * hash) + DAILYMAXCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getDailyMaxCount(); + hash = (37 * hash) + CURRENTCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getCurrentCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqDailyRewardCount} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqDailyRewardCount) + com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCountOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDailyRewardCount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDailyRewardCount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount.class, com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + gradeType_ = 0; + dailyMaxCount_ = 0; + currentCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDailyRewardCount_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount build() { + com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount result = new com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gradeType_ = gradeType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.dailyMaxCount_ = dailyMaxCount_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.currentCount_ = currentCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount.getDefaultInstance()) return this; + if (other.gradeType_ != 0) { + setGradeTypeValue(other.getGradeTypeValue()); + } + if (other.getDailyMaxCount() != 0) { + setDailyMaxCount(other.getDailyMaxCount()); + } + if (other.getCurrentCount() != 0) { + setCurrentCount(other.getCurrentCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + gradeType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + dailyMaxCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + currentCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int gradeType_ = 0; + /** + * .UgqGradeType gradeType = 1; + * @return The enum numeric value on the wire for gradeType. + */ + @java.lang.Override public int getGradeTypeValue() { + return gradeType_; + } + /** + * .UgqGradeType gradeType = 1; + * @param value The enum numeric value on the wire for gradeType to set. + * @return This builder for chaining. + */ + public Builder setGradeTypeValue(int value) { + gradeType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .UgqGradeType gradeType = 1; + * @return The gradeType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType() { + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(gradeType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result; + } + /** + * .UgqGradeType gradeType = 1; + * @param value The gradeType to set. + * @return This builder for chaining. + */ + public Builder setGradeType(com.caliverse.admin.domain.RabbitMq.message.UgqGradeType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + gradeType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .UgqGradeType gradeType = 1; + * @return This builder for chaining. + */ + public Builder clearGradeType() { + bitField0_ = (bitField0_ & ~0x00000001); + gradeType_ = 0; + onChanged(); + return this; + } + + private int dailyMaxCount_ ; + /** + * int32 dailyMaxCount = 2; + * @return The dailyMaxCount. + */ + @java.lang.Override + public int getDailyMaxCount() { + return dailyMaxCount_; + } + /** + * int32 dailyMaxCount = 2; + * @param value The dailyMaxCount to set. + * @return This builder for chaining. + */ + public Builder setDailyMaxCount(int value) { + + dailyMaxCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 dailyMaxCount = 2; + * @return This builder for chaining. + */ + public Builder clearDailyMaxCount() { + bitField0_ = (bitField0_ & ~0x00000002); + dailyMaxCount_ = 0; + onChanged(); + return this; + } + + private int currentCount_ ; + /** + * int32 currentCount = 3; + * @return The currentCount. + */ + @java.lang.Override + public int getCurrentCount() { + return currentCount_; + } + /** + * int32 currentCount = 3; + * @param value The currentCount to set. + * @return This builder for chaining. + */ + public Builder setCurrentCount(int value) { + + currentCount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 currentCount = 3; + * @return This builder for chaining. + */ + public Builder clearCurrentCount() { + bitField0_ = (bitField0_ & ~0x00000004); + currentCount_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqDailyRewardCount) + } + + // @@protoc_insertion_point(class_scope:UgqDailyRewardCount) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqDailyRewardCount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDailyRewardCount getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDailyRewardCountOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDailyRewardCountOrBuilder.java new file mode 100644 index 0000000..159f4b3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDailyRewardCountOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqDailyRewardCountOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqDailyRewardCount) + com.google.protobuf.MessageOrBuilder { + + /** + * .UgqGradeType gradeType = 1; + * @return The enum numeric value on the wire for gradeType. + */ + int getGradeTypeValue(); + /** + * .UgqGradeType gradeType = 1; + * @return The gradeType. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType(); + + /** + * int32 dailyMaxCount = 2; + * @return The dailyMaxCount. + */ + int getDailyMaxCount(); + + /** + * int32 currentCount = 3; + * @return The currentCount. + */ + int getCurrentCount(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogSequenceAction.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogSequenceAction.java new file mode 100644 index 0000000..8652ca8 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogSequenceAction.java @@ -0,0 +1,1215 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqDialogSequenceAction} + */ +public final class UgqDialogSequenceAction extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqDialogSequenceAction) + UgqDialogSequenceActionOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqDialogSequenceAction.newBuilder() to construct. + private UgqDialogSequenceAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqDialogSequenceAction() { + contition_ = ""; + talker_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqDialogSequenceAction(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogSequenceAction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogSequenceAction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.class, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.Builder.class); + } + + public static final int CONTITION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object contition_ = ""; + /** + * string contition = 1; + * @return The contition. + */ + @java.lang.Override + public java.lang.String getContition() { + java.lang.Object ref = contition_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + contition_ = s; + return s; + } + } + /** + * string contition = 1; + * @return The bytes for contition. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getContitionBytes() { + java.lang.Object ref = contition_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + contition_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ACTIONTYPE_FIELD_NUMBER = 2; + private int actionType_ = 0; + /** + * int32 actionType = 2; + * @return The actionType. + */ + @java.lang.Override + public int getActionType() { + return actionType_; + } + + public static final int SUBTYPE_FIELD_NUMBER = 3; + private int subType_ = 0; + /** + * int32 subType = 3; + * @return The subType. + */ + @java.lang.Override + public int getSubType() { + return subType_; + } + + public static final int ACTIONNUMBER_FIELD_NUMBER = 4; + private int actionNumber_ = 0; + /** + * int32 actionNumber = 4; + * @return The actionNumber. + */ + @java.lang.Override + public int getActionNumber() { + return actionNumber_; + } + + public static final int ACTIONINDEX_FIELD_NUMBER = 5; + private int actionIndex_ = 0; + /** + * int32 actionIndex = 5; + * @return The actionIndex. + */ + @java.lang.Override + public int getActionIndex() { + return actionIndex_; + } + + public static final int TALKER_FIELD_NUMBER = 6; + private int talker_ = 0; + /** + * .UgqDialogueTalker talker = 6; + * @return The enum numeric value on the wire for talker. + */ + @java.lang.Override public int getTalkerValue() { + return talker_; + } + /** + * .UgqDialogueTalker talker = 6; + * @return The talker. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueTalker getTalker() { + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueTalker result = com.caliverse.admin.domain.RabbitMq.message.UgqDialogueTalker.forNumber(talker_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqDialogueTalker.UNRECOGNIZED : result; + } + + public static final int TALK_FIELD_NUMBER = 7; + private com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient talk_; + /** + * .UgqGameTextDataForClient talk = 7; + * @return Whether the talk field is set. + */ + @java.lang.Override + public boolean hasTalk() { + return talk_ != null; + } + /** + * .UgqGameTextDataForClient talk = 7; + * @return The talk. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getTalk() { + return talk_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : talk_; + } + /** + * .UgqGameTextDataForClient talk = 7; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getTalkOrBuilder() { + return talk_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : talk_; + } + + public static final int ISDIALOGUE_FIELD_NUMBER = 8; + private int isDialogue_ = 0; + /** + * int32 isDialogue = 8; + * @return The isDialogue. + */ + @java.lang.Override + public int getIsDialogue() { + return isDialogue_; + } + + public static final int NPCACTION_FIELD_NUMBER = 9; + private int npcAction_ = 0; + /** + * int32 NpcAction = 9; + * @return The npcAction. + */ + @java.lang.Override + public int getNpcAction() { + return npcAction_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contition_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, contition_); + } + if (actionType_ != 0) { + output.writeInt32(2, actionType_); + } + if (subType_ != 0) { + output.writeInt32(3, subType_); + } + if (actionNumber_ != 0) { + output.writeInt32(4, actionNumber_); + } + if (actionIndex_ != 0) { + output.writeInt32(5, actionIndex_); + } + if (talker_ != com.caliverse.admin.domain.RabbitMq.message.UgqDialogueTalker.Player.getNumber()) { + output.writeEnum(6, talker_); + } + if (talk_ != null) { + output.writeMessage(7, getTalk()); + } + if (isDialogue_ != 0) { + output.writeInt32(8, isDialogue_); + } + if (npcAction_ != 0) { + output.writeInt32(9, npcAction_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contition_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, contition_); + } + if (actionType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, actionType_); + } + if (subType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, subType_); + } + if (actionNumber_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, actionNumber_); + } + if (actionIndex_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, actionIndex_); + } + if (talker_ != com.caliverse.admin.domain.RabbitMq.message.UgqDialogueTalker.Player.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, talker_); + } + if (talk_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getTalk()); + } + if (isDialogue_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, isDialogue_); + } + if (npcAction_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, npcAction_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction other = (com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction) obj; + + if (!getContition() + .equals(other.getContition())) return false; + if (getActionType() + != other.getActionType()) return false; + if (getSubType() + != other.getSubType()) return false; + if (getActionNumber() + != other.getActionNumber()) return false; + if (getActionIndex() + != other.getActionIndex()) return false; + if (talker_ != other.talker_) return false; + if (hasTalk() != other.hasTalk()) return false; + if (hasTalk()) { + if (!getTalk() + .equals(other.getTalk())) return false; + } + if (getIsDialogue() + != other.getIsDialogue()) return false; + if (getNpcAction() + != other.getNpcAction()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CONTITION_FIELD_NUMBER; + hash = (53 * hash) + getContition().hashCode(); + hash = (37 * hash) + ACTIONTYPE_FIELD_NUMBER; + hash = (53 * hash) + getActionType(); + hash = (37 * hash) + SUBTYPE_FIELD_NUMBER; + hash = (53 * hash) + getSubType(); + hash = (37 * hash) + ACTIONNUMBER_FIELD_NUMBER; + hash = (53 * hash) + getActionNumber(); + hash = (37 * hash) + ACTIONINDEX_FIELD_NUMBER; + hash = (53 * hash) + getActionIndex(); + hash = (37 * hash) + TALKER_FIELD_NUMBER; + hash = (53 * hash) + talker_; + if (hasTalk()) { + hash = (37 * hash) + TALK_FIELD_NUMBER; + hash = (53 * hash) + getTalk().hashCode(); + } + hash = (37 * hash) + ISDIALOGUE_FIELD_NUMBER; + hash = (53 * hash) + getIsDialogue(); + hash = (37 * hash) + NPCACTION_FIELD_NUMBER; + hash = (53 * hash) + getNpcAction(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqDialogSequenceAction} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqDialogSequenceAction) + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceActionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogSequenceAction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogSequenceAction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.class, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + contition_ = ""; + actionType_ = 0; + subType_ = 0; + actionNumber_ = 0; + actionIndex_ = 0; + talker_ = 0; + talk_ = null; + if (talkBuilder_ != null) { + talkBuilder_.dispose(); + talkBuilder_ = null; + } + isDialogue_ = 0; + npcAction_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogSequenceAction_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction build() { + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction result = new com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.contition_ = contition_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.actionType_ = actionType_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.subType_ = subType_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.actionNumber_ = actionNumber_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.actionIndex_ = actionIndex_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.talker_ = talker_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.talk_ = talkBuilder_ == null + ? talk_ + : talkBuilder_.build(); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.isDialogue_ = isDialogue_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.npcAction_ = npcAction_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.getDefaultInstance()) return this; + if (!other.getContition().isEmpty()) { + contition_ = other.contition_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getActionType() != 0) { + setActionType(other.getActionType()); + } + if (other.getSubType() != 0) { + setSubType(other.getSubType()); + } + if (other.getActionNumber() != 0) { + setActionNumber(other.getActionNumber()); + } + if (other.getActionIndex() != 0) { + setActionIndex(other.getActionIndex()); + } + if (other.talker_ != 0) { + setTalkerValue(other.getTalkerValue()); + } + if (other.hasTalk()) { + mergeTalk(other.getTalk()); + } + if (other.getIsDialogue() != 0) { + setIsDialogue(other.getIsDialogue()); + } + if (other.getNpcAction() != 0) { + setNpcAction(other.getNpcAction()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + contition_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + actionType_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + subType_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + actionNumber_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + actionIndex_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + talker_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: { + input.readMessage( + getTalkFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 64: { + isDialogue_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: { + npcAction_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object contition_ = ""; + /** + * string contition = 1; + * @return The contition. + */ + public java.lang.String getContition() { + java.lang.Object ref = contition_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + contition_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string contition = 1; + * @return The bytes for contition. + */ + public com.google.protobuf.ByteString + getContitionBytes() { + java.lang.Object ref = contition_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + contition_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string contition = 1; + * @param value The contition to set. + * @return This builder for chaining. + */ + public Builder setContition( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + contition_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string contition = 1; + * @return This builder for chaining. + */ + public Builder clearContition() { + contition_ = getDefaultInstance().getContition(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string contition = 1; + * @param value The bytes for contition to set. + * @return This builder for chaining. + */ + public Builder setContitionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + contition_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int actionType_ ; + /** + * int32 actionType = 2; + * @return The actionType. + */ + @java.lang.Override + public int getActionType() { + return actionType_; + } + /** + * int32 actionType = 2; + * @param value The actionType to set. + * @return This builder for chaining. + */ + public Builder setActionType(int value) { + + actionType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 actionType = 2; + * @return This builder for chaining. + */ + public Builder clearActionType() { + bitField0_ = (bitField0_ & ~0x00000002); + actionType_ = 0; + onChanged(); + return this; + } + + private int subType_ ; + /** + * int32 subType = 3; + * @return The subType. + */ + @java.lang.Override + public int getSubType() { + return subType_; + } + /** + * int32 subType = 3; + * @param value The subType to set. + * @return This builder for chaining. + */ + public Builder setSubType(int value) { + + subType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 subType = 3; + * @return This builder for chaining. + */ + public Builder clearSubType() { + bitField0_ = (bitField0_ & ~0x00000004); + subType_ = 0; + onChanged(); + return this; + } + + private int actionNumber_ ; + /** + * int32 actionNumber = 4; + * @return The actionNumber. + */ + @java.lang.Override + public int getActionNumber() { + return actionNumber_; + } + /** + * int32 actionNumber = 4; + * @param value The actionNumber to set. + * @return This builder for chaining. + */ + public Builder setActionNumber(int value) { + + actionNumber_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 actionNumber = 4; + * @return This builder for chaining. + */ + public Builder clearActionNumber() { + bitField0_ = (bitField0_ & ~0x00000008); + actionNumber_ = 0; + onChanged(); + return this; + } + + private int actionIndex_ ; + /** + * int32 actionIndex = 5; + * @return The actionIndex. + */ + @java.lang.Override + public int getActionIndex() { + return actionIndex_; + } + /** + * int32 actionIndex = 5; + * @param value The actionIndex to set. + * @return This builder for chaining. + */ + public Builder setActionIndex(int value) { + + actionIndex_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * int32 actionIndex = 5; + * @return This builder for chaining. + */ + public Builder clearActionIndex() { + bitField0_ = (bitField0_ & ~0x00000010); + actionIndex_ = 0; + onChanged(); + return this; + } + + private int talker_ = 0; + /** + * .UgqDialogueTalker talker = 6; + * @return The enum numeric value on the wire for talker. + */ + @java.lang.Override public int getTalkerValue() { + return talker_; + } + /** + * .UgqDialogueTalker talker = 6; + * @param value The enum numeric value on the wire for talker to set. + * @return This builder for chaining. + */ + public Builder setTalkerValue(int value) { + talker_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * .UgqDialogueTalker talker = 6; + * @return The talker. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueTalker getTalker() { + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueTalker result = com.caliverse.admin.domain.RabbitMq.message.UgqDialogueTalker.forNumber(talker_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqDialogueTalker.UNRECOGNIZED : result; + } + /** + * .UgqDialogueTalker talker = 6; + * @param value The talker to set. + * @return This builder for chaining. + */ + public Builder setTalker(com.caliverse.admin.domain.RabbitMq.message.UgqDialogueTalker value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + talker_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .UgqDialogueTalker talker = 6; + * @return This builder for chaining. + */ + public Builder clearTalker() { + bitField0_ = (bitField0_ & ~0x00000020); + talker_ = 0; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient talk_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder> talkBuilder_; + /** + * .UgqGameTextDataForClient talk = 7; + * @return Whether the talk field is set. + */ + public boolean hasTalk() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * .UgqGameTextDataForClient talk = 7; + * @return The talk. + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getTalk() { + if (talkBuilder_ == null) { + return talk_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : talk_; + } else { + return talkBuilder_.getMessage(); + } + } + /** + * .UgqGameTextDataForClient talk = 7; + */ + public Builder setTalk(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient value) { + if (talkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + talk_ = value; + } else { + talkBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .UgqGameTextDataForClient talk = 7; + */ + public Builder setTalk( + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder builderForValue) { + if (talkBuilder_ == null) { + talk_ = builderForValue.build(); + } else { + talkBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .UgqGameTextDataForClient talk = 7; + */ + public Builder mergeTalk(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient value) { + if (talkBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + talk_ != null && + talk_ != com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance()) { + getTalkBuilder().mergeFrom(value); + } else { + talk_ = value; + } + } else { + talkBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .UgqGameTextDataForClient talk = 7; + */ + public Builder clearTalk() { + bitField0_ = (bitField0_ & ~0x00000040); + talk_ = null; + if (talkBuilder_ != null) { + talkBuilder_.dispose(); + talkBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .UgqGameTextDataForClient talk = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder getTalkBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getTalkFieldBuilder().getBuilder(); + } + /** + * .UgqGameTextDataForClient talk = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getTalkOrBuilder() { + if (talkBuilder_ != null) { + return talkBuilder_.getMessageOrBuilder(); + } else { + return talk_ == null ? + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : talk_; + } + } + /** + * .UgqGameTextDataForClient talk = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder> + getTalkFieldBuilder() { + if (talkBuilder_ == null) { + talkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder>( + getTalk(), + getParentForChildren(), + isClean()); + talk_ = null; + } + return talkBuilder_; + } + + private int isDialogue_ ; + /** + * int32 isDialogue = 8; + * @return The isDialogue. + */ + @java.lang.Override + public int getIsDialogue() { + return isDialogue_; + } + /** + * int32 isDialogue = 8; + * @param value The isDialogue to set. + * @return This builder for chaining. + */ + public Builder setIsDialogue(int value) { + + isDialogue_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * int32 isDialogue = 8; + * @return This builder for chaining. + */ + public Builder clearIsDialogue() { + bitField0_ = (bitField0_ & ~0x00000080); + isDialogue_ = 0; + onChanged(); + return this; + } + + private int npcAction_ ; + /** + * int32 NpcAction = 9; + * @return The npcAction. + */ + @java.lang.Override + public int getNpcAction() { + return npcAction_; + } + /** + * int32 NpcAction = 9; + * @param value The npcAction to set. + * @return This builder for chaining. + */ + public Builder setNpcAction(int value) { + + npcAction_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * int32 NpcAction = 9; + * @return This builder for chaining. + */ + public Builder clearNpcAction() { + bitField0_ = (bitField0_ & ~0x00000100); + npcAction_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqDialogSequenceAction) + } + + // @@protoc_insertion_point(class_scope:UgqDialogSequenceAction) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqDialogSequenceAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogSequenceActionOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogSequenceActionOrBuilder.java new file mode 100644 index 0000000..f2d97d9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogSequenceActionOrBuilder.java @@ -0,0 +1,83 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqDialogSequenceActionOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqDialogSequenceAction) + com.google.protobuf.MessageOrBuilder { + + /** + * string contition = 1; + * @return The contition. + */ + java.lang.String getContition(); + /** + * string contition = 1; + * @return The bytes for contition. + */ + com.google.protobuf.ByteString + getContitionBytes(); + + /** + * int32 actionType = 2; + * @return The actionType. + */ + int getActionType(); + + /** + * int32 subType = 3; + * @return The subType. + */ + int getSubType(); + + /** + * int32 actionNumber = 4; + * @return The actionNumber. + */ + int getActionNumber(); + + /** + * int32 actionIndex = 5; + * @return The actionIndex. + */ + int getActionIndex(); + + /** + * .UgqDialogueTalker talker = 6; + * @return The enum numeric value on the wire for talker. + */ + int getTalkerValue(); + /** + * .UgqDialogueTalker talker = 6; + * @return The talker. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueTalker getTalker(); + + /** + * .UgqGameTextDataForClient talk = 7; + * @return Whether the talk field is set. + */ + boolean hasTalk(); + /** + * .UgqGameTextDataForClient talk = 7; + * @return The talk. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getTalk(); + /** + * .UgqGameTextDataForClient talk = 7; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getTalkOrBuilder(); + + /** + * int32 isDialogue = 8; + * @return The isDialogue. + */ + int getIsDialogue(); + + /** + * int32 NpcAction = 9; + * @return The npcAction. + */ + int getNpcAction(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueReturns.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueReturns.java new file mode 100644 index 0000000..fe90865 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueReturns.java @@ -0,0 +1,540 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqDialogueReturns} + */ +public final class UgqDialogueReturns extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqDialogueReturns) + UgqDialogueReturnsOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqDialogueReturns.newBuilder() to construct. + private UgqDialogueReturns(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqDialogueReturns() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqDialogueReturns(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogueReturns_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogueReturns_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.class, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.Builder.class); + } + + public static final int ACTIONINDEX_FIELD_NUMBER = 1; + private int actionIndex_ = 0; + /** + * int32 actionIndex = 1; + * @return The actionIndex. + */ + @java.lang.Override + public int getActionIndex() { + return actionIndex_; + } + + public static final int RETURNIDX_FIELD_NUMBER = 2; + private int returnIdx_ = 0; + /** + * int32 returnIdx = 2; + * @return The returnIdx. + */ + @java.lang.Override + public int getReturnIdx() { + return returnIdx_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (actionIndex_ != 0) { + output.writeInt32(1, actionIndex_); + } + if (returnIdx_ != 0) { + output.writeInt32(2, returnIdx_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (actionIndex_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, actionIndex_); + } + if (returnIdx_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, returnIdx_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns other = (com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns) obj; + + if (getActionIndex() + != other.getActionIndex()) return false; + if (getReturnIdx() + != other.getReturnIdx()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ACTIONINDEX_FIELD_NUMBER; + hash = (53 * hash) + getActionIndex(); + hash = (37 * hash) + RETURNIDX_FIELD_NUMBER; + hash = (53 * hash) + getReturnIdx(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqDialogueReturns} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqDialogueReturns) + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturnsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogueReturns_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogueReturns_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.class, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + actionIndex_ = 0; + returnIdx_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogueReturns_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns build() { + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns result = new com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.actionIndex_ = actionIndex_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.returnIdx_ = returnIdx_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.getDefaultInstance()) return this; + if (other.getActionIndex() != 0) { + setActionIndex(other.getActionIndex()); + } + if (other.getReturnIdx() != 0) { + setReturnIdx(other.getReturnIdx()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + actionIndex_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + returnIdx_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int actionIndex_ ; + /** + * int32 actionIndex = 1; + * @return The actionIndex. + */ + @java.lang.Override + public int getActionIndex() { + return actionIndex_; + } + /** + * int32 actionIndex = 1; + * @param value The actionIndex to set. + * @return This builder for chaining. + */ + public Builder setActionIndex(int value) { + + actionIndex_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 actionIndex = 1; + * @return This builder for chaining. + */ + public Builder clearActionIndex() { + bitField0_ = (bitField0_ & ~0x00000001); + actionIndex_ = 0; + onChanged(); + return this; + } + + private int returnIdx_ ; + /** + * int32 returnIdx = 2; + * @return The returnIdx. + */ + @java.lang.Override + public int getReturnIdx() { + return returnIdx_; + } + /** + * int32 returnIdx = 2; + * @param value The returnIdx to set. + * @return This builder for chaining. + */ + public Builder setReturnIdx(int value) { + + returnIdx_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 returnIdx = 2; + * @return This builder for chaining. + */ + public Builder clearReturnIdx() { + bitField0_ = (bitField0_ & ~0x00000002); + returnIdx_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqDialogueReturns) + } + + // @@protoc_insertion_point(class_scope:UgqDialogueReturns) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqDialogueReturns parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueReturnsOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueReturnsOrBuilder.java new file mode 100644 index 0000000..6a025e5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueReturnsOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqDialogueReturnsOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqDialogueReturns) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 actionIndex = 1; + * @return The actionIndex. + */ + int getActionIndex(); + + /** + * int32 returnIdx = 2; + * @return The returnIdx. + */ + int getReturnIdx(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueSequences.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueSequences.java new file mode 100644 index 0000000..e086855 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueSequences.java @@ -0,0 +1,828 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqDialogueSequences} + */ +public final class UgqDialogueSequences extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqDialogueSequences) + UgqDialogueSequencesOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqDialogueSequences.newBuilder() to construct. + private UgqDialogueSequences(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqDialogueSequences() { + actions_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqDialogueSequences(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogueSequences_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogueSequences_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.class, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.Builder.class); + } + + public static final int SEQUENCEID_FIELD_NUMBER = 1; + private int sequenceId_ = 0; + /** + * int32 sequenceId = 1; + * @return The sequenceId. + */ + @java.lang.Override + public int getSequenceId() { + return sequenceId_; + } + + public static final int ACTIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List actions_; + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + @java.lang.Override + public java.util.List getActionsList() { + return actions_; + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + @java.lang.Override + public java.util.List + getActionsOrBuilderList() { + return actions_; + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + @java.lang.Override + public int getActionsCount() { + return actions_.size(); + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction getActions(int index) { + return actions_.get(index); + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceActionOrBuilder getActionsOrBuilder( + int index) { + return actions_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (sequenceId_ != 0) { + output.writeInt32(1, sequenceId_); + } + for (int i = 0; i < actions_.size(); i++) { + output.writeMessage(2, actions_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (sequenceId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, sequenceId_); + } + for (int i = 0; i < actions_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, actions_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences other = (com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences) obj; + + if (getSequenceId() + != other.getSequenceId()) return false; + if (!getActionsList() + .equals(other.getActionsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SEQUENCEID_FIELD_NUMBER; + hash = (53 * hash) + getSequenceId(); + if (getActionsCount() > 0) { + hash = (37 * hash) + ACTIONS_FIELD_NUMBER; + hash = (53 * hash) + getActionsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqDialogueSequences} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqDialogueSequences) + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequencesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogueSequences_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogueSequences_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.class, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + sequenceId_ = 0; + if (actionsBuilder_ == null) { + actions_ = java.util.Collections.emptyList(); + } else { + actions_ = null; + actionsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqDialogueSequences_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences build() { + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences result = new com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences result) { + if (actionsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + actions_ = java.util.Collections.unmodifiableList(actions_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.actions_ = actions_; + } else { + result.actions_ = actionsBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.sequenceId_ = sequenceId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.getDefaultInstance()) return this; + if (other.getSequenceId() != 0) { + setSequenceId(other.getSequenceId()); + } + if (actionsBuilder_ == null) { + if (!other.actions_.isEmpty()) { + if (actions_.isEmpty()) { + actions_ = other.actions_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureActionsIsMutable(); + actions_.addAll(other.actions_); + } + onChanged(); + } + } else { + if (!other.actions_.isEmpty()) { + if (actionsBuilder_.isEmpty()) { + actionsBuilder_.dispose(); + actionsBuilder_ = null; + actions_ = other.actions_; + bitField0_ = (bitField0_ & ~0x00000002); + actionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getActionsFieldBuilder() : null; + } else { + actionsBuilder_.addAllMessages(other.actions_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + sequenceId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.parser(), + extensionRegistry); + if (actionsBuilder_ == null) { + ensureActionsIsMutable(); + actions_.add(m); + } else { + actionsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int sequenceId_ ; + /** + * int32 sequenceId = 1; + * @return The sequenceId. + */ + @java.lang.Override + public int getSequenceId() { + return sequenceId_; + } + /** + * int32 sequenceId = 1; + * @param value The sequenceId to set. + * @return This builder for chaining. + */ + public Builder setSequenceId(int value) { + + sequenceId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 sequenceId = 1; + * @return This builder for chaining. + */ + public Builder clearSequenceId() { + bitField0_ = (bitField0_ & ~0x00000001); + sequenceId_ = 0; + onChanged(); + return this; + } + + private java.util.List actions_ = + java.util.Collections.emptyList(); + private void ensureActionsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + actions_ = new java.util.ArrayList(actions_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceActionOrBuilder> actionsBuilder_; + + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public java.util.List getActionsList() { + if (actionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(actions_); + } else { + return actionsBuilder_.getMessageList(); + } + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public int getActionsCount() { + if (actionsBuilder_ == null) { + return actions_.size(); + } else { + return actionsBuilder_.getCount(); + } + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction getActions(int index) { + if (actionsBuilder_ == null) { + return actions_.get(index); + } else { + return actionsBuilder_.getMessage(index); + } + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public Builder setActions( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction value) { + if (actionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureActionsIsMutable(); + actions_.set(index, value); + onChanged(); + } else { + actionsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public Builder setActions( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.Builder builderForValue) { + if (actionsBuilder_ == null) { + ensureActionsIsMutable(); + actions_.set(index, builderForValue.build()); + onChanged(); + } else { + actionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public Builder addActions(com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction value) { + if (actionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureActionsIsMutable(); + actions_.add(value); + onChanged(); + } else { + actionsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public Builder addActions( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction value) { + if (actionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureActionsIsMutable(); + actions_.add(index, value); + onChanged(); + } else { + actionsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public Builder addActions( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.Builder builderForValue) { + if (actionsBuilder_ == null) { + ensureActionsIsMutable(); + actions_.add(builderForValue.build()); + onChanged(); + } else { + actionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public Builder addActions( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.Builder builderForValue) { + if (actionsBuilder_ == null) { + ensureActionsIsMutable(); + actions_.add(index, builderForValue.build()); + onChanged(); + } else { + actionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public Builder addAllActions( + java.lang.Iterable values) { + if (actionsBuilder_ == null) { + ensureActionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, actions_); + onChanged(); + } else { + actionsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public Builder clearActions() { + if (actionsBuilder_ == null) { + actions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + actionsBuilder_.clear(); + } + return this; + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public Builder removeActions(int index) { + if (actionsBuilder_ == null) { + ensureActionsIsMutable(); + actions_.remove(index); + onChanged(); + } else { + actionsBuilder_.remove(index); + } + return this; + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.Builder getActionsBuilder( + int index) { + return getActionsFieldBuilder().getBuilder(index); + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceActionOrBuilder getActionsOrBuilder( + int index) { + if (actionsBuilder_ == null) { + return actions_.get(index); } else { + return actionsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public java.util.List + getActionsOrBuilderList() { + if (actionsBuilder_ != null) { + return actionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(actions_); + } + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.Builder addActionsBuilder() { + return getActionsFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.getDefaultInstance()); + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.Builder addActionsBuilder( + int index) { + return getActionsFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.getDefaultInstance()); + } + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + public java.util.List + getActionsBuilderList() { + return getActionsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceActionOrBuilder> + getActionsFieldBuilder() { + if (actionsBuilder_ == null) { + actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceActionOrBuilder>( + actions_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + actions_ = null; + } + return actionsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqDialogueSequences) + } + + // @@protoc_insertion_point(class_scope:UgqDialogueSequences) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqDialogueSequences parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueSequencesOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueSequencesOrBuilder.java new file mode 100644 index 0000000..3c45f4c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueSequencesOrBuilder.java @@ -0,0 +1,39 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqDialogueSequencesOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqDialogueSequences) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 sequenceId = 1; + * @return The sequenceId. + */ + int getSequenceId(); + + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + java.util.List + getActionsList(); + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceAction getActions(int index); + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + int getActionsCount(); + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + java.util.List + getActionsOrBuilderList(); + /** + * repeated .UgqDialogSequenceAction actions = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqDialogSequenceActionOrBuilder getActionsOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueTalker.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueTalker.java new file mode 100644 index 0000000..1142c25 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqDialogueTalker.java @@ -0,0 +1,113 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf enum {@code UgqDialogueTalker} + */ +public enum UgqDialogueTalker + implements com.google.protobuf.ProtocolMessageEnum { + /** + * Player = 0; + */ + Player(0), + /** + * Npc = 1; + */ + Npc(1), + UNRECOGNIZED(-1), + ; + + /** + * Player = 0; + */ + public static final int Player_VALUE = 0; + /** + * Npc = 1; + */ + public static final int Npc_VALUE = 1; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UgqDialogueTalker valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UgqDialogueTalker forNumber(int value) { + switch (value) { + case 0: return Player; + case 1: return Npc; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + UgqDialogueTalker> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UgqDialogueTalker findValueByNumber(int number) { + return UgqDialogueTalker.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(21); + } + + private static final UgqDialogueTalker[] VALUES = values(); + + public static UgqDialogueTalker valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UgqDialogueTalker(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:UgqDialogueTalker) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDataForClient.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDataForClient.java new file mode 100644 index 0000000..e6ab5a1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDataForClient.java @@ -0,0 +1,2158 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqGameQuestDataForClient} + */ +public final class UgqGameQuestDataForClient extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqGameQuestDataForClient) + UgqGameQuestDataForClientOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqGameQuestDataForClient.newBuilder() to construct. + private UgqGameQuestDataForClient(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqGameQuestDataForClient() { + author_ = ""; + authorGuid_ = ""; + ugcBeaconGuid_ = ""; + ugcBeaconNickname_ = ""; + task_ = java.util.Collections.emptyList(); + dialogues_ = java.util.Collections.emptyList(); + ugqStateType_ = 0; + ugqGradeType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqGameQuestDataForClient(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDataForClient_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDataForClient_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.class, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.Builder.class); + } + + public static final int COMPOSEDQUESTID_FIELD_NUMBER = 1; + private long composedQuestId_ = 0L; + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + + public static final int AUTHOR_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object author_ = ""; + /** + * string author = 2; + * @return The author. + */ + @java.lang.Override + public java.lang.String getAuthor() { + java.lang.Object ref = author_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + author_ = s; + return s; + } + } + /** + * string author = 2; + * @return The bytes for author. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAuthorBytes() { + java.lang.Object ref = author_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + author_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTHORGUID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object authorGuid_ = ""; + /** + * string authorGuid = 3; + * @return The authorGuid. + */ + @java.lang.Override + public java.lang.String getAuthorGuid() { + java.lang.Object ref = authorGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + authorGuid_ = s; + return s; + } + } + /** + * string authorGuid = 3; + * @return The bytes for authorGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAuthorGuidBytes() { + java.lang.Object ref = authorGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + authorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BEACONID_FIELD_NUMBER = 4; + private int beaconId_ = 0; + /** + * int32 beaconId = 4; + * @return The beaconId. + */ + @java.lang.Override + public int getBeaconId() { + return beaconId_; + } + + public static final int UGCBEACONGUID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object ugcBeaconGuid_ = ""; + /** + * string ugcBeaconGuid = 5; + * @return The ugcBeaconGuid. + */ + @java.lang.Override + public java.lang.String getUgcBeaconGuid() { + java.lang.Object ref = ugcBeaconGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcBeaconGuid_ = s; + return s; + } + } + /** + * string ugcBeaconGuid = 5; + * @return The bytes for ugcBeaconGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUgcBeaconGuidBytes() { + java.lang.Object ref = ugcBeaconGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcBeaconGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UGCBEACONNICKNAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object ugcBeaconNickname_ = ""; + /** + * string ugcBeaconNickname = 6; + * @return The ugcBeaconNickname. + */ + @java.lang.Override + public java.lang.String getUgcBeaconNickname() { + java.lang.Object ref = ugcBeaconNickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcBeaconNickname_ = s; + return s; + } + } + /** + * string ugcBeaconNickname = 6; + * @return The bytes for ugcBeaconNickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUgcBeaconNicknameBytes() { + java.lang.Object ref = ugcBeaconNickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcBeaconNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TITLE_FIELD_NUMBER = 7; + private com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient title_; + /** + * .UgqGameTextDataForClient title = 7; + * @return Whether the title field is set. + */ + @java.lang.Override + public boolean hasTitle() { + return title_ != null; + } + /** + * .UgqGameTextDataForClient title = 7; + * @return The title. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getTitle() { + return title_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : title_; + } + /** + * .UgqGameTextDataForClient title = 7; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getTitleOrBuilder() { + return title_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : title_; + } + + public static final int TASK_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private java.util.List task_; + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + @java.lang.Override + public java.util.List getTaskList() { + return task_; + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + @java.lang.Override + public java.util.List + getTaskOrBuilderList() { + return task_; + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + @java.lang.Override + public int getTaskCount() { + return task_.size(); + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient getTask(int index) { + return task_.get(index); + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder getTaskOrBuilder( + int index) { + return task_.get(index); + } + + public static final int DIALOGUES_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private java.util.List dialogues_; + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + @java.lang.Override + public java.util.List getDialoguesList() { + return dialogues_; + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + @java.lang.Override + public java.util.List + getDialoguesOrBuilderList() { + return dialogues_; + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + @java.lang.Override + public int getDialoguesCount() { + return dialogues_.size(); + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue getDialogues(int index) { + return dialogues_.get(index); + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder getDialoguesOrBuilder( + int index) { + return dialogues_.get(index); + } + + public static final int UGQSTATETYPE_FIELD_NUMBER = 10; + private int ugqStateType_ = 0; + /** + * .UgqStateType ugqStateType = 10; + * @return The enum numeric value on the wire for ugqStateType. + */ + @java.lang.Override public int getUgqStateTypeValue() { + return ugqStateType_; + } + /** + * .UgqStateType ugqStateType = 10; + * @return The ugqStateType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.UgqStateType getUgqStateType() { + com.caliverse.admin.domain.RabbitMq.message.UgqStateType result = com.caliverse.admin.domain.RabbitMq.message.UgqStateType.forNumber(ugqStateType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqStateType.UNRECOGNIZED : result; + } + + public static final int UGQGRADETYPE_FIELD_NUMBER = 11; + private int ugqGradeType_ = 0; + /** + * .UgqGradeType ugqGradeType = 11; + * @return The enum numeric value on the wire for ugqGradeType. + */ + @java.lang.Override public int getUgqGradeTypeValue() { + return ugqGradeType_; + } + /** + * .UgqGradeType ugqGradeType = 11; + * @return The ugqGradeType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getUgqGradeType() { + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(ugqGradeType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (composedQuestId_ != 0L) { + output.writeInt64(1, composedQuestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(author_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, author_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, authorGuid_); + } + if (beaconId_ != 0) { + output.writeInt32(4, beaconId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ugcBeaconGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconNickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, ugcBeaconNickname_); + } + if (title_ != null) { + output.writeMessage(7, getTitle()); + } + for (int i = 0; i < task_.size(); i++) { + output.writeMessage(8, task_.get(i)); + } + for (int i = 0; i < dialogues_.size(); i++) { + output.writeMessage(9, dialogues_.get(i)); + } + if (ugqStateType_ != com.caliverse.admin.domain.RabbitMq.message.UgqStateType.UgqStateType_None.getNumber()) { + output.writeEnum(10, ugqStateType_); + } + if (ugqGradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) { + output.writeEnum(11, ugqGradeType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (composedQuestId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, composedQuestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(author_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, author_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authorGuid_); + } + if (beaconId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, beaconId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ugcBeaconGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconNickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, ugcBeaconNickname_); + } + if (title_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getTitle()); + } + for (int i = 0; i < task_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, task_.get(i)); + } + for (int i = 0; i < dialogues_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, dialogues_.get(i)); + } + if (ugqStateType_ != com.caliverse.admin.domain.RabbitMq.message.UgqStateType.UgqStateType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, ugqStateType_); + } + if (ugqGradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, ugqGradeType_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient other = (com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient) obj; + + if (getComposedQuestId() + != other.getComposedQuestId()) return false; + if (!getAuthor() + .equals(other.getAuthor())) return false; + if (!getAuthorGuid() + .equals(other.getAuthorGuid())) return false; + if (getBeaconId() + != other.getBeaconId()) return false; + if (!getUgcBeaconGuid() + .equals(other.getUgcBeaconGuid())) return false; + if (!getUgcBeaconNickname() + .equals(other.getUgcBeaconNickname())) return false; + if (hasTitle() != other.hasTitle()) return false; + if (hasTitle()) { + if (!getTitle() + .equals(other.getTitle())) return false; + } + if (!getTaskList() + .equals(other.getTaskList())) return false; + if (!getDialoguesList() + .equals(other.getDialoguesList())) return false; + if (ugqStateType_ != other.ugqStateType_) return false; + if (ugqGradeType_ != other.ugqGradeType_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getComposedQuestId()); + hash = (37 * hash) + AUTHOR_FIELD_NUMBER; + hash = (53 * hash) + getAuthor().hashCode(); + hash = (37 * hash) + AUTHORGUID_FIELD_NUMBER; + hash = (53 * hash) + getAuthorGuid().hashCode(); + hash = (37 * hash) + BEACONID_FIELD_NUMBER; + hash = (53 * hash) + getBeaconId(); + hash = (37 * hash) + UGCBEACONGUID_FIELD_NUMBER; + hash = (53 * hash) + getUgcBeaconGuid().hashCode(); + hash = (37 * hash) + UGCBEACONNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getUgcBeaconNickname().hashCode(); + if (hasTitle()) { + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); + } + if (getTaskCount() > 0) { + hash = (37 * hash) + TASK_FIELD_NUMBER; + hash = (53 * hash) + getTaskList().hashCode(); + } + if (getDialoguesCount() > 0) { + hash = (37 * hash) + DIALOGUES_FIELD_NUMBER; + hash = (53 * hash) + getDialoguesList().hashCode(); + } + hash = (37 * hash) + UGQSTATETYPE_FIELD_NUMBER; + hash = (53 * hash) + ugqStateType_; + hash = (37 * hash) + UGQGRADETYPE_FIELD_NUMBER; + hash = (53 * hash) + ugqGradeType_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqGameQuestDataForClient} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqGameQuestDataForClient) + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClientOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDataForClient_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDataForClient_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.class, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + composedQuestId_ = 0L; + author_ = ""; + authorGuid_ = ""; + beaconId_ = 0; + ugcBeaconGuid_ = ""; + ugcBeaconNickname_ = ""; + title_ = null; + if (titleBuilder_ != null) { + titleBuilder_.dispose(); + titleBuilder_ = null; + } + if (taskBuilder_ == null) { + task_ = java.util.Collections.emptyList(); + } else { + task_ = null; + taskBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + if (dialoguesBuilder_ == null) { + dialogues_ = java.util.Collections.emptyList(); + } else { + dialogues_ = null; + dialoguesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000100); + ugqStateType_ = 0; + ugqGradeType_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDataForClient_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient build() { + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient result = new com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient result) { + if (taskBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0)) { + task_ = java.util.Collections.unmodifiableList(task_); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.task_ = task_; + } else { + result.task_ = taskBuilder_.build(); + } + if (dialoguesBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0)) { + dialogues_ = java.util.Collections.unmodifiableList(dialogues_); + bitField0_ = (bitField0_ & ~0x00000100); + } + result.dialogues_ = dialogues_; + } else { + result.dialogues_ = dialoguesBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.composedQuestId_ = composedQuestId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.author_ = author_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.authorGuid_ = authorGuid_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.beaconId_ = beaconId_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.ugcBeaconGuid_ = ugcBeaconGuid_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.ugcBeaconNickname_ = ugcBeaconNickname_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.title_ = titleBuilder_ == null + ? title_ + : titleBuilder_.build(); + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.ugqStateType_ = ugqStateType_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.ugqGradeType_ = ugqGradeType_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.getDefaultInstance()) return this; + if (other.getComposedQuestId() != 0L) { + setComposedQuestId(other.getComposedQuestId()); + } + if (!other.getAuthor().isEmpty()) { + author_ = other.author_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getAuthorGuid().isEmpty()) { + authorGuid_ = other.authorGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getBeaconId() != 0) { + setBeaconId(other.getBeaconId()); + } + if (!other.getUgcBeaconGuid().isEmpty()) { + ugcBeaconGuid_ = other.ugcBeaconGuid_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getUgcBeaconNickname().isEmpty()) { + ugcBeaconNickname_ = other.ugcBeaconNickname_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.hasTitle()) { + mergeTitle(other.getTitle()); + } + if (taskBuilder_ == null) { + if (!other.task_.isEmpty()) { + if (task_.isEmpty()) { + task_ = other.task_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureTaskIsMutable(); + task_.addAll(other.task_); + } + onChanged(); + } + } else { + if (!other.task_.isEmpty()) { + if (taskBuilder_.isEmpty()) { + taskBuilder_.dispose(); + taskBuilder_ = null; + task_ = other.task_; + bitField0_ = (bitField0_ & ~0x00000080); + taskBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTaskFieldBuilder() : null; + } else { + taskBuilder_.addAllMessages(other.task_); + } + } + } + if (dialoguesBuilder_ == null) { + if (!other.dialogues_.isEmpty()) { + if (dialogues_.isEmpty()) { + dialogues_ = other.dialogues_; + bitField0_ = (bitField0_ & ~0x00000100); + } else { + ensureDialoguesIsMutable(); + dialogues_.addAll(other.dialogues_); + } + onChanged(); + } + } else { + if (!other.dialogues_.isEmpty()) { + if (dialoguesBuilder_.isEmpty()) { + dialoguesBuilder_.dispose(); + dialoguesBuilder_ = null; + dialogues_ = other.dialogues_; + bitField0_ = (bitField0_ & ~0x00000100); + dialoguesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDialoguesFieldBuilder() : null; + } else { + dialoguesBuilder_.addAllMessages(other.dialogues_); + } + } + } + if (other.ugqStateType_ != 0) { + setUgqStateTypeValue(other.getUgqStateTypeValue()); + } + if (other.ugqGradeType_ != 0) { + setUgqGradeTypeValue(other.getUgqGradeTypeValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + composedQuestId_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + author_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + authorGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + beaconId_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + ugcBeaconGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + ugcBeaconNickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getTitleFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.parser(), + extensionRegistry); + if (taskBuilder_ == null) { + ensureTaskIsMutable(); + task_.add(m); + } else { + taskBuilder_.addMessage(m); + } + break; + } // case 66 + case 74: { + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.parser(), + extensionRegistry); + if (dialoguesBuilder_ == null) { + ensureDialoguesIsMutable(); + dialogues_.add(m); + } else { + dialoguesBuilder_.addMessage(m); + } + break; + } // case 74 + case 80: { + ugqStateType_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + ugqGradeType_ = input.readEnum(); + bitField0_ |= 0x00000400; + break; + } // case 88 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long composedQuestId_ ; + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + /** + * int64 composedQuestId = 1; + * @param value The composedQuestId to set. + * @return This builder for chaining. + */ + public Builder setComposedQuestId(long value) { + + composedQuestId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int64 composedQuestId = 1; + * @return This builder for chaining. + */ + public Builder clearComposedQuestId() { + bitField0_ = (bitField0_ & ~0x00000001); + composedQuestId_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object author_ = ""; + /** + * string author = 2; + * @return The author. + */ + public java.lang.String getAuthor() { + java.lang.Object ref = author_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + author_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string author = 2; + * @return The bytes for author. + */ + public com.google.protobuf.ByteString + getAuthorBytes() { + java.lang.Object ref = author_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + author_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string author = 2; + * @param value The author to set. + * @return This builder for chaining. + */ + public Builder setAuthor( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + author_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string author = 2; + * @return This builder for chaining. + */ + public Builder clearAuthor() { + author_ = getDefaultInstance().getAuthor(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string author = 2; + * @param value The bytes for author to set. + * @return This builder for chaining. + */ + public Builder setAuthorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + author_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object authorGuid_ = ""; + /** + * string authorGuid = 3; + * @return The authorGuid. + */ + public java.lang.String getAuthorGuid() { + java.lang.Object ref = authorGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + authorGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string authorGuid = 3; + * @return The bytes for authorGuid. + */ + public com.google.protobuf.ByteString + getAuthorGuidBytes() { + java.lang.Object ref = authorGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + authorGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string authorGuid = 3; + * @param value The authorGuid to set. + * @return This builder for chaining. + */ + public Builder setAuthorGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + authorGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string authorGuid = 3; + * @return This builder for chaining. + */ + public Builder clearAuthorGuid() { + authorGuid_ = getDefaultInstance().getAuthorGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string authorGuid = 3; + * @param value The bytes for authorGuid to set. + * @return This builder for chaining. + */ + public Builder setAuthorGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + authorGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int beaconId_ ; + /** + * int32 beaconId = 4; + * @return The beaconId. + */ + @java.lang.Override + public int getBeaconId() { + return beaconId_; + } + /** + * int32 beaconId = 4; + * @param value The beaconId to set. + * @return This builder for chaining. + */ + public Builder setBeaconId(int value) { + + beaconId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int32 beaconId = 4; + * @return This builder for chaining. + */ + public Builder clearBeaconId() { + bitField0_ = (bitField0_ & ~0x00000008); + beaconId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object ugcBeaconGuid_ = ""; + /** + * string ugcBeaconGuid = 5; + * @return The ugcBeaconGuid. + */ + public java.lang.String getUgcBeaconGuid() { + java.lang.Object ref = ugcBeaconGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcBeaconGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ugcBeaconGuid = 5; + * @return The bytes for ugcBeaconGuid. + */ + public com.google.protobuf.ByteString + getUgcBeaconGuidBytes() { + java.lang.Object ref = ugcBeaconGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcBeaconGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ugcBeaconGuid = 5; + * @param value The ugcBeaconGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcBeaconGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ugcBeaconGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string ugcBeaconGuid = 5; + * @return This builder for chaining. + */ + public Builder clearUgcBeaconGuid() { + ugcBeaconGuid_ = getDefaultInstance().getUgcBeaconGuid(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string ugcBeaconGuid = 5; + * @param value The bytes for ugcBeaconGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcBeaconGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ugcBeaconGuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object ugcBeaconNickname_ = ""; + /** + * string ugcBeaconNickname = 6; + * @return The ugcBeaconNickname. + */ + public java.lang.String getUgcBeaconNickname() { + java.lang.Object ref = ugcBeaconNickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcBeaconNickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ugcBeaconNickname = 6; + * @return The bytes for ugcBeaconNickname. + */ + public com.google.protobuf.ByteString + getUgcBeaconNicknameBytes() { + java.lang.Object ref = ugcBeaconNickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcBeaconNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ugcBeaconNickname = 6; + * @param value The ugcBeaconNickname to set. + * @return This builder for chaining. + */ + public Builder setUgcBeaconNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ugcBeaconNickname_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string ugcBeaconNickname = 6; + * @return This builder for chaining. + */ + public Builder clearUgcBeaconNickname() { + ugcBeaconNickname_ = getDefaultInstance().getUgcBeaconNickname(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string ugcBeaconNickname = 6; + * @param value The bytes for ugcBeaconNickname to set. + * @return This builder for chaining. + */ + public Builder setUgcBeaconNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ugcBeaconNickname_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient title_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder> titleBuilder_; + /** + * .UgqGameTextDataForClient title = 7; + * @return Whether the title field is set. + */ + public boolean hasTitle() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * .UgqGameTextDataForClient title = 7; + * @return The title. + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getTitle() { + if (titleBuilder_ == null) { + return title_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : title_; + } else { + return titleBuilder_.getMessage(); + } + } + /** + * .UgqGameTextDataForClient title = 7; + */ + public Builder setTitle(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient value) { + if (titleBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + title_ = value; + } else { + titleBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .UgqGameTextDataForClient title = 7; + */ + public Builder setTitle( + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder builderForValue) { + if (titleBuilder_ == null) { + title_ = builderForValue.build(); + } else { + titleBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .UgqGameTextDataForClient title = 7; + */ + public Builder mergeTitle(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient value) { + if (titleBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + title_ != null && + title_ != com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance()) { + getTitleBuilder().mergeFrom(value); + } else { + title_ = value; + } + } else { + titleBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * .UgqGameTextDataForClient title = 7; + */ + public Builder clearTitle() { + bitField0_ = (bitField0_ & ~0x00000040); + title_ = null; + if (titleBuilder_ != null) { + titleBuilder_.dispose(); + titleBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .UgqGameTextDataForClient title = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder getTitleBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getTitleFieldBuilder().getBuilder(); + } + /** + * .UgqGameTextDataForClient title = 7; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getTitleOrBuilder() { + if (titleBuilder_ != null) { + return titleBuilder_.getMessageOrBuilder(); + } else { + return title_ == null ? + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : title_; + } + } + /** + * .UgqGameTextDataForClient title = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder> + getTitleFieldBuilder() { + if (titleBuilder_ == null) { + titleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder>( + getTitle(), + getParentForChildren(), + isClean()); + title_ = null; + } + return titleBuilder_; + } + + private java.util.List task_ = + java.util.Collections.emptyList(); + private void ensureTaskIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + task_ = new java.util.ArrayList(task_); + bitField0_ |= 0x00000080; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder> taskBuilder_; + + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public java.util.List getTaskList() { + if (taskBuilder_ == null) { + return java.util.Collections.unmodifiableList(task_); + } else { + return taskBuilder_.getMessageList(); + } + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public int getTaskCount() { + if (taskBuilder_ == null) { + return task_.size(); + } else { + return taskBuilder_.getCount(); + } + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient getTask(int index) { + if (taskBuilder_ == null) { + return task_.get(index); + } else { + return taskBuilder_.getMessage(index); + } + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public Builder setTask( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient value) { + if (taskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTaskIsMutable(); + task_.set(index, value); + onChanged(); + } else { + taskBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public Builder setTask( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder builderForValue) { + if (taskBuilder_ == null) { + ensureTaskIsMutable(); + task_.set(index, builderForValue.build()); + onChanged(); + } else { + taskBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public Builder addTask(com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient value) { + if (taskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTaskIsMutable(); + task_.add(value); + onChanged(); + } else { + taskBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public Builder addTask( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient value) { + if (taskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTaskIsMutable(); + task_.add(index, value); + onChanged(); + } else { + taskBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public Builder addTask( + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder builderForValue) { + if (taskBuilder_ == null) { + ensureTaskIsMutable(); + task_.add(builderForValue.build()); + onChanged(); + } else { + taskBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public Builder addTask( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder builderForValue) { + if (taskBuilder_ == null) { + ensureTaskIsMutable(); + task_.add(index, builderForValue.build()); + onChanged(); + } else { + taskBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public Builder addAllTask( + java.lang.Iterable values) { + if (taskBuilder_ == null) { + ensureTaskIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, task_); + onChanged(); + } else { + taskBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public Builder clearTask() { + if (taskBuilder_ == null) { + task_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + } else { + taskBuilder_.clear(); + } + return this; + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public Builder removeTask(int index) { + if (taskBuilder_ == null) { + ensureTaskIsMutable(); + task_.remove(index); + onChanged(); + } else { + taskBuilder_.remove(index); + } + return this; + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder getTaskBuilder( + int index) { + return getTaskFieldBuilder().getBuilder(index); + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder getTaskOrBuilder( + int index) { + if (taskBuilder_ == null) { + return task_.get(index); } else { + return taskBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public java.util.List + getTaskOrBuilderList() { + if (taskBuilder_ != null) { + return taskBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(task_); + } + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder addTaskBuilder() { + return getTaskFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.getDefaultInstance()); + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder addTaskBuilder( + int index) { + return getTaskFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.getDefaultInstance()); + } + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + public java.util.List + getTaskBuilderList() { + return getTaskFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder> + getTaskFieldBuilder() { + if (taskBuilder_ == null) { + taskBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder>( + task_, + ((bitField0_ & 0x00000080) != 0), + getParentForChildren(), + isClean()); + task_ = null; + } + return taskBuilder_; + } + + private java.util.List dialogues_ = + java.util.Collections.emptyList(); + private void ensureDialoguesIsMutable() { + if (!((bitField0_ & 0x00000100) != 0)) { + dialogues_ = new java.util.ArrayList(dialogues_); + bitField0_ |= 0x00000100; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder> dialoguesBuilder_; + + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public java.util.List getDialoguesList() { + if (dialoguesBuilder_ == null) { + return java.util.Collections.unmodifiableList(dialogues_); + } else { + return dialoguesBuilder_.getMessageList(); + } + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public int getDialoguesCount() { + if (dialoguesBuilder_ == null) { + return dialogues_.size(); + } else { + return dialoguesBuilder_.getCount(); + } + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue getDialogues(int index) { + if (dialoguesBuilder_ == null) { + return dialogues_.get(index); + } else { + return dialoguesBuilder_.getMessage(index); + } + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public Builder setDialogues( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue value) { + if (dialoguesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDialoguesIsMutable(); + dialogues_.set(index, value); + onChanged(); + } else { + dialoguesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public Builder setDialogues( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder builderForValue) { + if (dialoguesBuilder_ == null) { + ensureDialoguesIsMutable(); + dialogues_.set(index, builderForValue.build()); + onChanged(); + } else { + dialoguesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public Builder addDialogues(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue value) { + if (dialoguesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDialoguesIsMutable(); + dialogues_.add(value); + onChanged(); + } else { + dialoguesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public Builder addDialogues( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue value) { + if (dialoguesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDialoguesIsMutable(); + dialogues_.add(index, value); + onChanged(); + } else { + dialoguesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public Builder addDialogues( + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder builderForValue) { + if (dialoguesBuilder_ == null) { + ensureDialoguesIsMutable(); + dialogues_.add(builderForValue.build()); + onChanged(); + } else { + dialoguesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public Builder addDialogues( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder builderForValue) { + if (dialoguesBuilder_ == null) { + ensureDialoguesIsMutable(); + dialogues_.add(index, builderForValue.build()); + onChanged(); + } else { + dialoguesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public Builder addAllDialogues( + java.lang.Iterable values) { + if (dialoguesBuilder_ == null) { + ensureDialoguesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dialogues_); + onChanged(); + } else { + dialoguesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public Builder clearDialogues() { + if (dialoguesBuilder_ == null) { + dialogues_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + } else { + dialoguesBuilder_.clear(); + } + return this; + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public Builder removeDialogues(int index) { + if (dialoguesBuilder_ == null) { + ensureDialoguesIsMutable(); + dialogues_.remove(index); + onChanged(); + } else { + dialoguesBuilder_.remove(index); + } + return this; + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder getDialoguesBuilder( + int index) { + return getDialoguesFieldBuilder().getBuilder(index); + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder getDialoguesOrBuilder( + int index) { + if (dialoguesBuilder_ == null) { + return dialogues_.get(index); } else { + return dialoguesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public java.util.List + getDialoguesOrBuilderList() { + if (dialoguesBuilder_ != null) { + return dialoguesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(dialogues_); + } + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder addDialoguesBuilder() { + return getDialoguesFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.getDefaultInstance()); + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder addDialoguesBuilder( + int index) { + return getDialoguesFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.getDefaultInstance()); + } + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + public java.util.List + getDialoguesBuilderList() { + return getDialoguesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder> + getDialoguesFieldBuilder() { + if (dialoguesBuilder_ == null) { + dialoguesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder>( + dialogues_, + ((bitField0_ & 0x00000100) != 0), + getParentForChildren(), + isClean()); + dialogues_ = null; + } + return dialoguesBuilder_; + } + + private int ugqStateType_ = 0; + /** + * .UgqStateType ugqStateType = 10; + * @return The enum numeric value on the wire for ugqStateType. + */ + @java.lang.Override public int getUgqStateTypeValue() { + return ugqStateType_; + } + /** + * .UgqStateType ugqStateType = 10; + * @param value The enum numeric value on the wire for ugqStateType to set. + * @return This builder for chaining. + */ + public Builder setUgqStateTypeValue(int value) { + ugqStateType_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * .UgqStateType ugqStateType = 10; + * @return The ugqStateType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqStateType getUgqStateType() { + com.caliverse.admin.domain.RabbitMq.message.UgqStateType result = com.caliverse.admin.domain.RabbitMq.message.UgqStateType.forNumber(ugqStateType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqStateType.UNRECOGNIZED : result; + } + /** + * .UgqStateType ugqStateType = 10; + * @param value The ugqStateType to set. + * @return This builder for chaining. + */ + public Builder setUgqStateType(com.caliverse.admin.domain.RabbitMq.message.UgqStateType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + ugqStateType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .UgqStateType ugqStateType = 10; + * @return This builder for chaining. + */ + public Builder clearUgqStateType() { + bitField0_ = (bitField0_ & ~0x00000200); + ugqStateType_ = 0; + onChanged(); + return this; + } + + private int ugqGradeType_ = 0; + /** + * .UgqGradeType ugqGradeType = 11; + * @return The enum numeric value on the wire for ugqGradeType. + */ + @java.lang.Override public int getUgqGradeTypeValue() { + return ugqGradeType_; + } + /** + * .UgqGradeType ugqGradeType = 11; + * @param value The enum numeric value on the wire for ugqGradeType to set. + * @return This builder for chaining. + */ + public Builder setUgqGradeTypeValue(int value) { + ugqGradeType_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * .UgqGradeType ugqGradeType = 11; + * @return The ugqGradeType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getUgqGradeType() { + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(ugqGradeType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result; + } + /** + * .UgqGradeType ugqGradeType = 11; + * @param value The ugqGradeType to set. + * @return This builder for chaining. + */ + public Builder setUgqGradeType(com.caliverse.admin.domain.RabbitMq.message.UgqGradeType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; + ugqGradeType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .UgqGradeType ugqGradeType = 11; + * @return This builder for chaining. + */ + public Builder clearUgqGradeType() { + bitField0_ = (bitField0_ & ~0x00000400); + ugqGradeType_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqGameQuestDataForClient) + } + + // @@protoc_insertion_point(class_scope:UgqGameQuestDataForClient) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqGameQuestDataForClient parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDataForClientOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDataForClientOrBuilder.java new file mode 100644 index 0000000..a905cee --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDataForClientOrBuilder.java @@ -0,0 +1,154 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqGameQuestDataForClientOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqGameQuestDataForClient) + com.google.protobuf.MessageOrBuilder { + + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + long getComposedQuestId(); + + /** + * string author = 2; + * @return The author. + */ + java.lang.String getAuthor(); + /** + * string author = 2; + * @return The bytes for author. + */ + com.google.protobuf.ByteString + getAuthorBytes(); + + /** + * string authorGuid = 3; + * @return The authorGuid. + */ + java.lang.String getAuthorGuid(); + /** + * string authorGuid = 3; + * @return The bytes for authorGuid. + */ + com.google.protobuf.ByteString + getAuthorGuidBytes(); + + /** + * int32 beaconId = 4; + * @return The beaconId. + */ + int getBeaconId(); + + /** + * string ugcBeaconGuid = 5; + * @return The ugcBeaconGuid. + */ + java.lang.String getUgcBeaconGuid(); + /** + * string ugcBeaconGuid = 5; + * @return The bytes for ugcBeaconGuid. + */ + com.google.protobuf.ByteString + getUgcBeaconGuidBytes(); + + /** + * string ugcBeaconNickname = 6; + * @return The ugcBeaconNickname. + */ + java.lang.String getUgcBeaconNickname(); + /** + * string ugcBeaconNickname = 6; + * @return The bytes for ugcBeaconNickname. + */ + com.google.protobuf.ByteString + getUgcBeaconNicknameBytes(); + + /** + * .UgqGameTextDataForClient title = 7; + * @return Whether the title field is set. + */ + boolean hasTitle(); + /** + * .UgqGameTextDataForClient title = 7; + * @return The title. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getTitle(); + /** + * .UgqGameTextDataForClient title = 7; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getTitleOrBuilder(); + + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + java.util.List + getTaskList(); + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient getTask(int index); + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + int getTaskCount(); + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + java.util.List + getTaskOrBuilderList(); + /** + * repeated .UgqGameTaskDataForClient task = 8; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder getTaskOrBuilder( + int index); + + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + java.util.List + getDialoguesList(); + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue getDialogues(int index); + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + int getDialoguesCount(); + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + java.util.List + getDialoguesOrBuilderList(); + /** + * repeated .UgqGameQuestDialogue dialogues = 9; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder getDialoguesOrBuilder( + int index); + + /** + * .UgqStateType ugqStateType = 10; + * @return The enum numeric value on the wire for ugqStateType. + */ + int getUgqStateTypeValue(); + /** + * .UgqStateType ugqStateType = 10; + * @return The ugqStateType. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqStateType getUgqStateType(); + + /** + * .UgqGradeType ugqGradeType = 11; + * @return The enum numeric value on the wire for ugqGradeType. + */ + int getUgqGradeTypeValue(); + /** + * .UgqGradeType ugqGradeType = 11; + * @return The ugqGradeType. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getUgqGradeType(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDataSimple.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDataSimple.java new file mode 100644 index 0000000..8e310c0 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDataSimple.java @@ -0,0 +1,1203 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqGameQuestDataSimple} + */ +public final class UgqGameQuestDataSimple extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqGameQuestDataSimple) + UgqGameQuestDataSimpleOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqGameQuestDataSimple.newBuilder() to construct. + private UgqGameQuestDataSimple(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqGameQuestDataSimple() { + userGuid_ = ""; + author_ = ""; + gradeType_ = 0; + state_ = ""; + shutdown_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqGameQuestDataSimple(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDataSimple_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDataSimple_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple.class, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple.Builder.class); + } + + public static final int COMPOSEDQUESTID_FIELD_NUMBER = 1; + private long composedQuestId_ = 0L; + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + + public static final int REVISION_FIELD_NUMBER = 2; + private int revision_ = 0; + /** + * int32 revision = 2; + * @return The revision. + */ + @java.lang.Override + public int getRevision() { + return revision_; + } + + public static final int USERGUID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object userGuid_ = ""; + /** + * string userGuid = 3; + * @return The userGuid. + */ + @java.lang.Override + public java.lang.String getUserGuid() { + java.lang.Object ref = userGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userGuid_ = s; + return s; + } + } + /** + * string userGuid = 3; + * @return The bytes for userGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUserGuidBytes() { + java.lang.Object ref = userGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTHOR_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object author_ = ""; + /** + * string author = 4; + * @return The author. + */ + @java.lang.Override + public java.lang.String getAuthor() { + java.lang.Object ref = author_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + author_ = s; + return s; + } + } + /** + * string author = 4; + * @return The bytes for author. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAuthorBytes() { + java.lang.Object ref = author_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + author_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GRADETYPE_FIELD_NUMBER = 5; + private int gradeType_ = 0; + /** + * .UgqGradeType gradeType = 5; + * @return The enum numeric value on the wire for gradeType. + */ + @java.lang.Override public int getGradeTypeValue() { + return gradeType_; + } + /** + * .UgqGradeType gradeType = 5; + * @return The gradeType. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType() { + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(gradeType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result; + } + + public static final int STATE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object state_ = ""; + /** + * string state = 6; + * @return The state. + */ + @java.lang.Override + public java.lang.String getState() { + java.lang.Object ref = state_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + state_ = s; + return s; + } + } + /** + * string state = 6; + * @return The bytes for state. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getStateBytes() { + java.lang.Object ref = state_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + state_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COST_FIELD_NUMBER = 7; + private int cost_ = 0; + /** + * int32 cost = 7; + * @return The cost. + */ + @java.lang.Override + public int getCost() { + return cost_; + } + + public static final int SHUTDOWN_FIELD_NUMBER = 8; + private int shutdown_ = 0; + /** + * .BoolType shutdown = 8; + * @return The enum numeric value on the wire for shutdown. + */ + @java.lang.Override public int getShutdownValue() { + return shutdown_; + } + /** + * .BoolType shutdown = 8; + * @return The shutdown. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getShutdown() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(shutdown_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (composedQuestId_ != 0L) { + output.writeInt64(1, composedQuestId_); + } + if (revision_ != 0) { + output.writeInt32(2, revision_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, userGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(author_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, author_); + } + if (gradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) { + output.writeEnum(5, gradeType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, state_); + } + if (cost_ != 0) { + output.writeInt32(7, cost_); + } + if (shutdown_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + output.writeEnum(8, shutdown_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (composedQuestId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, composedQuestId_); + } + if (revision_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, revision_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(author_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, author_); + } + if (gradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, gradeType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, state_); + } + if (cost_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, cost_); + } + if (shutdown_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, shutdown_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple other = (com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple) obj; + + if (getComposedQuestId() + != other.getComposedQuestId()) return false; + if (getRevision() + != other.getRevision()) return false; + if (!getUserGuid() + .equals(other.getUserGuid())) return false; + if (!getAuthor() + .equals(other.getAuthor())) return false; + if (gradeType_ != other.gradeType_) return false; + if (!getState() + .equals(other.getState())) return false; + if (getCost() + != other.getCost()) return false; + if (shutdown_ != other.shutdown_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getComposedQuestId()); + hash = (37 * hash) + REVISION_FIELD_NUMBER; + hash = (53 * hash) + getRevision(); + hash = (37 * hash) + USERGUID_FIELD_NUMBER; + hash = (53 * hash) + getUserGuid().hashCode(); + hash = (37 * hash) + AUTHOR_FIELD_NUMBER; + hash = (53 * hash) + getAuthor().hashCode(); + hash = (37 * hash) + GRADETYPE_FIELD_NUMBER; + hash = (53 * hash) + gradeType_; + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + getState().hashCode(); + hash = (37 * hash) + COST_FIELD_NUMBER; + hash = (53 * hash) + getCost(); + hash = (37 * hash) + SHUTDOWN_FIELD_NUMBER; + hash = (53 * hash) + shutdown_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqGameQuestDataSimple} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqGameQuestDataSimple) + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimpleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDataSimple_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDataSimple_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple.class, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + composedQuestId_ = 0L; + revision_ = 0; + userGuid_ = ""; + author_ = ""; + gradeType_ = 0; + state_ = ""; + cost_ = 0; + shutdown_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDataSimple_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple build() { + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple result = new com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.composedQuestId_ = composedQuestId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.revision_ = revision_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.userGuid_ = userGuid_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.author_ = author_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.gradeType_ = gradeType_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.state_ = state_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.cost_ = cost_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.shutdown_ = shutdown_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple.getDefaultInstance()) return this; + if (other.getComposedQuestId() != 0L) { + setComposedQuestId(other.getComposedQuestId()); + } + if (other.getRevision() != 0) { + setRevision(other.getRevision()); + } + if (!other.getUserGuid().isEmpty()) { + userGuid_ = other.userGuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getAuthor().isEmpty()) { + author_ = other.author_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.gradeType_ != 0) { + setGradeTypeValue(other.getGradeTypeValue()); + } + if (!other.getState().isEmpty()) { + state_ = other.state_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.getCost() != 0) { + setCost(other.getCost()); + } + if (other.shutdown_ != 0) { + setShutdownValue(other.getShutdownValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + composedQuestId_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + revision_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + userGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + author_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + gradeType_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + state_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: { + cost_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + shutdown_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 64 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long composedQuestId_ ; + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + /** + * int64 composedQuestId = 1; + * @param value The composedQuestId to set. + * @return This builder for chaining. + */ + public Builder setComposedQuestId(long value) { + + composedQuestId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int64 composedQuestId = 1; + * @return This builder for chaining. + */ + public Builder clearComposedQuestId() { + bitField0_ = (bitField0_ & ~0x00000001); + composedQuestId_ = 0L; + onChanged(); + return this; + } + + private int revision_ ; + /** + * int32 revision = 2; + * @return The revision. + */ + @java.lang.Override + public int getRevision() { + return revision_; + } + /** + * int32 revision = 2; + * @param value The revision to set. + * @return This builder for chaining. + */ + public Builder setRevision(int value) { + + revision_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 revision = 2; + * @return This builder for chaining. + */ + public Builder clearRevision() { + bitField0_ = (bitField0_ & ~0x00000002); + revision_ = 0; + onChanged(); + return this; + } + + private java.lang.Object userGuid_ = ""; + /** + * string userGuid = 3; + * @return The userGuid. + */ + public java.lang.String getUserGuid() { + java.lang.Object ref = userGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string userGuid = 3; + * @return The bytes for userGuid. + */ + public com.google.protobuf.ByteString + getUserGuidBytes() { + java.lang.Object ref = userGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string userGuid = 3; + * @param value The userGuid to set. + * @return This builder for chaining. + */ + public Builder setUserGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + userGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string userGuid = 3; + * @return This builder for chaining. + */ + public Builder clearUserGuid() { + userGuid_ = getDefaultInstance().getUserGuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string userGuid = 3; + * @param value The bytes for userGuid to set. + * @return This builder for chaining. + */ + public Builder setUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + userGuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object author_ = ""; + /** + * string author = 4; + * @return The author. + */ + public java.lang.String getAuthor() { + java.lang.Object ref = author_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + author_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string author = 4; + * @return The bytes for author. + */ + public com.google.protobuf.ByteString + getAuthorBytes() { + java.lang.Object ref = author_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + author_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string author = 4; + * @param value The author to set. + * @return This builder for chaining. + */ + public Builder setAuthor( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + author_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string author = 4; + * @return This builder for chaining. + */ + public Builder clearAuthor() { + author_ = getDefaultInstance().getAuthor(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string author = 4; + * @param value The bytes for author to set. + * @return This builder for chaining. + */ + public Builder setAuthorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + author_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private int gradeType_ = 0; + /** + * .UgqGradeType gradeType = 5; + * @return The enum numeric value on the wire for gradeType. + */ + @java.lang.Override public int getGradeTypeValue() { + return gradeType_; + } + /** + * .UgqGradeType gradeType = 5; + * @param value The enum numeric value on the wire for gradeType to set. + * @return This builder for chaining. + */ + public Builder setGradeTypeValue(int value) { + gradeType_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .UgqGradeType gradeType = 5; + * @return The gradeType. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType() { + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(gradeType_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result; + } + /** + * .UgqGradeType gradeType = 5; + * @param value The gradeType to set. + * @return This builder for chaining. + */ + public Builder setGradeType(com.caliverse.admin.domain.RabbitMq.message.UgqGradeType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + gradeType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .UgqGradeType gradeType = 5; + * @return This builder for chaining. + */ + public Builder clearGradeType() { + bitField0_ = (bitField0_ & ~0x00000010); + gradeType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object state_ = ""; + /** + * string state = 6; + * @return The state. + */ + public java.lang.String getState() { + java.lang.Object ref = state_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + state_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string state = 6; + * @return The bytes for state. + */ + public com.google.protobuf.ByteString + getStateBytes() { + java.lang.Object ref = state_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + state_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string state = 6; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + state_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string state = 6; + * @return This builder for chaining. + */ + public Builder clearState() { + state_ = getDefaultInstance().getState(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string state = 6; + * @param value The bytes for state to set. + * @return This builder for chaining. + */ + public Builder setStateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + state_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private int cost_ ; + /** + * int32 cost = 7; + * @return The cost. + */ + @java.lang.Override + public int getCost() { + return cost_; + } + /** + * int32 cost = 7; + * @param value The cost to set. + * @return This builder for chaining. + */ + public Builder setCost(int value) { + + cost_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * int32 cost = 7; + * @return This builder for chaining. + */ + public Builder clearCost() { + bitField0_ = (bitField0_ & ~0x00000040); + cost_ = 0; + onChanged(); + return this; + } + + private int shutdown_ = 0; + /** + * .BoolType shutdown = 8; + * @return The enum numeric value on the wire for shutdown. + */ + @java.lang.Override public int getShutdownValue() { + return shutdown_; + } + /** + * .BoolType shutdown = 8; + * @param value The enum numeric value on the wire for shutdown to set. + * @return This builder for chaining. + */ + public Builder setShutdownValue(int value) { + shutdown_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .BoolType shutdown = 8; + * @return The shutdown. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BoolType getShutdown() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(shutdown_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + /** + * .BoolType shutdown = 8; + * @param value The shutdown to set. + * @return This builder for chaining. + */ + public Builder setShutdown(com.caliverse.admin.domain.RabbitMq.message.BoolType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; + shutdown_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .BoolType shutdown = 8; + * @return This builder for chaining. + */ + public Builder clearShutdown() { + bitField0_ = (bitField0_ & ~0x00000080); + shutdown_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqGameQuestDataSimple) + } + + // @@protoc_insertion_point(class_scope:UgqGameQuestDataSimple) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqGameQuestDataSimple parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataSimple getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDataSimpleOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDataSimpleOrBuilder.java new file mode 100644 index 0000000..a8207a1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDataSimpleOrBuilder.java @@ -0,0 +1,85 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqGameQuestDataSimpleOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqGameQuestDataSimple) + com.google.protobuf.MessageOrBuilder { + + /** + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + long getComposedQuestId(); + + /** + * int32 revision = 2; + * @return The revision. + */ + int getRevision(); + + /** + * string userGuid = 3; + * @return The userGuid. + */ + java.lang.String getUserGuid(); + /** + * string userGuid = 3; + * @return The bytes for userGuid. + */ + com.google.protobuf.ByteString + getUserGuidBytes(); + + /** + * string author = 4; + * @return The author. + */ + java.lang.String getAuthor(); + /** + * string author = 4; + * @return The bytes for author. + */ + com.google.protobuf.ByteString + getAuthorBytes(); + + /** + * .UgqGradeType gradeType = 5; + * @return The enum numeric value on the wire for gradeType. + */ + int getGradeTypeValue(); + /** + * .UgqGradeType gradeType = 5; + * @return The gradeType. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType(); + + /** + * string state = 6; + * @return The state. + */ + java.lang.String getState(); + /** + * string state = 6; + * @return The bytes for state. + */ + com.google.protobuf.ByteString + getStateBytes(); + + /** + * int32 cost = 7; + * @return The cost. + */ + int getCost(); + + /** + * .BoolType shutdown = 8; + * @return The enum numeric value on the wire for shutdown. + */ + int getShutdownValue(); + /** + * .BoolType shutdown = 8; + * @return The shutdown. + */ + com.caliverse.admin.domain.RabbitMq.message.BoolType getShutdown(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDialogue.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDialogue.java new file mode 100644 index 0000000..1362664 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDialogue.java @@ -0,0 +1,1248 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqGameQuestDialogue} + */ +public final class UgqGameQuestDialogue extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqGameQuestDialogue) + UgqGameQuestDialogueOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqGameQuestDialogue.newBuilder() to construct. + private UgqGameQuestDialogue(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqGameQuestDialogue() { + dialogueId_ = ""; + sequences_ = java.util.Collections.emptyList(); + returns_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqGameQuestDialogue(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDialogue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDialogue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.class, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder.class); + } + + public static final int DIALOGUEID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object dialogueId_ = ""; + /** + * string dialogueId = 1; + * @return The dialogueId. + */ + @java.lang.Override + public java.lang.String getDialogueId() { + java.lang.Object ref = dialogueId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dialogueId_ = s; + return s; + } + } + /** + * string dialogueId = 1; + * @return The bytes for dialogueId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDialogueIdBytes() { + java.lang.Object ref = dialogueId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dialogueId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SEQUENCES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List sequences_; + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + @java.lang.Override + public java.util.List getSequencesList() { + return sequences_; + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + @java.lang.Override + public java.util.List + getSequencesOrBuilderList() { + return sequences_; + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + @java.lang.Override + public int getSequencesCount() { + return sequences_.size(); + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences getSequences(int index) { + return sequences_.get(index); + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequencesOrBuilder getSequencesOrBuilder( + int index) { + return sequences_.get(index); + } + + public static final int RETURNS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List returns_; + /** + * repeated .UgqDialogueReturns returns = 3; + */ + @java.lang.Override + public java.util.List getReturnsList() { + return returns_; + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + @java.lang.Override + public java.util.List + getReturnsOrBuilderList() { + return returns_; + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + @java.lang.Override + public int getReturnsCount() { + return returns_.size(); + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns getReturns(int index) { + return returns_.get(index); + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturnsOrBuilder getReturnsOrBuilder( + int index) { + return returns_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogueId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dialogueId_); + } + for (int i = 0; i < sequences_.size(); i++) { + output.writeMessage(2, sequences_.get(i)); + } + for (int i = 0; i < returns_.size(); i++) { + output.writeMessage(3, returns_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dialogueId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dialogueId_); + } + for (int i = 0; i < sequences_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, sequences_.get(i)); + } + for (int i = 0; i < returns_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, returns_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue other = (com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue) obj; + + if (!getDialogueId() + .equals(other.getDialogueId())) return false; + if (!getSequencesList() + .equals(other.getSequencesList())) return false; + if (!getReturnsList() + .equals(other.getReturnsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DIALOGUEID_FIELD_NUMBER; + hash = (53 * hash) + getDialogueId().hashCode(); + if (getSequencesCount() > 0) { + hash = (37 * hash) + SEQUENCES_FIELD_NUMBER; + hash = (53 * hash) + getSequencesList().hashCode(); + } + if (getReturnsCount() > 0) { + hash = (37 * hash) + RETURNS_FIELD_NUMBER; + hash = (53 * hash) + getReturnsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqGameQuestDialogue} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqGameQuestDialogue) + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDialogue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDialogue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.class, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + dialogueId_ = ""; + if (sequencesBuilder_ == null) { + sequences_ = java.util.Collections.emptyList(); + } else { + sequences_ = null; + sequencesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + if (returnsBuilder_ == null) { + returns_ = java.util.Collections.emptyList(); + } else { + returns_ = null; + returnsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameQuestDialogue_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue build() { + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue result = new com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue result) { + if (sequencesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + sequences_ = java.util.Collections.unmodifiableList(sequences_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.sequences_ = sequences_; + } else { + result.sequences_ = sequencesBuilder_.build(); + } + if (returnsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + returns_ = java.util.Collections.unmodifiableList(returns_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.returns_ = returns_; + } else { + result.returns_ = returnsBuilder_.build(); + } + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.dialogueId_ = dialogueId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.getDefaultInstance()) return this; + if (!other.getDialogueId().isEmpty()) { + dialogueId_ = other.dialogueId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (sequencesBuilder_ == null) { + if (!other.sequences_.isEmpty()) { + if (sequences_.isEmpty()) { + sequences_ = other.sequences_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureSequencesIsMutable(); + sequences_.addAll(other.sequences_); + } + onChanged(); + } + } else { + if (!other.sequences_.isEmpty()) { + if (sequencesBuilder_.isEmpty()) { + sequencesBuilder_.dispose(); + sequencesBuilder_ = null; + sequences_ = other.sequences_; + bitField0_ = (bitField0_ & ~0x00000002); + sequencesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSequencesFieldBuilder() : null; + } else { + sequencesBuilder_.addAllMessages(other.sequences_); + } + } + } + if (returnsBuilder_ == null) { + if (!other.returns_.isEmpty()) { + if (returns_.isEmpty()) { + returns_ = other.returns_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureReturnsIsMutable(); + returns_.addAll(other.returns_); + } + onChanged(); + } + } else { + if (!other.returns_.isEmpty()) { + if (returnsBuilder_.isEmpty()) { + returnsBuilder_.dispose(); + returnsBuilder_ = null; + returns_ = other.returns_; + bitField0_ = (bitField0_ & ~0x00000004); + returnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReturnsFieldBuilder() : null; + } else { + returnsBuilder_.addAllMessages(other.returns_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + dialogueId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.parser(), + extensionRegistry); + if (sequencesBuilder_ == null) { + ensureSequencesIsMutable(); + sequences_.add(m); + } else { + sequencesBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns m = + input.readMessage( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.parser(), + extensionRegistry); + if (returnsBuilder_ == null) { + ensureReturnsIsMutable(); + returns_.add(m); + } else { + returnsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object dialogueId_ = ""; + /** + * string dialogueId = 1; + * @return The dialogueId. + */ + public java.lang.String getDialogueId() { + java.lang.Object ref = dialogueId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dialogueId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string dialogueId = 1; + * @return The bytes for dialogueId. + */ + public com.google.protobuf.ByteString + getDialogueIdBytes() { + java.lang.Object ref = dialogueId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dialogueId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string dialogueId = 1; + * @param value The dialogueId to set. + * @return This builder for chaining. + */ + public Builder setDialogueId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + dialogueId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string dialogueId = 1; + * @return This builder for chaining. + */ + public Builder clearDialogueId() { + dialogueId_ = getDefaultInstance().getDialogueId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string dialogueId = 1; + * @param value The bytes for dialogueId to set. + * @return This builder for chaining. + */ + public Builder setDialogueIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + dialogueId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.util.List sequences_ = + java.util.Collections.emptyList(); + private void ensureSequencesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + sequences_ = new java.util.ArrayList(sequences_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequencesOrBuilder> sequencesBuilder_; + + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public java.util.List getSequencesList() { + if (sequencesBuilder_ == null) { + return java.util.Collections.unmodifiableList(sequences_); + } else { + return sequencesBuilder_.getMessageList(); + } + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public int getSequencesCount() { + if (sequencesBuilder_ == null) { + return sequences_.size(); + } else { + return sequencesBuilder_.getCount(); + } + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences getSequences(int index) { + if (sequencesBuilder_ == null) { + return sequences_.get(index); + } else { + return sequencesBuilder_.getMessage(index); + } + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public Builder setSequences( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences value) { + if (sequencesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSequencesIsMutable(); + sequences_.set(index, value); + onChanged(); + } else { + sequencesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public Builder setSequences( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.Builder builderForValue) { + if (sequencesBuilder_ == null) { + ensureSequencesIsMutable(); + sequences_.set(index, builderForValue.build()); + onChanged(); + } else { + sequencesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public Builder addSequences(com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences value) { + if (sequencesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSequencesIsMutable(); + sequences_.add(value); + onChanged(); + } else { + sequencesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public Builder addSequences( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences value) { + if (sequencesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSequencesIsMutable(); + sequences_.add(index, value); + onChanged(); + } else { + sequencesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public Builder addSequences( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.Builder builderForValue) { + if (sequencesBuilder_ == null) { + ensureSequencesIsMutable(); + sequences_.add(builderForValue.build()); + onChanged(); + } else { + sequencesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public Builder addSequences( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.Builder builderForValue) { + if (sequencesBuilder_ == null) { + ensureSequencesIsMutable(); + sequences_.add(index, builderForValue.build()); + onChanged(); + } else { + sequencesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public Builder addAllSequences( + java.lang.Iterable values) { + if (sequencesBuilder_ == null) { + ensureSequencesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sequences_); + onChanged(); + } else { + sequencesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public Builder clearSequences() { + if (sequencesBuilder_ == null) { + sequences_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + sequencesBuilder_.clear(); + } + return this; + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public Builder removeSequences(int index) { + if (sequencesBuilder_ == null) { + ensureSequencesIsMutable(); + sequences_.remove(index); + onChanged(); + } else { + sequencesBuilder_.remove(index); + } + return this; + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.Builder getSequencesBuilder( + int index) { + return getSequencesFieldBuilder().getBuilder(index); + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequencesOrBuilder getSequencesOrBuilder( + int index) { + if (sequencesBuilder_ == null) { + return sequences_.get(index); } else { + return sequencesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public java.util.List + getSequencesOrBuilderList() { + if (sequencesBuilder_ != null) { + return sequencesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(sequences_); + } + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.Builder addSequencesBuilder() { + return getSequencesFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.getDefaultInstance()); + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.Builder addSequencesBuilder( + int index) { + return getSequencesFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.getDefaultInstance()); + } + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + public java.util.List + getSequencesBuilderList() { + return getSequencesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequencesOrBuilder> + getSequencesFieldBuilder() { + if (sequencesBuilder_ == null) { + sequencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequencesOrBuilder>( + sequences_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + sequences_ = null; + } + return sequencesBuilder_; + } + + private java.util.List returns_ = + java.util.Collections.emptyList(); + private void ensureReturnsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + returns_ = new java.util.ArrayList(returns_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturnsOrBuilder> returnsBuilder_; + + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public java.util.List getReturnsList() { + if (returnsBuilder_ == null) { + return java.util.Collections.unmodifiableList(returns_); + } else { + return returnsBuilder_.getMessageList(); + } + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public int getReturnsCount() { + if (returnsBuilder_ == null) { + return returns_.size(); + } else { + return returnsBuilder_.getCount(); + } + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns getReturns(int index) { + if (returnsBuilder_ == null) { + return returns_.get(index); + } else { + return returnsBuilder_.getMessage(index); + } + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public Builder setReturns( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns value) { + if (returnsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReturnsIsMutable(); + returns_.set(index, value); + onChanged(); + } else { + returnsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public Builder setReturns( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.Builder builderForValue) { + if (returnsBuilder_ == null) { + ensureReturnsIsMutable(); + returns_.set(index, builderForValue.build()); + onChanged(); + } else { + returnsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public Builder addReturns(com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns value) { + if (returnsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReturnsIsMutable(); + returns_.add(value); + onChanged(); + } else { + returnsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public Builder addReturns( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns value) { + if (returnsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReturnsIsMutable(); + returns_.add(index, value); + onChanged(); + } else { + returnsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public Builder addReturns( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.Builder builderForValue) { + if (returnsBuilder_ == null) { + ensureReturnsIsMutable(); + returns_.add(builderForValue.build()); + onChanged(); + } else { + returnsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public Builder addReturns( + int index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.Builder builderForValue) { + if (returnsBuilder_ == null) { + ensureReturnsIsMutable(); + returns_.add(index, builderForValue.build()); + onChanged(); + } else { + returnsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public Builder addAllReturns( + java.lang.Iterable values) { + if (returnsBuilder_ == null) { + ensureReturnsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, returns_); + onChanged(); + } else { + returnsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public Builder clearReturns() { + if (returnsBuilder_ == null) { + returns_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + returnsBuilder_.clear(); + } + return this; + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public Builder removeReturns(int index) { + if (returnsBuilder_ == null) { + ensureReturnsIsMutable(); + returns_.remove(index); + onChanged(); + } else { + returnsBuilder_.remove(index); + } + return this; + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.Builder getReturnsBuilder( + int index) { + return getReturnsFieldBuilder().getBuilder(index); + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturnsOrBuilder getReturnsOrBuilder( + int index) { + if (returnsBuilder_ == null) { + return returns_.get(index); } else { + return returnsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public java.util.List + getReturnsOrBuilderList() { + if (returnsBuilder_ != null) { + return returnsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(returns_); + } + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.Builder addReturnsBuilder() { + return getReturnsFieldBuilder().addBuilder( + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.getDefaultInstance()); + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.Builder addReturnsBuilder( + int index) { + return getReturnsFieldBuilder().addBuilder( + index, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.getDefaultInstance()); + } + /** + * repeated .UgqDialogueReturns returns = 3; + */ + public java.util.List + getReturnsBuilderList() { + return getReturnsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturnsOrBuilder> + getReturnsFieldBuilder() { + if (returnsBuilder_ == null) { + returnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturnsOrBuilder>( + returns_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + returns_ = null; + } + return returnsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqGameQuestDialogue) + } + + // @@protoc_insertion_point(class_scope:UgqGameQuestDialogue) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqGameQuestDialogue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDialogueOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDialogueOrBuilder.java new file mode 100644 index 0000000..02c97e5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameQuestDialogueOrBuilder.java @@ -0,0 +1,69 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqGameQuestDialogueOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqGameQuestDialogue) + com.google.protobuf.MessageOrBuilder { + + /** + * string dialogueId = 1; + * @return The dialogueId. + */ + java.lang.String getDialogueId(); + /** + * string dialogueId = 1; + * @return The bytes for dialogueId. + */ + com.google.protobuf.ByteString + getDialogueIdBytes(); + + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + java.util.List + getSequencesList(); + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequences getSequences(int index); + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + int getSequencesCount(); + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + java.util.List + getSequencesOrBuilderList(); + /** + * repeated .UgqDialogueSequences sequences = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueSequencesOrBuilder getSequencesOrBuilder( + int index); + + /** + * repeated .UgqDialogueReturns returns = 3; + */ + java.util.List + getReturnsList(); + /** + * repeated .UgqDialogueReturns returns = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturns getReturns(int index); + /** + * repeated .UgqDialogueReturns returns = 3; + */ + int getReturnsCount(); + /** + * repeated .UgqDialogueReturns returns = 3; + */ + java.util.List + getReturnsOrBuilderList(); + /** + * repeated .UgqDialogueReturns returns = 3; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqDialogueReturnsOrBuilder getReturnsOrBuilder( + int index); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameTaskDataForClient.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameTaskDataForClient.java new file mode 100644 index 0000000..75cb4b2 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameTaskDataForClient.java @@ -0,0 +1,1313 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqGameTaskDataForClient} + */ +public final class UgqGameTaskDataForClient extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqGameTaskDataForClient) + UgqGameTaskDataForClientOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqGameTaskDataForClient.newBuilder() to construct. + private UgqGameTaskDataForClient(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqGameTaskDataForClient() { + dialogueId_ = ""; + ugcBeaconGuid_ = ""; + ugcBeaconNickname_ = ""; + isShowNpcLocation_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqGameTaskDataForClient(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameTaskDataForClient_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameTaskDataForClient_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.class, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder.class); + } + + private int bitField0_; + public static final int TASKNUM_FIELD_NUMBER = 1; + private int taskNum_ = 0; + /** + * int32 taskNum = 1; + * @return The taskNum. + */ + @java.lang.Override + public int getTaskNum() { + return taskNum_; + } + + public static final int GOALTEXT_FIELD_NUMBER = 2; + private com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient goalText_; + /** + * .UgqGameTextDataForClient goalText = 2; + * @return Whether the goalText field is set. + */ + @java.lang.Override + public boolean hasGoalText() { + return goalText_ != null; + } + /** + * .UgqGameTextDataForClient goalText = 2; + * @return The goalText. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getGoalText() { + return goalText_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : goalText_; + } + /** + * .UgqGameTextDataForClient goalText = 2; + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getGoalTextOrBuilder() { + return goalText_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : goalText_; + } + + public static final int DIALOGUEID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object dialogueId_ = ""; + /** + * optional string dialogueId = 3; + * @return Whether the dialogueId field is set. + */ + @java.lang.Override + public boolean hasDialogueId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string dialogueId = 3; + * @return The dialogueId. + */ + @java.lang.Override + public java.lang.String getDialogueId() { + java.lang.Object ref = dialogueId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dialogueId_ = s; + return s; + } + } + /** + * optional string dialogueId = 3; + * @return The bytes for dialogueId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDialogueIdBytes() { + java.lang.Object ref = dialogueId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dialogueId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UGCBEACONGUID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object ugcBeaconGuid_ = ""; + /** + * string ugcBeaconGuid = 4; + * @return The ugcBeaconGuid. + */ + @java.lang.Override + public java.lang.String getUgcBeaconGuid() { + java.lang.Object ref = ugcBeaconGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcBeaconGuid_ = s; + return s; + } + } + /** + * string ugcBeaconGuid = 4; + * @return The bytes for ugcBeaconGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUgcBeaconGuidBytes() { + java.lang.Object ref = ugcBeaconGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcBeaconGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UGCBEACONNICKNAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object ugcBeaconNickname_ = ""; + /** + * string ugcBeaconNickname = 5; + * @return The ugcBeaconNickname. + */ + @java.lang.Override + public java.lang.String getUgcBeaconNickname() { + java.lang.Object ref = ugcBeaconNickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcBeaconNickname_ = s; + return s; + } + } + /** + * string ugcBeaconNickname = 5; + * @return The bytes for ugcBeaconNickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUgcBeaconNicknameBytes() { + java.lang.Object ref = ugcBeaconNickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcBeaconNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ACTIONID_FIELD_NUMBER = 6; + private int actionId_ = 0; + /** + * int32 ActionId = 6; + * @return The actionId. + */ + @java.lang.Override + public int getActionId() { + return actionId_; + } + + public static final int ACTIONVALUE_FIELD_NUMBER = 7; + private int actionValue_ = 0; + /** + * int32 ActionValue = 7; + * @return The actionValue. + */ + @java.lang.Override + public int getActionValue() { + return actionValue_; + } + + public static final int ISSHOWNPCLOCATION_FIELD_NUMBER = 8; + private int isShowNpcLocation_ = 0; + /** + * .BoolType IsShowNpcLocation = 8; + * @return The enum numeric value on the wire for isShowNpcLocation. + */ + @java.lang.Override public int getIsShowNpcLocationValue() { + return isShowNpcLocation_; + } + /** + * .BoolType IsShowNpcLocation = 8; + * @return The isShowNpcLocation. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsShowNpcLocation() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isShowNpcLocation_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (taskNum_ != 0) { + output.writeInt32(1, taskNum_); + } + if (goalText_ != null) { + output.writeMessage(2, getGoalText()); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dialogueId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ugcBeaconGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconNickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ugcBeaconNickname_); + } + if (actionId_ != 0) { + output.writeInt32(6, actionId_); + } + if (actionValue_ != 0) { + output.writeInt32(7, actionValue_); + } + if (isShowNpcLocation_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + output.writeEnum(8, isShowNpcLocation_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (taskNum_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, taskNum_); + } + if (goalText_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getGoalText()); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dialogueId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ugcBeaconGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconNickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ugcBeaconNickname_); + } + if (actionId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, actionId_); + } + if (actionValue_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, actionValue_); + } + if (isShowNpcLocation_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, isShowNpcLocation_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient other = (com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient) obj; + + if (getTaskNum() + != other.getTaskNum()) return false; + if (hasGoalText() != other.hasGoalText()) return false; + if (hasGoalText()) { + if (!getGoalText() + .equals(other.getGoalText())) return false; + } + if (hasDialogueId() != other.hasDialogueId()) return false; + if (hasDialogueId()) { + if (!getDialogueId() + .equals(other.getDialogueId())) return false; + } + if (!getUgcBeaconGuid() + .equals(other.getUgcBeaconGuid())) return false; + if (!getUgcBeaconNickname() + .equals(other.getUgcBeaconNickname())) return false; + if (getActionId() + != other.getActionId()) return false; + if (getActionValue() + != other.getActionValue()) return false; + if (isShowNpcLocation_ != other.isShowNpcLocation_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TASKNUM_FIELD_NUMBER; + hash = (53 * hash) + getTaskNum(); + if (hasGoalText()) { + hash = (37 * hash) + GOALTEXT_FIELD_NUMBER; + hash = (53 * hash) + getGoalText().hashCode(); + } + if (hasDialogueId()) { + hash = (37 * hash) + DIALOGUEID_FIELD_NUMBER; + hash = (53 * hash) + getDialogueId().hashCode(); + } + hash = (37 * hash) + UGCBEACONGUID_FIELD_NUMBER; + hash = (53 * hash) + getUgcBeaconGuid().hashCode(); + hash = (37 * hash) + UGCBEACONNICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getUgcBeaconNickname().hashCode(); + hash = (37 * hash) + ACTIONID_FIELD_NUMBER; + hash = (53 * hash) + getActionId(); + hash = (37 * hash) + ACTIONVALUE_FIELD_NUMBER; + hash = (53 * hash) + getActionValue(); + hash = (37 * hash) + ISSHOWNPCLOCATION_FIELD_NUMBER; + hash = (53 * hash) + isShowNpcLocation_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqGameTaskDataForClient} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqGameTaskDataForClient) + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameTaskDataForClient_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameTaskDataForClient_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.class, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + taskNum_ = 0; + goalText_ = null; + if (goalTextBuilder_ != null) { + goalTextBuilder_.dispose(); + goalTextBuilder_ = null; + } + dialogueId_ = ""; + ugcBeaconGuid_ = ""; + ugcBeaconNickname_ = ""; + actionId_ = 0; + actionValue_ = 0; + isShowNpcLocation_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameTaskDataForClient_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient build() { + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient result = new com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.taskNum_ = taskNum_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.goalText_ = goalTextBuilder_ == null + ? goalText_ + : goalTextBuilder_.build(); + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.dialogueId_ = dialogueId_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.ugcBeaconGuid_ = ugcBeaconGuid_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.ugcBeaconNickname_ = ugcBeaconNickname_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.actionId_ = actionId_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.actionValue_ = actionValue_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.isShowNpcLocation_ = isShowNpcLocation_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.getDefaultInstance()) return this; + if (other.getTaskNum() != 0) { + setTaskNum(other.getTaskNum()); + } + if (other.hasGoalText()) { + mergeGoalText(other.getGoalText()); + } + if (other.hasDialogueId()) { + dialogueId_ = other.dialogueId_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getUgcBeaconGuid().isEmpty()) { + ugcBeaconGuid_ = other.ugcBeaconGuid_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getUgcBeaconNickname().isEmpty()) { + ugcBeaconNickname_ = other.ugcBeaconNickname_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.getActionId() != 0) { + setActionId(other.getActionId()); + } + if (other.getActionValue() != 0) { + setActionValue(other.getActionValue()); + } + if (other.isShowNpcLocation_ != 0) { + setIsShowNpcLocationValue(other.getIsShowNpcLocationValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + taskNum_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getGoalTextFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + dialogueId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + ugcBeaconGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + ugcBeaconNickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + actionId_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + actionValue_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + isShowNpcLocation_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 64 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int taskNum_ ; + /** + * int32 taskNum = 1; + * @return The taskNum. + */ + @java.lang.Override + public int getTaskNum() { + return taskNum_; + } + /** + * int32 taskNum = 1; + * @param value The taskNum to set. + * @return This builder for chaining. + */ + public Builder setTaskNum(int value) { + + taskNum_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 taskNum = 1; + * @return This builder for chaining. + */ + public Builder clearTaskNum() { + bitField0_ = (bitField0_ & ~0x00000001); + taskNum_ = 0; + onChanged(); + return this; + } + + private com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient goalText_; + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder> goalTextBuilder_; + /** + * .UgqGameTextDataForClient goalText = 2; + * @return Whether the goalText field is set. + */ + public boolean hasGoalText() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * .UgqGameTextDataForClient goalText = 2; + * @return The goalText. + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getGoalText() { + if (goalTextBuilder_ == null) { + return goalText_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : goalText_; + } else { + return goalTextBuilder_.getMessage(); + } + } + /** + * .UgqGameTextDataForClient goalText = 2; + */ + public Builder setGoalText(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient value) { + if (goalTextBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + goalText_ = value; + } else { + goalTextBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .UgqGameTextDataForClient goalText = 2; + */ + public Builder setGoalText( + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder builderForValue) { + if (goalTextBuilder_ == null) { + goalText_ = builderForValue.build(); + } else { + goalTextBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .UgqGameTextDataForClient goalText = 2; + */ + public Builder mergeGoalText(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient value) { + if (goalTextBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + goalText_ != null && + goalText_ != com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance()) { + getGoalTextBuilder().mergeFrom(value); + } else { + goalText_ = value; + } + } else { + goalTextBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * .UgqGameTextDataForClient goalText = 2; + */ + public Builder clearGoalText() { + bitField0_ = (bitField0_ & ~0x00000002); + goalText_ = null; + if (goalTextBuilder_ != null) { + goalTextBuilder_.dispose(); + goalTextBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .UgqGameTextDataForClient goalText = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder getGoalTextBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getGoalTextFieldBuilder().getBuilder(); + } + /** + * .UgqGameTextDataForClient goalText = 2; + */ + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getGoalTextOrBuilder() { + if (goalTextBuilder_ != null) { + return goalTextBuilder_.getMessageOrBuilder(); + } else { + return goalText_ == null ? + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : goalText_; + } + } + /** + * .UgqGameTextDataForClient goalText = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder> + getGoalTextFieldBuilder() { + if (goalTextBuilder_ == null) { + goalTextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder>( + getGoalText(), + getParentForChildren(), + isClean()); + goalText_ = null; + } + return goalTextBuilder_; + } + + private java.lang.Object dialogueId_ = ""; + /** + * optional string dialogueId = 3; + * @return Whether the dialogueId field is set. + */ + public boolean hasDialogueId() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string dialogueId = 3; + * @return The dialogueId. + */ + public java.lang.String getDialogueId() { + java.lang.Object ref = dialogueId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dialogueId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string dialogueId = 3; + * @return The bytes for dialogueId. + */ + public com.google.protobuf.ByteString + getDialogueIdBytes() { + java.lang.Object ref = dialogueId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dialogueId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string dialogueId = 3; + * @param value The dialogueId to set. + * @return This builder for chaining. + */ + public Builder setDialogueId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + dialogueId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * optional string dialogueId = 3; + * @return This builder for chaining. + */ + public Builder clearDialogueId() { + dialogueId_ = getDefaultInstance().getDialogueId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * optional string dialogueId = 3; + * @param value The bytes for dialogueId to set. + * @return This builder for chaining. + */ + public Builder setDialogueIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + dialogueId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object ugcBeaconGuid_ = ""; + /** + * string ugcBeaconGuid = 4; + * @return The ugcBeaconGuid. + */ + public java.lang.String getUgcBeaconGuid() { + java.lang.Object ref = ugcBeaconGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcBeaconGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ugcBeaconGuid = 4; + * @return The bytes for ugcBeaconGuid. + */ + public com.google.protobuf.ByteString + getUgcBeaconGuidBytes() { + java.lang.Object ref = ugcBeaconGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcBeaconGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ugcBeaconGuid = 4; + * @param value The ugcBeaconGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcBeaconGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ugcBeaconGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string ugcBeaconGuid = 4; + * @return This builder for chaining. + */ + public Builder clearUgcBeaconGuid() { + ugcBeaconGuid_ = getDefaultInstance().getUgcBeaconGuid(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string ugcBeaconGuid = 4; + * @param value The bytes for ugcBeaconGuid to set. + * @return This builder for chaining. + */ + public Builder setUgcBeaconGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ugcBeaconGuid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object ugcBeaconNickname_ = ""; + /** + * string ugcBeaconNickname = 5; + * @return The ugcBeaconNickname. + */ + public java.lang.String getUgcBeaconNickname() { + java.lang.Object ref = ugcBeaconNickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ugcBeaconNickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ugcBeaconNickname = 5; + * @return The bytes for ugcBeaconNickname. + */ + public com.google.protobuf.ByteString + getUgcBeaconNicknameBytes() { + java.lang.Object ref = ugcBeaconNickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ugcBeaconNickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ugcBeaconNickname = 5; + * @param value The ugcBeaconNickname to set. + * @return This builder for chaining. + */ + public Builder setUgcBeaconNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ugcBeaconNickname_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string ugcBeaconNickname = 5; + * @return This builder for chaining. + */ + public Builder clearUgcBeaconNickname() { + ugcBeaconNickname_ = getDefaultInstance().getUgcBeaconNickname(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string ugcBeaconNickname = 5; + * @param value The bytes for ugcBeaconNickname to set. + * @return This builder for chaining. + */ + public Builder setUgcBeaconNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ugcBeaconNickname_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private int actionId_ ; + /** + * int32 ActionId = 6; + * @return The actionId. + */ + @java.lang.Override + public int getActionId() { + return actionId_; + } + /** + * int32 ActionId = 6; + * @param value The actionId to set. + * @return This builder for chaining. + */ + public Builder setActionId(int value) { + + actionId_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * int32 ActionId = 6; + * @return This builder for chaining. + */ + public Builder clearActionId() { + bitField0_ = (bitField0_ & ~0x00000020); + actionId_ = 0; + onChanged(); + return this; + } + + private int actionValue_ ; + /** + * int32 ActionValue = 7; + * @return The actionValue. + */ + @java.lang.Override + public int getActionValue() { + return actionValue_; + } + /** + * int32 ActionValue = 7; + * @param value The actionValue to set. + * @return This builder for chaining. + */ + public Builder setActionValue(int value) { + + actionValue_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * int32 ActionValue = 7; + * @return This builder for chaining. + */ + public Builder clearActionValue() { + bitField0_ = (bitField0_ & ~0x00000040); + actionValue_ = 0; + onChanged(); + return this; + } + + private int isShowNpcLocation_ = 0; + /** + * .BoolType IsShowNpcLocation = 8; + * @return The enum numeric value on the wire for isShowNpcLocation. + */ + @java.lang.Override public int getIsShowNpcLocationValue() { + return isShowNpcLocation_; + } + /** + * .BoolType IsShowNpcLocation = 8; + * @param value The enum numeric value on the wire for isShowNpcLocation to set. + * @return This builder for chaining. + */ + public Builder setIsShowNpcLocationValue(int value) { + isShowNpcLocation_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * .BoolType IsShowNpcLocation = 8; + * @return The isShowNpcLocation. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsShowNpcLocation() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isShowNpcLocation_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + /** + * .BoolType IsShowNpcLocation = 8; + * @param value The isShowNpcLocation to set. + * @return This builder for chaining. + */ + public Builder setIsShowNpcLocation(com.caliverse.admin.domain.RabbitMq.message.BoolType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; + isShowNpcLocation_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .BoolType IsShowNpcLocation = 8; + * @return This builder for chaining. + */ + public Builder clearIsShowNpcLocation() { + bitField0_ = (bitField0_ & ~0x00000080); + isShowNpcLocation_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqGameTaskDataForClient) + } + + // @@protoc_insertion_point(class_scope:UgqGameTaskDataForClient) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqGameTaskDataForClient parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameTaskDataForClientOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameTaskDataForClientOrBuilder.java new file mode 100644 index 0000000..c19f54a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameTaskDataForClientOrBuilder.java @@ -0,0 +1,94 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqGameTaskDataForClientOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqGameTaskDataForClient) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 taskNum = 1; + * @return The taskNum. + */ + int getTaskNum(); + + /** + * .UgqGameTextDataForClient goalText = 2; + * @return Whether the goalText field is set. + */ + boolean hasGoalText(); + /** + * .UgqGameTextDataForClient goalText = 2; + * @return The goalText. + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getGoalText(); + /** + * .UgqGameTextDataForClient goalText = 2; + */ + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getGoalTextOrBuilder(); + + /** + * optional string dialogueId = 3; + * @return Whether the dialogueId field is set. + */ + boolean hasDialogueId(); + /** + * optional string dialogueId = 3; + * @return The dialogueId. + */ + java.lang.String getDialogueId(); + /** + * optional string dialogueId = 3; + * @return The bytes for dialogueId. + */ + com.google.protobuf.ByteString + getDialogueIdBytes(); + + /** + * string ugcBeaconGuid = 4; + * @return The ugcBeaconGuid. + */ + java.lang.String getUgcBeaconGuid(); + /** + * string ugcBeaconGuid = 4; + * @return The bytes for ugcBeaconGuid. + */ + com.google.protobuf.ByteString + getUgcBeaconGuidBytes(); + + /** + * string ugcBeaconNickname = 5; + * @return The ugcBeaconNickname. + */ + java.lang.String getUgcBeaconNickname(); + /** + * string ugcBeaconNickname = 5; + * @return The bytes for ugcBeaconNickname. + */ + com.google.protobuf.ByteString + getUgcBeaconNicknameBytes(); + + /** + * int32 ActionId = 6; + * @return The actionId. + */ + int getActionId(); + + /** + * int32 ActionValue = 7; + * @return The actionValue. + */ + int getActionValue(); + + /** + * .BoolType IsShowNpcLocation = 8; + * @return The enum numeric value on the wire for isShowNpcLocation. + */ + int getIsShowNpcLocationValue(); + /** + * .BoolType IsShowNpcLocation = 8; + * @return The isShowNpcLocation. + */ + com.caliverse.admin.domain.RabbitMq.message.BoolType getIsShowNpcLocation(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameTextDataForClient.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameTextDataForClient.java new file mode 100644 index 0000000..05b51b3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameTextDataForClient.java @@ -0,0 +1,882 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqGameTextDataForClient} + */ +public final class UgqGameTextDataForClient extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqGameTextDataForClient) + UgqGameTextDataForClientOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqGameTextDataForClient.newBuilder() to construct. + private UgqGameTextDataForClient(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqGameTextDataForClient() { + kr_ = ""; + en_ = ""; + jp_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqGameTextDataForClient(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameTextDataForClient_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameTextDataForClient_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.class, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder.class); + } + + private int bitField0_; + public static final int KR_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object kr_ = ""; + /** + * optional string kr = 1; + * @return Whether the kr field is set. + */ + @java.lang.Override + public boolean hasKr() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string kr = 1; + * @return The kr. + */ + @java.lang.Override + public java.lang.String getKr() { + java.lang.Object ref = kr_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kr_ = s; + return s; + } + } + /** + * optional string kr = 1; + * @return The bytes for kr. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKrBytes() { + java.lang.Object ref = kr_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kr_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object en_ = ""; + /** + * optional string en = 2; + * @return Whether the en field is set. + */ + @java.lang.Override + public boolean hasEn() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string en = 2; + * @return The en. + */ + @java.lang.Override + public java.lang.String getEn() { + java.lang.Object ref = en_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + en_ = s; + return s; + } + } + /** + * optional string en = 2; + * @return The bytes for en. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getEnBytes() { + java.lang.Object ref = en_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + en_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int JP_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object jp_ = ""; + /** + * optional string jp = 3; + * @return Whether the jp field is set. + */ + @java.lang.Override + public boolean hasJp() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string jp = 3; + * @return The jp. + */ + @java.lang.Override + public java.lang.String getJp() { + java.lang.Object ref = jp_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jp_ = s; + return s; + } + } + /** + * optional string jp = 3; + * @return The bytes for jp. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getJpBytes() { + java.lang.Object ref = jp_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kr_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, en_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, jp_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kr_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, en_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jp_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient other = (com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient) obj; + + if (hasKr() != other.hasKr()) return false; + if (hasKr()) { + if (!getKr() + .equals(other.getKr())) return false; + } + if (hasEn() != other.hasEn()) return false; + if (hasEn()) { + if (!getEn() + .equals(other.getEn())) return false; + } + if (hasJp() != other.hasJp()) return false; + if (hasJp()) { + if (!getJp() + .equals(other.getJp())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasKr()) { + hash = (37 * hash) + KR_FIELD_NUMBER; + hash = (53 * hash) + getKr().hashCode(); + } + if (hasEn()) { + hash = (37 * hash) + EN_FIELD_NUMBER; + hash = (53 * hash) + getEn().hashCode(); + } + if (hasJp()) { + hash = (37 * hash) + JP_FIELD_NUMBER; + hash = (53 * hash) + getJp().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqGameTextDataForClient} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqGameTextDataForClient) + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameTextDataForClient_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameTextDataForClient_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.class, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + kr_ = ""; + en_ = ""; + jp_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqGameTextDataForClient_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient build() { + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient result = new com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.kr_ = kr_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.en_ = en_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.jp_ = jp_; + to_bitField0_ |= 0x00000004; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance()) return this; + if (other.hasKr()) { + kr_ = other.kr_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasEn()) { + en_ = other.en_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasJp()) { + jp_ = other.jp_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + kr_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + en_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + jp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object kr_ = ""; + /** + * optional string kr = 1; + * @return Whether the kr field is set. + */ + public boolean hasKr() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string kr = 1; + * @return The kr. + */ + public java.lang.String getKr() { + java.lang.Object ref = kr_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kr_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string kr = 1; + * @return The bytes for kr. + */ + public com.google.protobuf.ByteString + getKrBytes() { + java.lang.Object ref = kr_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kr_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string kr = 1; + * @param value The kr to set. + * @return This builder for chaining. + */ + public Builder setKr( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + kr_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * optional string kr = 1; + * @return This builder for chaining. + */ + public Builder clearKr() { + kr_ = getDefaultInstance().getKr(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * optional string kr = 1; + * @param value The bytes for kr to set. + * @return This builder for chaining. + */ + public Builder setKrBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + kr_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object en_ = ""; + /** + * optional string en = 2; + * @return Whether the en field is set. + */ + public boolean hasEn() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string en = 2; + * @return The en. + */ + public java.lang.String getEn() { + java.lang.Object ref = en_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + en_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string en = 2; + * @return The bytes for en. + */ + public com.google.protobuf.ByteString + getEnBytes() { + java.lang.Object ref = en_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + en_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string en = 2; + * @param value The en to set. + * @return This builder for chaining. + */ + public Builder setEn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + en_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * optional string en = 2; + * @return This builder for chaining. + */ + public Builder clearEn() { + en_ = getDefaultInstance().getEn(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * optional string en = 2; + * @param value The bytes for en to set. + * @return This builder for chaining. + */ + public Builder setEnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + en_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object jp_ = ""; + /** + * optional string jp = 3; + * @return Whether the jp field is set. + */ + public boolean hasJp() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string jp = 3; + * @return The jp. + */ + public java.lang.String getJp() { + java.lang.Object ref = jp_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jp_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string jp = 3; + * @return The bytes for jp. + */ + public com.google.protobuf.ByteString + getJpBytes() { + java.lang.Object ref = jp_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string jp = 3; + * @param value The jp to set. + * @return This builder for chaining. + */ + public Builder setJp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + jp_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * optional string jp = 3; + * @return This builder for chaining. + */ + public Builder clearJp() { + jp_ = getDefaultInstance().getJp(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * optional string jp = 3; + * @param value The bytes for jp to set. + * @return This builder for chaining. + */ + public Builder setJpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + jp_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqGameTextDataForClient) + } + + // @@protoc_insertion_point(class_scope:UgqGameTextDataForClient) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqGameTextDataForClient parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameTextDataForClientOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameTextDataForClientOrBuilder.java new file mode 100644 index 0000000..cc5604b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGameTextDataForClientOrBuilder.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqGameTextDataForClientOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqGameTextDataForClient) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string kr = 1; + * @return Whether the kr field is set. + */ + boolean hasKr(); + /** + * optional string kr = 1; + * @return The kr. + */ + java.lang.String getKr(); + /** + * optional string kr = 1; + * @return The bytes for kr. + */ + com.google.protobuf.ByteString + getKrBytes(); + + /** + * optional string en = 2; + * @return Whether the en field is set. + */ + boolean hasEn(); + /** + * optional string en = 2; + * @return The en. + */ + java.lang.String getEn(); + /** + * optional string en = 2; + * @return The bytes for en. + */ + com.google.protobuf.ByteString + getEnBytes(); + + /** + * optional string jp = 3; + * @return Whether the jp field is set. + */ + boolean hasJp(); + /** + * optional string jp = 3; + * @return The jp. + */ + java.lang.String getJp(); + /** + * optional string jp = 3; + * @return The bytes for jp. + */ + com.google.protobuf.ByteString + getJpBytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGradeType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGradeType.java new file mode 100644 index 0000000..c846057 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqGradeType.java @@ -0,0 +1,153 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * UGQ   
+ * 
+ * + * Protobuf enum {@code UgqGradeType} + */ +public enum UgqGradeType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * UgqGradeType_None = 0; + */ + UgqGradeType_None(0), + /** + * UgqGradeType_Amature = 1; + */ + UgqGradeType_Amature(1), + /** + * UgqGradeType_RisingStar = 2; + */ + UgqGradeType_RisingStar(2), + /** + * UgqGradeType_Master1 = 3; + */ + UgqGradeType_Master1(3), + /** + * UgqGradeType_Master2 = 4; + */ + UgqGradeType_Master2(4), + /** + * UgqGradeType_Master3 = 5; + */ + UgqGradeType_Master3(5), + UNRECOGNIZED(-1), + ; + + /** + * UgqGradeType_None = 0; + */ + public static final int UgqGradeType_None_VALUE = 0; + /** + * UgqGradeType_Amature = 1; + */ + public static final int UgqGradeType_Amature_VALUE = 1; + /** + * UgqGradeType_RisingStar = 2; + */ + public static final int UgqGradeType_RisingStar_VALUE = 2; + /** + * UgqGradeType_Master1 = 3; + */ + public static final int UgqGradeType_Master1_VALUE = 3; + /** + * UgqGradeType_Master2 = 4; + */ + public static final int UgqGradeType_Master2_VALUE = 4; + /** + * UgqGradeType_Master3 = 5; + */ + public static final int UgqGradeType_Master3_VALUE = 5; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UgqGradeType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UgqGradeType forNumber(int value) { + switch (value) { + case 0: return UgqGradeType_None; + case 1: return UgqGradeType_Amature; + case 2: return UgqGradeType_RisingStar; + case 3: return UgqGradeType_Master1; + case 4: return UgqGradeType_Master2; + case 5: return UgqGradeType_Master3; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + UgqGradeType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UgqGradeType findValueByNumber(int number) { + return UgqGradeType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(18); + } + + private static final UgqGradeType[] VALUES = values(); + + public static UgqGradeType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UgqGradeType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:UgqGradeType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqNpcInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqNpcInfo.java new file mode 100644 index 0000000..ddffc48 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqNpcInfo.java @@ -0,0 +1,2413 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqNpcInfo} + */ +public final class UgqNpcInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqNpcInfo) + UgqNpcInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqNpcInfo.newBuilder() to construct. + private UgqNpcInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqNpcInfo() { + npcMetaGuid_ = ""; + ownerGuid_ = ""; + nickname_ = ""; + title_ = ""; + greeting_ = ""; + introduction_ = ""; + description_ = ""; + worldScenario_ = ""; + habitSocialActionMetaIds_ = emptyIntList(); + dialogueSocialActionMetaIds_ = emptyIntList(); + hashTagMetaIds_ = emptyIntList(); + state_ = 0; + isRegisteredAiChatServer_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqNpcInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqNpcInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqNpcInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo.class, com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo.Builder.class); + } + + public static final int NPCMETAGUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object npcMetaGuid_ = ""; + /** + * string npcMetaGuid = 1; + * @return The npcMetaGuid. + */ + @java.lang.Override + public java.lang.String getNpcMetaGuid() { + java.lang.Object ref = npcMetaGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + npcMetaGuid_ = s; + return s; + } + } + /** + * string npcMetaGuid = 1; + * @return The bytes for npcMetaGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNpcMetaGuidBytes() { + java.lang.Object ref = npcMetaGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + npcMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNERGUID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object ownerGuid_ = ""; + /** + * string ownerGuid = 2; + * @return The ownerGuid. + */ + @java.lang.Override + public java.lang.String getOwnerGuid() { + java.lang.Object ref = ownerGuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerGuid_ = s; + return s; + } + } + /** + * string ownerGuid = 2; + * @return The bytes for ownerGuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOwnerGuidBytes() { + java.lang.Object ref = ownerGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNERENTITYTYPE_FIELD_NUMBER = 3; + private int ownerEntityType_ = 0; + /** + *
+   *None = 0, User = 1, Character = 2, UgcNpc = 3
+   * 
+ * + * int32 ownerEntityType = 3; + * @return The ownerEntityType. + */ + @java.lang.Override + public int getOwnerEntityType() { + return ownerEntityType_; + } + + public static final int NICKNAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object nickname_ = ""; + /** + * string nickname = 4; + * @return The nickname. + */ + @java.lang.Override + public java.lang.String getNickname() { + java.lang.Object ref = nickname_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickname_ = s; + return s; + } + } + /** + * string nickname = 4; + * @return The bytes for nickname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNicknameBytes() { + java.lang.Object ref = nickname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TITLE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object title_ = ""; + /** + * string title = 5; + * @return The title. + */ + @java.lang.Override + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } + } + /** + * string title = 5; + * @return The bytes for title. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GREETING_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object greeting_ = ""; + /** + * string greeting = 6; + * @return The greeting. + */ + @java.lang.Override + public java.lang.String getGreeting() { + java.lang.Object ref = greeting_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + greeting_ = s; + return s; + } + } + /** + * string greeting = 6; + * @return The bytes for greeting. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGreetingBytes() { + java.lang.Object ref = greeting_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + greeting_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INTRODUCTION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object introduction_ = ""; + /** + * string introduction = 7; + * @return The introduction. + */ + @java.lang.Override + public java.lang.String getIntroduction() { + java.lang.Object ref = introduction_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + introduction_ = s; + return s; + } + } + /** + * string introduction = 7; + * @return The bytes for introduction. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIntroductionBytes() { + java.lang.Object ref = introduction_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + introduction_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + * string description = 8; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + * string description = 8; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WORLDSCENARIO_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private volatile java.lang.Object worldScenario_ = ""; + /** + * string worldScenario = 9; + * @return The worldScenario. + */ + @java.lang.Override + public java.lang.String getWorldScenario() { + java.lang.Object ref = worldScenario_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + worldScenario_ = s; + return s; + } + } + /** + * string worldScenario = 9; + * @return The bytes for worldScenario. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorldScenarioBytes() { + java.lang.Object ref = worldScenario_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + worldScenario_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEFAULTSOCIALACTIONMETAID_FIELD_NUMBER = 10; + private int defaultSocialActionMetaId_ = 0; + /** + * uint32 defaultSocialActionMetaId = 10; + * @return The defaultSocialActionMetaId. + */ + @java.lang.Override + public int getDefaultSocialActionMetaId() { + return defaultSocialActionMetaId_; + } + + public static final int HABITSOCIALACTIONMETAIDS_FIELD_NUMBER = 11; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList habitSocialActionMetaIds_; + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @return A list containing the habitSocialActionMetaIds. + */ + @java.lang.Override + public java.util.List + getHabitSocialActionMetaIdsList() { + return habitSocialActionMetaIds_; + } + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @return The count of habitSocialActionMetaIds. + */ + public int getHabitSocialActionMetaIdsCount() { + return habitSocialActionMetaIds_.size(); + } + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @param index The index of the element to return. + * @return The habitSocialActionMetaIds at the given index. + */ + public int getHabitSocialActionMetaIds(int index) { + return habitSocialActionMetaIds_.getInt(index); + } + private int habitSocialActionMetaIdsMemoizedSerializedSize = -1; + + public static final int DIALOGUESOCIALACTIONMETAIDS_FIELD_NUMBER = 12; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList dialogueSocialActionMetaIds_; + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @return A list containing the dialogueSocialActionMetaIds. + */ + @java.lang.Override + public java.util.List + getDialogueSocialActionMetaIdsList() { + return dialogueSocialActionMetaIds_; + } + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @return The count of dialogueSocialActionMetaIds. + */ + public int getDialogueSocialActionMetaIdsCount() { + return dialogueSocialActionMetaIds_.size(); + } + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @param index The index of the element to return. + * @return The dialogueSocialActionMetaIds at the given index. + */ + public int getDialogueSocialActionMetaIds(int index) { + return dialogueSocialActionMetaIds_.getInt(index); + } + private int dialogueSocialActionMetaIdsMemoizedSerializedSize = -1; + + public static final int BODYITEMMETAID_FIELD_NUMBER = 13; + private int bodyItemMetaId_ = 0; + /** + * uint32 bodyItemMetaId = 13; + * @return The bodyItemMetaId. + */ + @java.lang.Override + public int getBodyItemMetaId() { + return bodyItemMetaId_; + } + + public static final int HASHTAGMETAIDS_FIELD_NUMBER = 14; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList hashTagMetaIds_; + /** + * repeated uint32 hashTagMetaIds = 14; + * @return A list containing the hashTagMetaIds. + */ + @java.lang.Override + public java.util.List + getHashTagMetaIdsList() { + return hashTagMetaIds_; + } + /** + * repeated uint32 hashTagMetaIds = 14; + * @return The count of hashTagMetaIds. + */ + public int getHashTagMetaIdsCount() { + return hashTagMetaIds_.size(); + } + /** + * repeated uint32 hashTagMetaIds = 14; + * @param index The index of the element to return. + * @return The hashTagMetaIds at the given index. + */ + public int getHashTagMetaIds(int index) { + return hashTagMetaIds_.getInt(index); + } + private int hashTagMetaIdsMemoizedSerializedSize = -1; + + public static final int STATE_FIELD_NUMBER = 15; + private int state_ = 0; + /** + * .EntityStateType state = 15; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + * .EntityStateType state = 15; + * @return The state. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.EntityStateType getState() { + com.caliverse.admin.domain.RabbitMq.message.EntityStateType result = com.caliverse.admin.domain.RabbitMq.message.EntityStateType.forNumber(state_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateType.UNRECOGNIZED : result; + } + + public static final int ISREGISTEREDAICHATSERVER_FIELD_NUMBER = 16; + private int isRegisteredAiChatServer_ = 0; + /** + * .BoolType isRegisteredAiChatServer = 16; + * @return The enum numeric value on the wire for isRegisteredAiChatServer. + */ + @java.lang.Override public int getIsRegisteredAiChatServerValue() { + return isRegisteredAiChatServer_; + } + /** + * .BoolType isRegisteredAiChatServer = 16; + * @return The isRegisteredAiChatServer. + */ + @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsRegisteredAiChatServer() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isRegisteredAiChatServer_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(npcMetaGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, npcMetaGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerGuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerGuid_); + } + if (ownerEntityType_ != 0) { + output.writeInt32(3, ownerEntityType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, nickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, title_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greeting_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, greeting_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(introduction_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, introduction_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, description_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(worldScenario_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, worldScenario_); + } + if (defaultSocialActionMetaId_ != 0) { + output.writeUInt32(10, defaultSocialActionMetaId_); + } + if (getHabitSocialActionMetaIdsList().size() > 0) { + output.writeUInt32NoTag(90); + output.writeUInt32NoTag(habitSocialActionMetaIdsMemoizedSerializedSize); + } + for (int i = 0; i < habitSocialActionMetaIds_.size(); i++) { + output.writeUInt32NoTag(habitSocialActionMetaIds_.getInt(i)); + } + if (getDialogueSocialActionMetaIdsList().size() > 0) { + output.writeUInt32NoTag(98); + output.writeUInt32NoTag(dialogueSocialActionMetaIdsMemoizedSerializedSize); + } + for (int i = 0; i < dialogueSocialActionMetaIds_.size(); i++) { + output.writeUInt32NoTag(dialogueSocialActionMetaIds_.getInt(i)); + } + if (bodyItemMetaId_ != 0) { + output.writeUInt32(13, bodyItemMetaId_); + } + if (getHashTagMetaIdsList().size() > 0) { + output.writeUInt32NoTag(114); + output.writeUInt32NoTag(hashTagMetaIdsMemoizedSerializedSize); + } + for (int i = 0; i < hashTagMetaIds_.size(); i++) { + output.writeUInt32NoTag(hashTagMetaIds_.getInt(i)); + } + if (state_ != com.caliverse.admin.domain.RabbitMq.message.EntityStateType.EntityStateType_None.getNumber()) { + output.writeEnum(15, state_); + } + if (isRegisteredAiChatServer_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + output.writeEnum(16, isRegisteredAiChatServer_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(npcMetaGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, npcMetaGuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerGuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerGuid_); + } + if (ownerEntityType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, ownerEntityType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nickname_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, title_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greeting_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, greeting_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(introduction_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, introduction_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, description_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(worldScenario_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, worldScenario_); + } + if (defaultSocialActionMetaId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(10, defaultSocialActionMetaId_); + } + { + int dataSize = 0; + for (int i = 0; i < habitSocialActionMetaIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(habitSocialActionMetaIds_.getInt(i)); + } + size += dataSize; + if (!getHabitSocialActionMetaIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + habitSocialActionMetaIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < dialogueSocialActionMetaIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dialogueSocialActionMetaIds_.getInt(i)); + } + size += dataSize; + if (!getDialogueSocialActionMetaIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + dialogueSocialActionMetaIdsMemoizedSerializedSize = dataSize; + } + if (bodyItemMetaId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(13, bodyItemMetaId_); + } + { + int dataSize = 0; + for (int i = 0; i < hashTagMetaIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(hashTagMetaIds_.getInt(i)); + } + size += dataSize; + if (!getHashTagMetaIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + hashTagMetaIdsMemoizedSerializedSize = dataSize; + } + if (state_ != com.caliverse.admin.domain.RabbitMq.message.EntityStateType.EntityStateType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(15, state_); + } + if (isRegisteredAiChatServer_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(16, isRegisteredAiChatServer_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo other = (com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo) obj; + + if (!getNpcMetaGuid() + .equals(other.getNpcMetaGuid())) return false; + if (!getOwnerGuid() + .equals(other.getOwnerGuid())) return false; + if (getOwnerEntityType() + != other.getOwnerEntityType()) return false; + if (!getNickname() + .equals(other.getNickname())) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getGreeting() + .equals(other.getGreeting())) return false; + if (!getIntroduction() + .equals(other.getIntroduction())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getWorldScenario() + .equals(other.getWorldScenario())) return false; + if (getDefaultSocialActionMetaId() + != other.getDefaultSocialActionMetaId()) return false; + if (!getHabitSocialActionMetaIdsList() + .equals(other.getHabitSocialActionMetaIdsList())) return false; + if (!getDialogueSocialActionMetaIdsList() + .equals(other.getDialogueSocialActionMetaIdsList())) return false; + if (getBodyItemMetaId() + != other.getBodyItemMetaId()) return false; + if (!getHashTagMetaIdsList() + .equals(other.getHashTagMetaIdsList())) return false; + if (state_ != other.state_) return false; + if (isRegisteredAiChatServer_ != other.isRegisteredAiChatServer_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NPCMETAGUID_FIELD_NUMBER; + hash = (53 * hash) + getNpcMetaGuid().hashCode(); + hash = (37 * hash) + OWNERGUID_FIELD_NUMBER; + hash = (53 * hash) + getOwnerGuid().hashCode(); + hash = (37 * hash) + OWNERENTITYTYPE_FIELD_NUMBER; + hash = (53 * hash) + getOwnerEntityType(); + hash = (37 * hash) + NICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getNickname().hashCode(); + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); + hash = (37 * hash) + GREETING_FIELD_NUMBER; + hash = (53 * hash) + getGreeting().hashCode(); + hash = (37 * hash) + INTRODUCTION_FIELD_NUMBER; + hash = (53 * hash) + getIntroduction().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + WORLDSCENARIO_FIELD_NUMBER; + hash = (53 * hash) + getWorldScenario().hashCode(); + hash = (37 * hash) + DEFAULTSOCIALACTIONMETAID_FIELD_NUMBER; + hash = (53 * hash) + getDefaultSocialActionMetaId(); + if (getHabitSocialActionMetaIdsCount() > 0) { + hash = (37 * hash) + HABITSOCIALACTIONMETAIDS_FIELD_NUMBER; + hash = (53 * hash) + getHabitSocialActionMetaIdsList().hashCode(); + } + if (getDialogueSocialActionMetaIdsCount() > 0) { + hash = (37 * hash) + DIALOGUESOCIALACTIONMETAIDS_FIELD_NUMBER; + hash = (53 * hash) + getDialogueSocialActionMetaIdsList().hashCode(); + } + hash = (37 * hash) + BODYITEMMETAID_FIELD_NUMBER; + hash = (53 * hash) + getBodyItemMetaId(); + if (getHashTagMetaIdsCount() > 0) { + hash = (37 * hash) + HASHTAGMETAIDS_FIELD_NUMBER; + hash = (53 * hash) + getHashTagMetaIdsList().hashCode(); + } + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (37 * hash) + ISREGISTEREDAICHATSERVER_FIELD_NUMBER; + hash = (53 * hash) + isRegisteredAiChatServer_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqNpcInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqNpcInfo) + com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqNpcInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqNpcInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo.class, com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + npcMetaGuid_ = ""; + ownerGuid_ = ""; + ownerEntityType_ = 0; + nickname_ = ""; + title_ = ""; + greeting_ = ""; + introduction_ = ""; + description_ = ""; + worldScenario_ = ""; + defaultSocialActionMetaId_ = 0; + habitSocialActionMetaIds_ = emptyIntList(); + dialogueSocialActionMetaIds_ = emptyIntList(); + bodyItemMetaId_ = 0; + hashTagMetaIds_ = emptyIntList(); + state_ = 0; + isRegisteredAiChatServer_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqNpcInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo build() { + com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo result = new com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo result) { + if (((bitField0_ & 0x00000400) != 0)) { + habitSocialActionMetaIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000400); + } + result.habitSocialActionMetaIds_ = habitSocialActionMetaIds_; + if (((bitField0_ & 0x00000800) != 0)) { + dialogueSocialActionMetaIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000800); + } + result.dialogueSocialActionMetaIds_ = dialogueSocialActionMetaIds_; + if (((bitField0_ & 0x00002000) != 0)) { + hashTagMetaIds_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00002000); + } + result.hashTagMetaIds_ = hashTagMetaIds_; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.npcMetaGuid_ = npcMetaGuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.ownerGuid_ = ownerGuid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.ownerEntityType_ = ownerEntityType_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.nickname_ = nickname_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.title_ = title_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.greeting_ = greeting_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.introduction_ = introduction_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.worldScenario_ = worldScenario_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.defaultSocialActionMetaId_ = defaultSocialActionMetaId_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.bodyItemMetaId_ = bodyItemMetaId_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.state_ = state_; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.isRegisteredAiChatServer_ = isRegisteredAiChatServer_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo.getDefaultInstance()) return this; + if (!other.getNpcMetaGuid().isEmpty()) { + npcMetaGuid_ = other.npcMetaGuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getOwnerGuid().isEmpty()) { + ownerGuid_ = other.ownerGuid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getOwnerEntityType() != 0) { + setOwnerEntityType(other.getOwnerEntityType()); + } + if (!other.getNickname().isEmpty()) { + nickname_ = other.nickname_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getTitle().isEmpty()) { + title_ = other.title_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getGreeting().isEmpty()) { + greeting_ = other.greeting_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getIntroduction().isEmpty()) { + introduction_ = other.introduction_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (!other.getWorldScenario().isEmpty()) { + worldScenario_ = other.worldScenario_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (other.getDefaultSocialActionMetaId() != 0) { + setDefaultSocialActionMetaId(other.getDefaultSocialActionMetaId()); + } + if (!other.habitSocialActionMetaIds_.isEmpty()) { + if (habitSocialActionMetaIds_.isEmpty()) { + habitSocialActionMetaIds_ = other.habitSocialActionMetaIds_; + bitField0_ = (bitField0_ & ~0x00000400); + } else { + ensureHabitSocialActionMetaIdsIsMutable(); + habitSocialActionMetaIds_.addAll(other.habitSocialActionMetaIds_); + } + onChanged(); + } + if (!other.dialogueSocialActionMetaIds_.isEmpty()) { + if (dialogueSocialActionMetaIds_.isEmpty()) { + dialogueSocialActionMetaIds_ = other.dialogueSocialActionMetaIds_; + bitField0_ = (bitField0_ & ~0x00000800); + } else { + ensureDialogueSocialActionMetaIdsIsMutable(); + dialogueSocialActionMetaIds_.addAll(other.dialogueSocialActionMetaIds_); + } + onChanged(); + } + if (other.getBodyItemMetaId() != 0) { + setBodyItemMetaId(other.getBodyItemMetaId()); + } + if (!other.hashTagMetaIds_.isEmpty()) { + if (hashTagMetaIds_.isEmpty()) { + hashTagMetaIds_ = other.hashTagMetaIds_; + bitField0_ = (bitField0_ & ~0x00002000); + } else { + ensureHashTagMetaIdsIsMutable(); + hashTagMetaIds_.addAll(other.hashTagMetaIds_); + } + onChanged(); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.isRegisteredAiChatServer_ != 0) { + setIsRegisteredAiChatServerValue(other.getIsRegisteredAiChatServerValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + npcMetaGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + ownerGuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + ownerEntityType_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + nickname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + greeting_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + introduction_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + worldScenario_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: { + defaultSocialActionMetaId_ = input.readUInt32(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + int v = input.readUInt32(); + ensureHabitSocialActionMetaIdsIsMutable(); + habitSocialActionMetaIds_.addInt(v); + break; + } // case 88 + case 90: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureHabitSocialActionMetaIdsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + habitSocialActionMetaIds_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } // case 90 + case 96: { + int v = input.readUInt32(); + ensureDialogueSocialActionMetaIdsIsMutable(); + dialogueSocialActionMetaIds_.addInt(v); + break; + } // case 96 + case 98: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureDialogueSocialActionMetaIdsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + dialogueSocialActionMetaIds_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } // case 98 + case 104: { + bodyItemMetaId_ = input.readUInt32(); + bitField0_ |= 0x00001000; + break; + } // case 104 + case 112: { + int v = input.readUInt32(); + ensureHashTagMetaIdsIsMutable(); + hashTagMetaIds_.addInt(v); + break; + } // case 112 + case 114: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureHashTagMetaIdsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + hashTagMetaIds_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } // case 114 + case 120: { + state_ = input.readEnum(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 128: { + isRegisteredAiChatServer_ = input.readEnum(); + bitField0_ |= 0x00008000; + break; + } // case 128 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object npcMetaGuid_ = ""; + /** + * string npcMetaGuid = 1; + * @return The npcMetaGuid. + */ + public java.lang.String getNpcMetaGuid() { + java.lang.Object ref = npcMetaGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + npcMetaGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string npcMetaGuid = 1; + * @return The bytes for npcMetaGuid. + */ + public com.google.protobuf.ByteString + getNpcMetaGuidBytes() { + java.lang.Object ref = npcMetaGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + npcMetaGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string npcMetaGuid = 1; + * @param value The npcMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setNpcMetaGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + npcMetaGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string npcMetaGuid = 1; + * @return This builder for chaining. + */ + public Builder clearNpcMetaGuid() { + npcMetaGuid_ = getDefaultInstance().getNpcMetaGuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string npcMetaGuid = 1; + * @param value The bytes for npcMetaGuid to set. + * @return This builder for chaining. + */ + public Builder setNpcMetaGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + npcMetaGuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object ownerGuid_ = ""; + /** + * string ownerGuid = 2; + * @return The ownerGuid. + */ + public java.lang.String getOwnerGuid() { + java.lang.Object ref = ownerGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ownerGuid = 2; + * @return The bytes for ownerGuid. + */ + public com.google.protobuf.ByteString + getOwnerGuidBytes() { + java.lang.Object ref = ownerGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ownerGuid = 2; + * @param value The ownerGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerGuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ownerGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string ownerGuid = 2; + * @return This builder for chaining. + */ + public Builder clearOwnerGuid() { + ownerGuid_ = getDefaultInstance().getOwnerGuid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string ownerGuid = 2; + * @param value The bytes for ownerGuid to set. + * @return This builder for chaining. + */ + public Builder setOwnerGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ownerGuid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int ownerEntityType_ ; + /** + *
+     *None = 0, User = 1, Character = 2, UgcNpc = 3
+     * 
+ * + * int32 ownerEntityType = 3; + * @return The ownerEntityType. + */ + @java.lang.Override + public int getOwnerEntityType() { + return ownerEntityType_; + } + /** + *
+     *None = 0, User = 1, Character = 2, UgcNpc = 3
+     * 
+ * + * int32 ownerEntityType = 3; + * @param value The ownerEntityType to set. + * @return This builder for chaining. + */ + public Builder setOwnerEntityType(int value) { + + ownerEntityType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     *None = 0, User = 1, Character = 2, UgcNpc = 3
+     * 
+ * + * int32 ownerEntityType = 3; + * @return This builder for chaining. + */ + public Builder clearOwnerEntityType() { + bitField0_ = (bitField0_ & ~0x00000004); + ownerEntityType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object nickname_ = ""; + /** + * string nickname = 4; + * @return The nickname. + */ + public java.lang.String getNickname() { + java.lang.Object ref = nickname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nickname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string nickname = 4; + * @return The bytes for nickname. + */ + public com.google.protobuf.ByteString + getNicknameBytes() { + java.lang.Object ref = nickname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string nickname = 4; + * @param value The nickname to set. + * @return This builder for chaining. + */ + public Builder setNickname( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nickname_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string nickname = 4; + * @return This builder for chaining. + */ + public Builder clearNickname() { + nickname_ = getDefaultInstance().getNickname(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string nickname = 4; + * @param value The bytes for nickname to set. + * @return This builder for chaining. + */ + public Builder setNicknameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nickname_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object title_ = ""; + /** + * string title = 5; + * @return The title. + */ + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string title = 5; + * @return The bytes for title. + */ + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string title = 5; + * @param value The title to set. + * @return This builder for chaining. + */ + public Builder setTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + title_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string title = 5; + * @return This builder for chaining. + */ + public Builder clearTitle() { + title_ = getDefaultInstance().getTitle(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string title = 5; + * @param value The bytes for title to set. + * @return This builder for chaining. + */ + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + title_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object greeting_ = ""; + /** + * string greeting = 6; + * @return The greeting. + */ + public java.lang.String getGreeting() { + java.lang.Object ref = greeting_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + greeting_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string greeting = 6; + * @return The bytes for greeting. + */ + public com.google.protobuf.ByteString + getGreetingBytes() { + java.lang.Object ref = greeting_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + greeting_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string greeting = 6; + * @param value The greeting to set. + * @return This builder for chaining. + */ + public Builder setGreeting( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + greeting_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * string greeting = 6; + * @return This builder for chaining. + */ + public Builder clearGreeting() { + greeting_ = getDefaultInstance().getGreeting(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * string greeting = 6; + * @param value The bytes for greeting to set. + * @return This builder for chaining. + */ + public Builder setGreetingBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + greeting_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object introduction_ = ""; + /** + * string introduction = 7; + * @return The introduction. + */ + public java.lang.String getIntroduction() { + java.lang.Object ref = introduction_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + introduction_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string introduction = 7; + * @return The bytes for introduction. + */ + public com.google.protobuf.ByteString + getIntroductionBytes() { + java.lang.Object ref = introduction_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + introduction_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string introduction = 7; + * @param value The introduction to set. + * @return This builder for chaining. + */ + public Builder setIntroduction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + introduction_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * string introduction = 7; + * @return This builder for chaining. + */ + public Builder clearIntroduction() { + introduction_ = getDefaultInstance().getIntroduction(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * string introduction = 7; + * @param value The bytes for introduction to set. + * @return This builder for chaining. + */ + public Builder setIntroductionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + introduction_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + * string description = 8; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string description = 8; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string description = 8; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * string description = 8; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * string description = 8; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private java.lang.Object worldScenario_ = ""; + /** + * string worldScenario = 9; + * @return The worldScenario. + */ + public java.lang.String getWorldScenario() { + java.lang.Object ref = worldScenario_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + worldScenario_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string worldScenario = 9; + * @return The bytes for worldScenario. + */ + public com.google.protobuf.ByteString + getWorldScenarioBytes() { + java.lang.Object ref = worldScenario_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + worldScenario_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string worldScenario = 9; + * @param value The worldScenario to set. + * @return This builder for chaining. + */ + public Builder setWorldScenario( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + worldScenario_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * string worldScenario = 9; + * @return This builder for chaining. + */ + public Builder clearWorldScenario() { + worldScenario_ = getDefaultInstance().getWorldScenario(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + * string worldScenario = 9; + * @param value The bytes for worldScenario to set. + * @return This builder for chaining. + */ + public Builder setWorldScenarioBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + worldScenario_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private int defaultSocialActionMetaId_ ; + /** + * uint32 defaultSocialActionMetaId = 10; + * @return The defaultSocialActionMetaId. + */ + @java.lang.Override + public int getDefaultSocialActionMetaId() { + return defaultSocialActionMetaId_; + } + /** + * uint32 defaultSocialActionMetaId = 10; + * @param value The defaultSocialActionMetaId to set. + * @return This builder for chaining. + */ + public Builder setDefaultSocialActionMetaId(int value) { + + defaultSocialActionMetaId_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * uint32 defaultSocialActionMetaId = 10; + * @return This builder for chaining. + */ + public Builder clearDefaultSocialActionMetaId() { + bitField0_ = (bitField0_ & ~0x00000200); + defaultSocialActionMetaId_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList habitSocialActionMetaIds_ = emptyIntList(); + private void ensureHabitSocialActionMetaIdsIsMutable() { + if (!((bitField0_ & 0x00000400) != 0)) { + habitSocialActionMetaIds_ = mutableCopy(habitSocialActionMetaIds_); + bitField0_ |= 0x00000400; + } + } + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @return A list containing the habitSocialActionMetaIds. + */ + public java.util.List + getHabitSocialActionMetaIdsList() { + return ((bitField0_ & 0x00000400) != 0) ? + java.util.Collections.unmodifiableList(habitSocialActionMetaIds_) : habitSocialActionMetaIds_; + } + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @return The count of habitSocialActionMetaIds. + */ + public int getHabitSocialActionMetaIdsCount() { + return habitSocialActionMetaIds_.size(); + } + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @param index The index of the element to return. + * @return The habitSocialActionMetaIds at the given index. + */ + public int getHabitSocialActionMetaIds(int index) { + return habitSocialActionMetaIds_.getInt(index); + } + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @param index The index to set the value at. + * @param value The habitSocialActionMetaIds to set. + * @return This builder for chaining. + */ + public Builder setHabitSocialActionMetaIds( + int index, int value) { + + ensureHabitSocialActionMetaIdsIsMutable(); + habitSocialActionMetaIds_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @param value The habitSocialActionMetaIds to add. + * @return This builder for chaining. + */ + public Builder addHabitSocialActionMetaIds(int value) { + + ensureHabitSocialActionMetaIdsIsMutable(); + habitSocialActionMetaIds_.addInt(value); + onChanged(); + return this; + } + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @param values The habitSocialActionMetaIds to add. + * @return This builder for chaining. + */ + public Builder addAllHabitSocialActionMetaIds( + java.lang.Iterable values) { + ensureHabitSocialActionMetaIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, habitSocialActionMetaIds_); + onChanged(); + return this; + } + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @return This builder for chaining. + */ + public Builder clearHabitSocialActionMetaIds() { + habitSocialActionMetaIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList dialogueSocialActionMetaIds_ = emptyIntList(); + private void ensureDialogueSocialActionMetaIdsIsMutable() { + if (!((bitField0_ & 0x00000800) != 0)) { + dialogueSocialActionMetaIds_ = mutableCopy(dialogueSocialActionMetaIds_); + bitField0_ |= 0x00000800; + } + } + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @return A list containing the dialogueSocialActionMetaIds. + */ + public java.util.List + getDialogueSocialActionMetaIdsList() { + return ((bitField0_ & 0x00000800) != 0) ? + java.util.Collections.unmodifiableList(dialogueSocialActionMetaIds_) : dialogueSocialActionMetaIds_; + } + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @return The count of dialogueSocialActionMetaIds. + */ + public int getDialogueSocialActionMetaIdsCount() { + return dialogueSocialActionMetaIds_.size(); + } + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @param index The index of the element to return. + * @return The dialogueSocialActionMetaIds at the given index. + */ + public int getDialogueSocialActionMetaIds(int index) { + return dialogueSocialActionMetaIds_.getInt(index); + } + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @param index The index to set the value at. + * @param value The dialogueSocialActionMetaIds to set. + * @return This builder for chaining. + */ + public Builder setDialogueSocialActionMetaIds( + int index, int value) { + + ensureDialogueSocialActionMetaIdsIsMutable(); + dialogueSocialActionMetaIds_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @param value The dialogueSocialActionMetaIds to add. + * @return This builder for chaining. + */ + public Builder addDialogueSocialActionMetaIds(int value) { + + ensureDialogueSocialActionMetaIdsIsMutable(); + dialogueSocialActionMetaIds_.addInt(value); + onChanged(); + return this; + } + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @param values The dialogueSocialActionMetaIds to add. + * @return This builder for chaining. + */ + public Builder addAllDialogueSocialActionMetaIds( + java.lang.Iterable values) { + ensureDialogueSocialActionMetaIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dialogueSocialActionMetaIds_); + onChanged(); + return this; + } + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @return This builder for chaining. + */ + public Builder clearDialogueSocialActionMetaIds() { + dialogueSocialActionMetaIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + + private int bodyItemMetaId_ ; + /** + * uint32 bodyItemMetaId = 13; + * @return The bodyItemMetaId. + */ + @java.lang.Override + public int getBodyItemMetaId() { + return bodyItemMetaId_; + } + /** + * uint32 bodyItemMetaId = 13; + * @param value The bodyItemMetaId to set. + * @return This builder for chaining. + */ + public Builder setBodyItemMetaId(int value) { + + bodyItemMetaId_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * uint32 bodyItemMetaId = 13; + * @return This builder for chaining. + */ + public Builder clearBodyItemMetaId() { + bitField0_ = (bitField0_ & ~0x00001000); + bodyItemMetaId_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList hashTagMetaIds_ = emptyIntList(); + private void ensureHashTagMetaIdsIsMutable() { + if (!((bitField0_ & 0x00002000) != 0)) { + hashTagMetaIds_ = mutableCopy(hashTagMetaIds_); + bitField0_ |= 0x00002000; + } + } + /** + * repeated uint32 hashTagMetaIds = 14; + * @return A list containing the hashTagMetaIds. + */ + public java.util.List + getHashTagMetaIdsList() { + return ((bitField0_ & 0x00002000) != 0) ? + java.util.Collections.unmodifiableList(hashTagMetaIds_) : hashTagMetaIds_; + } + /** + * repeated uint32 hashTagMetaIds = 14; + * @return The count of hashTagMetaIds. + */ + public int getHashTagMetaIdsCount() { + return hashTagMetaIds_.size(); + } + /** + * repeated uint32 hashTagMetaIds = 14; + * @param index The index of the element to return. + * @return The hashTagMetaIds at the given index. + */ + public int getHashTagMetaIds(int index) { + return hashTagMetaIds_.getInt(index); + } + /** + * repeated uint32 hashTagMetaIds = 14; + * @param index The index to set the value at. + * @param value The hashTagMetaIds to set. + * @return This builder for chaining. + */ + public Builder setHashTagMetaIds( + int index, int value) { + + ensureHashTagMetaIdsIsMutable(); + hashTagMetaIds_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated uint32 hashTagMetaIds = 14; + * @param value The hashTagMetaIds to add. + * @return This builder for chaining. + */ + public Builder addHashTagMetaIds(int value) { + + ensureHashTagMetaIdsIsMutable(); + hashTagMetaIds_.addInt(value); + onChanged(); + return this; + } + /** + * repeated uint32 hashTagMetaIds = 14; + * @param values The hashTagMetaIds to add. + * @return This builder for chaining. + */ + public Builder addAllHashTagMetaIds( + java.lang.Iterable values) { + ensureHashTagMetaIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, hashTagMetaIds_); + onChanged(); + return this; + } + /** + * repeated uint32 hashTagMetaIds = 14; + * @return This builder for chaining. + */ + public Builder clearHashTagMetaIds() { + hashTagMetaIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00002000); + onChanged(); + return this; + } + + private int state_ = 0; + /** + * .EntityStateType state = 15; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + * .EntityStateType state = 15; + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + state_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + * .EntityStateType state = 15; + * @return The state. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.EntityStateType getState() { + com.caliverse.admin.domain.RabbitMq.message.EntityStateType result = com.caliverse.admin.domain.RabbitMq.message.EntityStateType.forNumber(state_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateType.UNRECOGNIZED : result; + } + /** + * .EntityStateType state = 15; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.caliverse.admin.domain.RabbitMq.message.EntityStateType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00004000; + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .EntityStateType state = 15; + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00004000); + state_ = 0; + onChanged(); + return this; + } + + private int isRegisteredAiChatServer_ = 0; + /** + * .BoolType isRegisteredAiChatServer = 16; + * @return The enum numeric value on the wire for isRegisteredAiChatServer. + */ + @java.lang.Override public int getIsRegisteredAiChatServerValue() { + return isRegisteredAiChatServer_; + } + /** + * .BoolType isRegisteredAiChatServer = 16; + * @param value The enum numeric value on the wire for isRegisteredAiChatServer to set. + * @return This builder for chaining. + */ + public Builder setIsRegisteredAiChatServerValue(int value) { + isRegisteredAiChatServer_ = value; + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + * .BoolType isRegisteredAiChatServer = 16; + * @return The isRegisteredAiChatServer. + */ + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsRegisteredAiChatServer() { + com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isRegisteredAiChatServer_); + return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result; + } + /** + * .BoolType isRegisteredAiChatServer = 16; + * @param value The isRegisteredAiChatServer to set. + * @return This builder for chaining. + */ + public Builder setIsRegisteredAiChatServer(com.caliverse.admin.domain.RabbitMq.message.BoolType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00008000; + isRegisteredAiChatServer_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .BoolType isRegisteredAiChatServer = 16; + * @return This builder for chaining. + */ + public Builder clearIsRegisteredAiChatServer() { + bitField0_ = (bitField0_ & ~0x00008000); + isRegisteredAiChatServer_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqNpcInfo) + } + + // @@protoc_insertion_point(class_scope:UgqNpcInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqNpcInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqNpcInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqNpcInfoOrBuilder.java new file mode 100644 index 0000000..83e3165 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqNpcInfoOrBuilder.java @@ -0,0 +1,200 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqNpcInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqNpcInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * string npcMetaGuid = 1; + * @return The npcMetaGuid. + */ + java.lang.String getNpcMetaGuid(); + /** + * string npcMetaGuid = 1; + * @return The bytes for npcMetaGuid. + */ + com.google.protobuf.ByteString + getNpcMetaGuidBytes(); + + /** + * string ownerGuid = 2; + * @return The ownerGuid. + */ + java.lang.String getOwnerGuid(); + /** + * string ownerGuid = 2; + * @return The bytes for ownerGuid. + */ + com.google.protobuf.ByteString + getOwnerGuidBytes(); + + /** + *
+   *None = 0, User = 1, Character = 2, UgcNpc = 3
+   * 
+ * + * int32 ownerEntityType = 3; + * @return The ownerEntityType. + */ + int getOwnerEntityType(); + + /** + * string nickname = 4; + * @return The nickname. + */ + java.lang.String getNickname(); + /** + * string nickname = 4; + * @return The bytes for nickname. + */ + com.google.protobuf.ByteString + getNicknameBytes(); + + /** + * string title = 5; + * @return The title. + */ + java.lang.String getTitle(); + /** + * string title = 5; + * @return The bytes for title. + */ + com.google.protobuf.ByteString + getTitleBytes(); + + /** + * string greeting = 6; + * @return The greeting. + */ + java.lang.String getGreeting(); + /** + * string greeting = 6; + * @return The bytes for greeting. + */ + com.google.protobuf.ByteString + getGreetingBytes(); + + /** + * string introduction = 7; + * @return The introduction. + */ + java.lang.String getIntroduction(); + /** + * string introduction = 7; + * @return The bytes for introduction. + */ + com.google.protobuf.ByteString + getIntroductionBytes(); + + /** + * string description = 8; + * @return The description. + */ + java.lang.String getDescription(); + /** + * string description = 8; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + * string worldScenario = 9; + * @return The worldScenario. + */ + java.lang.String getWorldScenario(); + /** + * string worldScenario = 9; + * @return The bytes for worldScenario. + */ + com.google.protobuf.ByteString + getWorldScenarioBytes(); + + /** + * uint32 defaultSocialActionMetaId = 10; + * @return The defaultSocialActionMetaId. + */ + int getDefaultSocialActionMetaId(); + + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @return A list containing the habitSocialActionMetaIds. + */ + java.util.List getHabitSocialActionMetaIdsList(); + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @return The count of habitSocialActionMetaIds. + */ + int getHabitSocialActionMetaIdsCount(); + /** + * repeated uint32 habitSocialActionMetaIds = 11; + * @param index The index of the element to return. + * @return The habitSocialActionMetaIds at the given index. + */ + int getHabitSocialActionMetaIds(int index); + + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @return A list containing the dialogueSocialActionMetaIds. + */ + java.util.List getDialogueSocialActionMetaIdsList(); + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @return The count of dialogueSocialActionMetaIds. + */ + int getDialogueSocialActionMetaIdsCount(); + /** + * repeated uint32 DialogueSocialActionMetaIds = 12; + * @param index The index of the element to return. + * @return The dialogueSocialActionMetaIds at the given index. + */ + int getDialogueSocialActionMetaIds(int index); + + /** + * uint32 bodyItemMetaId = 13; + * @return The bodyItemMetaId. + */ + int getBodyItemMetaId(); + + /** + * repeated uint32 hashTagMetaIds = 14; + * @return A list containing the hashTagMetaIds. + */ + java.util.List getHashTagMetaIdsList(); + /** + * repeated uint32 hashTagMetaIds = 14; + * @return The count of hashTagMetaIds. + */ + int getHashTagMetaIdsCount(); + /** + * repeated uint32 hashTagMetaIds = 14; + * @param index The index of the element to return. + * @return The hashTagMetaIds at the given index. + */ + int getHashTagMetaIds(int index); + + /** + * .EntityStateType state = 15; + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * .EntityStateType state = 15; + * @return The state. + */ + com.caliverse.admin.domain.RabbitMq.message.EntityStateType getState(); + + /** + * .BoolType isRegisteredAiChatServer = 16; + * @return The enum numeric value on the wire for isRegisteredAiChatServer. + */ + int getIsRegisteredAiChatServerValue(); + /** + * .BoolType isRegisteredAiChatServer = 16; + * @return The isRegisteredAiChatServer. + */ + com.caliverse.admin.domain.RabbitMq.message.BoolType getIsRegisteredAiChatServer(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqQuestInTestState.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqQuestInTestState.java new file mode 100644 index 0000000..d9f9d2e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqQuestInTestState.java @@ -0,0 +1,808 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf type {@code UgqQuestInTestState} + */ +public final class UgqQuestInTestState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UgqQuestInTestState) + UgqQuestInTestStateOrBuilder { +private static final long serialVersionUID = 0L; + // Use UgqQuestInTestState.newBuilder() to construct. + private UgqQuestInTestState(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UgqQuestInTestState() { + title_ = ""; + titleImagePath_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UgqQuestInTestState(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqQuestInTestState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqQuestInTestState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState.class, com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState.Builder.class); + } + + private int bitField0_; + public static final int COMPOSEDQUESTID_FIELD_NUMBER = 1; + private long composedQuestId_ = 0L; + /** + *
+   *UgqQuestId ugqQuestId = 1;
+   * 
+ * + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + + public static final int TITLE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object title_ = ""; + /** + * optional string title = 2; + * @return Whether the title field is set. + */ + @java.lang.Override + public boolean hasTitle() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string title = 2; + * @return The title. + */ + @java.lang.Override + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } + } + /** + * optional string title = 2; + * @return The bytes for title. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TITLEIMAGEPATH_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object titleImagePath_ = ""; + /** + * optional string titleImagePath = 3; + * @return Whether the titleImagePath field is set. + */ + @java.lang.Override + public boolean hasTitleImagePath() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string titleImagePath = 3; + * @return The titleImagePath. + */ + @java.lang.Override + public java.lang.String getTitleImagePath() { + java.lang.Object ref = titleImagePath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + titleImagePath_ = s; + return s; + } + } + /** + * optional string titleImagePath = 3; + * @return The bytes for titleImagePath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTitleImagePathBytes() { + java.lang.Object ref = titleImagePath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + titleImagePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (composedQuestId_ != 0L) { + output.writeInt64(1, composedQuestId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, titleImagePath_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (composedQuestId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, composedQuestId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, titleImagePath_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState other = (com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState) obj; + + if (getComposedQuestId() + != other.getComposedQuestId()) return false; + if (hasTitle() != other.hasTitle()) return false; + if (hasTitle()) { + if (!getTitle() + .equals(other.getTitle())) return false; + } + if (hasTitleImagePath() != other.hasTitleImagePath()) return false; + if (hasTitleImagePath()) { + if (!getTitleImagePath() + .equals(other.getTitleImagePath())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getComposedQuestId()); + if (hasTitle()) { + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); + } + if (hasTitleImagePath()) { + hash = (37 * hash) + TITLEIMAGEPATH_FIELD_NUMBER; + hash = (53 * hash) + getTitleImagePath().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code UgqQuestInTestState} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UgqQuestInTestState) + com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestStateOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqQuestInTestState_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqQuestInTestState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState.class, com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + composedQuestId_ = 0L; + title_ = ""; + titleImagePath_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgqQuestInTestState_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState build() { + com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState result = new com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.composedQuestId_ = composedQuestId_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.title_ = title_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.titleImagePath_ = titleImagePath_; + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState.getDefaultInstance()) return this; + if (other.getComposedQuestId() != 0L) { + setComposedQuestId(other.getComposedQuestId()); + } + if (other.hasTitle()) { + title_ = other.title_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasTitleImagePath()) { + titleImagePath_ = other.titleImagePath_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + composedQuestId_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + titleImagePath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long composedQuestId_ ; + /** + *
+     *UgqQuestId ugqQuestId = 1;
+     * 
+ * + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + @java.lang.Override + public long getComposedQuestId() { + return composedQuestId_; + } + /** + *
+     *UgqQuestId ugqQuestId = 1;
+     * 
+ * + * int64 composedQuestId = 1; + * @param value The composedQuestId to set. + * @return This builder for chaining. + */ + public Builder setComposedQuestId(long value) { + + composedQuestId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     *UgqQuestId ugqQuestId = 1;
+     * 
+ * + * int64 composedQuestId = 1; + * @return This builder for chaining. + */ + public Builder clearComposedQuestId() { + bitField0_ = (bitField0_ & ~0x00000001); + composedQuestId_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object title_ = ""; + /** + * optional string title = 2; + * @return Whether the title field is set. + */ + public boolean hasTitle() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string title = 2; + * @return The title. + */ + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string title = 2; + * @return The bytes for title. + */ + public com.google.protobuf.ByteString + getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string title = 2; + * @param value The title to set. + * @return This builder for chaining. + */ + public Builder setTitle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + title_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * optional string title = 2; + * @return This builder for chaining. + */ + public Builder clearTitle() { + title_ = getDefaultInstance().getTitle(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * optional string title = 2; + * @param value The bytes for title to set. + * @return This builder for chaining. + */ + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + title_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object titleImagePath_ = ""; + /** + * optional string titleImagePath = 3; + * @return Whether the titleImagePath field is set. + */ + public boolean hasTitleImagePath() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string titleImagePath = 3; + * @return The titleImagePath. + */ + public java.lang.String getTitleImagePath() { + java.lang.Object ref = titleImagePath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + titleImagePath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string titleImagePath = 3; + * @return The bytes for titleImagePath. + */ + public com.google.protobuf.ByteString + getTitleImagePathBytes() { + java.lang.Object ref = titleImagePath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + titleImagePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string titleImagePath = 3; + * @param value The titleImagePath to set. + * @return This builder for chaining. + */ + public Builder setTitleImagePath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + titleImagePath_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * optional string titleImagePath = 3; + * @return This builder for chaining. + */ + public Builder clearTitleImagePath() { + titleImagePath_ = getDefaultInstance().getTitleImagePath(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * optional string titleImagePath = 3; + * @param value The bytes for titleImagePath to set. + * @return This builder for chaining. + */ + public Builder setTitleImagePathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + titleImagePath_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UgqQuestInTestState) + } + + // @@protoc_insertion_point(class_scope:UgqQuestInTestState) + private static final com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UgqQuestInTestState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UgqQuestInTestState getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqQuestInTestStateOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqQuestInTestStateOrBuilder.java new file mode 100644 index 0000000..befd642 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqQuestInTestStateOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UgqQuestInTestStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:UgqQuestInTestState) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   *UgqQuestId ugqQuestId = 1;
+   * 
+ * + * int64 composedQuestId = 1; + * @return The composedQuestId. + */ + long getComposedQuestId(); + + /** + * optional string title = 2; + * @return Whether the title field is set. + */ + boolean hasTitle(); + /** + * optional string title = 2; + * @return The title. + */ + java.lang.String getTitle(); + /** + * optional string title = 2; + * @return The bytes for title. + */ + com.google.protobuf.ByteString + getTitleBytes(); + + /** + * optional string titleImagePath = 3; + * @return Whether the titleImagePath field is set. + */ + boolean hasTitleImagePath(); + /** + * optional string titleImagePath = 3; + * @return The titleImagePath. + */ + java.lang.String getTitleImagePath(); + /** + * optional string titleImagePath = 3; + * @return The bytes for titleImagePath. + */ + com.google.protobuf.ByteString + getTitleImagePathBytes(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqSearchCategoryType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqSearchCategoryType.java new file mode 100644 index 0000000..13b3ba8 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqSearchCategoryType.java @@ -0,0 +1,169 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * UGQ ˻ īװ  Ÿ
+ * 
+ * + * Protobuf enum {@code UgqSearchCategoryType} + */ +public enum UgqSearchCategoryType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * UgqSearchCategoryType_None = 0; + */ + UgqSearchCategoryType_None(0), + /** + *
+   *,   ƿ ִ, ϸũ ִ ޼ UGQ ȸ
+   * 
+ * + * UgqSearchCategoryType_SpotLight = 1; + */ + UgqSearchCategoryType_SpotLight(1), + /** + * UgqSearchCategoryType_GradeAmateur = 2; + */ + UgqSearchCategoryType_GradeAmateur(2), + /** + * UgqSearchCategoryType_GradeRisingStar = 3; + */ + UgqSearchCategoryType_GradeRisingStar(3), + /** + * UgqSearchCategoryType_GradeMaster = 4; + */ + UgqSearchCategoryType_GradeMaster(4), + /** + *
+   *ϸũ  
+   * 
+ * + * UgqSearchCategoryType_Bookmark = 5; + */ + UgqSearchCategoryType_Bookmark(5), + UNRECOGNIZED(-1), + ; + + /** + * UgqSearchCategoryType_None = 0; + */ + public static final int UgqSearchCategoryType_None_VALUE = 0; + /** + *
+   *,   ƿ ִ, ϸũ ִ ޼ UGQ ȸ
+   * 
+ * + * UgqSearchCategoryType_SpotLight = 1; + */ + public static final int UgqSearchCategoryType_SpotLight_VALUE = 1; + /** + * UgqSearchCategoryType_GradeAmateur = 2; + */ + public static final int UgqSearchCategoryType_GradeAmateur_VALUE = 2; + /** + * UgqSearchCategoryType_GradeRisingStar = 3; + */ + public static final int UgqSearchCategoryType_GradeRisingStar_VALUE = 3; + /** + * UgqSearchCategoryType_GradeMaster = 4; + */ + public static final int UgqSearchCategoryType_GradeMaster_VALUE = 4; + /** + *
+   *ϸũ  
+   * 
+ * + * UgqSearchCategoryType_Bookmark = 5; + */ + public static final int UgqSearchCategoryType_Bookmark_VALUE = 5; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UgqSearchCategoryType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UgqSearchCategoryType forNumber(int value) { + switch (value) { + case 0: return UgqSearchCategoryType_None; + case 1: return UgqSearchCategoryType_SpotLight; + case 2: return UgqSearchCategoryType_GradeAmateur; + case 3: return UgqSearchCategoryType_GradeRisingStar; + case 4: return UgqSearchCategoryType_GradeMaster; + case 5: return UgqSearchCategoryType_Bookmark; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + UgqSearchCategoryType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UgqSearchCategoryType findValueByNumber(int number) { + return UgqSearchCategoryType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(16); + } + + private static final UgqSearchCategoryType[] VALUES = values(); + + public static UgqSearchCategoryType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UgqSearchCategoryType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:UgqSearchCategoryType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqSearchType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqSearchType.java new file mode 100644 index 0000000..50e0294 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqSearchType.java @@ -0,0 +1,122 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf enum {@code UgqSearchType} + */ +public enum UgqSearchType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * UgqSearchType_None = 0; + */ + UgqSearchType_None(0), + /** + * UgqSearchType_Title = 1; + */ + UgqSearchType_Title(1), + /** + * UgqSearchType_Beacon = 2; + */ + UgqSearchType_Beacon(2), + UNRECOGNIZED(-1), + ; + + /** + * UgqSearchType_None = 0; + */ + public static final int UgqSearchType_None_VALUE = 0; + /** + * UgqSearchType_Title = 1; + */ + public static final int UgqSearchType_Title_VALUE = 1; + /** + * UgqSearchType_Beacon = 2; + */ + public static final int UgqSearchType_Beacon_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UgqSearchType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UgqSearchType forNumber(int value) { + switch (value) { + case 0: return UgqSearchType_None; + case 1: return UgqSearchType_Title; + case 2: return UgqSearchType_Beacon; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + UgqSearchType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UgqSearchType findValueByNumber(int number) { + return UgqSearchType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(20); + } + + private static final UgqSearchType[] VALUES = values(); + + public static UgqSearchType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UgqSearchType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:UgqSearchType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqSortType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqSortType.java new file mode 100644 index 0000000..d748aac --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqSortType.java @@ -0,0 +1,159 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * UGQ Խ  Ÿ
+ * 
+ * + * Protobuf enum {@code UgqSortType} + */ +public enum UgqSortType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * UgqSortType_None = 0; + */ + UgqSortType_None(0), + /** + *
+   *ű
+   * 
+ * + * UgqSortType_New = 1; + */ + UgqSortType_New(1), + /** + *
+   *ƿ  
+   * 
+ * + * UgqSortType_Like = 2; + */ + UgqSortType_Like(2), + /** + *
+   *ϸũ  
+   * 
+ * + * UgqSortType_Bookmark = 3; + */ + UgqSortType_Bookmark(3), + UNRECOGNIZED(-1), + ; + + /** + * UgqSortType_None = 0; + */ + public static final int UgqSortType_None_VALUE = 0; + /** + *
+   *ű
+   * 
+ * + * UgqSortType_New = 1; + */ + public static final int UgqSortType_New_VALUE = 1; + /** + *
+   *ƿ  
+   * 
+ * + * UgqSortType_Like = 2; + */ + public static final int UgqSortType_Like_VALUE = 2; + /** + *
+   *ϸũ  
+   * 
+ * + * UgqSortType_Bookmark = 3; + */ + public static final int UgqSortType_Bookmark_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UgqSortType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UgqSortType forNumber(int value) { + switch (value) { + case 0: return UgqSortType_None; + case 1: return UgqSortType_New; + case 2: return UgqSortType_Like; + case 3: return UgqSortType_Bookmark; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + UgqSortType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UgqSortType findValueByNumber(int number) { + return UgqSortType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(19); + } + + private static final UgqSortType[] VALUES = values(); + + public static UgqSortType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UgqSortType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:UgqSortType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqStateType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqStateType.java new file mode 100644 index 0000000..c84bd5c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqStateType.java @@ -0,0 +1,197 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf enum {@code UgqStateType} + */ +public enum UgqStateType + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+   * None ΰ ý Ʈ ǹ
+   * 
+ * + * UgqStateType_None = 0; + */ + UgqStateType_None(0), + /** + *
+   * Ugq Test  Ʈ ǹ
+   * 
+ * + * UgqStateType_Test = 1; + */ + UgqStateType_Test(1), + /** + *
+   * Ugq Live  Ʈ ǹ
+   * 
+ * + * UgqStateType_Live = 2; + */ + UgqStateType_Live(2), + /** + *
+   * Ugq Shutdown 
+   * 
+ * + * UgqStateType_Shutdown = 3; + */ + UgqStateType_Shutdown(3), + /** + *
+   * Ugq  
+   * 
+ * + * UgqStateType_RevisionChanged = 4; + */ + UgqStateType_RevisionChanged(4), + /** + *
+   * ̺꿡  
+   * 
+ * + * UgqStateType_Standby = 5; + */ + UgqStateType_Standby(5), + UNRECOGNIZED(-1), + ; + + /** + *
+   * None ΰ ý Ʈ ǹ
+   * 
+ * + * UgqStateType_None = 0; + */ + public static final int UgqStateType_None_VALUE = 0; + /** + *
+   * Ugq Test  Ʈ ǹ
+   * 
+ * + * UgqStateType_Test = 1; + */ + public static final int UgqStateType_Test_VALUE = 1; + /** + *
+   * Ugq Live  Ʈ ǹ
+   * 
+ * + * UgqStateType_Live = 2; + */ + public static final int UgqStateType_Live_VALUE = 2; + /** + *
+   * Ugq Shutdown 
+   * 
+ * + * UgqStateType_Shutdown = 3; + */ + public static final int UgqStateType_Shutdown_VALUE = 3; + /** + *
+   * Ugq  
+   * 
+ * + * UgqStateType_RevisionChanged = 4; + */ + public static final int UgqStateType_RevisionChanged_VALUE = 4; + /** + *
+   * ̺꿡  
+   * 
+ * + * UgqStateType_Standby = 5; + */ + public static final int UgqStateType_Standby_VALUE = 5; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UgqStateType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UgqStateType forNumber(int value) { + switch (value) { + case 0: return UgqStateType_None; + case 1: return UgqStateType_Test; + case 2: return UgqStateType_Live; + case 3: return UgqStateType_Shutdown; + case 4: return UgqStateType_RevisionChanged; + case 5: return UgqStateType_Standby; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + UgqStateType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UgqStateType findValueByNumber(int number) { + return UgqStateType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(15); + } + + private static final UgqStateType[] VALUES = values(); + + public static UgqStateType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UgqStateType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:UgqStateType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqUICategoryGradeType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqUICategoryGradeType.java new file mode 100644 index 0000000..cd855f0 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UgqUICategoryGradeType.java @@ -0,0 +1,131 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf enum {@code UgqUICategoryGradeType} + */ +public enum UgqUICategoryGradeType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * UgqUICategoryGradeType_None = 0; + */ + UgqUICategoryGradeType_None(0), + /** + * UgqUICategoryGradeType_Amateur = 1; + */ + UgqUICategoryGradeType_Amateur(1), + /** + * UgqUICategoryGradeType_RisingStar = 2; + */ + UgqUICategoryGradeType_RisingStar(2), + /** + * UgqUICategoryGradeType_Master = 3; + */ + UgqUICategoryGradeType_Master(3), + UNRECOGNIZED(-1), + ; + + /** + * UgqUICategoryGradeType_None = 0; + */ + public static final int UgqUICategoryGradeType_None_VALUE = 0; + /** + * UgqUICategoryGradeType_Amateur = 1; + */ + public static final int UgqUICategoryGradeType_Amateur_VALUE = 1; + /** + * UgqUICategoryGradeType_RisingStar = 2; + */ + public static final int UgqUICategoryGradeType_RisingStar_VALUE = 2; + /** + * UgqUICategoryGradeType_Master = 3; + */ + public static final int UgqUICategoryGradeType_Master_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UgqUICategoryGradeType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UgqUICategoryGradeType forNumber(int value) { + switch (value) { + case 0: return UgqUICategoryGradeType_None; + case 1: return UgqUICategoryGradeType_Amateur; + case 2: return UgqUICategoryGradeType_RisingStar; + case 3: return UgqUICategoryGradeType_Master; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + UgqUICategoryGradeType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UgqUICategoryGradeType findValueByNumber(int number) { + return UgqUICategoryGradeType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(17); + } + + private static final UgqUICategoryGradeType[] VALUES = values(); + + public static UgqUICategoryGradeType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UgqUICategoryGradeType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:UgqUICategoryGradeType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UserBlockPolicyType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UserBlockPolicyType.java new file mode 100644 index 0000000..db52603 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UserBlockPolicyType.java @@ -0,0 +1,138 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf enum {@code UserBlockPolicyType} + */ +public enum UserBlockPolicyType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * UserBlockPolicyType_None = 0; + */ + UserBlockPolicyType_None(0), + /** + *
+   * 
+   * 
+ * + * UserBlockPolicyType_Access_Restrictions = 1; + */ + UserBlockPolicyType_Access_Restrictions(1), + /** + *
+   *ä 
+   * 
+ * + * UserBlockPolicyType_Chatting_Restrictions = 2; + */ + UserBlockPolicyType_Chatting_Restrictions(2), + UNRECOGNIZED(-1), + ; + + /** + * UserBlockPolicyType_None = 0; + */ + public static final int UserBlockPolicyType_None_VALUE = 0; + /** + *
+   * 
+   * 
+ * + * UserBlockPolicyType_Access_Restrictions = 1; + */ + public static final int UserBlockPolicyType_Access_Restrictions_VALUE = 1; + /** + *
+   *ä 
+   * 
+ * + * UserBlockPolicyType_Chatting_Restrictions = 2; + */ + public static final int UserBlockPolicyType_Chatting_Restrictions_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UserBlockPolicyType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UserBlockPolicyType forNumber(int value) { + switch (value) { + case 0: return UserBlockPolicyType_None; + case 1: return UserBlockPolicyType_Access_Restrictions; + case 2: return UserBlockPolicyType_Chatting_Restrictions; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + UserBlockPolicyType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UserBlockPolicyType findValueByNumber(int number) { + return UserBlockPolicyType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(27); + } + + private static final UserBlockPolicyType[] VALUES = values(); + + public static UserBlockPolicyType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UserBlockPolicyType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:UserBlockPolicyType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UserBlockReasonType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UserBlockReasonType.java new file mode 100644 index 0000000..f5ac7bb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UserBlockReasonType.java @@ -0,0 +1,274 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + * Protobuf enum {@code UserBlockReasonType} + */ +public enum UserBlockReasonType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * UserBlockReasonType_None = 0; + */ + UserBlockReasonType_None(0), + /** + *
+   *ų 
+   * 
+ * + * UserBlockReasonType_Bad_Behavior = 1; + */ + UserBlockReasonType_Bad_Behavior(1), + /** + *
+   *Ұ ̸ 
+   * 
+ * + * UserBlockReasonType_Inappropriate_Name = 2; + */ + UserBlockReasonType_Inappropriate_Name(2), + /** + *
+   *ݰŷ 
+   * 
+ * + * UserBlockReasonType_Cash_Transaction = 3; + */ + UserBlockReasonType_Cash_Transaction(3), + /** + *
+   *        
+   * 
+ * + * UserBlockReasonType_Game_Interference = 4; + */ + UserBlockReasonType_Game_Interference(4), + /** + *
+   * 
+   * 
+ * + * UserBlockReasonType_Service_Interference = 5; + */ + UserBlockReasonType_Service_Interference(5), + /** + *
+   *
+   * 
+ * + * UserBlockReasonType_Account_Impersonation = 6; + */ + UserBlockReasonType_Account_Impersonation(6), + /** + *
+   */¡      
+   * 
+ * + * UserBlockReasonType_Bug_Abuse = 7; + */ + UserBlockReasonType_Bug_Abuse(7), + /** + *
+   *ҹα׷ 
+   * 
+ * + * UserBlockReasonType_Illegal_Program = 8; + */ + UserBlockReasonType_Illegal_Program(8), + /** + *
+   * 
+   * 
+ * + * UserBlockReasonType_Personal_Info_Leak = 9; + */ + UserBlockReasonType_Personal_Info_Leak(9), + /** + *
+   * Ī
+   * 
+ * + * UserBlockReasonType_Asmin_Impersonation = 10; + */ + UserBlockReasonType_Asmin_Impersonation(10), + UNRECOGNIZED(-1), + ; + + /** + * UserBlockReasonType_None = 0; + */ + public static final int UserBlockReasonType_None_VALUE = 0; + /** + *
+   *ų 
+   * 
+ * + * UserBlockReasonType_Bad_Behavior = 1; + */ + public static final int UserBlockReasonType_Bad_Behavior_VALUE = 1; + /** + *
+   *Ұ ̸ 
+   * 
+ * + * UserBlockReasonType_Inappropriate_Name = 2; + */ + public static final int UserBlockReasonType_Inappropriate_Name_VALUE = 2; + /** + *
+   *ݰŷ 
+   * 
+ * + * UserBlockReasonType_Cash_Transaction = 3; + */ + public static final int UserBlockReasonType_Cash_Transaction_VALUE = 3; + /** + *
+   *        
+   * 
+ * + * UserBlockReasonType_Game_Interference = 4; + */ + public static final int UserBlockReasonType_Game_Interference_VALUE = 4; + /** + *
+   * 
+   * 
+ * + * UserBlockReasonType_Service_Interference = 5; + */ + public static final int UserBlockReasonType_Service_Interference_VALUE = 5; + /** + *
+   *
+   * 
+ * + * UserBlockReasonType_Account_Impersonation = 6; + */ + public static final int UserBlockReasonType_Account_Impersonation_VALUE = 6; + /** + *
+   */¡      
+   * 
+ * + * UserBlockReasonType_Bug_Abuse = 7; + */ + public static final int UserBlockReasonType_Bug_Abuse_VALUE = 7; + /** + *
+   *ҹα׷ 
+   * 
+ * + * UserBlockReasonType_Illegal_Program = 8; + */ + public static final int UserBlockReasonType_Illegal_Program_VALUE = 8; + /** + *
+   * 
+   * 
+ * + * UserBlockReasonType_Personal_Info_Leak = 9; + */ + public static final int UserBlockReasonType_Personal_Info_Leak_VALUE = 9; + /** + *
+   * Ī
+   * 
+ * + * UserBlockReasonType_Asmin_Impersonation = 10; + */ + public static final int UserBlockReasonType_Asmin_Impersonation_VALUE = 10; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UserBlockReasonType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UserBlockReasonType forNumber(int value) { + switch (value) { + case 0: return UserBlockReasonType_None; + case 1: return UserBlockReasonType_Bad_Behavior; + case 2: return UserBlockReasonType_Inappropriate_Name; + case 3: return UserBlockReasonType_Cash_Transaction; + case 4: return UserBlockReasonType_Game_Interference; + case 5: return UserBlockReasonType_Service_Interference; + case 6: return UserBlockReasonType_Account_Impersonation; + case 7: return UserBlockReasonType_Bug_Abuse; + case 8: return UserBlockReasonType_Illegal_Program; + case 9: return UserBlockReasonType_Personal_Info_Leak; + case 10: return UserBlockReasonType_Asmin_Impersonation; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + UserBlockReasonType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UserBlockReasonType findValueByNumber(int number) { + return UserBlockReasonType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(28); + } + + private static final UserBlockReasonType[] VALUES = values(); + + public static UserBlockReasonType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UserBlockReasonType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:UserBlockReasonType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UserLocationInfo.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UserLocationInfo.java new file mode 100644 index 0000000..07fb626 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UserLocationInfo.java @@ -0,0 +1,630 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ *    ġ
+ * 
+ * + * Protobuf type {@code UserLocationInfo} + */ +public final class UserLocationInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UserLocationInfo) + UserLocationInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use UserLocationInfo.newBuilder() to construct. + private UserLocationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UserLocationInfo() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UserLocationInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UserLocationInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UserLocationInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.class, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder.class); + } + + public static final int ISCHANNEL_FIELD_NUMBER = 1; + private int isChannel_ = 0; + /** + *
+   * 1:äμ, 0:νϽ 
+   * 
+ * + * int32 isChannel = 1; + * @return The isChannel. + */ + @java.lang.Override + public int getIsChannel() { + return isChannel_; + } + + public static final int ID_FIELD_NUMBER = 2; + private int id_ = 0; + /** + * int32 id = 2; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + + public static final int CHANNELNUMBER_FIELD_NUMBER = 3; + private int channelNumber_ = 0; + /** + * int32 channelNumber = 3; + * @return The channelNumber. + */ + @java.lang.Override + public int getChannelNumber() { + return channelNumber_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (isChannel_ != 0) { + output.writeInt32(1, isChannel_); + } + if (id_ != 0) { + output.writeInt32(2, id_); + } + if (channelNumber_ != 0) { + output.writeInt32(3, channelNumber_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (isChannel_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, isChannel_); + } + if (id_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, id_); + } + if (channelNumber_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, channelNumber_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo)) { + return super.equals(obj); + } + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo other = (com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo) obj; + + if (getIsChannel() + != other.getIsChannel()) return false; + if (getId() + != other.getId()) return false; + if (getChannelNumber() + != other.getChannelNumber()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ISCHANNEL_FIELD_NUMBER; + hash = (53 * hash) + getIsChannel(); + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + hash = (37 * hash) + CHANNELNUMBER_FIELD_NUMBER; + hash = (53 * hash) + getChannelNumber(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   *    ġ
+   * 
+ * + * Protobuf type {@code UserLocationInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UserLocationInfo) + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UserLocationInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UserLocationInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.class, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder.class); + } + + // Construct using com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + isChannel_ = 0; + id_ = 0; + channelNumber_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_UserLocationInfo_descriptor; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getDefaultInstanceForType() { + return com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo build() { + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo buildPartial() { + com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo result = new com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.isChannel_ = isChannel_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.id_ = id_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.channelNumber_ = channelNumber_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo) { + return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo other) { + if (other == com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance()) return this; + if (other.getIsChannel() != 0) { + setIsChannel(other.getIsChannel()); + } + if (other.getId() != 0) { + setId(other.getId()); + } + if (other.getChannelNumber() != 0) { + setChannelNumber(other.getChannelNumber()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + isChannel_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + id_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + channelNumber_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int isChannel_ ; + /** + *
+     * 1:äμ, 0:νϽ 
+     * 
+ * + * int32 isChannel = 1; + * @return The isChannel. + */ + @java.lang.Override + public int getIsChannel() { + return isChannel_; + } + /** + *
+     * 1:äμ, 0:νϽ 
+     * 
+ * + * int32 isChannel = 1; + * @param value The isChannel to set. + * @return This builder for chaining. + */ + public Builder setIsChannel(int value) { + + isChannel_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * 1:äμ, 0:νϽ 
+     * 
+ * + * int32 isChannel = 1; + * @return This builder for chaining. + */ + public Builder clearIsChannel() { + bitField0_ = (bitField0_ & ~0x00000001); + isChannel_ = 0; + onChanged(); + return this; + } + + private int id_ ; + /** + * int32 id = 2; + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } + /** + * int32 id = 2; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + + id_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 id = 2; + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000002); + id_ = 0; + onChanged(); + return this; + } + + private int channelNumber_ ; + /** + * int32 channelNumber = 3; + * @return The channelNumber. + */ + @java.lang.Override + public int getChannelNumber() { + return channelNumber_; + } + /** + * int32 channelNumber = 3; + * @param value The channelNumber to set. + * @return This builder for chaining. + */ + public Builder setChannelNumber(int value) { + + channelNumber_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * int32 channelNumber = 3; + * @return This builder for chaining. + */ + public Builder clearChannelNumber() { + bitField0_ = (bitField0_ & ~0x00000004); + channelNumber_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:UserLocationInfo) + } + + // @@protoc_insertion_point(class_scope:UserLocationInfo) + private static final com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo(); + } + + public static com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserLocationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UserLocationInfoOrBuilder.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UserLocationInfoOrBuilder.java new file mode 100644 index 0000000..9ca8e0a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/UserLocationInfoOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Define_Common.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +public interface UserLocationInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:UserLocationInfo) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * 1:äμ, 0:νϽ 
+   * 
+ * + * int32 isChannel = 1; + * @return The isChannel. + */ + int getIsChannel(); + + /** + * int32 id = 2; + * @return The id. + */ + int getId(); + + /** + * int32 channelNumber = 3; + * @return The channelNumber. + */ + int getChannelNumber(); +} diff --git a/src/main/java/com/caliverse/admin/domain/RabbitMq/message/VoteType.java b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/VoteType.java new file mode 100644 index 0000000..71464c4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/RabbitMq/message/VoteType.java @@ -0,0 +1,159 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Game_Define.proto + +package com.caliverse.admin.domain.RabbitMq.message; + +/** + *
+ * Ƽ ǥ  Ÿ
+ * 
+ * + * Protobuf enum {@code VoteType} + */ +public enum VoteType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * VoteType_None = 0; + */ + VoteType_None(0), + /** + *
+   * 
+   * 
+ * + * VoteType_Agreement = 1; + */ + VoteType_Agreement(1), + /** + *
+   * ݴ
+   * 
+ * + * VoteType_DisAgreement = 2; + */ + VoteType_DisAgreement(2), + /** + *
+   * 
+   * 
+ * + * VoteType_Abstain = 3; + */ + VoteType_Abstain(3), + UNRECOGNIZED(-1), + ; + + /** + * VoteType_None = 0; + */ + public static final int VoteType_None_VALUE = 0; + /** + *
+   * 
+   * 
+ * + * VoteType_Agreement = 1; + */ + public static final int VoteType_Agreement_VALUE = 1; + /** + *
+   * ݴ
+   * 
+ * + * VoteType_DisAgreement = 2; + */ + public static final int VoteType_DisAgreement_VALUE = 2; + /** + *
+   * 
+   * 
+ * + * VoteType_Abstain = 3; + */ + public static final int VoteType_Abstain_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static VoteType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static VoteType forNumber(int value) { + switch (value) { + case 0: return VoteType_None; + case 1: return VoteType_Agreement; + case 2: return VoteType_DisAgreement; + case 3: return VoteType_Abstain; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + VoteType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VoteType findValueByNumber(int number) { + return VoteType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(12); + } + + private static final VoteType[] VALUES = values(); + + public static VoteType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private VoteType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:VoteType) +} + diff --git a/src/main/java/com/caliverse/admin/domain/adminlog/AdminItemDeleteLog.java b/src/main/java/com/caliverse/admin/domain/adminlog/AdminItemDeleteLog.java new file mode 100644 index 0000000..472b922 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/adminlog/AdminItemDeleteLog.java @@ -0,0 +1,19 @@ +package com.caliverse.admin.domain.adminlog; + +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import org.json.JSONObject; +import org.springframework.stereotype.Service; + +public class AdminItemDeleteLog extends AdminLogBase { + + public AdminItemDeleteLog(String userGuid, String itemGuid, String itemCount){ + super(HISTORYTYPE.USER_ITEM_DELETE); + + var jsonObject = getJsonContentObject(); + + jsonObject.put("userGuid", userGuid); + jsonObject.put("itemGuid", itemGuid); + jsonObject.put("itemCount", itemCount); + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/adminlog/AdminLogBase.java b/src/main/java/com/caliverse/admin/domain/adminlog/AdminLogBase.java new file mode 100644 index 0000000..f7b6b03 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/adminlog/AdminLogBase.java @@ -0,0 +1,76 @@ +package com.caliverse.admin.domain.adminlog; + + +import com.caliverse.admin.domain.dao.admin.HistoryMapper; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.global.component.AdminApplicationContextProvider; +import lombok.Getter; +import lombok.extern.slf4j.Slf4j; +import org.json.JSONObject; +import org.springframework.context.ApplicationContext; + +import java.util.HashMap; +import java.util.Map; + + +@Slf4j +public abstract class AdminLogBase implements IAdminLog{ + + + private final HistoryMapper historyMapper; + private static ApplicationContext context; + + private final HISTORYTYPE historyType; + + protected Map map; + + @Getter + protected JSONObject jsonContentObject = new JSONObject(); + + + public AdminLogBase(HISTORYTYPE historyType) { + + this.historyMapper = AdminApplicationContextProvider.getContext().getBean(HistoryMapper.class); + this.historyType = historyType; + + jsonContentObject = new JSONObject(); + this.map = new HashMap<>(); + + makeDefaultMap(); + } + + //protected abstract void saveAdminLog(); + + + private void makeDefaultMap(){ + + + Long adminId = 0L; + String adminName = ""; + String adminMail = ""; + HISTORYTYPE type = HISTORYTYPE.NONE; + try { + adminId = CommonUtils.getAdmin().getId(); + adminName = CommonUtils.getAdmin().getName(); + adminMail = CommonUtils.getAdmin().getEmail(); + } + catch (Exception e){ + log.error("makeDefaultMap getAdmin() null error message : {}", e.getMessage()); + } + + this.map.put("adminId", adminId); + this.map.put("name", adminName); + this.map.put("mail", adminMail); + this.map.put("type", historyType); + } + + @Override + public void saveLogToDB(){ + this.map.put("content", jsonContentObject.toString()); + historyMapper.saveLog(map); + } + + + +} diff --git a/src/main/java/com/caliverse/admin/domain/adminlog/AdminLoginPermitLog.java b/src/main/java/com/caliverse/admin/domain/adminlog/AdminLoginPermitLog.java new file mode 100644 index 0000000..87d4eca --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/adminlog/AdminLoginPermitLog.java @@ -0,0 +1,14 @@ +package com.caliverse.admin.domain.adminlog; + +import com.caliverse.admin.domain.entity.AdminLog; +import com.caliverse.admin.domain.entity.HISTORYTYPE; + +public class AdminLoginPermitLog extends AdminLogBase { + + public AdminLoginPermitLog() { + super(HISTORYTYPE.LOGIN_PERMITTED); + + + + } +} diff --git a/src/main/java/com/caliverse/admin/domain/adminlog/AdminPasswordInitLog.java b/src/main/java/com/caliverse/admin/domain/adminlog/AdminPasswordInitLog.java new file mode 100644 index 0000000..ed4d1a1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/adminlog/AdminPasswordInitLog.java @@ -0,0 +1,16 @@ +package com.caliverse.admin.domain.adminlog; + + +import com.caliverse.admin.domain.entity.HISTORYTYPE; + +public class AdminPasswordInitLog extends AdminLogBase { + + public AdminPasswordInitLog(String name, String email) { + super(HISTORYTYPE.PASSWORD_INIT); + + var jsonObject = getJsonContentObject(); + + jsonObject.put("name", name); + jsonObject.put("email", email); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/adminlog/FieldChange.java b/src/main/java/com/caliverse/admin/domain/adminlog/FieldChange.java new file mode 100644 index 0000000..d99f299 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/adminlog/FieldChange.java @@ -0,0 +1,20 @@ +package com.caliverse.admin.domain.adminlog; + +import lombok.Getter; +import lombok.Setter; + +import java.io.Serializable; + +@Getter +@Setter +public class FieldChange implements Serializable { + private String fieldName; + private Object oldValue; + private Object newValue; + + public FieldChange(String fieldName, Object oldValue, Object newValue) { + this.fieldName = fieldName; + this.oldValue = oldValue; + this.newValue = newValue; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/adminlog/IAdminLog.java b/src/main/java/com/caliverse/admin/domain/adminlog/IAdminLog.java new file mode 100644 index 0000000..2e5d50c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/adminlog/IAdminLog.java @@ -0,0 +1,8 @@ +package com.caliverse.admin.domain.adminlog; + +import java.util.Map; + +public interface IAdminLog { + + public void saveLogToDB(); +} diff --git a/src/main/java/com/caliverse/admin/domain/api/AdminController.java b/src/main/java/com/caliverse/admin/domain/api/AdminController.java new file mode 100644 index 0000000..62db2a4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/AdminController.java @@ -0,0 +1,75 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.request.AdminRequest; +import com.caliverse.admin.domain.request.AuthenticateRequest; +import com.caliverse.admin.domain.response.AdminResponse; +import com.caliverse.admin.domain.response.GroupResponse; +import com.caliverse.admin.domain.service.AdminService; +import com.caliverse.admin.domain.service.GroupService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.util.Map; + +@Tag(name = "운영자 조회", description = "운영자 조회 메뉴 api 입니다.") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/admin") + +public class AdminController { + + private final AdminService adminService; + private final GroupService groupService; + + //사용자 정보 조회 + @GetMapping("/info") + public ResponseEntity getAdminInfo(){ + return ResponseEntity.ok().body(adminService.getAdminInfo()); + } + // 패스워드 초기화 + @PostMapping("/init-password") + public ResponseEntity initPassword(@RequestBody AuthenticateRequest authenticateRequest){ + return ResponseEntity.ok().body(adminService.initPassword(authenticateRequest)); + } + // 패스워드 변경 + @PatchMapping("/change-password") + public ResponseEntity updatePassword(@RequestBody AuthenticateRequest authenticateRequest){ + return ResponseEntity.ok().body(adminService.updatePassword(authenticateRequest)); + } + + // 관리자 권한 리스트 조회 + @GetMapping("/group-list") + public ResponseEntity getAllGroupList(){ + return ResponseEntity.ok().body(groupService.getAllGroups()); + } + // 운영자 리스트 조회 + @GetMapping("/list") + public ResponseEntity getAdminList( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body(adminService.getAdminList(requestParams)); + } + + // 로그인 승인/불가 + @PatchMapping + public ResponseEntity updateStatus( + @RequestBody AdminRequest adminRequest) { + return ResponseEntity.ok().body(adminService.updateStatus(adminRequest)); + } + //운영자 그룹 저장 + @PutMapping + public ResponseEntity updateGroup( + @RequestBody AdminRequest adminRequest) { + return ResponseEntity.ok().body(adminService.updateGroup(adminRequest)); + } + + // 운영자 선택 삭제 + @DeleteMapping + public ResponseEntity delete( + @RequestBody AdminRequest adminRequest) { + return ResponseEntity.ok().body(adminService.deleteAdmin(adminRequest)); + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/api/AuthenticateController.java b/src/main/java/com/caliverse/admin/domain/api/AuthenticateController.java new file mode 100644 index 0000000..37c9348 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/AuthenticateController.java @@ -0,0 +1,29 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.request.AuthenticateRequest; +import com.caliverse.admin.domain.response.AuthenticateResponse; +import com.caliverse.admin.domain.service.AuthenticateService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; +@Tag(name = "인증", description = "로그인,로그아웃,회원가입 관련 api 입니다.") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/auth") +public class AuthenticateController { + + private final AuthenticateService authenticateService; + + @PostMapping("/login") + public ResponseEntity login(@RequestBody AuthenticateRequest authenticateRequest){ + return ResponseEntity.ok().body(authenticateService.login(authenticateRequest)); + } + + @PostMapping("/register") + public ResponseEntity register(@RequestBody AuthenticateRequest authenticateRequest){ + return ResponseEntity.ok().body(authenticateService.register(authenticateRequest)); + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/api/BattleController.java b/src/main/java/com/caliverse/admin/domain/api/BattleController.java new file mode 100644 index 0000000..d052a31 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/BattleController.java @@ -0,0 +1,62 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.request.BattleEventRequest; +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.domain.response.BattleEventResponse; +import com.caliverse.admin.domain.service.BattleEventService; +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.util.Map; + +@Tag(name = "전투시스템", description = "전투시스템 api") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/battle") +public class BattleController { + private final BattleEventService battleEventService; + @GetMapping("/event/list") + public ResponseEntity getBattleEventList( + @RequestParam Map requestParam){ + return ResponseEntity.ok().body( battleEventService.getBattleEventList(requestParam)); + } + + @GetMapping("/event/detail/{id}") + public ResponseEntity getBattleEventDetail( + @PathVariable("id") Long id){ + return ResponseEntity.ok().body( battleEventService.getBattleEventDetail(id)); + } + + @GetMapping("/config/list") + public ResponseEntity getBattleConfigList(){ + return ResponseEntity.ok().body( battleEventService.getBattleConfigList()); + } + + @GetMapping("/reward/list") + public ResponseEntity getBattleRewardList(){ + return ResponseEntity.ok().body( battleEventService.getBattleRewardList()); + } + + @PostMapping("/event") + public ResponseEntity postBattleEvent( + @RequestBody BattleEventRequest battleEventRequest){ + + return ResponseEntity.ok().body(battleEventService.postBattleEvent(battleEventRequest)); + } + + @PutMapping("/event/{id}") + public ResponseEntity updateBattleEvent( + @PathVariable("id")Long id, @RequestBody BattleEventRequest battleEventRequest){ + + return ResponseEntity.ok().body(battleEventService.updateBattleEvent(id, battleEventRequest)); + } + + @DeleteMapping("/event/delete") + public ResponseEntity deleteBattleEvent( + @RequestBody BattleEventRequest battleEventRequest){ + + return ResponseEntity.ok().body(battleEventService.deleteBattleEvent(battleEventRequest)); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/api/BlackListController.java b/src/main/java/com/caliverse/admin/domain/api/BlackListController.java new file mode 100644 index 0000000..5282880 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/BlackListController.java @@ -0,0 +1,71 @@ +package com.caliverse.admin.domain.api; + +import java.util.Map; + +import org.springframework.core.io.Resource; +import org.springframework.http.HttpHeaders; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.multipart.MultipartFile; + +import com.caliverse.admin.domain.request.BlackListRequest; +import com.caliverse.admin.domain.response.BlackListResponse; +import com.caliverse.admin.domain.service.BlackListService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; + +@Tag(name = "이용자 제재 조회", description = "이용자 제재 메뉴 api 입니다.") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/black-list") +public class BlackListController { + private final BlackListService blackListService; + //이용자 제재 조회 리스트 + @GetMapping("/list") + public ResponseEntity getUserBlackList( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( blackListService.getBlackList(requestParams)); + } + + @GetMapping("/detail/{id}") + public ResponseEntity getBlackListDetail( + @PathVariable("id") Long id){ + return ResponseEntity.ok().body( blackListService.getBlackListDetail(id)); + } + @PostMapping + public ResponseEntity postBlackList( + @RequestBody BlackListRequest blackListRequest){ + return ResponseEntity.ok().body( blackListService.postBlackList(blackListRequest)); + } + @PostMapping("/excel-upload") + public ResponseEntity excelUpload( + @RequestParam("file") MultipartFile file){ + return ResponseEntity.ok().body( blackListService.excelUpload(file)); + } + + @GetMapping("/excel-down") + public ResponseEntity excelDown( + @RequestParam("file") String fileName){ + Resource resource = blackListService.excelDown(fileName); + HttpHeaders headers = new HttpHeaders(); + headers.add(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=" + fileName); + + return ResponseEntity.ok() + .headers(headers) + .body(resource); + } + + @DeleteMapping + public ResponseEntity deleteBlackList( + @RequestBody BlackListRequest blackListRequest){ + return ResponseEntity.ok().body( blackListService.deleteBlackList(blackListRequest)); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/api/BusinessLogSearchController.java b/src/main/java/com/caliverse/admin/domain/api/BusinessLogSearchController.java new file mode 100644 index 0000000..4b69698 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/BusinessLogSearchController.java @@ -0,0 +1,38 @@ +package com.caliverse.admin.domain.api; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.caliverse.admin.domain.service.UserItemService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; + +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestParam; + +import java.util.Map; + + +@Tag(name = "비즈니스 로그 조회", description = "비즈니스 로그 조회 메뉴 api 입니다.") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/businesslog") +public class BusinessLogSearchController { + + private final UserItemService userItemService; + + @GetMapping("/useritemlist") + public String getUserItemList(@RequestParam Map requestParams){ + + userItemService.getUserItemHistory(requestParams); + + + return null; + //return ResponseEntity.ok().body( userItemService.getUserItemList(requestParams)); + } + + + +} diff --git a/src/main/java/com/caliverse/admin/domain/api/CaliumController.java b/src/main/java/com/caliverse/admin/domain/api/CaliumController.java new file mode 100644 index 0000000..36a6cba --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/CaliumController.java @@ -0,0 +1,54 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.request.CaliumRequest; +import com.caliverse.admin.domain.response.CaliumResponse; +import com.caliverse.admin.domain.service.CaliumService; +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.util.Map; + +@Tag(name = "칼리움", description = "칼리움요청 조회 및 저장 api") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/calium") +public class CaliumController { + + private final CaliumService caliumService; + + // 인출 가능 칼리움 조회 + @GetMapping("/limit") + public ResponseEntity getLimit() { + return ResponseEntity.ok().body(caliumService.getCaliumLimit()); + } + + // 리스트 조회 + @GetMapping("/list") + public ResponseEntity getList( + @RequestParam Map requestParam){ + + return ResponseEntity.ok().body(caliumService.getList(requestParam)); + } + // 상세 조회 +// @GetMapping("/detail/{id}") +// public ResponseEntity getDetail( +// @PathVariable("id") Long id){ +// +// return ResponseEntity.ok().body(eventService.getDetail(id)); +// } + @PostMapping + public ResponseEntity postCalium( + @RequestBody CaliumRequest caliumRequest){ + + return ResponseEntity.ok().body(caliumService.postCaliumRequest(caliumRequest)); + } + + @PostMapping("/charge") + public ResponseEntity postCaliumCharge( + @RequestBody CaliumRequest caliumRequest){ + //id, cnt 같이 받아야해서 request로 받게 처리 + return ResponseEntity.ok().body(caliumService.updateCaliumCharged(caliumRequest)); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/api/EventController.java b/src/main/java/com/caliverse/admin/domain/api/EventController.java new file mode 100644 index 0000000..3772b3d --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/EventController.java @@ -0,0 +1,57 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.request.EventRequest; +import com.caliverse.admin.domain.response.EventResponse; +import com.caliverse.admin.domain.service.EventService; +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.util.Map; + +@Tag(name = "이벤트", description = "이벤트 조회 및 발송 관리 메뉴 api") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/event") +public class EventController { + + private final EventService eventService; + // 리스트 조회 + @GetMapping("/list") + public ResponseEntity getList( + @RequestParam Map requestParam){ + + return ResponseEntity.ok().body(eventService.getList(requestParam)); + } + // 상세 조회 + @GetMapping("/detail/{id}") + public ResponseEntity getDetail( + @PathVariable("id") Long id){ + + return ResponseEntity.ok().body(eventService.getDetail(id)); + } + @PostMapping + public ResponseEntity postEvent( + @RequestBody EventRequest eventRequest){ + + return ResponseEntity.ok().body(eventService.postEvent(eventRequest)); + } + @PutMapping("/{id}") + public ResponseEntity updateEvent( + @PathVariable("id")Long id, @RequestBody EventRequest eventRequest){ + + return ResponseEntity.ok().body(eventService.updateEvent(id, eventRequest)); + } + @DeleteMapping("/delete") + public ResponseEntity deleteEvent( + @RequestBody EventRequest eventRequest){ + + return ResponseEntity.ok().body(eventService.deleteEvent(eventRequest)); + } + @PostMapping("/item") + public ResponseEntity getItem( + @RequestBody Map item) { + return ResponseEntity.ok().body(eventService.getMetaItem(item.get("item"))); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/api/GroupController.java b/src/main/java/com/caliverse/admin/domain/api/GroupController.java new file mode 100644 index 0000000..2057fcc --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/GroupController.java @@ -0,0 +1,56 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.request.GroupRequest; +import com.caliverse.admin.domain.response.GroupResponse; +import com.caliverse.admin.domain.service.GroupService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.util.Map; + +@Tag(name = "권한 설정", description = "권한 설정 메뉴 api 입니다.") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/groups") +public class GroupController { + + private final GroupService groupService; + + // 권한 설정 리스트 조회 + @GetMapping("/list") + public ResponseEntity getGroupList( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body(groupService.getGroupList(requestParams)); + } + + // 권한 설정 상세 조회 + @GetMapping("/detail/{group_id}") + public ResponseEntity getDetail( + @PathVariable("group_id") String groupId){ + return ResponseEntity.ok().body(groupService.getGroupDetail(groupId)); + } + + //권한 그룹 등록 + @PostMapping + public ResponseEntity postAdminGroup( + @RequestBody GroupRequest groupRequest) { + return ResponseEntity.ok().body(groupService.postAdminGroup(groupRequest)); + } + //그룹 권한 수정 + @PutMapping("/{group_id}") + public ResponseEntity updateAdminGroup( + @PathVariable("group_id") String groupId,@RequestBody GroupRequest groupRequest) { + return ResponseEntity.ok().body(groupService.updateAdminGroup(groupId, groupRequest)); + } + + //그룹 삭제 + @DeleteMapping + public ResponseEntity deleteAdminGroup( + @RequestBody GroupRequest groupRequest) { + return ResponseEntity.ok().body(groupService.deleteAdminGroup(groupRequest)); + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/api/HistoryController.java b/src/main/java/com/caliverse/admin/domain/api/HistoryController.java new file mode 100644 index 0000000..c98230b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/HistoryController.java @@ -0,0 +1,32 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.response.HistoryResponse; +import com.caliverse.admin.domain.service.HistoryService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.util.Map; + +@Tag(name = "사용 이력 조회", description = "사용 이력 조회 메뉴 api 입니다.") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/history") +public class HistoryController { + private final HistoryService historyService; + + //사용 이력 조회 + @GetMapping("/list") + public ResponseEntity getHistoryList( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body(historyService.getHistoryList(requestParams)); + } + //사용이력 상세 조회 + @GetMapping("/detail/{id}") + public ResponseEntity getHistoryDetail( + @PathVariable("id") String id){ + return ResponseEntity.ok().body(historyService.getHistoryDetail(id)); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/api/IndicatorsController.java b/src/main/java/com/caliverse/admin/domain/api/IndicatorsController.java new file mode 100644 index 0000000..62b6985 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/IndicatorsController.java @@ -0,0 +1,140 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.response.IndicatorsResponse; +import com.caliverse.admin.domain.service.IndicatorsService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import jakarta.servlet.http.HttpServletResponse; +import lombok.RequiredArgsConstructor; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import java.util.Map; + +@Tag(name = "유저지표", description = "유저지표 api") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/indicators") +public class IndicatorsController { + private final IndicatorsService indicatorsService; + + @GetMapping("/user/list") + public ResponseEntity userlist( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( indicatorsService.list(requestParams)); + } + + @GetMapping("/user/total") + public ResponseEntity total(){ + return ResponseEntity.ok().body( indicatorsService.total()); + } + + @GetMapping("/user/excel-down") + public void userExcelDown( + @RequestParam Map requestParams, HttpServletResponse res){ + indicatorsService.userExcelDown(requestParams, res); + } + //Retention + @GetMapping("/retention/list") + public ResponseEntity retentionList( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( indicatorsService.retentionList(requestParams)); + } + //Retention + @GetMapping("/retention/excel-down") + public void retentionExcelDown( + @RequestParam Map requestParams,HttpServletResponse res){ + indicatorsService.retentionExcelDown(requestParams,res); + } + //Segment + @GetMapping("/segment/list") + public ResponseEntity segmentList( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( indicatorsService.segmentList(requestParams)); + } + @GetMapping("/segment/excel-down") + public void segmentExcelDown( + @RequestParam Map requestParams,HttpServletResponse res){ + indicatorsService.segmentExcelDown(requestParams, res); + } + //Playtime + @GetMapping("/playtime/list") + public ResponseEntity playTimeList( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( indicatorsService.playTimeList(requestParams)); + } + @GetMapping("/playtime/excel-down") + public void playTimeExcelDown( + @RequestParam Map requestParams,HttpServletResponse res){ + indicatorsService.playTimeExcelDown(requestParams, res); + } + + // 재화 지표 + @GetMapping("/currency/use") + public ResponseEntity acquire( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( indicatorsService.getCurrencyUse(requestParams)); + } + @GetMapping("/currency/excel-down") + public void currencyExcelDown( + @RequestParam Map requestParams, HttpServletResponse res){ + indicatorsService.currencyExcelDown(requestParams, res); + } + + // VBP 지표 + @GetMapping("/currency/vbp") + public ResponseEntity vbp( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( indicatorsService.getVBPList(requestParams)); + } + // Item 지표 + @GetMapping("/currency/item") + public ResponseEntity item( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( indicatorsService.getItemList(requestParams)); + } + // 인스턴스 지표 + @GetMapping("/currency/instance") + public ResponseEntity instance( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( indicatorsService.getInstanceList(requestParams)); + } + // 의상/타투 지표 + @GetMapping("/currency/clothes") + public ResponseEntity clothes( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( indicatorsService.getClothesList(requestParams)); + } + + // DAU 지표 + @GetMapping("/dau/list") + public ResponseEntity dau( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( indicatorsService.getDauDataList(requestParams)); + } + + @GetMapping("/dau/excel-down") + public void dauExcelDown( + @RequestParam Map requestParams,HttpServletResponse res){ + indicatorsService.dauExcelDown(requestParams, res); + } + + + /* + // DAU 지표 + @GetMapping("/daily-medal/list") + public ResponseEntity dailyMedal( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( indicatorsService.getDailyMedalDataList(requestParams)); + } + + @GetMapping("/daily-medal/excel-down") + public void dailyMedalExcelDown( + @RequestParam Map requestParams,HttpServletResponse res){ + indicatorsService.dailyMedalExcelDown(requestParams, res); + } + */ +} diff --git a/src/main/java/com/caliverse/admin/domain/api/ItemsController.java b/src/main/java/com/caliverse/admin/domain/api/ItemsController.java new file mode 100644 index 0000000..d985fb9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/ItemsController.java @@ -0,0 +1,36 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.request.BlackListRequest; +import com.caliverse.admin.domain.request.ItemsRequest; +import com.caliverse.admin.domain.response.BlackListResponse; +import com.caliverse.admin.domain.response.ItemDeleteResponse; +import com.caliverse.admin.domain.response.ItemsResponse; +import com.caliverse.admin.domain.service.ItemsService; +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.util.Map; + +@Tag(name = "아이템조회", description = "아이템조회 api") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/items") +public class ItemsController { + private final ItemsService itemsService; + + @GetMapping("/list") + public ResponseEntity findItems( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( itemsService.findItems(requestParams)); + } + + @PostMapping("/delete") + public ResponseEntity postItemDelete( + @RequestBody ItemsRequest ItemDeleteRequest){ + return ResponseEntity.ok().body( itemsService.postItemDelete(ItemDeleteRequest)); + } + + +} diff --git a/src/main/java/com/caliverse/admin/domain/api/LandController.java b/src/main/java/com/caliverse/admin/domain/api/LandController.java new file mode 100644 index 0000000..0ef3b21 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/LandController.java @@ -0,0 +1,64 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.request.EventRequest; +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.domain.response.EventResponse; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import com.caliverse.admin.domain.response.LandResponse; +import com.caliverse.admin.domain.service.LandService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; + +import java.util.Map; + +@Tag(name = "랜드 정보 조회", description = "랜드 정보 조회 api") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/land") +public class LandController { + private final LandService landService; + @GetMapping("/auction/list") + public ResponseEntity getLandAuctionList( + @RequestParam Map requestParam){ + return ResponseEntity.ok().body( landService.getLandAuctionList(requestParam)); + } + @GetMapping("/list") + public ResponseEntity getList(){ + return ResponseEntity.ok().body( landService.getLandList()); + } + @GetMapping("/building/list") + public ResponseEntity getBuildingList(){ + return ResponseEntity.ok().body( landService.getBuildingList()); + } + @GetMapping("/detail/{id}") + public ResponseEntity getLandDetail( + @PathVariable("id") Long id){ + return ResponseEntity.ok().body( landService.getLandDetail(id)); + } + @GetMapping("/auction/detail/{id}") + public ResponseEntity getLandAuctionDetail( + @PathVariable("id") Long id){ + return ResponseEntity.ok().body( landService.getLandAuctionDetail(id)); + } + @PostMapping("/auction") + public ResponseEntity postLandAuction( + @RequestBody LandRequest landRequest){ + + return ResponseEntity.ok().body(landService.postLandAuction(landRequest)); + } + @PutMapping("/auction/{id}") + public ResponseEntity updateLandAuction( + @PathVariable("id")Long id, @RequestBody LandRequest landRequest){ + + return ResponseEntity.ok().body(landService.updateLandAuction(id, landRequest)); + } + @DeleteMapping("/auction/delete") + public ResponseEntity deleteLandAuction( + @RequestBody LandRequest landRequest){ + + return ResponseEntity.ok().body(landService.deleteLandAuction(landRequest)); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/api/MailController.java b/src/main/java/com/caliverse/admin/domain/api/MailController.java new file mode 100644 index 0000000..58a28a1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/MailController.java @@ -0,0 +1,86 @@ +package com.caliverse.admin.domain.api; + +import java.util.Map; + +import org.springframework.core.io.Resource; +import org.springframework.http.HttpHeaders; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.multipart.MultipartFile; + +import com.caliverse.admin.domain.request.MailRequest; +import com.caliverse.admin.domain.response.MailResponse; +import com.caliverse.admin.domain.service.MailService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; + +@Tag(name = "우편", description = "우편 조회 및 발송 관리 메뉴 api") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/mail") +public class MailController { + + private final MailService mailService; + // 우편 조회 + @GetMapping("/list") + public ResponseEntity getList( + @RequestParam Map requestParam){ + + return ResponseEntity.ok().body(mailService.getList(requestParam)); + } + // 우편 상세 조회 + @GetMapping("/detail/{id}") + public ResponseEntity getList( + @PathVariable("id") Long id){ + + return ResponseEntity.ok().body(mailService.getdetail(id)); + } + @PostMapping("/excel-upload") + public ResponseEntity excelUpload( + @RequestParam("file") MultipartFile file){ + return ResponseEntity.ok().body( mailService.excelUpload(file)); + } + @GetMapping("/excel-down") + public ResponseEntity excelDown( + @RequestParam("file") String fileName){ + Resource resource = mailService.excelDown(fileName); + HttpHeaders headers = new HttpHeaders(); + headers.add(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=" + fileName); + + return ResponseEntity.ok() + .headers(headers) + .body(resource); + } + @PostMapping + public ResponseEntity postMail( + @RequestBody MailRequest mailRequest){ + + return ResponseEntity.ok().body(mailService.postMail(mailRequest)); + } + @PutMapping("/{id}") + public ResponseEntity updateMail( + @PathVariable("id")Long id, @RequestBody MailRequest mailRequest){ + + return ResponseEntity.ok().body(mailService.updateMail(id, mailRequest)); + } + @DeleteMapping("/delete") + public ResponseEntity deleteMail( + @RequestBody MailRequest mailRequest){ + + return ResponseEntity.ok().body(mailService.deleteMail(mailRequest)); + } + @PostMapping("/item") + public ResponseEntity getItem( + @RequestBody Map item) { + return ResponseEntity.ok().body(mailService.getMetaItem(item.get("item"))); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/api/NoticeController.java b/src/main/java/com/caliverse/admin/domain/api/NoticeController.java new file mode 100644 index 0000000..f652b4b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/NoticeController.java @@ -0,0 +1,58 @@ +package com.caliverse.admin.domain.api; + +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.caliverse.admin.domain.request.NoticeRequest; +import com.caliverse.admin.domain.response.NoticeResponse; +import com.caliverse.admin.domain.service.NoticeService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; + +@Tag(name = "공지사항", description = "공지사항 메뉴 api 입니다.") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/notice") +public class NoticeController { + private final NoticeService noticeService; + + // 인게임 메시지 조회 + @GetMapping("/list") + public ResponseEntity getNoticeList(){ + return ResponseEntity.ok().body( noticeService.getNoticeList()); + } + // 인게임 메시지 상세 조회 + @GetMapping("/detail/{id}") + public ResponseEntity getNoticeDetail( + @PathVariable("id") Long id){ + return ResponseEntity.ok().body( noticeService.getNoticeDetail(id)); + } + + //인게임 메시지 등록 + @PostMapping + public ResponseEntity postInGameMessage( + @RequestBody NoticeRequest noticeRequest){ + return ResponseEntity.ok().body( noticeService.postInGameMessage(noticeRequest)); + } + //인게임 메시지 수정 + @PutMapping("/{id}") + public ResponseEntity updateInGameMessage( + @PathVariable("id")Long id,@RequestBody NoticeRequest noticeRequest){ + return ResponseEntity.ok().body( noticeService.updateInGameMessage(id,noticeRequest)); + } + + //인게임 메시지 선택 삭제 + @DeleteMapping + public ResponseEntity deleteInGameMessage( + @RequestBody NoticeRequest noticeRequest){ + return ResponseEntity.ok().body( noticeService.deleteInGameMessage(noticeRequest)); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/api/TestController.java b/src/main/java/com/caliverse/admin/domain/api/TestController.java new file mode 100644 index 0000000..7015cee --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/TestController.java @@ -0,0 +1,39 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType; +import com.caliverse.admin.domain.RabbitMq.RabbitMqService; + +import com.caliverse.admin.domain.RabbitMq.message.ServerMessage; +import io.swagger.v3.oas.annotations.tags.Tag; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import java.io.IOException; +import java.util.concurrent.TimeoutException; + +@Tag(name = "Test", description = "RabbitMQ TestApi") +@RestController +@RequestMapping("/api/v1/RabbitMQTest") +public class TestController { + + private RabbitMqService m_rabbitMq; + + public TestController(RabbitMqService rabbitMq) { + this.m_rabbitMq = rabbitMq; + } + + + // Send Test + @PostMapping("/send") + public void sendRabbitMq() throws IOException, TimeoutException { + + var user_kick_builder = ServerMessage.MOS2GS_NTF_USER_KICK.newBuilder(); + user_kick_builder.setUserGuid("09022548-53c8-44a0-ad5d-5df98ef7b61a"); + user_kick_builder.setKickReasonMsg("reason"); + user_kick_builder.setLogoutReasonType(LogoutReasonType.LogoutReasonType_None); + + m_rabbitMq.SendMessage(user_kick_builder.build(), "Channel:001:001"); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/api/TestDevController.java b/src/main/java/com/caliverse/admin/domain/api/TestDevController.java new file mode 100644 index 0000000..c448e0d --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/TestDevController.java @@ -0,0 +1,34 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.RabbitMq.RabbitMqService; +import com.caliverse.admin.global.common.constants.AdminConstants; +import com.caliverse.admin.logs.Indicatordomain.StartEndTime; +import com.caliverse.admin.logs.logservice.LogServiceHelper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import java.io.IOException; +import java.util.concurrent.TimeoutException; + +@Slf4j +@RestController +@RequestMapping("/dev-test") +public class TestDevController { + + @Autowired + private RabbitMqService m_rabbitMq; + + // Send Test + @PostMapping("/get-server-time") + public ResponseEntity sendRabbitMq() throws IOException, TimeoutException { + + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + + return ResponseEntity.ok().body(startEndTime); + + } +} diff --git a/src/main/java/com/caliverse/admin/domain/api/UserReportController.java b/src/main/java/com/caliverse/admin/domain/api/UserReportController.java new file mode 100644 index 0000000..adeeb79 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/UserReportController.java @@ -0,0 +1,57 @@ +package com.caliverse.admin.domain.api; + +import java.util.Map; + +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.caliverse.admin.domain.request.UserReportRequest; +import com.caliverse.admin.domain.response.UserReportResponse; +import com.caliverse.admin.domain.service.UserReportService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; + +@Tag(name = "신고내역", description = "신고내역 api") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/report") +public class UserReportController { + private final UserReportService userReportService; + + @GetMapping("/list") + public ResponseEntity list( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( userReportService.list(requestParams)); + } + @GetMapping("/total") + public ResponseEntity total( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( userReportService.totalCnt(requestParams)); + } + @GetMapping("/report-detail") + public ResponseEntity reportDetail( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( userReportService.reportDetail(requestParams)); + } + @GetMapping("/reply-detail") + public ResponseEntity replyDetail( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( userReportService.replyDetail(requestParams)); + } + @PostMapping("/reply") + public ResponseEntity reply( + @RequestBody UserReportRequest userReportRequest){ + return ResponseEntity.ok().body( userReportService.reportReply(userReportRequest)); + } + @PostMapping("/dummy") + public void dummy( + @RequestBody Map map){ + userReportService.dummy(map); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/api/UsersController.java b/src/main/java/com/caliverse/admin/domain/api/UsersController.java new file mode 100644 index 0000000..c784878 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/UsersController.java @@ -0,0 +1,116 @@ +package com.caliverse.admin.domain.api; + +import com.caliverse.admin.domain.request.MailRequest; +import com.caliverse.admin.domain.request.UsersRequest; +import com.caliverse.admin.domain.response.MailResponse; +import com.caliverse.admin.domain.response.UsersResponse; +import com.caliverse.admin.domain.service.UsersService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.util.Map; + +@Tag(name = "유저조회", description = "유저조회 api") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/users") +public class UsersController { + private final UsersService usersService; + + @PutMapping("/change-nickname") + public ResponseEntity changeNickname( + @RequestBody UsersRequest requestBody){ + return ResponseEntity.ok().body( usersService.changeNickname(requestBody)); + } + @PutMapping("/change-level") + public ResponseEntity changeAdminLevel( + @RequestBody UsersRequest requestBody){ + return ResponseEntity.ok().body( usersService.changeAdminLevel(requestBody)); + } + @GetMapping("/find-users") + public ResponseEntity findUsers( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( usersService.findUsers(requestParams)); + } + @GetMapping("/basicinfo") + public ResponseEntity getUsersInfo( + @RequestParam("guid") String guid){ + return ResponseEntity.ok().body( usersService.getBasicInfo(guid)); + } + @GetMapping("/avatarinfo") + public ResponseEntity getAvatarInfo( + @RequestParam("guid") String guid){ + return ResponseEntity.ok().body( usersService.getAvatarInfo(guid)); + } + @GetMapping("/clothinfo") + public ResponseEntity getClothInfo( + @RequestParam("guid") String guid){ + return ResponseEntity.ok().body( usersService.getClothInfo(guid)); + } + @GetMapping("/toolslot") + public ResponseEntity getSlotInfo( + @RequestParam("guid") String guid){ + return ResponseEntity.ok().body( usersService.getToolSlotInfo(guid)); + } + @GetMapping("/inventory") + public ResponseEntity getInventoryInfo( + @RequestParam("guid") String guid){ + return ResponseEntity.ok().body( usersService.getInventoryInfo(guid)); + } + @DeleteMapping("/inventory/delete/item") + public ResponseEntity deleteInventoryItem( + @RequestBody Map requestParams){ + + return ResponseEntity.ok().body(usersService.deleteInventoryItem(requestParams)); + } + //todo + @GetMapping("/mail") + public ResponseEntity getMail( + @RequestParam("guid") String guid, @RequestParam("type") String type){ + return ResponseEntity.ok().body( usersService.getMail(guid,type)); + } + @DeleteMapping("/mail/delete") + public ResponseEntity deleteMail( + @RequestBody Map requestParams){ + + return ResponseEntity.ok().body(usersService.deleteMail(requestParams)); + } + @DeleteMapping("/mail/delete/item") + public ResponseEntity deleteMailItem( + @RequestBody MailRequest.DeleteMailItem requestParams){ + + return ResponseEntity.ok().body(usersService.deleteMailItem(requestParams)); + } + @GetMapping("/myhome") + public ResponseEntity getMyhome( + @RequestParam("guid") String guid){ + return ResponseEntity.ok().body( usersService.getMyhome(guid)); + } + //todo + @GetMapping("/friendlist") + public ResponseEntity getFriendList( + @RequestParam("guid") String guid){ + return ResponseEntity.ok().body( usersService.getFriendList(guid)); + } + //todo + @GetMapping("/tattoo") + public ResponseEntity getTattoo( + @RequestParam("guid") String guid){ + return ResponseEntity.ok().body( usersService.getTattoo(guid)); + } + //todo + @GetMapping("/quest") + public ResponseEntity getQuest( + @RequestParam("guid") String guid){ + return ResponseEntity.ok().body( usersService.getQuest(guid)); + } + //todo + /*@GetMapping("/claim") + public ResponseEntity getClaim( + @RequestParam("guid") String guid){ + return ResponseEntity.ok().body( usersService.getClaim(guid)); + }*/ +} diff --git a/src/main/java/com/caliverse/admin/domain/api/WhiteListController.java b/src/main/java/com/caliverse/admin/domain/api/WhiteListController.java new file mode 100644 index 0000000..353794f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/api/WhiteListController.java @@ -0,0 +1,73 @@ +package com.caliverse.admin.domain.api; + +import java.util.Map; + +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PatchMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.multipart.MultipartFile; + +import com.caliverse.admin.domain.request.WhiteListRequest; +import com.caliverse.admin.domain.response.WhiteListResponse; +import com.caliverse.admin.domain.service.WhiteListService; + +import io.swagger.v3.oas.annotations.tags.Tag; +import jakarta.servlet.http.HttpServletResponse; +import lombok.RequiredArgsConstructor; + +@Tag(name = "화이트리스트", description = "화이트리스트 메뉴 api 입니다.") +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/v1/white-list") +public class WhiteListController { + private final WhiteListService whiteListService; + //화이트 리스트 명단 조회 + @GetMapping("/list") + public ResponseEntity getWhiteList( + @RequestParam Map requestParams){ + return ResponseEntity.ok().body( whiteListService.getWhiteList(requestParams)); + } + + + // 화이트리스트 일광 등록 (엑셀 업로드) + @PostMapping("/excel-upload") + public ResponseEntity excelUpload( + @RequestParam("file") MultipartFile file){ + return ResponseEntity.ok().body( whiteListService.excelUpload(file)); + } + + // 화이트리스트 단일 등록 + @PostMapping + public ResponseEntity postWhiteList( + @RequestBody WhiteListRequest whiteListRequest){ + return ResponseEntity.ok().body( whiteListService.postWhiteList(whiteListRequest)); + } + // 화이트리스트 복수 등록 + @PostMapping("/multiPost") + public ResponseEntity multiPost( + @RequestParam("file") MultipartFile file){ + return ResponseEntity.ok().body( whiteListService.multiPost(file)); + } + @GetMapping("/excelDownLoad") + public void excelDownLoad(HttpServletResponse res){ + whiteListService.excelDownLoad(res); + } + // 화이트리스트 승인 + @PatchMapping + public ResponseEntity updateWhiteList( + @RequestBody WhiteListRequest whiteListRequest){ + return ResponseEntity.ok().body(whiteListService.updateWhiteList(whiteListRequest)); + } + + @DeleteMapping + public ResponseEntity deleteWhiteList( + @RequestBody WhiteListRequest whiteListRequest){ + return ResponseEntity.ok().body(whiteListService.deleteWhiteList(whiteListRequest)); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/batch/CustomProcessor.java b/src/main/java/com/caliverse/admin/domain/batch/CustomProcessor.java new file mode 100644 index 0000000..5e1480e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/batch/CustomProcessor.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.domain.batch; + +import org.springframework.batch.item.ItemProcessor; +import lombok.extern.slf4j.Slf4j; + +@Slf4j +public class CustomProcessor implements ItemProcessor { + + @Override + public String process(String data) throws Exception { + log.info("Processing data: " + data); + //data = data.toUpperCase(); + + return data; + + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/batch/CustomReader.java b/src/main/java/com/caliverse/admin/domain/batch/CustomReader.java new file mode 100644 index 0000000..25b02b9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/batch/CustomReader.java @@ -0,0 +1,26 @@ +package com.caliverse.admin.domain.batch; + +import org.springframework.batch.item.ItemReader; + +import lombok.extern.slf4j.Slf4j; + +@Slf4j +public class CustomReader implements ItemReader { + private String[] tokens = { "Hello World!", "Hello Spring!", "Hello Batch!" }; + private int index = 0; + + @Override + public String read() throws Exception { + if (index >= tokens.length) { + return null; + } + + String data = index + " " + tokens[index]; + index++; + + log.info("reading data: {}", data); + + return data; + } + +} \ No newline at end of file diff --git a/src/main/java/com/caliverse/admin/domain/batch/CustomWriter.java b/src/main/java/com/caliverse/admin/domain/batch/CustomWriter.java new file mode 100644 index 0000000..970e4ad --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/batch/CustomWriter.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.domain.batch; + +import org.springframework.batch.item.Chunk; +import org.springframework.batch.item.ItemWriter; + +import lombok.extern.slf4j.Slf4j; + +@Slf4j +public class CustomWriter implements ItemWriter { + @Override + public void write(Chunk chunk) throws Exception { + + for (String data : chunk) { + log.info("Writing item: " + data.toString()); + } + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/batch/TestJob.java b/src/main/java/com/caliverse/admin/domain/batch/TestJob.java new file mode 100644 index 0000000..969ef88 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/batch/TestJob.java @@ -0,0 +1,64 @@ +package com.caliverse.admin.domain.batch; + +// import org.springframework.batch.core.Job; +// import org.springframework.batch.core.JobExecutionException; +// import org.springframework.batch.core.JobParameters; +// import org.springframework.batch.core.JobParametersBuilder; +// import org.springframework.batch.core.Step; +// import org.springframework.batch.core.job.builder.JobBuilder; +// import org.springframework.batch.core.launch.JobLauncher; +// import org.springframework.batch.core.repository.JobRepository; +// import org.springframework.batch.core.step.builder.StepBuilder; +// import org.springframework.batch.core.step.tasklet.Tasklet; +// import org.springframework.batch.repeat.RepeatStatus; +//import org.springframework.context.annotation.Bean; +//import org.springframework.context.annotation.Configuration; +//import org.springframework.transaction.PlatformTransactionManager; + +import lombok.Getter; +import lombok.extern.slf4j.Slf4j; + +//@Configuration +//@RequiredArgsConstructor +@Slf4j +@Getter +public class TestJob { + + // private final JobLauncher jobLauncher; + // private final PlatformTransactionManager transactionManager; + + + // @Bean + // public Job testSimpleJob(PlatformTransactionManager transactionManager, JobRepository jobRepository) { + // return new JobBuilder("testSimpleJob", jobRepository) + // .start(testSimpleStep(transactionManager, jobRepository)) + // .build(); + // } + + // @Bean + // public Step testSimpleStep(PlatformTransactionManager transactionManager, JobRepository jobRepository) { + + // return new StepBuilder("testSimpleStep", jobRepository) + // .tasklet(testTasklet(), transactionManager) + // .build(); + // } + + // public Tasklet testTasklet() { + // return (contribution, chunkContext) -> { + // log.info("test job runned"); + // return RepeatStatus.FINISHED; + // }; + // } + + // public void runJob() { + // try { + // JobParameters jobParameters = new JobParametersBuilder() + // .addLong("run.id", System.currentTimeMillis()) + // .toJobParameters(); + // jobLauncher.run(testSimpleJob(transactionManager, null), jobParameters); + // } catch (JobExecutionException e) { + // log.error("Failed to execute job", e); + // } + // } + +} diff --git a/src/main/java/com/caliverse/admin/domain/dao/admin/AdminMapper.java b/src/main/java/com/caliverse/admin/domain/dao/admin/AdminMapper.java new file mode 100644 index 0000000..1fdf335 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/admin/AdminMapper.java @@ -0,0 +1,40 @@ +package com.caliverse.admin.domain.dao.admin; +import java.util.List; +import java.util.Map; +import java.util.Optional; + +import com.caliverse.admin.domain.entity.Admin; +import com.caliverse.admin.domain.entity.STATUS; + +public interface AdminMapper { + Optional findByEmail(String email); + + boolean existsByEmail(String email); + + String findPwdById(Long id); + List findPwdHistoryById(Long id); + + void save(Admin admin); + + void initPwd(String password,Long id, Long updateBy); + void updatePwd(String password, Long updateBy, STATUS status); + void saveHistoryPwd(String password,Long adminId); + + //운영자 리스트 조회 + List getAdminList(Map requestMap); + + //검색 데이터 count + int getAllCnt(Map requestMap); + //검색 데이터 count + int getTotal(); + + //로그인 승인/불가 + void updateStatus(Map map); + //운영자 그룹 저장 + void updateGroup(Map map); + // 운영자 선택 삭제 + void deleteAdmin(Map map); + + +} + diff --git a/src/main/java/com/caliverse/admin/domain/dao/admin/BattleMapper.java b/src/main/java/com/caliverse/admin/domain/dao/admin/BattleMapper.java new file mode 100644 index 0000000..0469008 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/admin/BattleMapper.java @@ -0,0 +1,26 @@ +package com.caliverse.admin.domain.dao.admin; + +import com.caliverse.admin.domain.entity.BattleEvent; +import com.caliverse.admin.domain.request.BattleEventRequest; + +import java.util.List; +import java.util.Map; + + +public interface BattleMapper { + + List getBattleEventList(Map map); + int getAllCnt(Map map); + int getTotal(); + BattleEvent getBattleEventDetail(Long id); + + int chkTimeOver(BattleEventRequest battleEventRequest); + + int postBattleEvent(BattleEventRequest battleEventRequest); + int updateBattleEvent(BattleEventRequest battleEventRequest); + int deleteBattleEvent(Map map); + + int updateStatusBattleEvent(Map map); + + List getScheduleBattleEventList(); +} diff --git a/src/main/java/com/caliverse/admin/domain/dao/admin/BlackListMapper.java b/src/main/java/com/caliverse/admin/domain/dao/admin/BlackListMapper.java new file mode 100644 index 0000000..28fdfb1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/admin/BlackListMapper.java @@ -0,0 +1,25 @@ +package com.caliverse.admin.domain.dao.admin; + +import com.caliverse.admin.domain.entity.BlackList; +import com.caliverse.admin.domain.request.BlackListRequest; + +import java.util.List; +import java.util.Map; + +public interface BlackListMapper { + List getBlackList(Map map); + int getAllCnt(Map map); + int getTotal(); + BlackList getBlackListDetail(Long id); + + List getHistoryByGuid(String guid); + + int getCountByGuid(String guid); + + void postBlackList(BlackListRequest blackListRequest); + + void deleteBlackList(Map map); + + List getScheduleBlackList(); + void updateStatus(Map map); +} diff --git a/src/main/java/com/caliverse/admin/domain/dao/admin/CaliumMapper.java b/src/main/java/com/caliverse/admin/domain/dao/admin/CaliumMapper.java new file mode 100644 index 0000000..fbce9eb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/admin/CaliumMapper.java @@ -0,0 +1,22 @@ +package com.caliverse.admin.domain.dao.admin; + +import com.caliverse.admin.domain.entity.Calium; +import com.caliverse.admin.domain.request.CaliumRequest; + +import java.util.List; +import java.util.Map; + + +public interface CaliumMapper { + + List getCaliumRequestList(Map map); + int getAllCnt(Map map); + int getTotal(); + double getCaliumTotal(); + Calium getCaliumRequestDetail(Long id); + int postCaliumRequest(CaliumRequest caliumRequest); + + int updateStatusCaliumRequest(Map map); + + List getScheduleCaliumRequest(); +} diff --git a/src/main/java/com/caliverse/admin/domain/dao/admin/EventMapper.java b/src/main/java/com/caliverse/admin/domain/dao/admin/EventMapper.java new file mode 100644 index 0000000..e06e2fb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/admin/EventMapper.java @@ -0,0 +1,39 @@ +package com.caliverse.admin.domain.dao.admin; + +import com.caliverse.admin.domain.entity.Item; +import com.caliverse.admin.domain.entity.Event; +import com.caliverse.admin.domain.entity.Mail; +import com.caliverse.admin.domain.entity.Message; +import com.caliverse.admin.domain.request.EventRequest; + +import java.util.List; +import java.util.Map; + + +public interface EventMapper { + + List getEventList(Map map); + int getAllCnt(Map map); + int getTotal(); + Event getEventDetail(Long id); + + List getMessage(Long id); + + List getItem(Long id); + int postEvent(EventRequest mailRequest); + + void insertMessage(Map map); + void insertItem(Map map); + int updateEvent(EventRequest mailRequest); + + int deleteMessage(Map map); + + int deleteItem(Map map); + + int deleteEvent(Map map); + + int updateStatusEvent(Map map); + int updateAddFlag(Long id); + + List getScheduleEventList(); +} diff --git a/src/main/java/com/caliverse/admin/domain/dao/admin/GroupMapper.java b/src/main/java/com/caliverse/admin/domain/dao/admin/GroupMapper.java new file mode 100644 index 0000000..bf0ad82 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/admin/GroupMapper.java @@ -0,0 +1,35 @@ +package com.caliverse.admin.domain.dao.admin; + +import com.caliverse.admin.domain.entity.Authority; +import com.caliverse.admin.domain.entity.Groups; +import com.caliverse.admin.domain.request.GroupRequest; + +import java.util.List; +import java.util.Map; + +public interface GroupMapper { + + // 그룹명 조회 by group_id + Map getGroupInfo(Long groupId); + + //권한 상세 조회 + List getGroupAuth(Long groupId); + + // 권한 리스트 조회 + List getGroupList(Map map); + + int findGroupName(String groupNm); + int getAllCnt(); + // 권한 등록 + void postAdminGroup(GroupRequest groupRequest); + + //group_auth 테이블 삭제 by groupId + void deleteGroupAuth(String groupId); + + void insertGroupAuth(Map map); + + // 권한 그룹 삭제(update deleted) + void deleteGroup(Long groupId); + + +} diff --git a/src/main/java/com/caliverse/admin/domain/dao/admin/HistoryMapper.java b/src/main/java/com/caliverse/admin/domain/dao/admin/HistoryMapper.java new file mode 100644 index 0000000..57a1cad --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/admin/HistoryMapper.java @@ -0,0 +1,22 @@ +package com.caliverse.admin.domain.dao.admin; + +import com.caliverse.admin.domain.entity.Log; + +import java.util.List; +import java.util.Map; + +public interface HistoryMapper { + // 사용 이력 리스트 조회 + List getHistoryList(Map map); + + //전체 데이터 count + int getAllCnt(Map map); + int getTotal(); + String getLogJson(String id); + void saveLog(Map map); + + //임시로 Meta Data를 넣기 위한 Mepper + void truncateMetaTable(); + void insertMetaData(Map map); + +} diff --git a/src/main/java/com/caliverse/admin/domain/dao/admin/LandMapper.java b/src/main/java/com/caliverse/admin/domain/dao/admin/LandMapper.java new file mode 100644 index 0000000..956c7ff --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/admin/LandMapper.java @@ -0,0 +1,36 @@ +package com.caliverse.admin.domain.dao.admin; + +import com.caliverse.admin.domain.entity.Event; +import com.caliverse.admin.domain.entity.LandAuction; +import com.caliverse.admin.domain.entity.Message; +import com.caliverse.admin.domain.request.LandRequest; + +import java.util.List; +import java.util.Map; + + +public interface LandMapper { + + List getLandAuctionList(Map map); + int getAllCnt(Map map); + int getTotal(); + LandAuction getLandAuctionDetail(Long id); + + List getMessage(Long id); + + int getMaxLandSeq(Integer landId); + int getPossibleLand(Integer landId); + + int postLandAuction(LandRequest landRequest); + + void insertMessage(Map map); + int updateLandAuction(LandRequest landRequest); + + int deleteMessage(Map map); + + int deleteLandAuction(Map map); + + int updateStatusLandAuction(Map map); + + List getScheduleLandAuctionList(); +} diff --git a/src/main/java/com/caliverse/admin/domain/dao/admin/MailMapper.java b/src/main/java/com/caliverse/admin/domain/dao/admin/MailMapper.java new file mode 100644 index 0000000..0a82c96 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/admin/MailMapper.java @@ -0,0 +1,39 @@ +package com.caliverse.admin.domain.dao.admin; + +import com.caliverse.admin.domain.entity.Item; +import com.caliverse.admin.domain.entity.Mail; +import com.caliverse.admin.domain.entity.Message; +import com.caliverse.admin.domain.request.MailRequest; + +import java.util.List; +import java.util.Map; + + +public interface MailMapper { + + List getMailList(Map map); + int getAllCnt(Map map); + int getTotal(); + Mail getMailDetail(Long id); + + List getMessage(Long id); + + List getItem(Long id); + void postMail(MailRequest mailRequest); + void insertGuid(Map map); + + void insertMessage(Map map); + void insertItem(Map map); + int updateMail(MailRequest mailRequest); + + int deleteMessage(Map map); + + int deleteItem(Map map); + + void deleteMail(Map map); + + List getSchesuleMailList(); + + int updateCompleteMail(Map map); + +} diff --git a/src/main/java/com/caliverse/admin/domain/dao/admin/NoticeMapper.java b/src/main/java/com/caliverse/admin/domain/dao/admin/NoticeMapper.java new file mode 100644 index 0000000..501bce7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/admin/NoticeMapper.java @@ -0,0 +1,30 @@ +package com.caliverse.admin.domain.dao.admin; + +import java.util.List; +import java.util.Map; + +import com.caliverse.admin.domain.entity.InGame; +import com.caliverse.admin.domain.entity.Message; +import com.caliverse.admin.domain.request.NoticeRequest; + +public interface NoticeMapper { + + List getNoticeList(); + + InGame getNoticeDetail(Long id); + + List getMessage(Long id); + + int postNotice(NoticeRequest noticeRequest); + int insertMessage(Map map); + int updateNotice(NoticeRequest noticeRequest); + int deleteMessage(Long id); + void deleteNotice(Long id); + + //아이디로 한국어 메시지 가져오기 + String getMessageById(Long id); + + List getSchesuleNoticeList(); + int updateStatusNotice(Map map); + int updateCountNotice(Long id); +} diff --git a/src/main/java/com/caliverse/admin/domain/dao/admin/TokenMapper.java b/src/main/java/com/caliverse/admin/domain/dao/admin/TokenMapper.java new file mode 100644 index 0000000..c6999ee --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/admin/TokenMapper.java @@ -0,0 +1,19 @@ +package com.caliverse.admin.domain.dao.admin; + +import com.caliverse.admin.domain.entity.Token; +import java.util.Optional; + + +public interface TokenMapper { + Optional findAllValidTokenByUser(Long id); + + Optional findByToken(String token); + + void save(Token token); + + void updateToken(Token token); + + int getCount(Long id); + + void updateResetToken(Long id); +} diff --git a/src/main/java/com/caliverse/admin/domain/dao/admin/WhiteListMapper.java b/src/main/java/com/caliverse/admin/domain/dao/admin/WhiteListMapper.java new file mode 100644 index 0000000..93c2748 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/admin/WhiteListMapper.java @@ -0,0 +1,23 @@ +package com.caliverse.admin.domain.dao.admin; + +import java.util.List; +import java.util.Map; + +import com.caliverse.admin.domain.entity.WhiteList; + +public interface WhiteListMapper { + + // 화이트 리스트 조회 + List getWhiteList(); + + Map getGuidById(Long id); + + int getCountByGuid(String guid); + //화이트리스트 등록 + int postWhiteList(Map map); + + //선택 승인 + int updateStatus(Long id); + //선택 삭제 + void deleteWhiteList(Long id); +} diff --git a/src/main/java/com/caliverse/admin/domain/dao/total/WalletUserMapper.java b/src/main/java/com/caliverse/admin/domain/dao/total/WalletUserMapper.java new file mode 100644 index 0000000..f6300b9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/dao/total/WalletUserMapper.java @@ -0,0 +1,9 @@ +package com.caliverse.admin.domain.dao.total; + +import com.caliverse.admin.domain.entity.WalletUser; + +public interface WalletUserMapper { + WalletUser getUser(String email); + +} + diff --git a/src/main/java/com/caliverse/admin/domain/datacomponent/DynamoDBDataHandler.java b/src/main/java/com/caliverse/admin/domain/datacomponent/DynamoDBDataHandler.java new file mode 100644 index 0000000..9af7a85 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/datacomponent/DynamoDBDataHandler.java @@ -0,0 +1,30 @@ +package com.caliverse.admin.domain.datacomponent; +import com.caliverse.admin.domain.service.DynamoDBService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.cache.annotation.Cacheable; +import org.springframework.cache.annotation.EnableCaching; +import org.springframework.stereotype.Component; + +import java.util.List; + + +@Component +@EnableCaching +public class DynamoDBDataHandler { + + @Autowired + private DynamoDBService dynamoDBService; + + /** + * nickname에 대한 guid 정보 캐싱 + * @param nickname + * @return guid + */ + @Cacheable(value = "nickNameByGuidData", key = "#p0", unless = "#result == null") + public String getNicknameByGuidData(String nickname) { + + return ""; + } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/datacomponent/JsonFileReader.java b/src/main/java/com/caliverse/admin/domain/datacomponent/JsonFileReader.java new file mode 100644 index 0000000..789ac99 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/datacomponent/JsonFileReader.java @@ -0,0 +1,79 @@ +package com.caliverse.admin.domain.datacomponent; + +import com.caliverse.admin.global.common.exception.MetaDataException; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Component; + +import java.io.*; +import java.nio.charset.StandardCharsets; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +@Component +@Slf4j +public class JsonFileReader { + @Value("${caliverse.metadata.path}") + private String metaDataPath; + + private final ObjectMapper objectMapper; + + public JsonFileReader() { + this.objectMapper = new ObjectMapper(); + } + + public List> readJsonFile(String fileName, String listName) { + List> resultMap = new ArrayList<>(); + + try { + File file = new File(metaDataPath, fileName); + log.info("loadDataFromJsonFile path: {}", file.getPath()); + + if (!file.exists()) { + throw new MetaDataException("File not found: " + fileName); + } + + String fileContent = readFileAsString(file); + JsonNode rootNode = objectMapper.readTree(fileContent); + JsonNode listNode = rootNode.get(listName); + + if (listNode == null) { + throw new MetaDataException("List name not found: " + listName); + } + + resultMap = objectMapper.readValue( + listNode.toString(), + new TypeReference<>() { + } + ); + + log.debug("Successfully parsed JSON file: {}, items count: {}", fileName, resultMap.size()); + + } catch (JsonProcessingException e) { + log.error("Failed to parse JSON from file: {}", fileName, e); + throw new MetaDataException("Failed to parse JSON from file: " + fileName, e); + } catch (IOException e) { + log.error("Failed to read file: {}", fileName, e); + throw new MetaDataException("Failed to read file: " + fileName, e); + } + + return resultMap; + } + + private String readFileAsString(File file) throws IOException { + StringBuilder fileContents = new StringBuilder((int)file.length()); + try (BufferedReader br = new BufferedReader( + new InputStreamReader(new FileInputStream(file), StandardCharsets.UTF_8))) { + String line; + while((line = br.readLine()) != null) { + fileContents.append(line); + } + } + return fileContents.toString(); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/datacomponent/MetaDataFileLoader.java b/src/main/java/com/caliverse/admin/domain/datacomponent/MetaDataFileLoader.java new file mode 100644 index 0000000..187d333 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/datacomponent/MetaDataFileLoader.java @@ -0,0 +1,342 @@ +package com.caliverse.admin.domain.datacomponent; + + +import java.util.*; +import java.util.concurrent.ConcurrentHashMap; +import java.util.stream.Collectors; + +import com.caliverse.admin.domain.entity.metadata.*; +import com.caliverse.admin.global.common.constants.MetadataConstants; +import com.caliverse.admin.global.common.exception.MetaDataException; +import jakarta.annotation.PostConstruct; +import lombok.extern.slf4j.Slf4j; +import org.springframework.scheduling.annotation.Scheduled; +import org.springframework.stereotype.Component; + +import com.caliverse.admin.domain.entity.EMetaData; + +@Component +@Slf4j +public class MetaDataFileLoader { + private final JsonFileReader jsonFileReader; + private final Map items; + private final Map textStrings; + private final Map clothTypes; + private final Map toolItems; + private final Map banWords; + private final Map quests; + private final Map buildings; + private final Map lands; + private final Map battleConfigs; + private final Map battleRewards; + + public MetaDataFileLoader(JsonFileReader jsonFileReader) { + this.jsonFileReader = jsonFileReader; + this.items = new ConcurrentHashMap<>(); + this.textStrings = new ConcurrentHashMap<>(); + this.clothTypes = new ConcurrentHashMap<>(); + this.toolItems = new ConcurrentHashMap<>(); + this.banWords = new ConcurrentHashMap<>(); + this.quests = new ConcurrentHashMap<>(); + this.buildings = new ConcurrentHashMap<>(); + this.lands = new ConcurrentHashMap<>(); + this.battleConfigs = new ConcurrentHashMap<>(); + this.battleRewards = new ConcurrentHashMap<>(); + } + + @PostConstruct + public void initialize(){ + loadMetaData(); + } + + @Scheduled(fixedDelayString = "${caliverse.metadata.reload.interval}") + public void reloadMetaData() { + try { + log.info("Starting metadata reload"); + loadMetaData(); + log.info("Metadata reload completed"); + } catch (Exception e) { + log.error("Failed to reload metadata", e); + } + } + + private void loadMetaData(){ + try{ + loadTextStrings(); + loadQuests(); + loadLand(); + loadBanWord(); + loadBuilding(); + loadItems(); + loadToolItems(); + loadClothType(); + loadBattleConfig(); + loadBattleReward(); + }catch(MetaDataException e){ + log.error("Failed to initialize metadata", e); + throw e; + } + } + + public Optional getName(String text){ + if(text == null) return Optional.empty(); + + return Optional.ofNullable(textStrings.get(text)); + } + + //아이템 가져오기 + public Optional getMetaItem(int itemId) { + if(itemId == 0) return Optional.empty(); + + return Optional.ofNullable(items.get(itemId)); + } + + //의상 타입 가져오기 + public Optional getMetaClothType(int id) { + if(id == 0) return Optional.empty(); + + return Optional.ofNullable(clothTypes.get(id)); + } + + //도구 정보 가져오기 + public Optional getMetaToolItem(int id) { + if(id == 0) return Optional.empty(); + + return Optional.ofNullable(toolItems.get(id)); + } + + //퀘스트 정보 가져오기 + public List getMetaQuests(int id) { + if(id == 0) return Collections.emptyList(); + + return quests.entrySet().stream() + .filter(entry -> entry.getKey().getQeustId().equals(id)) + .map(Map.Entry::getValue) + .collect(Collectors.toList()); + } + + //빌딩 정보 가져오기 + public Optional getMetaBuildingItem(int id) { + if(id == 0){ + return Optional.empty(); + } + + return Optional.ofNullable(buildings.get(id)); + } + + public List getMetaBuildings() { + return new ArrayList<>(buildings.values()); + } + + //랜드 정보 가져오기 + public Optional getMetaLandItem(int id) { + if(id == 0){ + return Optional.empty(); + } + + return Optional.ofNullable(lands.get(id)); + } + + public List getMetaLands() { + return new ArrayList<>(lands.values()); + } + + public List getMetaBattleConfigs() { + return new ArrayList<>(battleConfigs.values()); + } + public List getMetaBattleRewards() { + return battleRewards.values().stream() + .collect(Collectors.groupingBy(MetaBattleRewardData::getGroupID)) // groupId로 그룹화 + .values().stream() // 그룹화된 리스트들의 스트림 + .map(group -> group.get(0)) // 각 그룹의 첫 번째 항목만 선택 + .sorted(Comparator.comparing(MetaBattleRewardData::getGroupID)) // groupId 기준으로 정렬 + .collect(Collectors.toList()); + } + + + + + + + + + + // 문자 데이터 로드 + private void loadTextStrings() { + List> metaList = jsonFileReader.readJsonFile( + EMetaData.TEXT_STRING_DATA.getFileName(), + MetadataConstants.JSON_LIST_TEXT_STRING + ); + + metaList.forEach(meta -> { + MetaTextStringData textString = new MetaTextStringData(); + textString.setKey((String) meta.get("Key")); + textString.setKor((String) meta.get("SourceString")); + textString.setEn((String) meta.get("en")); + textString.setJa((String) meta.get("ja")); + textStrings.put(textString.getKey(), textString); + }); + + log.info("loadTextStrings {} Load Complete",EMetaData.TEXT_STRING_DATA.getFileName()); + } + + // 아이템 정보 데이터 로드 + public void loadItems(){ + List> metaList = jsonFileReader.readJsonFile(EMetaData.ITEM_DATA.getFileName(), MetadataConstants.JSON_LIST_ITEM); + + metaList.forEach(meta -> { + MetaItemData item = new MetaItemData(); + item.setItemId((Integer)meta.get("item_id")); + item.setName((String)meta.get("name")); + item.setLargeType((String)meta.get("type_large")); + item.setGender((String)meta.get("gender")); + items.put(item.getItemId(), item); + }); + + log.info("loadItems {} Load Complete", EMetaData.ITEM_DATA.getFileName()); + + } + + // 의상 타입 데이터 로드 + public void loadClothType(){ + List> metaList = jsonFileReader.readJsonFile(EMetaData.CLOTH_TYPE_DATA.getFileName(), MetadataConstants.JSON_LIST_CLOTH_TYPE); + + metaList.forEach(meta -> { + MetaClothTypeData item = new MetaClothTypeData(); + item.setMetaId((Integer)meta.get("Meta_id")); + item.setSmallType((String)meta.get("SmallType")); + item.setEquipSlotType((String)meta.get("EquipSlotType")); + clothTypes.put(item.getMetaId(), item); + }); + + log.info("loadClothType {} Load Complete", EMetaData.CLOTH_TYPE_DATA.getFileName()); + } + + // 도구 정보 데이터 로드 + public void loadToolItems(){ + List> metaList = jsonFileReader.readJsonFile(EMetaData.TOOL_DATA.getFileName(), MetadataConstants.JSON_LIST_TOOL); + + metaList.forEach(meta -> { + MetaToolData item = new MetaToolData(); + item.setToolId((Integer)meta.get("tool_id")); + item.setToolName((String)meta.get("tool_name")); + toolItems.put(item.getToolId(), item); + }); + + log.info("loadToolItems {} Load Complete", EMetaData.TOOL_DATA.getFileName()); + } + + // 금지어 데이터 로드 + public void loadBanWord(){ + List> metaList = jsonFileReader.readJsonFile(EMetaData.BAN_WORD_DATA.getFileName(), MetadataConstants.JSON_LIST_BAN_WORD); + + metaList.forEach(meta -> { + banWords.put((Integer)meta.get("Id"), (String)meta.get("Ban_Word")); + }); + + log.info("loadBanWord {} Load Complete", EMetaData.BAN_WORD_DATA.getFileName()); + } + + // 퀘스트 데이터 로드 + public void loadQuests(){ + List> metaList = jsonFileReader.readJsonFile(EMetaData.QUEST_DATA.getFileName(), MetadataConstants.JSON_LIST_QUEST); + + metaList.forEach(meta -> { + MetaQuestData item = new MetaQuestData(); + Integer questId = (Integer)meta.get("QuestID"); + Integer taskNum = (Integer)meta.get("TaskNum"); + item.setQuestId(questId); + item.setTaskNum(taskNum); + item.setTaskName((String)meta.get("TaskName")); + item.setCounter((Integer) meta.get("SetCounter")); + quests.put(new MetaQuestKey(questId, taskNum), item); + }); + + log.info("loadQuests {} Load Complete", EMetaData.QUEST_DATA.getFileName()); + } + + // 빌딩 데이터 로드 + public void loadBuilding(){ + List> metaList = jsonFileReader.readJsonFile(EMetaData.BUILDING_DATA.getFileName(), MetadataConstants.JSON_LIST_BUILDING); + + metaList.forEach(meta -> { + String building_name = (String)meta.get("BuildingName"); + if(building_name.isEmpty()) return; + MetaBuildingData item = new MetaBuildingData(); + item.setBuildingId((Integer)meta.get("BuildingId")); + item.setBuildingOpen((Boolean)meta.get("BuildingOpen")); + item.setOwner((String)meta.get("Owner")); + item.setEditor((String)meta.get("Editor")); + item.setBuildingName(building_name); + item.setBuildingDesc((String)meta.get("BuildingDesc")); + item.setBuildingSize((String)meta.get("BuildingSize")); + item.setInstanceSocket((Integer)meta.get("InstanceSocket")); + buildings.put((Integer)meta.get("BuildingId"), item); + }); + + log.info("loadBuilding {} Load Complete", EMetaData.BUILDING_DATA.getFileName()); + } + + // 랜드 데이터 로드 + public void loadLand(){ + List> metaList = jsonFileReader.readJsonFile(EMetaData.LAND_DATA.getFileName(), MetadataConstants.JSON_LIST_LAND); + + metaList.forEach(meta -> { + String land_name = (String)meta.get("LandName"); + if(land_name.isEmpty()) return; + MetaLandData item = new MetaLandData(); + item.setLandId((Integer)meta.get("LandId")); + item.setOwner((String)meta.get("Owner")); + item.setEditor((String)meta.get("Editor")); +// item.setNonAuction((Boolean)meta.get("NonAuction")); + item.setLandName(land_name); + item.setLandDesc((String)meta.get("LandDesc")); + item.setLandSize((String)meta.get("LandSize")); + item.setLandType((String)meta.get("LandType")); + item.setBuildingId((Integer)meta.get("BuildingId")); + item.setBuildingSocket((Integer)meta.get("BuildingSocket")); + lands.put((Integer)meta.get("LandId"), item); + }); + + log.info("loadLand {} Load Complete", EMetaData.LAND_DATA.getFileName()); + } + + // 전투 설정 데이터 로드 + public void loadBattleConfig(){ + List> metaList = jsonFileReader.readJsonFile(EMetaData.BATTLE_CONFIG_DATA.getFileName(), MetadataConstants.JSON_LIST_BATTLE_CONFIG); + + metaList.forEach(meta -> { + MetaBattleConfigData item = new MetaBattleConfigData(); + item.setId((Integer)meta.get("Id")); + item.setDesc((String)meta.get("_Desc")); + item.setPlayerRespawnTime((Integer)meta.get("PlayerRespawnTime")); + item.setDefaultRoundCount((Integer)meta.get("DefaultRoundCount")); + item.setRoundTime((Integer)meta.get("RoundTime")); + item.setNextRoundWaitTime((Integer)meta.get("NextRoundWaitTime")); + item.setResultUIWaitTime((Integer)meta.get("ResultUIWaitTime")); + item.setGetRewardTime((Integer)meta.get("GetRewardTime")); + battleConfigs.put((Integer)meta.get("Id"), item); + }); + + log.info("loadBattleConfig {} Load Complete", EMetaData.BATTLE_CONFIG_DATA.getFileName()); + } + + // 전투 보상 데이터 로드 + public void loadBattleReward(){ + List> metaList = jsonFileReader.readJsonFile(EMetaData.BATTLE_REWARD_DATA.getFileName(), MetadataConstants.JSON_LIST_BATTLE_REWARD); + + metaList.forEach(meta -> { + MetaBattleRewardData item = new MetaBattleRewardData(); + item.setId((Integer)meta.get("Id")); + item.setDesc((String)meta.get("_Desc")); + item.setGroupID((Integer)meta.get("GroupID")); + item.setChargeLevel((Integer)meta.get("ChargeLevel")); + item.setChargeTime((Integer)meta.get("ChargeTime")); + item.setRewardItemID((Integer)meta.get("RewardItemID")); + item.setRewardCount((Integer)meta.get("RewardCount")); + battleRewards.put((Integer)meta.get("Id"), item); + }); + + log.info("loadBattleReward {} Load Complete", EMetaData.BATTLE_REWARD_DATA.getFileName()); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/datacomponent/MetaDataFileLoader_old.java b/src/main/java/com/caliverse/admin/domain/datacomponent/MetaDataFileLoader_old.java new file mode 100644 index 0000000..8f156e5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/datacomponent/MetaDataFileLoader_old.java @@ -0,0 +1,361 @@ +package com.caliverse.admin.domain.datacomponent; + + +import com.caliverse.admin.domain.entity.EMetaData; +import com.caliverse.admin.domain.entity.metadata.*; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.Getter; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Component; + +import java.io.*; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Component +@Getter +@Slf4j +public class MetaDataFileLoader_old { + @Value("${caliverse.metadata.path}") + private String metaDataPath; + +// private Map items; +// private Map textStrings; +// private Map clothTypes; +// private Map toolItems; +// private Map banWords; +// private Map quests; +// private Map buildings; +// private Map lands; +// +// public MetaTextStringData getName(String text){ +// if(textStrings == null) parseMetaString(); +// if(text == null) return null; +// +// MetaTextStringData name = textStrings.get(text); +// +// return name; +// } +// +// //아이템 가져오기 +// public MetaItemData getMetaItem(int itemId) { +// if(textStrings == null) parseMetaString(); +// if(items == null){ +// parseMetaItems(); +// } +// if(itemId == 0) return null; +// +// MetaItemData itemData = items.get(itemId); +// +// return itemData; +// } +// +// //의상 타입 가져오기 +// public MetaClothTypeData getMetaClothType(int id) { +// if(clothTypes == null ){ +// parseMetaClothTypes(); +// } +// if(id == 0) return null; +// +// return clothTypes.get(id); +// } +// +// //도구 정보 가져오기 +// public MetaToolData getMetaToolItem(int id) { +// if(textStrings == null) parseMetaString(); +// if(toolItems == null ){ +// parseMetaToolItems(); +// } +// if(id == 0){ +// return null; +// } +// +// return toolItems.get(id); +// } +// +// //퀘스트 정보 가져오기 +// public List getMetaQuests(int id) { +// if(textStrings == null) parseMetaString(); +// if(quests == null ) parseMetaQuests(); +// if(id == 0) return null; +// +// List quest = new ArrayList<>(); +// quests.forEach((key,val)->{ +// if(key.getQeustId().equals(id)) quest.add(val); +// }); +// +// return quest; +// } +// +// //빌딩 정보 가져오기 +// public MetaBuildingData getMetaBuildingItem(int id) { +// if(textStrings == null) parseMetaString(); +// if(buildings == null ){ +// parseMetaBuilding(); +// } +// if(id == 0){ +// return null; +// } +// +// return buildings.get(id); +// } +// +// //랜드 정보 가져오기 +// public MetaLandData getMetaLandItem(int id) { +// if(textStrings == null) parseMetaString(); +// if(lands == null ){ +// parseMetaLand(); +// } +// if(id == 0){ +// return null; +// } +// +// return lands.get(id); +// } +// +// // 아이템 정보 데이터 저장 +// public void parseMetaItems(){ +// items = new HashMap<>(); +// +// List> itemInfos = loadDataFromJsonFile(EMetaData.ITEM_DATA.getFileName(), "ItemMetaDataList"); +// +// for (Map itemInfo : itemInfos) { +// MetaItemData item = new MetaItemData(); +// item.setItemId((Integer)itemInfo.get("item_id")); +// item.setName((String)itemInfo.get("name")); +// item.setLargeType((String)itemInfo.get("type_large")); +// item.setGender((String)itemInfo.get("gender")); +// items.put(item.getItemId(), item); +// } +// +// log.info("parseMetaItems ItemMetaDataList.json Load Complete"); +// +// } +// +// // 의상 타입 데이터 저장 +// public void parseMetaClothTypes(){ +// clothTypes = new HashMap<>(); +// +// List> itemInfos = loadDataFromJsonFile(EMetaData.CLOTH_TYPE_DATA.getFileName(), "ClothEquipTypeDataList"); +// +// for (Map itemInfo : itemInfos) { +// MetaClothTypeData item = new MetaClothTypeData(); +// item.setMetaId((Integer)itemInfo.get("Meta_id")); +// item.setSmallType((String)itemInfo.get("SmallType")); +// item.setEquipSlotType((String)itemInfo.get("EquipSlotType")); +// clothTypes.put(item.getMetaId(), item); +// } +// log.info("parseMetaClothTypes ClothEquipTypeDataList.json Load Complete"); +// } +// +// // 도구 정보 데이터 저장 +// public void parseMetaToolItems(){ +// toolItems = new HashMap<>(); +// +// List> itemInfos = loadDataFromJsonFile(EMetaData.TOOL_DATA.getFileName(), "ToolMetaDataList"); +// +// for (Map itemInfo : itemInfos) { +// MetaToolData item = new MetaToolData(); +// item.setToolId((Integer)itemInfo.get("tool_id")); +// item.setToolName((String)itemInfo.get("tool_name")); +// toolItems.put(item.getToolId(), item); +// } +// log.info("parseMetaToolItems ToolMetaDataList.json Load Complete"); +// } +// +// // 금지어 데이터 저장 +// public void parseMetaBanWord(){ +// banWords = new HashMap<>(); +// +// List> itemInfos = loadDataFromJsonFile(EMetaData.BAN_WORD_DATA.getFileName(), "BanWordMetaDataList"); +// +// for (Map itemInfo : itemInfos) { +// banWords.put((Integer)itemInfo.get("Id"), (String)itemInfo.get("Ban_Word")); +// } +// log.info("parseMetaBanWord BanWordMetaDataList.json Load Complete"); +// } +// +// // String 데이터 저장 +// public void parseMetaString(){ +// textStrings = new HashMap<>(); +// +// List> itemInfos = loadDataFromJsonFile(EMetaData.TEXT_STRING_DATA.getFileName(), "TextStringMetaDataList"); +// +// for (Map itemInfo : itemInfos) { +// MetaTextStringData item = new MetaTextStringData(); +// item.setKey((String)itemInfo.get("Key")); +// item.setKor((String)itemInfo.get("SourceString")); +// item.setEn((String)itemInfo.get("en")); +// textStrings.put((String)itemInfo.get("Key"), item); +// } +// log.info("parseMetaString TextStringMetaDataList.json Load Complete"); +// } +// +// // 퀘스트 데이터 저장 +// public void parseMetaQuests(){ +// quests = new HashMap<>(); +// +// List> itemInfos = loadDataFromJsonFile(EMetaData.QUEST_DATA.getFileName(), "QuestMetaDataList"); +// +// for (Map itemInfo : itemInfos) { +// MetaQuestData item = new MetaQuestData(); +// Integer questId = (Integer)itemInfo.get("QuestID"); +// Integer taskNum = (Integer)itemInfo.get("TaskNum"); +// item.setQuestId(questId); +// item.setTaskNum(taskNum); +// item.setTaskName((String)itemInfo.get("TaskName")); +// item.setCounter((Integer) itemInfo.get("SetCounter")); +// quests.put(new MetaQuestKey(questId, taskNum), item); +// } +// log.info("parseMetaQuests QuestMetaDataList.json Load Complete"); +// } +// +// // 빌딩 데이터 저장 +// public void parseMetaBuilding(){ +// buildings = new HashMap<>(); +// +// List> buildingInfos = loadDataFromJsonFile(EMetaData.BUILDING_DATA.getFileName(), "BuildingMetaDataList"); +// +// for (Map itemInfo : buildingInfos) { +// MetaBuildingData item = new MetaBuildingData(); +// item.setBuildingId((Integer)itemInfo.get("BuildingId")); +// item.setBuildingOpen((Boolean)itemInfo.get("BuildingOpen")); +// item.setOwner((String)itemInfo.get("Owner")); +// item.setBuildingName((String)itemInfo.get("BuildingName")); +// item.setBuildingDesc((String)itemInfo.get("BuildingDesc")); +// item.setBuildingSize((String)itemInfo.get("BuildingSize")); +// item.setInstanceSocket((Integer)itemInfo.get("InstanceSocket")); +// item.setInstanceSocketLink((Integer)itemInfo.get("InstanceSocketLink")); +// buildings.put((Integer)itemInfo.get("BuildingId"), item); +// } +// log.info("parseMetaBuilding BuildingMetaDataList.json Load Complete"); +// } +// +// // 랜드 데이터 저장 +// public void parseMetaLand(){ +// lands = new HashMap<>(); +// +// List> landInfos = loadDataFromJsonFile(EMetaData.LAND_DATA.getFileName(), "LandMetaDataList"); +// +// for (Map itemInfo : landInfos) { +// MetaLandData item = new MetaLandData(); +// item.setLandId((Integer)itemInfo.get("LandId")); +// item.setOwner((String)itemInfo.get("Owner")); +// item.setLandName((String)itemInfo.get("LandName")); +// item.setLandDesc((String)itemInfo.get("LandDesc")); +// item.setLandSize((String)itemInfo.get("LandSize")); +// item.setLandType((String)itemInfo.get("LandType")); +// item.setBuildingSocket((Integer)itemInfo.get("BuildingSocket")); +// lands.put((Integer)itemInfo.get("LandId"), item); +// } +// log.info("parseMetaLand LandMetaDataList.json Load Complete"); +// } +// +// // resource json 파일 정보 읽어오기(resource) +//// public List> loadDataFromJsonFile(String fileName, String listName) { +//// List> resultMap = new ArrayList<>(); +//// +//// URL resourceUrl = getClass().getClassLoader().getResource("metadata/" + fileName); +//// log.info("loadDataFromJsonFile path: {}", resourceUrl.getPath()); +//// +//// try (InputStream inputStream = resourceUrl.openStream()) { +//// if (inputStream != null) { +//// boolean isRequired = EMetaData.getIsRequired(fileName); +//// if (isRequired) { +//// String str = new String(inputStream.readAllBytes(), StandardCharsets.UTF_8); +//// ObjectMapper objectMapper = new ObjectMapper(); +//// try { +//// JsonNode rootNode = objectMapper.readTree(str); +//// +//// resultMap = objectMapper.readValue(rootNode.get(listName).toString(), new TypeReference>>() {}); +//// } catch (JsonMappingException e) { +//// log.error("loadDataFromJsonFile JsonMappingException: {}", e.getMessage()); +//// } catch (JsonProcessingException e) { +//// log.error("loadDataFromJsonFile JsonProcessingException: {}", e.getMessage()); +//// } +//// } +//// } else { +//// log.error("Resource not found: {}", fileName); +//// } +//// } catch (IOException e) { +//// log.error("loadDataFromJsonFile IOException: {}", e.getMessage()); +//// } +//// +//// return resultMap; +//// } +// // json 파일 정보 읽어오기 +// public List> loadDataFromJsonFile(String fileName, String listName) { +// List> resultMap = new ArrayList<>(); +// +// File file = new File(metaDataPath, fileName); +// log.info("loadDataFromJsonFile path: {}", file.getPath()); +// if (file.isFile()) { +// boolean isRequired = EMetaData.getIsRequired(fileName); +// if (isRequired) { +// String str = readFileAsString(file); +// ObjectMapper objectMapper = new ObjectMapper(); +// try { +// JsonNode rootNode = objectMapper.readTree(str); +// +// resultMap = objectMapper.readValue(rootNode.get(listName).toString(), new TypeReference>>() {}); +// } catch (JsonMappingException e) { +// log.error("loadDataFromJsonFile JsonMappingException: {}", e.getMessage()); +// } catch (JsonProcessingException e) { +// log.error("loadDataFromJsonFile JsonProcessingException: {}", e.getMessage()); +// } +// finally { +// file = null; +// } +// } +// } +// return resultMap; +// } +//// public List> loadDataFromJsonFile(String fileName, String listName) { +//// List> resultMap = new ArrayList<>(); +//// File file = new File(getClass().getClassLoader().getResource("metadata").getPath(), fileName); +////// File file = new File(metaDataPath, fileName); +//// if (file.isFile()) { +//// boolean isRequired = EMetaData.getIsRequired(fileName); +//// if (isRequired) { +//// +//// String str = readFileAsString(file); +//// ObjectMapper objectMapper = new ObjectMapper(); +//// try { +//// // Parse the JSON object +//// JsonNode rootNode = objectMapper.readTree(str); +//// +////// jsonMap = objectMapper.readValue(str, new TypeReference>() {}); +//// resultMap = objectMapper.readValue(rootNode.get(listName).toString(), new TypeReference>>() {}); +//// } catch (JsonMappingException e) { +//// e.printStackTrace(); +//// } catch (JsonProcessingException e) { +//// e.printStackTrace(); +//// } +//// finally { +//// file = null; +//// } +//// } +//// } +//// return resultMap; +//// } +// +// private String readFileAsString(File file) { +// StringBuilder fileContents = new StringBuilder((int)file.length()); +// try (BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(file), "UTF-8"))) { +// String line; +// while((line = br.readLine()) != null) { +// fileContents.append(line); +// } +// } catch (IOException e) { +// log.error("readFileAsString IOException: {}", e.getMessage()); +// } +// return fileContents.toString(); +// } +} diff --git a/src/main/java/com/caliverse/admin/domain/datacomponent/MetaDataHandler.java b/src/main/java/com/caliverse/admin/domain/datacomponent/MetaDataHandler.java new file mode 100644 index 0000000..c554340 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/datacomponent/MetaDataHandler.java @@ -0,0 +1,82 @@ +package com.caliverse.admin.domain.datacomponent; +import com.caliverse.admin.domain.entity.metadata.*; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.Collections; +import java.util.List; +import java.util.Optional; + +@Slf4j +@Service +public class MetaDataHandler { + + @Autowired private MetaDataFileLoader metadataFileLoader; + + @Autowired + public MetaDataHandler(MetaDataFileLoader metaDataFileLoader){ + this.metadataFileLoader = metaDataFileLoader; + } + + public String getTextStringData(String text) { + return metadataFileLoader.getName(text) + .map(MetaTextStringData::getKor) + .orElse(""); + } + + public String getMetaItemNameData(int itemId) { + return metadataFileLoader.getMetaItem(itemId) + .map(MetaItemData::getName) + .orElse(""); + } + + public String getMetaItemLargeTypeData(int itemId) { + return metadataFileLoader.getMetaItem(itemId) + .map(MetaItemData::getLargeType) + .orElse(""); + } + + public String getMetaClothSlotTypeData(int metaId) { + return metadataFileLoader.getMetaClothType(metaId) + .map(MetaClothTypeData::getEquipSlotType) + .orElse(""); + } + + public String getMetaClothSmallTypeData(int metaId) { + return metadataFileLoader.getMetaClothType(metaId) + .map(MetaClothTypeData::getSmallType) + .orElse(""); + } + + public List getMetaQuestData(int questId) { + return metadataFileLoader.getMetaQuests(questId); + } + + public MetaBuildingData getMetaBuildingData(int buildingId) { + return metadataFileLoader.getMetaBuildingItem(buildingId) + .orElse(null); + } + + public MetaLandData getMetaLandData(int landId) { + return metadataFileLoader.getMetaLandItem(landId) + .orElse(null); + } + + public List getMetaBuildingListData() { + return metadataFileLoader.getMetaBuildings(); + } + + public List getMetaLandListData() { + return metadataFileLoader.getMetaLands(); + } + + public List getMetaBattleConfigsListData() { + return metadataFileLoader.getMetaBattleConfigs(); + } + + public List getMetaBattleRewardsListData() { + return metadataFileLoader.getMetaBattleRewards(); + } +} + diff --git a/src/main/java/com/caliverse/admin/domain/datacomponent/MetaDataHandler_bak.java b/src/main/java/com/caliverse/admin/domain/datacomponent/MetaDataHandler_bak.java new file mode 100644 index 0000000..6f8ed8b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/datacomponent/MetaDataHandler_bak.java @@ -0,0 +1,91 @@ +package com.caliverse.admin.domain.datacomponent; +import com.caliverse.admin.domain.entity.metadata.MetaClothTypeData; +import com.caliverse.admin.domain.entity.metadata.MetaItemData; +import com.caliverse.admin.domain.entity.metadata.MetaQuestData; +import com.caliverse.admin.domain.entity.metadata.MetaTextStringData; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.cache.annotation.Cacheable; +import org.springframework.cache.annotation.EnableCaching; +import org.springframework.stereotype.Component; + +import java.util.List; + +@Slf4j +@Component +@EnableCaching(proxyTargetClass = true) +public class MetaDataHandler_bak { + + @Autowired private MetaDataFileLoader metadataFileLoader; + + /** + * text에 대한 명칭 정보 캐싱 + * @param text + * @return 명칭(String) + */ +// @Cacheable(cacheNames = "admintool:metaTextStringData", key = "#p0") +// public String getTextStringData(String text) { +// log.info("getTextStringData text: {}", text); +// MetaTextStringData data = metadataFileLoader.getName(text); +// log.info("getTextStringData data: {}", data); +// return data == null ? "" : data.getKor(); +// } +// +// /** +// * 아이템에 대한 이름 정보 캐싱 +// * @param itemId +// * @return 아이템 명칭(String) +// */ +// @Cacheable(cacheNames = "admintool:metaItemNameData", key = "#p0", unless = "#result == null") +// public String getMetaItemNameData(int itemId) { +// MetaItemData item = metadataFileLoader.getMetaItem(itemId); +// log.info("getMetaItemNameData data: {}", item); +// return item == null ? "" : item.getName(); +// } +// +// /** +// * 아이템에 대한 타입 정보 캐싱 +// * @param itemId +// * @return 아이템 타입(String) +// */ +// @Cacheable(cacheNames = "admintool:metaItemLargeTypeData", key = "#p0", unless = "#result == null") +// public String getMetaItemLargeTypeData(int itemId) { +// MetaItemData item = metadataFileLoader.getMetaItem(itemId); +// return item == null ? "" : item.getLargeType(); +// } +// +// /** +// * 의상 슬롯타입 정보 캐싱 +// * @param metaId +// * @return 의상 슬롯타입(String) +// */ +// @Cacheable(cacheNames = "admintool:metaClothSlotTypeData", key = "#p0", unless = "#result == null") +// public String getMetaClothSlotTypeData(int metaId) { +// MetaClothTypeData clothType = metadataFileLoader.getMetaClothType(metaId); +// return clothType == null ? "" : clothType.getEquipSlotType(); +// } +// +// /** +// * 의상 타입 정보 캐싱 +// * @param metaId +// * @return 의상 타입(String) +// */ +// @Cacheable(cacheNames = "admintool:metaClothSmallTypeData", key = "#p0", unless = "#result == null", sync = true) +// public String getMetaClothSmallTypeData(int metaId) { +// log.info("getMetaClothSmallTypeData metaId: {}", metaId); +// MetaClothTypeData clothType = metadataFileLoader.getMetaClothType(metaId); +// log.info("getMetaClothSmallTypeData data: {}", clothType); +// return clothType == null ? "" : clothType.getSmallType(); +// } +// +// /** +// * 퀘스트 정보 +// * @param questId +// * @return 퀘스트 정보(List) +// */ +// public List getMetaQuestData(int questId) { +// return metadataFileLoader.getMetaQuests(questId); +// } + +} + diff --git a/src/main/java/com/caliverse/admin/domain/datacomponent/MetaQuestKey.java b/src/main/java/com/caliverse/admin/domain/datacomponent/MetaQuestKey.java new file mode 100644 index 0000000..2596f76 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/datacomponent/MetaQuestKey.java @@ -0,0 +1,15 @@ +package com.caliverse.admin.domain.datacomponent; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +@Data +@AllArgsConstructor +@NoArgsConstructor +@EqualsAndHashCode +public class MetaQuestKey { + private Integer qeustId; + private Integer taskNum; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/ActiveUser.java b/src/main/java/com/caliverse/admin/domain/entity/ActiveUser.java new file mode 100644 index 0000000..5c8ae4b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/ActiveUser.java @@ -0,0 +1,61 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; + +import lombok.Builder; +import lombok.Data; + + + +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class ActiveUser { + private String date; + private int dau; + private int wau; + private int mau; +} + + + +// @Data +// @Builder +// @JsonInclude(JsonInclude.Include.NON_NULL) +// @AllArgsConstructor +// @NoArgsConstructor +// public static class ActiveUser { +// private String date; +// private int dau; +// private int maxAu; +// private int dalc; +// private int dglc; + +// private int h0; +// private int h1; +// private int h2; +// private int h3; +// private int h4; +// private int h5; + +// private int h6; +// private int h7; +// private int h8; +// private int h9; +// private int h10; +// private int h11; + +// private int h12; +// private int h13; +// private int h14; +// private int h15; +// private int h16; +// private int h17; + +// private int h18; +// private int h19; +// private int h20; +// private int h21; +// private int h22; +// private int h23; +// } diff --git a/src/main/java/com/caliverse/admin/domain/entity/Admin.java b/src/main/java/com/caliverse/admin/domain/entity/Admin.java new file mode 100644 index 0000000..dfdb637 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Admin.java @@ -0,0 +1,96 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.springframework.security.core.GrantedAuthority; +import org.springframework.security.core.userdetails.UserDetails; + +import java.time.LocalDateTime; +import java.util.Collection; +import java.util.Collections; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class Admin implements UserDetails{ + private Long id; + @JsonProperty("row_num") + private Long rowNum; + + private String name; + + private String password; + + private String email; + + @JsonIgnore + private Groups groups; + + private STATUS status; + + @JsonProperty("expired_dt") + private LocalDateTime expiredDt; + + /* 만료일 만 가져올려면 */ + /*@Column(name = "expired_dt") + @Temporal(TemporalType.DATE) + private Date expiredDt;*/ + + @JsonProperty("group_id") + private Long groupId; + @JsonProperty("group_nm") + private String groupNm; + @JsonProperty("pw_update_dt") + private LocalDateTime pwUpdateDt; + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + @JsonProperty("update_by") + private String updateBy; + + @Override + public Collection getAuthorities() { + return this.groups != null? this.groups.getAuthorities(): Collections.emptyList(); + } + + @Override + public String getPassword() { + return password; + } + + @Override + public String getUsername() { + return email; + } + + @Override + public boolean isAccountNonExpired() { + return true; + } + + @Override + public boolean isAccountNonLocked() { + return true; + } + + @Override + public boolean isCredentialsNonExpired() { + return true; + } + + @Override + public boolean isEnabled() { + return true; + } + + +} + diff --git a/src/main/java/com/caliverse/admin/domain/entity/AdminLog.java b/src/main/java/com/caliverse/admin/domain/entity/AdminLog.java new file mode 100644 index 0000000..fb4b573 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/AdminLog.java @@ -0,0 +1,26 @@ +package com.caliverse.admin.domain.entity; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; + +@AllArgsConstructor +@NoArgsConstructor +@Data +public class AdminLog { + private Long log_id; + + private Admin user; + + private LOGTYPE type; + + private String history; + + private String target; + + private LocalDateTime createDt; + + private Long createBy; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Authority.java b/src/main/java/com/caliverse/admin/domain/entity/Authority.java new file mode 100644 index 0000000..eee162f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Authority.java @@ -0,0 +1,20 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +public class Authority { + private Long id; + @JsonProperty("auth_menu") + private String authMenu; + @JsonProperty("auth_name") + private String authName; + +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/BaseEnumCode.java b/src/main/java/com/caliverse/admin/domain/entity/BaseEnumCode.java new file mode 100644 index 0000000..a90b6f3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/BaseEnumCode.java @@ -0,0 +1,5 @@ +package com.caliverse.admin.domain.entity; + +public interface BaseEnumCode { + T getValue(); +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/BattleEvent.java b/src/main/java/com/caliverse/admin/domain/entity/BattleEvent.java new file mode 100644 index 0000000..d81bd08 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/BattleEvent.java @@ -0,0 +1,83 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class BattleEvent { + private Long id; + @JsonProperty("row_num") + private Integer rowNum; + @JsonProperty("group_id") + private String groupId; + @JsonProperty("event_name") + private String eventName; + @JsonProperty("repeat_type") + private BATTLE_REPEAT_TYPE repeatType; + @JsonProperty("event_operation_time") + private Integer eventOperationTime; + // 시작 일자 + @JsonProperty("event_start_dt") + private LocalDateTime eventStartDt; + // 종료 일자 + @JsonProperty("event_end_dt") + private LocalDateTime eventEndDt; + //전투 이벤트 상태 + private BATTLE_STATUS status; + @JsonProperty("round_time") + private Integer roundTime; + @JsonProperty("round_count") + private Integer roundCount; + //포드 획득량 + @JsonProperty("round_pod") + private Integer roundPod; + @JsonProperty("hot_time") + private Integer hotTime; + @JsonProperty("config_id") + private Integer configId; + @JsonProperty("reward_group_id") + private Integer rewardGroupId; + + private boolean deleted; + + @JsonProperty("create_by") + private String createBy; + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("update_by") + private String updateBy; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + + public enum BATTLE_STATUS { + WAIT, + REGISTER, + CANCEL, + END, + FAIL, + RUNNING + ; + } + + public enum BATTLE_REPEAT_TYPE { + NONE, + DAY, // 매일 + SUNDAY, // 일요일 + MONDAY, // 월요일 + TUESDAY, // 화요일 + WEDNESDAY, // 수요일 + THURSDAY, // 목요일 + FRIDAY, // 금요일 + SATURDAY // 토요일 + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/BlackList.java b/src/main/java/com/caliverse/admin/domain/entity/BlackList.java new file mode 100644 index 0000000..66d6cb5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/BlackList.java @@ -0,0 +1,55 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; +import java.util.List; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class BlackList { + @JsonProperty("row_num") + private Long rowNum; + private Long id; + private String guid; + private String nickname; + private STATUSTYPE status; + private PERIOD period; + //제재 사유 + private SANCTIONS sanctions; + //제재 방식 + private SANCTIONSTYPE type; + @JsonProperty("start_dt") + private LocalDateTime startDt; + @JsonProperty("end_dt") + private LocalDateTime endDt; + + //등록자 이메일 주소 + @JsonProperty("create_by") + private String createBy; + + @JsonProperty("create_dt") + private String createDt; + + @JsonProperty("history") + private List blackListHistory; + + //유효성 체크 + private boolean validate; + + public enum STATUSTYPE { + WAIT, + EXPIRATION, + INPROGRESS, + FAIL + ; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/CLOTHSMALLTYPE.java b/src/main/java/com/caliverse/admin/domain/entity/CLOTHSMALLTYPE.java new file mode 100644 index 0000000..8cd9600 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/CLOTHSMALLTYPE.java @@ -0,0 +1,22 @@ +package com.caliverse.admin.domain.entity; + +public enum CLOTHSMALLTYPE { + SHIRT, + DRESS, + OUTER, + PANTS, + GLOVES, + RING, + BRACELET, + BAG, + BACKPACK, + CAP, + MASK, + GLASSES, + EARRING, + NECKLACE, + SHOES, + SOCKS, + ANKLET + ; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/CLOTHTYPE.java b/src/main/java/com/caliverse/admin/domain/entity/CLOTHTYPE.java new file mode 100644 index 0000000..0ee7892 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/CLOTHTYPE.java @@ -0,0 +1,7 @@ +package com.caliverse.admin.domain.entity; + +public enum CLOTHTYPE { + SLOT, + SMALL, + ; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Calium.java b/src/main/java/com/caliverse/admin/domain/entity/Calium.java new file mode 100644 index 0000000..88b0370 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Calium.java @@ -0,0 +1,54 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class Calium { + private Long id; + @JsonProperty("row_num") + private Long rowNum; + // 요청 사유 + private String content; + private String dept; + private double count; + //칼리움 요청 상태 + private CALIUMREQUESTSTATUS status; + // 요청 id + @JsonProperty("request_id") + private String requestId; + @JsonProperty("create_time") + private String createTime; + @JsonProperty("state_message") + private String stateMessage; + @JsonProperty("state_time") + private String stateTime; + + @JsonProperty("create_by") + private String createBy; + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("update_by") + private String updateBy; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + + public enum CALIUMREQUESTSTATUS { + WAIT, + FINISH, + FAIL, + COMPLETE, + REJECT + ; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Currencys.java b/src/main/java/com/caliverse/admin/domain/entity/Currencys.java new file mode 100644 index 0000000..ae4a599 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Currencys.java @@ -0,0 +1,27 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDate; + +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +@AllArgsConstructor +@NoArgsConstructor +public class Currencys { + private LocalDate date; + @JsonProperty("currency_type") + private String currencyType; + private int count; + private int quantity; + private String route; + @JsonProperty("delta_type") + private String deltaType; + +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/DailyActiveUser.java b/src/main/java/com/caliverse/admin/domain/entity/DailyActiveUser.java new file mode 100644 index 0000000..f67da41 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/DailyActiveUser.java @@ -0,0 +1,50 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + + +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +@AllArgsConstructor +@NoArgsConstructor +public class DailyActiveUser { + private String date; + private int dau; + private int maxAu; + private int dalc; + private int dglc; + + private int h0; + private int h1; + private int h2; + private int h3; + private int h4; + private int h5; + + private int h6; + private int h7; + private int h8; + private int h9; + private int h10; + private int h11; + + private int h12; + private int h13; + private int h14; + private int h15; + private int h16; + private int h17; + + private int h18; + private int h19; + private int h20; + private int h21; + private int h22; + private int h23; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/DiffStatus.java b/src/main/java/com/caliverse/admin/domain/entity/DiffStatus.java new file mode 100644 index 0000000..47bf1f9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/DiffStatus.java @@ -0,0 +1,16 @@ +package com.caliverse.admin.domain.entity; + +import lombok.Getter; + +@Getter +public enum DiffStatus { + UP("UP"), + DOWN("DOWN"), + EQUAL("="); + + private final String status; + DiffStatus(String status) { + this.status = status; + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Distinct.java b/src/main/java/com/caliverse/admin/domain/entity/Distinct.java new file mode 100644 index 0000000..bb79b8e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Distinct.java @@ -0,0 +1,16 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; + +import lombok.Builder; +import lombok.Data; + +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class Distinct { + private String date; + private int dau; + private int wau; + private int mau; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/ECurrencyType.java b/src/main/java/com/caliverse/admin/domain/entity/ECurrencyType.java new file mode 100644 index 0000000..f9f3fa7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/ECurrencyType.java @@ -0,0 +1,37 @@ +package com.caliverse.admin.domain.entity; + +import java.util.Arrays; + +public enum ECurrencyType { + + NONE(0, "None"), + GOLD(1, "Gold"), + SAPPHIRE(2, "Sapphire"), + CALIUM(3, "Calium"), + BEAM(4, "Beam"), + RUBY(5, "Ruby"); + + private final int value; + private final String name; + + ECurrencyType(int value, String name) { + this.value = value; + this.name = name; + } + + public int getValue() { + return value; + } + + public String getName() { + return name; + } + + public static int getValueByName(String name) { + return Arrays.stream(values()) + .filter(type -> type.name.equalsIgnoreCase(name)) + .findFirst() + .map(ECurrencyType::getValue) + .orElse(NONE.value); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/EMetaData.java b/src/main/java/com/caliverse/admin/domain/entity/EMetaData.java new file mode 100644 index 0000000..1a746f9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/EMetaData.java @@ -0,0 +1,43 @@ +package com.caliverse.admin.domain.entity; + +public enum EMetaData { + + NONE("", false), + ITEM_DATA("ItemData.json", true), + CLOTH_TYPE_DATA("ClothEquipTypeData.json", true), + TOOL_DATA("ToolData.json", true), + BAN_WORD_DATA("BanWordData.json", true), + TEXT_STRING_DATA("TextStringData.json", true), + QUEST_DATA("QuestData.json", true), + LAND_DATA("LandData.json", true), + BUILDING_DATA("BuildingData.json", true), + BATTLE_CONFIG_DATA("BattleFFAConfigData.json", true), + BATTLE_REWARD_DATA("BattleFFARewardData.json", true) + + ; + + private String fileName; + private boolean isRequired; + + EMetaData(String fileName, boolean isRequired) { + this.fileName = fileName; + this.isRequired = isRequired; + } + + public String getFileName(){ + return fileName; + } + + public boolean getIsRequired(){ + return isRequired; + } + + public static boolean getIsRequired(String fileName) { + for (EMetaData metaData : EMetaData.values()) { + if (metaData.getFileName().equals(fileName)) { + return metaData.getIsRequired(); + } + } + return false; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Event.java b/src/main/java/com/caliverse/admin/domain/entity/Event.java new file mode 100644 index 0000000..c280a5f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Event.java @@ -0,0 +1,71 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; +import java.util.List; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class Event { + private Long id; + @JsonProperty("row_num") + private Long rowNum; + //우편 제목 + private String title; + // 우편 내용 + private String content; + // 아이템 + @JsonProperty("item_list") + private List itemList; + // 언어별 우편 리스트 + @JsonProperty("mail_list") + private List mailList; + // 시작 시간 + @JsonProperty("start_dt") + private LocalDateTime startDt; + // 종료 시간 + @JsonProperty("end_dt") + private LocalDateTime endDt; + //이벤트 상태 + private EVENTSTATUS status; + //이벤트 타입 + @JsonProperty("event_type") + private EVENTTYPE eventType; + // 삭제 사유 + @JsonProperty("delete_desc") + private String deleteDesc; + // 추가 여부 + @JsonProperty("add_flag") + private boolean addFlag; + + @JsonProperty("create_by") + private String createBy; + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("update_by") + private String updateBy; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + + public enum EVENTSTATUS { + WAIT, + FINISH, + FAIL, + RUNNING, + DELETE + ; + } + public enum EVENTTYPE { + ATTD, + ; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Excel.java b/src/main/java/com/caliverse/admin/domain/entity/Excel.java new file mode 100644 index 0000000..429bd22 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Excel.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class Excel { + private String user; + private String type; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/FriendRequest.java b/src/main/java/com/caliverse/admin/domain/entity/FriendRequest.java new file mode 100644 index 0000000..347400f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/FriendRequest.java @@ -0,0 +1,33 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +@JsonInclude(JsonInclude.Include.NON_NULL) +public class FriendRequest { + @JsonProperty("sender_guid") + private String senderGuid; + @JsonProperty("receiver_guid") + private String receiverGuid; + @JsonProperty("is_new") + private Integer isNew; + @JsonProperty("request_time") + private String requestTime; + @JsonProperty("CreatedDateTime") + private String createdDateTime; + @JsonProperty("UpdatedDateTime") + private String updatedDateTime; + @JsonProperty("ExpireDateTime") + private String expireDateTime; +} \ No newline at end of file diff --git a/src/main/java/com/caliverse/admin/domain/entity/Groups.java b/src/main/java/com/caliverse/admin/domain/entity/Groups.java new file mode 100644 index 0000000..e417d91 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Groups.java @@ -0,0 +1,49 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.springframework.security.core.authority.SimpleGrantedAuthority; + +import java.time.LocalDateTime; +import java.util.ArrayList; +import java.util.List; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@JsonInclude(JsonInclude.Include.NON_NULL) +public class Groups { + @JsonProperty("group_id") + private Long groupId; + @JsonProperty("row_num") + private Long rowNum; + @JsonProperty("group_nm") + private String groupNm; + + private String description; + + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("create_by") + private Long createBy; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + @JsonProperty("update_by") + private Long updateBy; + @JsonProperty("member_cnt") + private Long memberCnt; + + public List getAuthorities() { + List list = new ArrayList(); + list.add(new SimpleGrantedAuthority(this.getName() )); + return list; + } + + public String getName(){ + return this.groupNm.toString(); + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/HISTORYTYPE.java b/src/main/java/com/caliverse/admin/domain/entity/HISTORYTYPE.java new file mode 100644 index 0000000..f4a0f0c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/HISTORYTYPE.java @@ -0,0 +1,52 @@ +package com.caliverse.admin.domain.entity; + +public enum HISTORYTYPE { + + NONE("기본"), + LOGIN_PERMITTED("로그인 승인"), + ADMIN_INFO_UPDATE("운영자 정보 수정"), + ADMIN_INFO_DELETE("운영자 정보 삭제"), + PASSWORD_INIT("비밀번호 초기화"), + USER_INFO_UPDATE("유저 정보 변경"), + GROUP_AUTH_UPDATE("그룹 권한 수정"), + GROUP_DELETE("그룹 삭제"), + NOTICE_DELETE("공지사항 삭제"), + NOTICE_ADD("공지사항 등록"), + NOTICE_UPDATE("공지사항 수정"), + NOTICE_SEND_FAIL("공지사항 전송 실패"), + MAIL_DELETE("우편 삭제"), + MAIL_ADD("우편 등록"), + MAIL_UPDATE("우편 수정"), + MAIL_SEND("우편 전송"), + MAIL_SEND_FAIL("우편 전송 실패"), + MAIL_ITEM_DELETE("우편 아이템 삭제"), + MAIL_ITEM_UPDATE("우편 아이템 수정"), + WHITELIST_DELETE("화이트리스트 삭제"), + BLACKLIST_DELETE("유저 제재 삭제"), + REPORT_DELETE("신고내역 삭제"), + USER_ITEM_DELETE("유저 아이템 삭제"), + SCHEDULE_MAIL_FAIL("메일 스케줄 실패"), + SCHEDULE_NOTICE_FAIL("공지 스케줄 실패"), + SCHEDULE_EVENT_FAIL("이벤트 스케줄 실패"), + USER_MAIL_DELETE("유저 메일 삭제"), + INVENTORY_ITEM_DELETE("인벤토리 아이템 삭제"), + INVENTORY_ITEM_UPDATE("인벤토리 아이템 수정"), + EVENT_ADD("이벤트 등록"), + EVENT_UPDATE("이벤트 수정"), + EVENT_DELETE("이벤트 삭제"), + CALIUM_ADD("칼리움 요청 등록"), + CALIUM_SAVE("칼리움 저장"), + CALIUM_TRANSFER("칼리움 전송"), + CALIUM_TOTAL_UPDATE("칼리움 충전"), + LAND_AUCTION_ADD("랜드경매 등록"), + LAND_AUCTION_UPDATE("랜드경매 수정"), + LAND_AUCTION_DELETE("랜드경매 삭제"), + BATTLE_EVENT_ADD("전투시스템 이벤트 등록"), + BATTLE_EVENT_UPDATE("전투시스템 이벤트 수정"), + BATTLE_EVENT_DELETE("전투시스템 이벤트 삭제") + ; + private String historyType; + HISTORYTYPE(String type) { + this.historyType = type; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/ITEMLARGETYPE.java b/src/main/java/com/caliverse/admin/domain/entity/ITEMLARGETYPE.java new file mode 100644 index 0000000..0fd4a43 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/ITEMLARGETYPE.java @@ -0,0 +1,16 @@ +package com.caliverse.admin.domain.entity; + +public enum ITEMLARGETYPE { + TOOL, + EXPENDABLE, + TICKET, + RAND_BOX, + CLOTH, + AVATAR, + PROP, + TATTOO, + BEAUTY, + CURRENCY, + PRODUCT + ; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/InGame.java b/src/main/java/com/caliverse/admin/domain/entity/InGame.java new file mode 100644 index 0000000..8628099 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/InGame.java @@ -0,0 +1,98 @@ +package com.caliverse.admin.domain.entity; + +import java.time.LocalDateTime; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class InGame { + @JsonProperty("row_num") + private Long rowNum; + private Long id; + //채팅 타입 + @JsonProperty("message_type") + private MESSAGETYPE messageType; + //송출 일자 + @JsonProperty("send_dt") + private LocalDateTime sendDt; + //종료 일자 + @JsonProperty("end_dt") + private LocalDateTime endDt; + // 메시지 + @JsonProperty("game_message") + private String gameMessage; + // 송출 총횟수 + private Long total; + // 송출 완료 횟수 + @JsonProperty("send_cnt") + private Long sendCnt; + // 반복 발송 + @JsonProperty("is_repeat") + private boolean isRepeat; + // 반복 타입 + @JsonProperty("repeat_type") + private REPEATTYPE repeatType; + // 반복 시간 + @JsonProperty("repeat_dt") + private String repeatDt; + // 반복 횟수 + @JsonProperty("repeat_cnt") + private Long repeatCnt; + // 등록자 이메일주소 + @JsonProperty("create_by") + private String createBy; + // 등록자 이름 + @JsonProperty("create_name") + private String createName; + // 전송 상태 + @JsonProperty("send_status") + private SENDSTATUS sendStatus; + + // 수정자 이메일주소 + @JsonProperty("update_by") + private String updateBy; + // 수정자 이름 + @JsonProperty("update_name") + private String updateName; + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + + private String content; + + public boolean getIsRepeat(){ + return isRepeat; + } + + // 메시지 타입 + public enum MESSAGETYPE{ + CHATTING, + CHATTING_TOAST + ; + } + // 반복 타입 + public enum REPEATTYPE{ + COUNT, + DATE, + TIME + ; + } + + public enum SENDSTATUS { + WAIT, + RUNNING, + FINISH, + FAIL + ; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Indicators/StatisticsType.java b/src/main/java/com/caliverse/admin/domain/entity/Indicators/StatisticsType.java new file mode 100644 index 0000000..3f3a510 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Indicators/StatisticsType.java @@ -0,0 +1,19 @@ +package com.caliverse.admin.domain.entity.Indicators; + +public enum StatisticsType { + DAU, + WAU, + MAU, + MCU, + NRU, + ; + + public static StatisticsType getStatisticsType(String type) { + for (StatisticsType statisticsType : StatisticsType.values()) { + if (statisticsType.name().equals(type)) { + return statisticsType; + } + } + return null; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Item.java b/src/main/java/com/caliverse/admin/domain/entity/Item.java new file mode 100644 index 0000000..ad4f934 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Item.java @@ -0,0 +1,21 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class Item { + private String item; + @JsonProperty("item_name") + private String itemName; + @JsonProperty("item_cnt") + private Integer itemCnt; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/ItemList.java b/src/main/java/com/caliverse/admin/domain/entity/ItemList.java new file mode 100644 index 0000000..a8ee61c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/ItemList.java @@ -0,0 +1,32 @@ +package com.caliverse.admin.domain.entity; + +import com.caliverse.admin.domain.response.ItemsResponse; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +public class ItemList { + @JsonProperty("row_num") + private Long rowNum; + private String guid; + @JsonProperty("item_id") + private String itemId; //아이템 id + @JsonProperty("item_nm") + private String itemName; //아이템명 + @JsonProperty("restore_type") + private String restoreType; //복구가능여부 + private STATUS status; + @JsonProperty("create_by") + private String createBy; //생성날짜 + public enum STATUS{ + PERMITTED, + REJECT + ; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/LANGUAGETYPE.java b/src/main/java/com/caliverse/admin/domain/entity/LANGUAGETYPE.java new file mode 100644 index 0000000..a79c40b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/LANGUAGETYPE.java @@ -0,0 +1,23 @@ +package com.caliverse.admin.domain.entity; + +import java.util.Arrays; +import java.util.List; + +public enum LANGUAGETYPE { + NONE, + KO, // 한국어(기본값) + EN, // 영어 + TH, // 태국 +//LanguageType_zh, // 중국어 + JA, // 일본어 +//LanguageType_fr, // 프랑스어 +//LanguageType_de, // 독일어 +//LanguageType_es, // 스페인어 +//LanguageType_ru, // 러시아어 +//LanguageType_ar // 아랍어 + ; + + public static List getAllLanguages() { + return Arrays.asList(LANGUAGETYPE.values()); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/LOGTYPE.java b/src/main/java/com/caliverse/admin/domain/entity/LOGTYPE.java new file mode 100644 index 0000000..5697bcd --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/LOGTYPE.java @@ -0,0 +1,16 @@ +package com.caliverse.admin.domain.entity; + +import lombok.Getter; +import lombok.RequiredArgsConstructor; + +@RequiredArgsConstructor +public enum LOGTYPE { + + SEND_EMAIL("우편 발송"), + USER_INFO_MOD("유저 정보 수정"), + + ; + + @Getter + private final String logType; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/LandAuction.java b/src/main/java/com/caliverse/admin/domain/entity/LandAuction.java new file mode 100644 index 0000000..8fdedf1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/LandAuction.java @@ -0,0 +1,90 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.math.BigDecimal; +import java.time.LocalDateTime; +import java.util.List; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class LandAuction { + private Long id; + @JsonProperty("row_num") + private Integer rowNum; + //랜드 id + @JsonProperty("land_id") + private Integer landId; + @JsonProperty("land_name") + private String landName; + @JsonProperty("land_size") + private String landSize; + @JsonProperty("land_socket") + private Integer landSocket; + @JsonProperty("auction_seq") + private Integer auctionSeq; + // 언어별 내용 리스트 + @JsonProperty("message_list") + private List messageList; + // 예약 시작 시간 + @JsonProperty("resv_start_dt") + private LocalDateTime resvStartDt; + // 예약 종료 시간 + @JsonProperty("resv_end_dt") + private LocalDateTime resvEndDt; + // 경매 시작 시간 + @JsonProperty("auction_start_dt") + private LocalDateTime auctionStartDt; + // 예약 종료 시간 + @JsonProperty("auction_end_dt") + private LocalDateTime auctionEndDt; + //경매 상태 + private AUCTION_STATUS status; + //입찰 재화 + @JsonProperty("currency_type") + private String currencyType; + //경매 시작가 + @JsonProperty("start_price") + private Double startPrice; + //낙찰 정산일 + @JsonProperty("close_end_dt") + private LocalDateTime closeEndDt; + //낙찰 가격 + @JsonProperty("close_price") + private Double closePrice; + //낙찰자 + @JsonProperty("bidder_guid") + private String bidderGuid; + @JsonProperty("bidder_nickname") + private String bidderNickname; + + private boolean deleted; + + @JsonProperty("create_by") + private String createBy; + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("update_by") + private String updateBy; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + + public enum AUCTION_STATUS { + WAIT, + RESV_START, + RESV_END, + AUCTION_START, + AUCTION_END, + CANCEL, + FAIL + ; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Language.java b/src/main/java/com/caliverse/admin/domain/entity/Language.java new file mode 100644 index 0000000..94790eb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Language.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.domain.entity; + +import java.util.Arrays; +import java.util.List; + + +public enum Language { + All, + Ko, + En, + Ja, + ; + + + public static List getAllLanguages() { + return Arrays.asList(Language.values()); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Log.java b/src/main/java/com/caliverse/admin/domain/entity/Log.java new file mode 100644 index 0000000..05d8bfb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Log.java @@ -0,0 +1,30 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class Log { + private Long id; + @JsonProperty("admin_id") + private Long adminId; + @JsonProperty("row_num") + private Long rowNum; + private String name; + private String mail; + @JsonProperty("history_type") + private HISTORYTYPE historyType; + private String content; + @JsonProperty("create_dt") + private LocalDateTime createDt; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Mail.java b/src/main/java/com/caliverse/admin/domain/entity/Mail.java new file mode 100644 index 0000000..f18cacc --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Mail.java @@ -0,0 +1,107 @@ +package com.caliverse.admin.domain.entity; + +import java.time.LocalDateTime; +import java.util.List; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class Mail { + private Long id; + @JsonProperty("row_num") + private Long rowNum; + //우편 제목 + @JsonProperty("title") + private String title; + // 우편 내용 + private String content; + // 아이템 + @JsonProperty("item_list") + private List itemList; + + @JsonProperty("mail_list") + private List mailList; + + @JsonProperty("guid_list") + private List guidList; + // 예약 발송 여부 + @JsonProperty("is_reserve") + private boolean isReserve; + // 발송 시간 + @JsonProperty("send_dt") + private LocalDateTime sendDt; + //발송 상태 + @JsonProperty("send_status") + private SENDSTATUS sendStatus; + //발송 방식 + @JsonProperty("send_type") + private SENDTYPE sendType; + // 우편 타입 + @JsonProperty("mail_type") + private MAILTYPE mailType; + // 수신 대상 (단일/복수) + @JsonProperty("receive_type") + private RECEIVETYPE receiveType; + // 수신 대상 (GUID/닉네임) + @JsonProperty("user_type") + private USERTYPE userType; + + private String guid; + // 단일 / 복수 -> guid / 엑셀 경로 + private String target; + + @JsonProperty("create_by") + private String createBy; + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("update_by") + private String updateBy; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + + public static class Guid{ + String guid; + } + + public enum SENDTYPE { + + RESERVE_SEND, + DIRECT_SEND + ; + } + public enum SENDSTATUS { + WAIT, + FINISH, + FAIL, + RUNNING, + ; + } + public enum MAILTYPE { + SYSTEM_GUID, + INSPECTION_COMPENSATION, + RECOVER_COMPENSATION, + EVENT_COMPENSATION + ; + } + public enum RECEIVETYPE { + SINGLE, + MULTIPLE + ; + } + public enum USERTYPE { + GUID, + NICKNAME, + EMAIL + ; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Message.java b/src/main/java/com/caliverse/admin/domain/entity/Message.java new file mode 100644 index 0000000..0748185 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Message.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class Message { + private String title; + private String language; + private String content; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/PERIOD.java b/src/main/java/com/caliverse/admin/domain/entity/PERIOD.java new file mode 100644 index 0000000..9763177 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/PERIOD.java @@ -0,0 +1,12 @@ +package com.caliverse.admin.domain.entity; + +public enum PERIOD { + WARNING, + D1, + D3, + D7, + D15, + D30, + PERMANENT + ; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/PERMISSION.java b/src/main/java/com/caliverse/admin/domain/entity/PERMISSION.java new file mode 100644 index 0000000..0389b6a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/PERMISSION.java @@ -0,0 +1,14 @@ +package com.caliverse.admin.domain.entity; + +import lombok.RequiredArgsConstructor; + +@RequiredArgsConstructor +public enum PERMISSION { + + ADMIN_READ, + ADMIN_CONFIRM, + ADMIN_UPDATE, + ADMIN_DELETE, + ; + +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/REPORTTYPE.java b/src/main/java/com/caliverse/admin/domain/entity/REPORTTYPE.java new file mode 100644 index 0000000..2012269 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/REPORTTYPE.java @@ -0,0 +1,23 @@ +package com.caliverse.admin.domain.entity; + +public enum REPORTTYPE { + UNMANNERED_ACT("비매너 행위"), + USE_UNHEALTHY_NAMES("불건전 이름 사용"), + CASH_TRADING("현금거래 행위"), + INTERFERENCE_GAME("게임 진행 방해"), + INTERFERENCE_SERVICE ("운영서비스 방해"), + ACCOUNT_EXPLOITATION("계정도용"), + BUG_ABUSING("버그/어뷰징"), + USE_HACK("불법프로그램 사용"), + LEAK_PERSONAL_INFO("개인정보 유출"), + PRETENDING_GM("운영자 사칭"), + ; + private String name; + REPORTTYPE(String name) { + this.name = name; + } + + public String getName(){ + return name; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/ROLE.java b/src/main/java/com/caliverse/admin/domain/entity/ROLE.java new file mode 100644 index 0000000..b2b64fc --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/ROLE.java @@ -0,0 +1,30 @@ +package com.caliverse.admin.domain.entity; + +//권한 등급 +public enum ROLE { + ADMINSEARCH( + PERMISSION.ADMIN_READ, + PERMISSION.ADMIN_CONFIRM, + PERMISSION.ADMIN_UPDATE, + PERMISSION.ADMIN_DELETE + ), + ADMINLOGSEARCH( + PERMISSION.ADMIN_READ + ), + AUTHORITYSETTING( + PERMISSION.ADMIN_READ, + PERMISSION.ADMIN_UPDATE, + PERMISSION.ADMIN_DELETE + ) + + ; + private final PERMISSION[] permissions; + + ROLE(PERMISSION... permissions) { + this.permissions = permissions; + } + + public PERMISSION[] getPermissions() { + return permissions; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/ROUTE.java b/src/main/java/com/caliverse/admin/domain/entity/ROUTE.java new file mode 100644 index 0000000..5aa8b2e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/ROUTE.java @@ -0,0 +1,21 @@ +package com.caliverse.admin.domain.entity; + +public enum ROUTE { + QUEST_REWARD("퀘스트 보상"), SEASON_PASS("시즌 패스 보상"), FROM_PROP("프랍 획득"), + CLAIM_REWARD("클레임보상"), USE_ITEM("아이템 사용(랜덤박스)"), TATTOO_ENHANCE("타투 강화"), + TATTOO_CONVERSION("타투 연성"), SHOP_BUY("상점 구매"), SHOP_SELL("상점 판매"), + PAID_PRODUCT("유료 상품 구매"), TRADE_ADD("유저 거래(획득)"), NFT_LOCKIN("LOCK-IN"), + USE_PROP("프랍 사용"), USE_TAXI("택시"), SHOUT("전체 채팅"), SUMMON("파티원 소환"), + CREATE_PARTYROOM("파티 인스턴스 생성"), INVENTORY_EXPAND("인벤토리 확장"), + TRADE_REMOVE("유저 거래(소진)"), NFT_UNLOCK("UNLOCK"); + + private final String description; + + ROUTE(String description) { + this.description = description; + } + + public String getDescription() { + return description; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/SANCTIONS.java b/src/main/java/com/caliverse/admin/domain/entity/SANCTIONS.java new file mode 100644 index 0000000..36d9e2e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/SANCTIONS.java @@ -0,0 +1,25 @@ +package com.caliverse.admin.domain.entity; + +public enum SANCTIONS implements BaseEnumCode{ + Bad_Behavior("비매너 행위"), + Inappropriate_Name("불건전 이름 사용"), + Cash_Transaction("현금거래 행위"), + Game_Interference("게임 진행 방해"), + Service_Interference("운영서비스 방해"), + Account_Impersonation("계정도용"), + Bug_Abuse("버그/어뷰징"), + Illegal_Program("불법프로그램 사용"), + Personal_Info_Leak("개인정보 유출"), + Admin_Impersonation("운영자 사칭"); + + private final String reason; + + SANCTIONS(String reason) { + this.reason = reason; + } + + @Override + public String getValue() { + return this.reason; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/SANCTIONSTYPE.java b/src/main/java/com/caliverse/admin/domain/entity/SANCTIONSTYPE.java new file mode 100644 index 0000000..33b5cb0 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/SANCTIONSTYPE.java @@ -0,0 +1,6 @@ +package com.caliverse.admin.domain.entity; + +public enum SANCTIONSTYPE{ + Access_Restrictions, //접근 제한 + Chatting_Restrictions; //채팅 제한 +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/SEARCHTYPE.java b/src/main/java/com/caliverse/admin/domain/entity/SEARCHTYPE.java new file mode 100644 index 0000000..947fa83 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/SEARCHTYPE.java @@ -0,0 +1,12 @@ +package com.caliverse.admin.domain.entity; + +public enum SEARCHTYPE { + NAME, + EMAIL, + GUID, + ACCOUNT, + SEND, + RECEIVE, + TEMP_DATA + ; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/STATUS.java b/src/main/java/com/caliverse/admin/domain/entity/STATUS.java new file mode 100644 index 0000000..5c0e792 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/STATUS.java @@ -0,0 +1,25 @@ +package com.caliverse.admin.domain.entity; + +//로그인 승인 상태 +public enum STATUS implements BaseEnumCode{ + ROLE_NOT_PERMITTED("승인 대기중") + , REJECT("신청 반려") + , PERMITTED("승인완료") + , INIT("비번 재설정") + , RESOLVED("해결") + , UNRESOLVED("미해결") + ; + + private String title; + + STATUS(String title) { + this.title = title; + } + + @Override + public String getValue() { + return this.title; + } + + +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/Token.java b/src/main/java/com/caliverse/admin/domain/entity/Token.java new file mode 100644 index 0000000..e5d54f2 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/Token.java @@ -0,0 +1,29 @@ +package com.caliverse.admin.domain.entity; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class Token { + public Long id; + + public String token; + + public TokenType tokenType; + + public boolean revoked; + + public boolean expired; + + public Long adminId; + + public enum TokenType { + BEARER + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/WalletUser.java b/src/main/java/com/caliverse/admin/domain/entity/WalletUser.java new file mode 100644 index 0000000..6e55bf1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/WalletUser.java @@ -0,0 +1,24 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +@JsonInclude(JsonInclude.Include.NON_NULL) +public class WalletUser{ + @JsonProperty("id") + private Long account_id; + private String email; + private String guid; + private String region; + private String phone; + private Integer level; +} + diff --git a/src/main/java/com/caliverse/admin/domain/entity/WhiteList.java b/src/main/java/com/caliverse/admin/domain/entity/WhiteList.java new file mode 100644 index 0000000..b42077b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/WhiteList.java @@ -0,0 +1,29 @@ +package com.caliverse.admin.domain.entity; + +import com.fasterxml.jackson.annotation.JsonProperty; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +public class WhiteList { + @JsonProperty("row_num") + private Long rowNum; + private Long id; + private String guid; + private String nickname; //유저 닉네임 + private STATUS status; + @JsonProperty("create_by") + private String createBy; //등록자 이메일 주소 + + public enum STATUS{ + PERMITTED, + REJECT + ; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/aws/ConsumeCapacity.java b/src/main/java/com/caliverse/admin/domain/entity/aws/ConsumeCapacity.java new file mode 100644 index 0000000..876fb8c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/aws/ConsumeCapacity.java @@ -0,0 +1,14 @@ +package com.caliverse.admin.domain.entity.aws; + +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor +public class ConsumeCapacity { + private String date; + private long consumeRead; + private long consumeWrite; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/common/EAccountType.java b/src/main/java/com/caliverse/admin/domain/entity/common/EAccountType.java new file mode 100644 index 0000000..344ab48 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/common/EAccountType.java @@ -0,0 +1,9 @@ +package com.caliverse.admin.domain.entity.common; + +public enum EAccountType { + + None, + Google, + Apple + ; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/log/StatisticsType.java b/src/main/java/com/caliverse/admin/domain/entity/log/StatisticsType.java new file mode 100644 index 0000000..2e26014 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/log/StatisticsType.java @@ -0,0 +1,19 @@ +package com.caliverse.admin.domain.entity.log; + +public enum StatisticsType { + DAU, + WAU, + MAU, + MCU, + NRU, + ; + + public static StatisticsType getStatisticsType(String type) { + for (StatisticsType statisticsType : StatisticsType.values()) { + if (statisticsType.name().equals(type)) { + return statisticsType; + } + } + return null; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaBattleConfigData.java b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaBattleConfigData.java new file mode 100644 index 0000000..ec39acb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaBattleConfigData.java @@ -0,0 +1,23 @@ +package com.caliverse.admin.domain.entity.metadata; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; +import lombok.Setter; + + +@Getter @Setter +public class MetaBattleConfigData { + private Integer id; + private String desc; + @JsonProperty("player_respawn_time") + private Integer playerRespawnTime; + @JsonProperty("default_round_count") + private Integer defaultRoundCount; + @JsonProperty("round_time") + private Integer roundTime; + @JsonProperty("next_round_wait_time") + private Integer nextRoundWaitTime; + @JsonProperty("result_UI_wait_time") + private Integer resultUIWaitTime; + @JsonProperty("get_reward_time") + private Integer getRewardTime; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaBattleRewardData.java b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaBattleRewardData.java new file mode 100644 index 0000000..41a2a6f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaBattleRewardData.java @@ -0,0 +1,21 @@ +package com.caliverse.admin.domain.entity.metadata; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; +import lombok.Setter; + + +@Getter @Setter +public class MetaBattleRewardData { + private Integer id; + private String desc; + @JsonProperty("group_id") + private Integer groupID; + @JsonProperty("charge_level") + private Integer chargeLevel; + @JsonProperty("charge_time") + private Integer chargeTime; + @JsonProperty("reward_item_id") + private Integer rewardItemID; + @JsonProperty("reward_count") + private Integer rewardCount; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaBuildingData.java b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaBuildingData.java new file mode 100644 index 0000000..863a9ec --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaBuildingData.java @@ -0,0 +1,17 @@ +package com.caliverse.admin.domain.entity.metadata; +import lombok.Getter; +import lombok.Setter; + + +@Getter @Setter +public class MetaBuildingData { + + private Integer BuildingId; + private boolean BuildingOpen; + private String Owner; + private String Editor; + private String BuildingName; + private String BuildingDesc; + private String BuildingSize; + private Integer InstanceSocket; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaClothTypeData.java b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaClothTypeData.java new file mode 100644 index 0000000..b6f0152 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaClothTypeData.java @@ -0,0 +1,14 @@ +package com.caliverse.admin.domain.entity.metadata; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; + + +@Data +public class MetaClothTypeData { + + @JsonProperty("Meta_id") + private Integer MetaId; + private String SmallType; + private String EquipSlotType; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaItemData.java b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaItemData.java new file mode 100644 index 0000000..d89d202 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaItemData.java @@ -0,0 +1,19 @@ +package com.caliverse.admin.domain.entity.metadata; + +import com.fasterxml.jackson.annotation.JsonProperty; + +import lombok.Getter; +import lombok.Setter; + + +@Getter @Setter +public class MetaItemData { + + @JsonProperty("item_id") + private Integer itemId; + @JsonProperty("name") + private String name; + @JsonProperty("type_large") + private String largeType; + private String gender; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaLandData.java b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaLandData.java new file mode 100644 index 0000000..353bd0e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaLandData.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.domain.entity.metadata; +import lombok.Getter; +import lombok.Setter; + + +@Getter @Setter +public class MetaLandData { + private Integer landId; + private String owner; + private String editor; + private boolean nonAuction; + private String landName; + private String landDesc; + private String landSize; + private String landType; + private Integer buildingId; + private Integer buildingSocket; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaQuestData.java b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaQuestData.java new file mode 100644 index 0000000..bcade75 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaQuestData.java @@ -0,0 +1,19 @@ +package com.caliverse.admin.domain.entity.metadata; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.*; + + +@Data +public class MetaQuestData { + + @JsonProperty("QuestID") + private Integer questId; + @JsonProperty("TaskNum") + private Integer taskNum; + @JsonProperty("TaskName") + private String taskName; + @JsonProperty("SetCounter") + private Integer counter; +} + diff --git a/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaQuestKey.java b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaQuestKey.java new file mode 100644 index 0000000..e836655 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaQuestKey.java @@ -0,0 +1,15 @@ +package com.caliverse.admin.domain.entity.metadata; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +@Data +@AllArgsConstructor +@NoArgsConstructor +@EqualsAndHashCode +public class MetaQuestKey { + private Integer qeustId; + private Integer taskNum; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaTextStringData.java b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaTextStringData.java new file mode 100644 index 0000000..00881ac --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaTextStringData.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.domain.entity.metadata; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; +import lombok.Setter; + + +@Getter @Setter +public class MetaTextStringData { + + @JsonProperty("Key") + private String key; + @JsonProperty("SourceString") + private String kor; + @JsonProperty("en") + private String en; + private String ja; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaToolData.java b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaToolData.java new file mode 100644 index 0000000..4b43fbb --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/metadata/MetaToolData.java @@ -0,0 +1,15 @@ +package com.caliverse.admin.domain.entity.metadata; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; +import lombok.Setter; + + +@Getter @Setter +public class MetaToolData { + + @JsonProperty("tool_id") + private Integer toolId; + @JsonProperty("tool_name") + private String toolName; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/redis/RedisLoginInfo.java b/src/main/java/com/caliverse/admin/domain/entity/redis/RedisLoginInfo.java new file mode 100644 index 0000000..3e17b13 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/redis/RedisLoginInfo.java @@ -0,0 +1,23 @@ +package com.caliverse.admin.domain.entity.redis; + +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +@JsonIgnoreProperties(ignoreUnknown = true) +public class RedisLoginInfo { + + @JsonProperty("UserGuid") + String userGuid; + + @JsonProperty("AccountId") + String accountId; + + @JsonProperty("CurrentServer") + String currentServer; + + +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/web3/PagingInfo.java b/src/main/java/com/caliverse/admin/domain/entity/web3/PagingInfo.java new file mode 100644 index 0000000..518de84 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/web3/PagingInfo.java @@ -0,0 +1,16 @@ +package com.caliverse.admin.domain.entity.web3; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +public class PagingInfo { + private int offset; + private int limit; + @JsonProperty("last_offset") + private int lastOffset; + @JsonProperty("item_list_total") + private int itemListTotal; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseConfirmData.java b/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseConfirmData.java new file mode 100644 index 0000000..0a4e361 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseConfirmData.java @@ -0,0 +1,24 @@ +package com.caliverse.admin.domain.entity.web3; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +public class ResponseConfirmData { + private String _id; + @JsonProperty("server_type") + private String serverType; + private String requestor; + @JsonProperty("history_message") + private String historyMessage; + private float amount; + private String state; + @JsonProperty("state_message") + private String stateMessage; + @JsonProperty("create_time") + private String createTime; + @JsonProperty("state_time") + private String stateTime; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseConfirmListData.java b/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseConfirmListData.java new file mode 100644 index 0000000..52e5d5b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseConfirmListData.java @@ -0,0 +1,17 @@ +package com.caliverse.admin.domain.entity.web3; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; +import lombok.Setter; + +import java.util.List; + +@Getter +@Setter +public class ResponseConfirmListData { + private PagingInfo page; + @JsonProperty("server_type") + private String serverType; + @JsonProperty("item_list") + private List itemList; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseErrorCode.java b/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseErrorCode.java new file mode 100644 index 0000000..2882e26 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseErrorCode.java @@ -0,0 +1,32 @@ +package com.caliverse.admin.domain.entity.web3; + +import lombok.Getter; + +import java.util.Arrays; +import java.util.Optional; + +@Getter +public enum ResponseErrorCode { + FIN_GRHST_000("FIN.GRHST_000","not found data"), + FIN_PWRH_001("FIN.PWRH.001", "server_type 누락"), + FIN_PWRH_002("FIN.PWRH.002", "requestor 누락"), + FIN_PWRH_004("FIN.PWRH.004", "history_message 누락"), + FIN_PWRH_005("FIN.PWRH.005", "amount 값은 음수여야한다."), + RET_PWRH_001("RET.PWRH.101", "DB Insert Fail"), + FIN_GWRH_000("FIN.GWRH.000", "not found data"), + FIN_GWRH_001("FIN.GWRH.001", "invalid objectId format"); + + private final String code; + private final String message; + + ResponseErrorCode(String code, String message) { + this.code = code; + this.message = message; + } + + public static Optional fromCode(String code) { + return Arrays.stream(ResponseErrorCode.values()) + .filter(errorCode -> errorCode.getCode().equals(code)) + .findFirst(); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseRequestData.java b/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseRequestData.java new file mode 100644 index 0000000..13bdcb1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseRequestData.java @@ -0,0 +1,13 @@ +package com.caliverse.admin.domain.entity.web3; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +public class ResponseRequestData { + private String _id; + @JsonProperty("create_time") + private String createTime; +} diff --git a/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseWithdrawableData.java b/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseWithdrawableData.java new file mode 100644 index 0000000..0177d90 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/entity/web3/ResponseWithdrawableData.java @@ -0,0 +1,16 @@ +package com.caliverse.admin.domain.entity.web3; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +public class ResponseWithdrawableData { + @JsonProperty("server_type") + private String serverType; + @JsonProperty("reward_total_count") + private float rewardTotalCount; + @JsonProperty("confirm_total_count") + private float confirmTotalCount; +} diff --git a/src/main/java/com/caliverse/admin/domain/request/AdminRequest.java b/src/main/java/com/caliverse/admin/domain/request/AdminRequest.java new file mode 100644 index 0000000..2bf946d --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/AdminRequest.java @@ -0,0 +1,30 @@ +package com.caliverse.admin.domain.request; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Getter; +import lombok.NoArgsConstructor; + +import java.util.List; + +@Getter +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class AdminRequest { + private List list; + + @Getter + public static class AdminList{ + private String email; + @JsonProperty("group_id") + private Long groupId; + @JsonProperty("is_approve") + private Approve isApprove; + } + public enum Approve{ + APPROVE, + REJECT; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/request/AuthenticateRequest.java b/src/main/java/com/caliverse/admin/domain/request/AuthenticateRequest.java new file mode 100644 index 0000000..add4e4f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/AuthenticateRequest.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.domain.request; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.*; + +@Getter +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class AuthenticateRequest { + + private String name; + private String email; + private String password; + + @JsonProperty("new_password") + private String newPassword; +} diff --git a/src/main/java/com/caliverse/admin/domain/request/BattleEventRequest.java b/src/main/java/com/caliverse/admin/domain/request/BattleEventRequest.java new file mode 100644 index 0000000..c788f80 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/BattleEventRequest.java @@ -0,0 +1,63 @@ +package com.caliverse.admin.domain.request; + +import com.caliverse.admin.domain.entity.BattleEvent; +import com.caliverse.admin.domain.entity.LandAuction; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class BattleEventRequest { + + private Long id; + @JsonProperty("group_id") + private String groupId; + @JsonProperty("event_name") + private String eventName; + @JsonProperty("repeat_type") + private BattleEvent.BATTLE_REPEAT_TYPE repeatType; + @JsonProperty("event_operation_time") + private Integer eventOperationTime; + // 시작 일자 + @JsonProperty("event_start_dt") + private LocalDateTime eventStartDt; + // 종료 일자 + @JsonProperty("event_end_dt") + private LocalDateTime eventEndDt; + //전투 이벤트 상태 + private BattleEvent.BATTLE_STATUS status; + @JsonProperty("round_time") + private Integer roundTime; + @JsonProperty("round_count") + private Integer roundCount; + //포드 획득량 + @JsonProperty("round_pod") + private Integer roundPod; + @JsonProperty("hot_time") + private Integer hotTime; + @JsonProperty("config_id") + private Integer configId; + @JsonProperty("reward_group_id") + private Integer rewardGroupId; + + @JsonProperty("create_by") + private Long createBy; + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("update_by") + private Long updateBy; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + + //삭제용 id + private List list; + +} diff --git a/src/main/java/com/caliverse/admin/domain/request/BlackListRequest.java b/src/main/java/com/caliverse/admin/domain/request/BlackListRequest.java new file mode 100644 index 0000000..460f363 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/BlackListRequest.java @@ -0,0 +1,47 @@ +package com.caliverse.admin.domain.request; + +import com.caliverse.admin.domain.entity.BlackList; +import com.caliverse.admin.domain.entity.PERIOD; +import com.caliverse.admin.domain.entity.SANCTIONS; +import com.caliverse.admin.domain.entity.SANCTIONSTYPE; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.*; + +import java.time.LocalDateTime; +import java.util.List; + +@Getter +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class BlackListRequest { + @Setter + private String guid; + @Setter + private String nickname; + @Setter + private BlackList.STATUSTYPE status; + + private SANCTIONSTYPE type; + private PERIOD period; + private SANCTIONS sanctions; + @JsonProperty("start_dt") + private LocalDateTime startDt; + @JsonProperty("end_dt") + private LocalDateTime endDt; + + @Setter + @JsonProperty("create_by") + private Long createBy; + + // 삭제용 + @JsonProperty("list") + private List blackList; + + public enum POSTTYPE{ + SINGLE, + MULTIPLE + } + + +} diff --git a/src/main/java/com/caliverse/admin/domain/request/BusinessLogSearchRequest.java b/src/main/java/com/caliverse/admin/domain/request/BusinessLogSearchRequest.java new file mode 100644 index 0000000..5370843 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/BusinessLogSearchRequest.java @@ -0,0 +1,19 @@ +package com.caliverse.admin.domain.request; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Getter; +import lombok.NoArgsConstructor; + +@Getter +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class BusinessLogSearchRequest { + + public String startDate; + public String endDate; + public int itemId; + + +} diff --git a/src/main/java/com/caliverse/admin/domain/request/CaliumRequest.java b/src/main/java/com/caliverse/admin/domain/request/CaliumRequest.java new file mode 100644 index 0000000..b3dc0e7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/CaliumRequest.java @@ -0,0 +1,38 @@ +package com.caliverse.admin.domain.request; + +import com.caliverse.admin.domain.entity.Calium; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class CaliumRequest { + + private Long id; + private Calium.CALIUMREQUESTSTATUS status; + private double count; + private String dept; + private String content; + @JsonProperty("request_id") + private String requestId; + @JsonProperty("create_time") + private String createTime; + + @JsonProperty("create_by") + private Long createBy; + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("update_by") + private Long updateBy; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + +} diff --git a/src/main/java/com/caliverse/admin/domain/request/EventRequest.java b/src/main/java/com/caliverse/admin/domain/request/EventRequest.java new file mode 100644 index 0000000..f6f6625 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/EventRequest.java @@ -0,0 +1,42 @@ +package com.caliverse.admin.domain.request; + +import com.caliverse.admin.domain.entity.Item; +import com.caliverse.admin.domain.entity.Event; +import com.caliverse.admin.domain.entity.Message; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.*; + +import java.time.LocalDateTime; +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class EventRequest { + + private Long id; + @JsonProperty("mail_list") + private List mailList; + @JsonProperty("item_list") + private List itemList; // 아이템 + @JsonProperty("event_type") + private Event.EVENTTYPE eventType; + @JsonProperty("start_dt") + private LocalDateTime startDt; // 시작 시간 + @JsonProperty("end_dt") + private LocalDateTime endDt; // 종료 시간 + + @JsonProperty("create_by") + private Long createBy; + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("update_by") + private Long updateBy; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + + //삭제용 id + private List list; + +} diff --git a/src/main/java/com/caliverse/admin/domain/request/GroupRequest.java b/src/main/java/com/caliverse/admin/domain/request/GroupRequest.java new file mode 100644 index 0000000..487c0ab --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/GroupRequest.java @@ -0,0 +1,31 @@ +package com.caliverse.admin.domain.request; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.*; + +import java.time.LocalDateTime; +import java.util.List; + +@Getter +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class GroupRequest { + private Long id; + @JsonProperty("group_nm") + private String groupNm; + private String description; + @Setter + private Long createBy; + + @JsonProperty("list") + private List groupList; + @Getter + public static class GroupList{ + @JsonProperty("group_id") + private Long groupId; + @JsonProperty("auth_id") + private Long authId; + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/request/HistoryRequest.java b/src/main/java/com/caliverse/admin/domain/request/HistoryRequest.java new file mode 100644 index 0000000..567cf0c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/HistoryRequest.java @@ -0,0 +1,23 @@ +package com.caliverse.admin.domain.request; + +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.domain.entity.SEARCHTYPE; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; + +import java.time.LocalDateTime; + +@Getter +public class HistoryRequest { + @JsonProperty("search_type") + private SEARCHTYPE searchType; + @JsonProperty("search_key") + private String searchKey; + @JsonProperty("history_type") + private HISTORYTYPE historyType; // 사용 이력 + @JsonProperty("start_dt") + private LocalDateTime startDt; + @JsonProperty("end_dt") + private LocalDateTime endDt; + +} diff --git a/src/main/java/com/caliverse/admin/domain/request/ItemsRequest.java b/src/main/java/com/caliverse/admin/domain/request/ItemsRequest.java new file mode 100644 index 0000000..afa1b46 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/ItemsRequest.java @@ -0,0 +1,45 @@ +package com.caliverse.admin.domain.request; + +import com.caliverse.admin.domain.entity.ItemList; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.*; + +import java.util.List; +import java.time.LocalDateTime; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class ItemsRequest { + + private String userGuid; + + //guid + private String itemGuid; + + //아이템id + @JsonProperty("item_id") + private String itemId; + + //아이템 수 + @JsonProperty("item_count") + private String itemCount; + + //아이템명 + @JsonProperty("item_nm") + private String itemName; + //상태 + private String status; + + //복구가능여부 + @JsonProperty("restore") + private String restoreType; + + //생성 날짜 + @JsonProperty("start_dt") + private LocalDateTime startDt; + + @JsonProperty("end_dt") + private LocalDateTime endDt; +} diff --git a/src/main/java/com/caliverse/admin/domain/request/LandRequest.java b/src/main/java/com/caliverse/admin/domain/request/LandRequest.java new file mode 100644 index 0000000..eb9efd5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/LandRequest.java @@ -0,0 +1,65 @@ +package com.caliverse.admin.domain.request; + +import com.caliverse.admin.domain.entity.LandAuction; +import com.caliverse.admin.domain.entity.Message; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.math.BigDecimal; +import java.time.LocalDateTime; +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class LandRequest { + + private Long id; + @JsonProperty("land_id") + private Integer landId; + @JsonProperty("land_name") + private String landName; + @JsonProperty("land_size") + private String landSize; + @JsonProperty("land_socket") + private Integer landSocket; + // 경매 번호 + @JsonProperty("auction_seq") + private Integer auctionSeq; + // 예약 시작 시간 + @JsonProperty("resv_start_dt") + private LocalDateTime resvStartDt; + // 예약 종료 시간 + @JsonProperty("resv_end_dt") + private LocalDateTime resvEndDt; + // 경매 시작 시간 + @JsonProperty("auction_start_dt") + private LocalDateTime auctionStartDt; + // 예약 종료 시간 + @JsonProperty("auction_end_dt") + private LocalDateTime auctionEndDt; + @JsonProperty("currency_type") + private String currencyType; + //경매 시작가 + @JsonProperty("start_price") + private Double startPrice; + @JsonProperty("message_list") + private List massageList; + + @JsonProperty("create_by") + private Long createBy; + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("update_by") + private Long updateBy; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + + //삭제용 id + private List list; + +} diff --git a/src/main/java/com/caliverse/admin/domain/request/MailRequest.java b/src/main/java/com/caliverse/admin/domain/request/MailRequest.java new file mode 100644 index 0000000..bc0a889 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/MailRequest.java @@ -0,0 +1,80 @@ +package com.caliverse.admin.domain.request; + +import java.time.LocalDateTime; +import java.util.List; + +import com.caliverse.admin.domain.entity.Item; +import com.caliverse.admin.domain.entity.Mail; +import com.caliverse.admin.domain.entity.Message; +import com.fasterxml.jackson.annotation.JsonProperty; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.Getter; +import lombok.NoArgsConstructor; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class MailRequest { + + private Long id; + private String guid; + @JsonProperty("file_name") + private String fileName; + @JsonProperty("mail_list") + private List mailList; + @JsonProperty("item_list") + private List itemList; // 아이템 + @JsonProperty("resource_list") + private List resourceList; // 자원 + @JsonProperty("is_reserve") + private boolean isReserve; // 예약 발송 여부 + @JsonProperty("send_type") + private Mail.SENDTYPE sendType; + + @JsonProperty("send_dt") + private LocalDateTime sendDt; // 발송 시간 + @JsonProperty("mail_type") + private Mail.MAILTYPE mailType; // 우편 타입 + @JsonProperty("user_type") + private Mail.USERTYPE userType; // 수신 타입 + @JsonProperty("receive_type") // 수신 대상 (단일/복수) + private Mail.RECEIVETYPE receiveType; + private String target; // 단일 guid 혹은 엑셀 업로드한 경로 + + @JsonProperty("create_by") + private Long createBy; + @JsonProperty("create_dt") + private LocalDateTime createDt; + @JsonProperty("update_by") + private Long updateBy; + @JsonProperty("update_dt") + private LocalDateTime updateDt; + + //삭제용 id + private List list; + + + @Getter + public static class DeleteMail { + // 삭제용 id + private String id; + private String guid; + } + + @Getter + public static class DeleteMailItem { + private String type; + private String guid; + @JsonProperty("mail_guid") + private String MailGuid; + @JsonProperty("item_id") + private Long itemId; + @JsonProperty("parrent_count") + private Integer parrentCount; + private Integer count; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/request/NoticeRequest.java b/src/main/java/com/caliverse/admin/domain/request/NoticeRequest.java new file mode 100644 index 0000000..f1573b9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/NoticeRequest.java @@ -0,0 +1,63 @@ +package com.caliverse.admin.domain.request; + +import java.time.LocalDateTime; +import java.time.LocalTime; +import java.util.List; + +import com.caliverse.admin.domain.entity.InGame; +import com.caliverse.admin.domain.entity.Message; +import com.fasterxml.jackson.annotation.JsonProperty; + +import jakarta.annotation.Nullable; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.Getter; +import lombok.NoArgsConstructor; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class NoticeRequest { + + private Long id; + @JsonProperty("send_dt") + private LocalDateTime sendDt; + + @JsonProperty("end_dt") + private LocalDateTime endDt; + + @JsonProperty("message_type") + private InGame.MESSAGETYPE messageType; + + @JsonProperty("is_repeat") + private boolean isRepeat; // 반복 발송 여부 + + @JsonProperty("repeat_type") + private InGame.REPEATTYPE repeatType; + + @Nullable + @JsonProperty("repeat_dt") + private LocalTime repeatDt; //반복 발송 시간 + @Nullable + @JsonProperty("repeat_cnt") + private Long repeatCnt; + + @JsonProperty("game_message") + private List gameMessages; + // 등록자 이메일 저장 + private Long createBy; + // 수정자 이메일 저장 + private Long updateBy; + + + @JsonProperty("list") + private List list; + + @Getter + public static class MessageId{ + @JsonProperty("message_id") + private Long messageId; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/request/UserReportRequest.java b/src/main/java/com/caliverse/admin/domain/request/UserReportRequest.java new file mode 100644 index 0000000..9cc589e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/UserReportRequest.java @@ -0,0 +1,27 @@ +package com.caliverse.admin.domain.request; + +import com.fasterxml.jackson.annotation.JsonProperty; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class UserReportRequest { + private String pk; + private String sk; + private String title; + private String detail; + @JsonProperty("manager_nickname") + private String managerNickName; + @JsonProperty("manager_email") + private String managerEmail; + @JsonProperty("reporter_nickname") + private String reporterNickName; + +} + diff --git a/src/main/java/com/caliverse/admin/domain/request/UsersRequest.java b/src/main/java/com/caliverse/admin/domain/request/UsersRequest.java new file mode 100644 index 0000000..01af8af --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/UsersRequest.java @@ -0,0 +1,22 @@ +package com.caliverse.admin.domain.request; + +import com.caliverse.admin.domain.entity.WhiteList; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.*; + +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class UsersRequest { + //guid + private String guid; + //닉네임 + private String nickname; + @JsonProperty("new_nickname") + private String newNickname; + @JsonProperty("admin_level") + private String adminLevel; +} diff --git a/src/main/java/com/caliverse/admin/domain/request/Web3Request.java b/src/main/java/com/caliverse/admin/domain/request/Web3Request.java new file mode 100644 index 0000000..bae013d --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/Web3Request.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.domain.request; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Builder; +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +@Builder +public class Web3Request { + @JsonProperty("server_type") + private String serverType; + private String requestor; + @JsonProperty("history_message") + private String historyMessage; + private double amount; +} diff --git a/src/main/java/com/caliverse/admin/domain/request/WhiteListRequest.java b/src/main/java/com/caliverse/admin/domain/request/WhiteListRequest.java new file mode 100644 index 0000000..02ba7a1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/request/WhiteListRequest.java @@ -0,0 +1,32 @@ +package com.caliverse.admin.domain.request; + +import com.caliverse.admin.domain.entity.WhiteList; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.*; + +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class WhiteListRequest { + //guid + private String guid; + //닉네임 + private String name; + //상태 + private WhiteList.STATUS status; + //등록자 + private Long createBy; + + private List list; + + @Getter + public static class Guid{ + private Long id; + private String guid; + private String nickname; + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/response/AdminResponse.java b/src/main/java/com/caliverse/admin/domain/response/AdminResponse.java new file mode 100644 index 0000000..c0e3a6a --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/AdminResponse.java @@ -0,0 +1,60 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.*; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class AdminResponse { + private int status; + + private String result; + + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + + private String message; + + private Long id; + + private String name; + + private String password; + + private String email; + + @JsonProperty("auth_list") + private List authorityList; + + private STATUS status; + + private LocalDateTime expiredDt; + + private Long groupId; + + @JsonProperty("list") + private List adminList; + + private int total; + @JsonProperty("total_all") + private int totalAll; + @JsonProperty("page_no") + private int pageNo; + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/response/AuthenticateResponse.java b/src/main/java/com/caliverse/admin/domain/response/AuthenticateResponse.java new file mode 100644 index 0000000..8851276 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/AuthenticateResponse.java @@ -0,0 +1,39 @@ +package com.caliverse.admin.domain.response; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class AuthenticateResponse { + private int status; + + private String result; + + @JsonProperty("data") + private AuthValue authValue; + + @Data + @Builder + @NoArgsConstructor + public static class AuthValue{ + + private String message; + @JsonProperty("access_token") + private String accessToken; + @JsonProperty("refresh_token") + private String refreshToken; + + public AuthValue(String accessToken, String refreshToken, String message) { + this.accessToken = accessToken; + this.refreshToken = refreshToken; + this.message = message; + } + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/response/BattleEventResponse.java b/src/main/java/com/caliverse/admin/domain/response/BattleEventResponse.java new file mode 100644 index 0000000..2e33cc8 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/BattleEventResponse.java @@ -0,0 +1,54 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.BattleEvent; +import com.caliverse.admin.domain.entity.LandAuction; +import com.caliverse.admin.domain.entity.metadata.MetaBattleConfigData; +import com.caliverse.admin.domain.entity.metadata.MetaBattleRewardData; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class BattleEventResponse { + private int status; + + private String result; + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + + @JsonProperty("event_detail") + private BattleEvent battleEvent; + + @JsonProperty("event_list") + private List battleEventList; + + @JsonProperty("battle_config_list") + private List battleConfigList; + + @JsonProperty("battle_reward_list") + private List battleRewardList; + + private String message; + + private int total; + @JsonProperty("total_all") + private int totalAll; + @JsonProperty("page_no") + private int pageNo; + + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/response/BlackListResponse.java b/src/main/java/com/caliverse/admin/domain/response/BlackListResponse.java new file mode 100644 index 0000000..39c7e6e --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/BlackListResponse.java @@ -0,0 +1,47 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.*; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class BlackListResponse { + private int status; + + private String result; + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + + private String message; + + @JsonProperty("list") + private List list ; + + private int total; + @JsonProperty("total_all") + private int totalAll; + @JsonProperty("page_no") + private int pageNo; + + //상세 정보 + @JsonProperty("detail") + private BlackList blackList; + + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/response/CaliumResponse.java b/src/main/java/com/caliverse/admin/domain/response/CaliumResponse.java new file mode 100644 index 0000000..162405c --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/CaliumResponse.java @@ -0,0 +1,50 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.Calium; +import com.caliverse.admin.domain.entity.LANGUAGETYPE; +import com.caliverse.admin.domain.entity.web3.ResponseWithdrawableData; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class CaliumResponse { + private int status; + + private String result; + + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData{ + + private String message; + + @JsonProperty("detail") + private Calium calium; + + @JsonProperty("withdrawable_info") + private ResponseWithdrawableData withdrawableInfo; + + @JsonProperty("list") + private List caliumList; +// private int total; + private double total; + @JsonProperty("total_all") +// private int totalAll; + private double totalAll; + @JsonProperty("page_no") + private int pageNo; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/response/EventResponse.java b/src/main/java/com/caliverse/admin/domain/response/EventResponse.java new file mode 100644 index 0000000..1ad1df3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/EventResponse.java @@ -0,0 +1,47 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.Event; +import com.caliverse.admin.domain.entity.Item; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class EventResponse { + private int status; + + private String result; + + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData{ + + private String message; + + @JsonProperty("detail") + private Event event; + + @JsonProperty("list") + private List eventList; + private int total; + @JsonProperty("total_all") + private int totalAll; + @JsonProperty("page_no") + private int pageNo; + + @JsonProperty("item_info") + private Item itemInfo; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/response/ExceptionResponse.java b/src/main/java/com/caliverse/admin/domain/response/ExceptionResponse.java new file mode 100644 index 0000000..b297a47 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/ExceptionResponse.java @@ -0,0 +1,26 @@ +package com.caliverse.admin.domain.response; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor + +public class ExceptionResponse { + private int status; + + private String result; + + @JsonProperty("data") + private ExceptionData data; + @Data + @Builder + public static class ExceptionData { + private String message; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/response/GroupResponse.java b/src/main/java/com/caliverse/admin/domain/response/GroupResponse.java new file mode 100644 index 0000000..e4986ee --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/GroupResponse.java @@ -0,0 +1,49 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.Authority; +import com.caliverse.admin.domain.entity.Groups; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.springframework.http.HttpStatus; + +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class GroupResponse { + private int status; + + private String result; + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + + private String message; + + @JsonProperty("group_id") + private Long groupId; + @JsonProperty("group_nm") + private String groupNm; + + @JsonProperty("group_list") + private List groupList; + @JsonProperty("auth_list") + private List authorityList; + + private int total; + @JsonProperty("total_all") + private int totalAll; + @JsonProperty("page_no") + private int pageNo; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/response/HistoryResponse.java b/src/main/java/com/caliverse/admin/domain/response/HistoryResponse.java new file mode 100644 index 0000000..000b096 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/HistoryResponse.java @@ -0,0 +1,41 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.Log; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.List; +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class HistoryResponse { + private int status; + + private String result; + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + + private String message; + + @JsonProperty("list") + private List list ; + + private String content; // db에 text유형의 데이터를 가져옴 + + private int total; + @JsonProperty("total_all") + private int totalAll; + @JsonProperty("page_no") + private int pageNo; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/response/IndicatorsResponse.java b/src/main/java/com/caliverse/admin/domain/response/IndicatorsResponse.java new file mode 100644 index 0000000..37ea950 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/IndicatorsResponse.java @@ -0,0 +1,184 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.Indicators.entity.DauLogInfo; +import com.caliverse.admin.domain.entity.Currencys; +import com.caliverse.admin.domain.entity.Distinct; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDate; +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class IndicatorsResponse { + private int status; + + private String result; + @JsonProperty("data") + + private ResultData resultData; + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + + private String message; + + private Dashboard dashboard; + @JsonProperty("user_statistics_list") + private List userStatisticsList; + @JsonProperty("dau_list") + private List dauList; + @JsonProperty("distinct") + private List list; + //Retention + @JsonProperty("retention") + private List retentionList; + //Segment + @JsonProperty("start_dt") + private String startDt; + @JsonProperty("end_dt") + private String endDt; + @JsonProperty("segment") + private List segmentList; + //플레이타임 + @JsonProperty("playtime") + private List playtimeList; + //재화 + @JsonProperty("currencys") + private List currencysList; + @JsonProperty("list") + private List dailyGoods; + + // @JsonProperty("dau_list") + // private List dailyActiveUserList; + + } + + @Data + @Builder + public static class Dashboard{ + private String date; + private Dau dau; + private NRU nru; + private PU pu; + private MCU mcu; + } + + //이용자 지표 + @Data + @Builder + public static class userStatistics{ + private String date; + private int dau; + private int dglc; + private int mcu; + private long playtime; + private int nru; + private long readCapacity; + private long writeCapacity; + private int mau; + private int wau; + private int ugqCreate; + private int serverCount; + } + + @Data + @Builder + public static class Dau{ + private int count; + private String updown; + private String dif; + } + @Data + @Builder + public static class NRU{ + private int count; + private String updown; + private String dif; + } + @Data + @Builder + public static class PU{ + private int count; + private String updown; + private String dif; + } + @Data + @Builder + public static class MCU{ + private int count; + private String updown; + private String dif; + } + @Data + @Builder + public static class Retention{ + private LocalDate date; + @JsonProperty("d-day") + private List dDay; + } + @Data + @Builder + public static class Dday{ + private String date; + private String dif; + } + @Data + @Builder + public static class Segment{ + private String type; + private String au; + private String dif; + } + @Data + @Builder + public static class Playtime{ + private LocalDate date; + @JsonProperty("user_cnt") + private List userCnt; + @JsonProperty("total_time") + private Integer totalTime; + @JsonProperty("average_time") + private Integer averageTime; + } + @Data + @Builder + public static class DailyGoods{ + + private LocalDate date; + private List total; + @JsonProperty("daily_data") + private List dailyData; + } + @Data + @Builder + @AllArgsConstructor + @NoArgsConstructor + public static class Total{ + private LocalDate date; + @JsonProperty("delta_type") + private String deltaType; + private int quantity; + private String dif; + } + @Data + @Builder + @AllArgsConstructor + @NoArgsConstructor + public static class DailyData{ + @JsonProperty("delta_type") + private String deltaType; + private LocalDate date; + private List data; + } + + +} diff --git a/src/main/java/com/caliverse/admin/domain/response/ItemDeleteResponse.java b/src/main/java/com/caliverse/admin/domain/response/ItemDeleteResponse.java new file mode 100644 index 0000000..75d9a91 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/ItemDeleteResponse.java @@ -0,0 +1,35 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.ItemList; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.List; + + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class ItemDeleteResponse { + private int status; + + private String result; + + @JsonProperty("data") + private ItemDeleteResponse.ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + private String message; + private String deletedItemGuid; + } +} + + diff --git a/src/main/java/com/caliverse/admin/domain/response/ItemsResponse.java b/src/main/java/com/caliverse/admin/domain/response/ItemsResponse.java new file mode 100644 index 0000000..bb480aa --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/ItemsResponse.java @@ -0,0 +1,48 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.Item; +import com.caliverse.admin.domain.entity.ItemList; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; +import java.util.List; +import java.util.Map; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class ItemsResponse { + private int status; + + private String result; + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + private String message; + + private int total; + @JsonProperty("total_all") + private int totalAll; + @JsonProperty("page_no") + private int pageNo; + + private ItemList item; + private List list; + + private int totalCnt; + private int resolve; + private int unresolve; + private String rate; + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/response/LandResponse.java b/src/main/java/com/caliverse/admin/domain/response/LandResponse.java new file mode 100644 index 0000000..b9db490 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/LandResponse.java @@ -0,0 +1,83 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.LandAuction; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class LandResponse { + private int status; + + private String result; + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + + @JsonProperty("auction_detail") + private LandAuction auction; + + @JsonProperty("auction_list") + private List auctionList; + + @JsonProperty("building_list") + private List buildingList; + + private String message; + @JsonProperty("land_list") + private List landList; + private Layer layer; + + private int total; + @JsonProperty("total_all") + private int totalAll; + @JsonProperty("page_no") + private int pageNo; + + } + @Data + @Builder + public static class Land { + private Integer id; + private String name; + private String owner; + private Integer editor; + private boolean nonAuction; + private String desc; + private String size; + private String type; + private Integer socket; + private Integer buildingId; + } + @Data + @Builder + public static class Building{ + private Integer id; + private String name; + private boolean open; + private String owner; + private String desc; + private String size; + private Integer socket; + } + @Data + @Builder + public static class Layer{ + private Long id; + @JsonProperty("layer_info") + private String layerInfo; + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/response/MailResponse.java b/src/main/java/com/caliverse/admin/domain/response/MailResponse.java new file mode 100644 index 0000000..dc29b83 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/MailResponse.java @@ -0,0 +1,51 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.Item; +import com.caliverse.admin.domain.entity.Mail; +import com.caliverse.admin.domain.request.MailRequest; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class MailResponse { + private int status; + + private String result; + + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData{ + + private String message; + + @JsonProperty("detail") + private Mail mail; + + @JsonProperty("list") + private List mailList; + @JsonProperty("file_name") + private String fileName; + private int total; + @JsonProperty("total_all") + private int totalAll; + @JsonProperty("page_no") + private int pageNo; + + @JsonProperty("item_info") + private Item itemInfo; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/response/NoticeResponse.java b/src/main/java/com/caliverse/admin/domain/response/NoticeResponse.java new file mode 100644 index 0000000..18abdc0 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/NoticeResponse.java @@ -0,0 +1,45 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.InGame; +import com.caliverse.admin.domain.entity.Message; +import com.caliverse.admin.domain.request.NoticeRequest; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; +import java.time.LocalTime; +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class NoticeResponse { + private int status; + + private String result; + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + + private String message; + + @JsonProperty("detail") + private InGame inGame; + + @JsonProperty("game_message") + private List gameMessages; + + @JsonProperty("list") + private List list ; + + } +} diff --git a/src/main/java/com/caliverse/admin/domain/response/UserReportResponse.java b/src/main/java/com/caliverse/admin/domain/response/UserReportResponse.java new file mode 100644 index 0000000..f9c6076 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/UserReportResponse.java @@ -0,0 +1,87 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.REPORTTYPE; +import com.caliverse.admin.domain.entity.STATUS; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.*; + +import java.time.LocalDateTime; +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class UserReportResponse { + private int status; + + private String result; + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + + private String message; + + private int total; + @JsonProperty("total_all") + private int totalAll; + @JsonProperty("page_no") + private int pageNo; + + private Report report; + private Reply reply; + private List list; + + private int totalCnt; + private int resolve; + private int unresolve; + private String rate; + } + @Data + @Builder + @AllArgsConstructor + public static class Report { + @JsonProperty("row_num") + private Integer rowNum; + private String pk; + private String sk; + @JsonProperty("reporter_guid") + private String reporterGuid; + @JsonProperty("reporter_nickname") + private String reporterNickName; + @JsonProperty("target_guid") + private String targetGuid; + @JsonProperty("target_nickname") + private String targetNickName; + @JsonProperty("report_type") + private REPORTTYPE reportType; + private String title; + private String detail; + private STATUS state; + @JsonProperty("create_time") + private LocalDateTime createTime; + @JsonProperty("resolution_time") + private LocalDateTime resolutionTime; + @JsonProperty("manager_email") + private String managerEmail; + } + @Data + @Builder + @AllArgsConstructor + public static class Reply { + private String title; + private String detail; + @JsonProperty("manager_email") + private String managerEmail; + @JsonProperty("manager_nickname") + private String managerNickName; + @JsonProperty("reporter_nickname") + private String reporterNickName; + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/response/UsersResponse.java b/src/main/java/com/caliverse/admin/domain/response/UsersResponse.java new file mode 100644 index 0000000..47291ca --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/UsersResponse.java @@ -0,0 +1,398 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.FriendRequest; +import com.caliverse.admin.domain.entity.LANGUAGETYPE; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDateTime; +import java.util.List; +import java.util.Map; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class UsersResponse { + private int status; + + private String result; + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + + private String message; + + @JsonProperty("user_info") + private UserInfo userInfo; + @JsonProperty("char_info") + private CharInfo charInfo; + @JsonProperty("avatar_info") + private AvatarInfo avatarInfo; + @JsonProperty("cloth_info") + private ClothInfo clothInfo; + @JsonProperty("slot_list") + private SlotInfo slotInfoList; + @JsonProperty("inventory_list") + private InventoryInfo inventoryInfo; + @JsonProperty("mail_list") + private List mailList; + @JsonProperty("myhome_info") + private Myhome myhomeInfo; + @JsonProperty("friend_list") + private List friendList; + @JsonProperty("friend_send_list") + private List friendSendList; + @JsonProperty("friend_receive_list") + private List friendReceiveList; + @JsonProperty("friend_block_list") + private List friendBlockList; + @JsonProperty("tattoo_list") + private List tattooList; + @JsonProperty("quest_list") + private List questList; + @JsonProperty("quest_detail") + private List questDetail; + + private Map result; + } + @Data + @Builder + public static class UserInfo{ + private String aid; + @JsonProperty("user_id") + private String userId; + private LANGUAGETYPE nation; + private String membership; + //친구 추천코드 + @JsonProperty("friend_code") + private String friendCode; + //계정 생성일 + @JsonProperty("create_dt") + private String createDt; + //최근 접속일자 + @JsonProperty("access_dt") + private String accessDt; + //최근 종료일자 + @JsonProperty("end_dt") + private String endDt; + //전자지갑 URL + @JsonProperty("wallet_url") + private String walletUrl; + // GM 타입 + @JsonProperty("admin_level") + private String adminLevel; + //예비 슬롯 + @JsonProperty("spare_slot") + private String spareSlot; + } + @Data + @Builder + public static class CharInfo{ + //캐릭터 닉네임 + @JsonProperty("character_name") + private String characterName; + //시즌 패스 레벨 + private String level; + //골드 + @JsonProperty("gold_cali") + private String goldCali; + //사파이어 + @JsonProperty("blue_cali") + private String blueCali; + //칼리움 + @JsonProperty("red_cali") + private String redCali; + //루비 + @JsonProperty("black_cali") + private String blackCali; + + } + @Data + @Builder + public static class AvatarInfo{ + //캐릭터 id + @JsonProperty("character_id") + private String characterId; + //기본 외형 + private String basicstyle; + //체형 타입 + private String bodyshape; + //헤어스타일 + private String hairstyle; + //얼굴 커스터마이징 + private int[] facesCustomizing; + } + + @Data + @Builder + public static class ClothItem { + private String cloth; + private String clothName; + @JsonProperty("EquipSlotType") + private String slotType; + @JsonProperty("SmallType") + private String smallType; + } +// @Data +// @Builder +// public static class ClothItem { +// private String cloth; +// private String clothName; +// +// public void setCloth(String cloth) { +// this.cloth = cloth; +// } +// } + + @Data + @Builder + public static class ClothInfo { + @JsonProperty("cloth_shirt") + private ClothItem clothShirt; + @JsonProperty("cloth_dress") + private ClothItem clothDress; + @JsonProperty("cloth_outer") + private ClothItem clothOuter; + @JsonProperty("cloth_pants") + private ClothItem clothPants; + @JsonProperty("cloth_gloves") + private ClothItem clothGloves; + @JsonProperty("cloth_ring") + private ClothItem clothRing; + @JsonProperty("cloth_bracelet") + private ClothItem clothBracelet; + @JsonProperty("cloth_bag") + private ClothItem clothBag; + @JsonProperty("cloth_backpack") + private ClothItem clothBackpack; + @JsonProperty("cloth_cap") + private ClothItem clothCap; + @JsonProperty("cloth_mask") + private ClothItem clothMask; + @JsonProperty("cloth_glasses") + private ClothItem clothGlasses; + @JsonProperty("cloth_earring") + private ClothItem clothEarring; + @JsonProperty("cloth_necklace") + private ClothItem clothNecklace; + @JsonProperty("cloth_shoes") + private ClothItem clothShoes; + @JsonProperty("cloth_socks") + private ClothItem clothSocks; + @JsonProperty("cloth_anklet") + private ClothItem clothAnklet; + } +// public static class ClothInfo { 예전기준 +// @JsonProperty("cloth_avatar") +// private ClothItem clothAvatar; +// @JsonProperty("cloth_headwear") +// private ClothItem clothHeadwear; +// @JsonProperty("cloth_mask") +// private ClothItem clothMask; +// @JsonProperty("cloth_bag") +// private ClothItem clothBag; +// @JsonProperty("cloth_shoes") +// private ClothItem clothShoes; +// @JsonProperty("cloth_outer") +// private ClothItem clothOuter; +// @JsonProperty("cloth_tops") +// private ClothItem clothTops; +// @JsonProperty("cloth_bottoms") +// private ClothItem clothBottoms; +// @JsonProperty("cloth_gloves") +// private ClothItem clothGloves; +// @JsonProperty("cloth_earrings") +// private ClothItem clothEarrings; +// @JsonProperty("cloth_neckless") +// private ClothItem clothNeckless; +// @JsonProperty("cloth_socks") +// private ClothItem clothSocks; +// } + + @Data + @Builder + public static class Guid{ + private String guid; + } + +// public static class InventoryList { +// @JsonProperty("InventoryTaps") +// private List> inventoryTaps; +// +// public List> getInventoryTaps() { +// return inventoryTaps; +// } +// +// public void setInventoryTaps(List> inventoryTaps) { +// this.inventoryTaps = inventoryTaps; +// } +// } + + @Builder + @Data + public static class InventoryInfo{ + private List cloth; + private List prop; + private List beauty; + private List tattoo; + private List currency; + private List etc; + } + @Data + public static class Myhome{ + @JsonProperty("myhome_guid") + private String myhomeGuid; + @JsonProperty("myhome_name") + private String myhomeName; + @JsonProperty("prop_list") + private List propList; + } + @Data + public static class Tattoo{ + @JsonProperty("item_guid") + private String itemGuid; + @JsonProperty("item_id") + private Long itemId; + @JsonProperty("item_name") + private String itemName; + private Integer count; + private Integer level; + private Integer slot; + } + @Data + @Builder + public static class Item{ + @JsonProperty("item_id") + private String itemId; + private Integer count; + @JsonProperty("item_name") + private String itemName; + @JsonProperty("item_guid") + private String itemGuid; + } + @Data + @Builder + public static class ToolItem{ + @JsonProperty("tool_id") + private String toolId; + @JsonProperty("tool_name") + private String toolName; + } + @Data + @Builder + public static class SlotInfo{ + private ToolItem Slot1; + private ToolItem Slot2; + private ToolItem Slot3; + private ToolItem Slot4; + } + @Data + @Builder + public static class QuestInfo{ + @JsonProperty("quest_id") + private Integer questId; + @JsonProperty("quest_name") + private String questName; + @JsonProperty("quest_assign_time") + private String assignTime; + @JsonProperty("task_start_time") + private String startTime; + @JsonProperty("quest_complete_time") + private String completeTime; + private String giveUpTime; + @JsonProperty("quest_type") + private String type; + @JsonProperty("current_task_num") + private Integer currentTaskNum; + private String status; + private List detailQuest; + } + @Data + @Builder + public static class Quest{ + @JsonProperty("row_num") + private Long rowNum; + @JsonProperty("quest_id") + private Integer questId; + @JsonProperty("quest_name") + private String questName; + private String type; + private String status; + @JsonProperty("task_no") + private Integer taskNo; + @JsonProperty("task_name") + private String taskName; + private Integer counter; + + } + @Data + public static class Friend{ + @JsonProperty("row_num") + private int rowNum; + @JsonProperty("friend_name") + private String friendName; + @JsonProperty("friend_guid") + private String friendGuid; + private String language; + @JsonProperty("receive_dt") + private String receiveDt; + } +// @Data +// public static class Mail{ +// @JsonProperty("receive_dt") +// private LocalDateTime receiveDt; +// @JsonProperty("sender_nickname") +// private String senderNickname; +// private String title; +// private String content; +// private String status; +// @JsonProperty("has_attachment") +// private boolean hasAttachment; +// @JsonProperty("is_get_item") +// private boolean isGetItem; +// @JsonProperty("is_get_item_dt") +// private LocalDateTime isGetItemDt; +// +// @JsonProperty("item_list") +// private List mailItemList; +// } + @Data + @Builder + public static class Mail{ + @JsonProperty("mail_guid") + private String mailGuid; + @JsonProperty("create_time") + private String createDt; + private String title; + private String content; + @JsonProperty("receiver_nickname") + private String receiveNickname; + @JsonProperty("sender_nickname") + private String senderNickname; + private boolean status; + @JsonProperty("is_get_item") + private boolean isGetItem; + @JsonProperty("is_system_mail") + private boolean isSystemMail; + @JsonProperty("item_list") + private List mailItemList; + } + @Data + public static class MailItem { + @JsonProperty("item_id") + private String itemId; + @JsonProperty("item_name") + private String itemName; + private int count; + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/response/Web3Response.java b/src/main/java/com/caliverse/admin/domain/response/Web3Response.java new file mode 100644 index 0000000..3f2cf66 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/Web3Response.java @@ -0,0 +1,12 @@ +package com.caliverse.admin.domain.response; + +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +public class Web3Response { + private boolean success; + private String code; + private T data; +} diff --git a/src/main/java/com/caliverse/admin/domain/response/WhiteListResponse.java b/src/main/java/com/caliverse/admin/domain/response/WhiteListResponse.java new file mode 100644 index 0000000..3dc08a7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/response/WhiteListResponse.java @@ -0,0 +1,35 @@ +package com.caliverse.admin.domain.response; + +import com.caliverse.admin.domain.entity.WhiteList; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.List; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class WhiteListResponse { + private int status; + + private String result; + @JsonProperty("data") + private ResultData resultData; + + @Data + @Builder + @JsonInclude(JsonInclude.Include.NON_NULL) + public static class ResultData { + + private String message; + + @JsonProperty("list") + private List list ; + + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/AdminService.java b/src/main/java/com/caliverse/admin/domain/service/AdminService.java new file mode 100644 index 0000000..a4db959 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/AdminService.java @@ -0,0 +1,377 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.adminlog.AdminPasswordInitLog; +import com.caliverse.admin.domain.adminlog.IAdminLog; +import com.caliverse.admin.domain.dao.admin.AdminMapper; +import com.caliverse.admin.domain.dao.admin.GroupMapper; +import com.caliverse.admin.domain.dao.admin.HistoryMapper; +import com.caliverse.admin.domain.entity.*; +import com.caliverse.admin.domain.request.AdminRequest; +import com.caliverse.admin.domain.request.AuthenticateRequest; +import com.caliverse.admin.domain.response.AdminResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import jakarta.mail.internet.MimeMessage; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.json.JSONObject; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.mail.javamail.JavaMailSender; +import org.springframework.mail.javamail.JavaMailSenderImpl; +import org.springframework.mail.javamail.MimeMessageHelper; +import org.springframework.security.crypto.password.PasswordEncoder; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.security.SecureRandom; +import java.time.temporal.ChronoUnit; +import java.util.*; + +@Slf4j +@Service +@RequiredArgsConstructor +public class AdminService { + private static final Logger logger = LoggerFactory.getLogger(AdminService.class); + + private final AdminMapper adminMapper; + private final GroupMapper groupMapper; + private final PasswordEncoder passwordEncoder; + private final HistoryService historyService; + @Value("${password.expiration-days}") + private int passwordExpiration; + + @Value("${spring.mail.host}") + private String host; + @Value("${spring.mail.port}") + private int port; + @Value("${spring.mail.username}") + private String username; + @Value("${spring.mail.password}") + private String password; + // 비번 초기화 + @Transactional(transactionManager = "transactionManager") + public AdminResponse initPassword(AuthenticateRequest authenticateRequest){ + + Optional admin = adminMapper.findByEmail(authenticateRequest.getEmail()); + String initPwd = randomPwd(); + adminMapper.initPwd(passwordEncoder.encode(initPwd), admin.get().getId(), CommonUtils.getAdmin().getId()); + //유저 비번 기록 남기기 + adminMapper.saveHistoryPwd(passwordEncoder.encode(initPwd), admin.get().getId()); + //smtp + sendMail(authenticateRequest.getEmail(),initPwd); + + IAdminLog adminLog = new AdminPasswordInitLog(admin.get().getName(), admin.get().getEmail()); + adminLog.saveLogToDB(); + + log.info("initPassword id: {}, email: {}", admin.get().getId(), admin.get().getEmail()); + + return AdminResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(AdminResponse.ResultData.builder().message(SuccessCode.INIT.getMessage()).build()) + .build(); + } + + // 비번 재설정 + @Transactional(transactionManager = "transactionManager") + public AdminResponse updatePassword(AuthenticateRequest authenticateRequest){ + + String oldPwd = authenticateRequest.getPassword(); + String newPwd = authenticateRequest.getNewPassword(); + String pwdById = adminMapper.findPwdById(CommonUtils.getAdmin().getId()); + + /* + https://nzin-publisher-bts.atlassian.net/browse/CAL-120 + 임시 비밀번호 재설정 화면에서 현재 비밀번호 입력 필드가 노출되는 현상 + */ + //입력한 비번이랑 현재 db 비번이랑 동일한지 체크 + /*if(!passwordEncoder.matches(oldPwd,pwdById)){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.PASSWORD_ERROR.getMessage()); + }*/ + + //기존 사용이력있는 비밀번호 재사용 할수 없습니다. + List pwdList = adminMapper.findPwdHistoryById(CommonUtils.getAdmin().getId()); + long count = pwdList.stream().filter(pwd -> passwordEncoder.matches(newPwd,pwd)).count(); + + if(count == 0){ + adminMapper.updatePwd(passwordEncoder.encode(newPwd), CommonUtils.getAdmin().getId(), STATUS.PERMITTED ); + //유저 비번 기록 남기기 + adminMapper.saveHistoryPwd(passwordEncoder.encode(newPwd), CommonUtils.getAdmin().getId()); + }else{ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.PASSWORD_INCLUDE.getMessage()); + } + + log.info("updatePassword Changed Password user: {}", CommonUtils.getAdmin().getId()); + + return AdminResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(AdminResponse.ResultData.builder().message(SuccessCode.UPDATE.getMessage()).build()) + .build(); + } + + // 사용자 정보 조회 + public AdminResponse getAdminInfo(){ + AdminResponse.ResultData resultData = null; + + Optional admin = adminMapper.findByEmail(CommonUtils.getAdmin().getEmail()); + if(admin.stream().count() > 0){ + // 권한 그룹 조회 + List groupAuth = groupMapper.getGroupAuth(admin.get().getGroupId()); + + resultData = AdminResponse.ResultData.builder() + .id(admin.get().getId()) + .name(admin.get().getName()) + .groupId(admin.get().getGroupId()) + .email(admin.get().getEmail()) + .status(admin.get().getStatus()) + .authorityList(groupAuth) + .expiredDt(admin.get().getPwUpdateDt().plus(passwordExpiration, ChronoUnit.DAYS)) + .build(); + } + return AdminResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(resultData) + .build(); + } + // 운영자 조회 + public AdminResponse getAdminList(Map requestParams){ + + AdminResponse.ResultData adminData = null; + + //페이징 처리 + requestParams = CommonUtils.pageSetting(requestParams); + + List adminList = adminMapper.getAdminList(requestParams); + + int allCnt = adminMapper.getAllCnt(requestParams); + + return AdminResponse.builder() + .resultData(AdminResponse.ResultData.builder() + .total(adminMapper.getTotal()) + .totalAll(allCnt) + .pageNo(requestParams.get("page_no")!=null? + Integer.valueOf(requestParams.get("page_no").toString()):1) + .adminList(adminList).build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + // 로그인 승인/불가 + @Transactional(transactionManager = "transactionManager") + public AdminResponse updateStatus(AdminRequest adminRequest){ + Map map = new HashMap<>(); + adminRequest.getList().forEach( + item -> { + + map.put("email", item.getEmail()); + map.put("id", CommonUtils.getAdmin().getId()); + + if(item.getIsApprove().equals(AdminRequest.Approve.APPROVE)){ + map.put("status", STATUS.PERMITTED); + }else if (item.getIsApprove().equals(AdminRequest.Approve.REJECT)){ + map.put("status", STATUS.REJECT); + }else{ + map.put("status", STATUS.ROLE_NOT_PERMITTED); + } + //로그인 승인 + adminMapper.updateStatus(map); + + //로그 기록 + Optional admin = adminMapper.findByEmail(item.getEmail()); +// map.put("adminId", admin.get().getId()); +// map.put("name", CommonUtils.getAdmin().getName()); +// map.put("mail", CommonUtils.getAdmin().getEmail()); +// map.put("type", HISTORYTYPE.LOGIN_PERMITTED); + JSONObject jsonObject = new JSONObject(); + jsonObject.put("name",admin.get().getName()); + jsonObject.put("email",item.getEmail()); +// map.put("content",jsonObject.toString()); +// historyMapper.saveLog(map); + historyService.setLog(HISTORYTYPE.LOGIN_PERMITTED, jsonObject); + } + ); + + log.info("updateStatus User: {}", map); + + return AdminResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(AdminResponse.ResultData.builder().message(SuccessCode.UPDATE.getMessage()).build()) + .build(); + } + + //운영자 그룹 저장 + @Transactional(transactionManager = "transactionManager") + public AdminResponse updateGroup(AdminRequest adminRequest){ + Map map = new HashMap<>(); + adminRequest.getList().forEach( + item -> { + map.put("email", item.getEmail()); + map.put("group_id", item.getGroupId()); + map.put("id", CommonUtils.getAdmin().getId()); + + //변경전 그룹 명세 조회 + Optional admin = adminMapper.findByEmail(item.getEmail()); + + Map beforeGroup = groupMapper.getGroupInfo(admin.get().getGroupId()); + //쿼리 실행 + adminMapper.updateGroup(map); + //로그 기록 + //변경후 그룹 명세 조회 + Map afterGroup = groupMapper.getGroupInfo(item.getGroupId()); + +// map.put("adminId", CommonUtils.getAdmin().getId()); +// map.put("name", CommonUtils.getAdmin().getName()); +// map.put("mail", CommonUtils.getAdmin().getEmail()); +// map.put("type", HISTORYTYPE.ADMIN_INFO_UPDATE); + JSONObject jsonObject = new JSONObject(); + jsonObject.put("name",admin.get().getName()); + jsonObject.put("email",item.getEmail()); + jsonObject.put("Authority(Before)", beforeGroup != null?beforeGroup.get("name"):""); + jsonObject.put("Authority(after)", afterGroup != null? afterGroup.get("name"):""); +// map.put("content",jsonObject.toString()); +// historyMapper.saveLog(map); + historyService.setLog(HISTORYTYPE.ADMIN_INFO_UPDATE, jsonObject); + } + ); + + log.info("updateGroup Groups: {}", map); + return AdminResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(AdminResponse.ResultData.builder().message(SuccessCode.UPDATE.getMessage()).build()) + .build(); + } + + // 운영자 선택 삭제 + @Transactional(transactionManager = "transactionManager") + public AdminResponse deleteAdmin(AdminRequest adminRequest){ + Map map = new HashMap<>(); + adminRequest.getList().forEach( + item -> { + map.put("email", item.getEmail()); + map.put("deleted", String.valueOf(1)); + //로그 기록 + Optional admin = adminMapper.findByEmail(item.getEmail()); + + //쿼리 실행 + adminMapper.deleteAdmin(map); + +// map.put("adminId", CommonUtils.getAdmin().getId()); +// map.put("name", CommonUtils.getAdmin().getName()); +// map.put("mail", CommonUtils.getAdmin().getEmail()); +// map.put("type", HISTORYTYPE.ADMIN_INFO_DELETE); + JSONObject jsonObject = new JSONObject(); + jsonObject.put("name",admin.get().getName()); + jsonObject.put("email",item.getEmail()); +// map.put("content",jsonObject.toString()); +// historyMapper.saveLog(map); + historyService.setLog(HISTORYTYPE.ADMIN_INFO_DELETE, jsonObject); + } + ); + log.info("deleteAdmin Deleted Admin: {}", map); + return AdminResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(AdminResponse.ResultData.builder().message(SuccessCode.DELETE.getMessage()).build()) + .build(); + } + + private String randomPwd(){ + final String CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; + SecureRandom secureRandom = new SecureRandom(); + StringBuilder password = new StringBuilder(); + + for (int i = 0; i < 10; i++) { + int randomIndex = secureRandom.nextInt(CHARACTERS.length()); + char randomChar = CHARACTERS.charAt(randomIndex); + password.append(randomChar); + } + + return password.toString(); + } + + //초기화 메일 Send + private void sendMail(String userEmail, String newPassword){ + JavaMailSender javaMailSender = getJavaMailSender(); + MimeMessage mimeMessage = javaMailSender.createMimeMessage(); + + try { + MimeMessageHelper helper = new MimeMessageHelper(mimeMessage,true, "UTF-8"); + + helper.setSubject("【칼리버스】비밀번호 초기화"); + + helper.setFrom(username); + + helper.setTo(userEmail); + + //helper.setCc(ccAddr); + + // helper.setBcc("14xxxxx098@qq.com"); + + helper.setSentDate(new Date()); + + + helper.setText(mailContent(newPassword),true); + + //첨부파일 + //helper.addAttachment(userNm+"이력서",new File(filePath+fileName)); + + javaMailSender.send(mimeMessage); + + log.info("sendMail mail : {}", userEmail); + + } catch (Exception e) { + logger.error(e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.SENDMAIL_ERROR.getMessage()); + } + } + + //메일 설정 + private JavaMailSender getJavaMailSender() { + JavaMailSenderImpl mailSender = new JavaMailSenderImpl(); + mailSender.setHost(host); + mailSender.setPort(port); + mailSender.setUsername(username); + mailSender.setPassword(password); + + // 메일 설정, 프로퍼티 추가 + Properties properties = mailSender.getJavaMailProperties(); + properties.put("mail.transport.protocol", "smtp"); + properties.put("mail.smtp.auth", "true"); + properties.put("mail.smtp.ssl.enable", "true"); + properties.put("mail.smtp.socketFactory.port", 465); + properties.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory"); + properties.put("mail.smtp.ssl.checkserveridentity", "true"); + properties.put("mail.smtp.socketFactory.fallback", "false"); + + return mailSender; + } + + //메일 내용 form + private String mailContent(String newPassword){ + + String body = + ""+ + ""+ + ""+ + ""+ + ""+ + "

안녕하세요! 비밀번호 초기화가 성공적으로 이루어졌습니다.

" + + "

임시 비밀번호: "+newPassword+"

"+ + "

로그인하여 계정에 액세스한 다음, [비밀번호 변경]을 통해 새 비밀번호를 설정해 주세요.

" + + "

더 많은 질문이나 도움이 필요한 경우, 언제든지 연락해 주세요.

" + + "" + + ""; + + return body; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/AuthenticateService.java b/src/main/java/com/caliverse/admin/domain/service/AuthenticateService.java new file mode 100644 index 0000000..de3e1e2 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/AuthenticateService.java @@ -0,0 +1,150 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.dao.admin.AdminMapper; +import com.caliverse.admin.domain.dao.admin.TokenMapper; +import com.caliverse.admin.domain.entity.Admin; +import com.caliverse.admin.domain.entity.STATUS; +import com.caliverse.admin.domain.entity.Token; +import com.caliverse.admin.domain.request.AuthenticateRequest; +import com.caliverse.admin.domain.response.AuthenticateResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.global.configuration.JwtService; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.security.authentication.AuthenticationManager; +import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; +import org.springframework.security.core.AuthenticationException; +import org.springframework.security.crypto.password.PasswordEncoder; +import org.springframework.stereotype.Service; + +import java.time.LocalDateTime; +import java.time.ZoneId; +import java.time.format.DateTimeFormatter; +import java.time.temporal.ChronoUnit; + +@Slf4j +@Service +@RequiredArgsConstructor +public class AuthenticateService{ + + private final AdminMapper userMapper; + private final TokenMapper tokenMapper; + private final AuthenticationManager authenticationManager; + private final JwtService jwtService; + private final PasswordEncoder passwordEncoder; + private final HistoryService historyService; + @Value("${password.expiration-days}") + private int passwordExpiration; + + // 로그인 + public AuthenticateResponse login(AuthenticateRequest authenticateRequest) { + + String email = authenticateRequest.getEmail(); + String pw = authenticateRequest.getPassword(); + // 삭제 계정 여부 + if(!userMapper.existsByEmail(email)){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_MATCH_USER.getMessage()); + } + + try { + authenticationManager.authenticate(new UsernamePasswordAuthenticationToken( email, pw )); + }catch (AuthenticationException authException){ + // 인증에 실패하면 예외가 발생 AuthenticationException 떨어짐 + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_FOUND_USER.getMessage()); + } + + Admin admin = userMapper.findByEmail(authenticateRequest.getEmail()) + .orElseThrow(() -> new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_MATCH_USER.getMessage())); + + //비번 기간 만료 + if (isPasswordExpired(admin.getPwUpdateDt())){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.PWD_EXPIRATION.getMessage() + +"("+admin.getPwUpdateDt().plus(passwordExpiration,ChronoUnit.DAYS) + .atZone(ZoneId.of("UTC")) + .withZoneSameInstant(ZoneId.of("Asia/Seoul")) + .format(DateTimeFormatter.ofPattern("yyyy-MM-dd"))+" 종료)"); + } + + if(admin.getStatus().name().equals("ROLE_NOT_PERMITTED") || admin.getStatus().name().equals("REJECT")){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_PERMITTED.getMessage()); + } + int tokenCnt = tokenMapper.getCount(admin.getId()); + if(tokenCnt > 1){ + tokenMapper.updateResetToken(admin.getId()); + } + + var jwtToken = jwtService.generateToken(admin); + var refreshToken = jwtService.generateRefreshToken(admin); + revokeAllUserTokens(admin); + saveUserToken(admin.getId(), jwtToken); + + log.info("login id: {}, token: {}", admin.getId(), jwtToken); + + return AuthenticateResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .authValue(new AuthenticateResponse.AuthValue(jwtToken, refreshToken,String.valueOf(admin.getStatus()))) + .build(); + } + + //회원가입 + public AuthenticateResponse register(AuthenticateRequest authenticateRequest){ + + if(userMapper.existsByEmail(authenticateRequest.getEmail())){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DUPLICATED_EMAIL.getMessage()); + } + + Admin admin = Admin.builder() + // .status(STATUS.ROLE_NOT_PERMITTED) //2024.08.02 즉시 회원가입되게 변경 + .groupId((long)2) + .status(STATUS.PERMITTED) + .name(authenticateRequest.getName()) + .email(authenticateRequest.getEmail()) + .password(passwordEncoder.encode(authenticateRequest.getPassword())) + .build(); + + userMapper.save(admin); + log.info("register Sign Up : {}", admin); + return AuthenticateResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .authValue(AuthenticateResponse.AuthValue.builder().message(SuccessCode.SAVE.getMessage()).build()) + .build(); + } + + // 토큰 저장 + private void saveUserToken(Long memberId, String jwtToken) { + var token = Token.builder() + .adminId(memberId) + .token(jwtToken) + .tokenType(Token.TokenType.BEARER) + .expired(false) + .revoked(false) + .build(); + tokenMapper.save(token); + } + + //토큰 삭제 + private void revokeAllUserTokens(Admin member) { + var validUserTokens = tokenMapper.findAllValidTokenByUser(member.getId()).orElse(null); + if(validUserTokens!=null){ + validUserTokens.setExpired(true); + validUserTokens.setRevoked(true); + tokenMapper.updateToken(validUserTokens); + } + } + + public boolean isPasswordExpired(LocalDateTime lastPasswordChangeDateTime) { + LocalDateTime currentDateTime = LocalDateTime.now(); + LocalDateTime minusDate = currentDateTime.minusDays(passwordExpiration); + + boolean isAfter = minusDate.isAfter(lastPasswordChangeDateTime); + + return isAfter; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/BattleEventService.java b/src/main/java/com/caliverse/admin/domain/service/BattleEventService.java new file mode 100644 index 0000000..36d6949 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/BattleEventService.java @@ -0,0 +1,285 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.dao.admin.BattleMapper; +import com.caliverse.admin.domain.datacomponent.MetaDataHandler; +import com.caliverse.admin.domain.entity.BattleEvent; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.domain.entity.LandAuction; +import com.caliverse.admin.domain.entity.metadata.MetaBattleConfigData; +import com.caliverse.admin.domain.entity.metadata.MetaBattleRewardData; +import com.caliverse.admin.domain.request.BattleEventRequest; +import com.caliverse.admin.domain.response.BattleEventResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.constants.CommonConstants; +import com.caliverse.admin.global.common.constants.MysqlConstants; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.history.service.MysqlHistoryLogService; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.web.bind.annotation.RequestParam; + +import java.time.LocalDateTime; +import java.time.LocalTime; +import java.time.format.DateTimeFormatter; +import java.time.format.DateTimeParseException; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.atomic.AtomicBoolean; + +@Service +@RequiredArgsConstructor +@Slf4j +public class BattleEventService { + + private final BattleMapper battleMapper; + private final MetaDataHandler metaDataHandler; + private final HistoryService historyService; + private final ObjectMapper objectMapper; + private final MysqlHistoryLogService mysqlHistoryLogService; + + //전투시스템 설정 데이터 + public BattleEventResponse getBattleConfigList(){ + + List list = metaDataHandler.getMetaBattleConfigsListData(); + + return BattleEventResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(BattleEventResponse.ResultData.builder() + .battleConfigList(list) + .build() + ) + .build(); + } + + //전투시스템 보상 데이터 + public BattleEventResponse getBattleRewardList(){ + + List list = metaDataHandler.getMetaBattleRewardsListData(); + + return BattleEventResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(BattleEventResponse.ResultData.builder() + .battleRewardList(list) + .build() + ) + .build(); + } + + // 전투시스템 이벤트 조회 + public BattleEventResponse getBattleEventList(@RequestParam Map requestParam){ + + requestParam = CommonUtils.pageSetting(requestParam); + + List list = battleMapper.getBattleEventList(requestParam); + + int allCnt = battleMapper.getAllCnt(requestParam); + + return BattleEventResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(BattleEventResponse.ResultData.builder() + .battleEventList(list) + .total(battleMapper.getTotal()) + .totalAll(allCnt) + .pageNo(requestParam.get("page_no")!=null? + Integer.parseInt(requestParam.get("page_no")):1) + .build() + ) + .build(); + } + + // 전투시스템 이벤트 상세조회 + public BattleEventResponse getBattleEventDetail(Long id){ + + BattleEvent battleEvent = battleMapper.getBattleEventDetail(id); + + return BattleEventResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(BattleEventResponse.ResultData.builder() + .battleEvent(battleEvent) + .build()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public BattleEventResponse postBattleEvent(BattleEventRequest battleEventRequest){ + if(battleEventRequest.getRepeatType().equals(BattleEvent.BATTLE_REPEAT_TYPE.NONE)){ + LocalDateTime start_dt = battleEventRequest.getEventStartDt(); + LocalDateTime end_dt = start_dt.plusHours(12); + battleEventRequest.setEventEndDt(end_dt); + } + + int operation_time = calcEndTime(battleEventRequest); + battleEventRequest.setEventOperationTime(operation_time); + +// int is_time = battleMapper.chkTimeOver(battleEventRequest); +// if(is_time > 0){ +// return BattleEventResponse.builder() +// .status(CommonCode.ERROR.getHttpStatus()) +// .result(ErrorCode.ERROR_BATTLE_EVENT_TIME_OVER.toString()) +// .build(); +// } + + int result = battleMapper.postBattleEvent(battleEventRequest); + log.info("AdminToolDB BattleEvent Save: {}", battleEventRequest); + + long battle_event_id = battleEventRequest.getId(); + + HashMap map = new HashMap<>(); + map.put("id",String.valueOf(battle_event_id)); + + BattleEvent event_info = battleMapper.getBattleEventDetail(battle_event_id); + + mysqlHistoryLogService.insertHistoryLog( + HISTORYTYPE.BATTLE_EVENT_ADD, + MysqlConstants.TABLE_NAME_BATTLE_EVENT, + HISTORYTYPE.BATTLE_EVENT_ADD.name(), + event_info, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + +// dynamodbLandAuctionService.insertLandAuctionRegistryWithActivity(landRequest); + + return BattleEventResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(BattleEventResponse.ResultData.builder() + .message(SuccessCode.SAVE.getMessage()) + .build()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public BattleEventResponse updateBattleEvent(Long id, BattleEventRequest battleEventRequest) { + battleEventRequest.setId(id); + battleEventRequest.setUpdateBy(CommonUtils.getAdmin().getId()); + battleEventRequest.setUpdateDt(LocalDateTime.now()); + + BattleEvent before_info = battleMapper.getBattleEventDetail(id); + + if(!before_info.getStatus().equals(LandAuction.AUCTION_STATUS.WAIT) && !before_info.getStatus().equals(LandAuction.AUCTION_STATUS.RESV_START)){ + return BattleEventResponse.builder() + .status(CommonCode.ERROR.getHttpStatus()) + .result(ErrorCode.ERROR_AUCTION_STATUS_IMPOSSIBLE.toString()) + .build(); + } + + int result = battleMapper.updateBattleEvent(battleEventRequest); + log.info("AdminToolDB BattleEvent Update Complete: {}", battleEventRequest); + + Map map = new HashMap<>(); + map.put("id", String.valueOf(id)); + + BattleEvent after_info = battleMapper.getBattleEventDetail(id); + + mysqlHistoryLogService.updateHistoryLog( + HISTORYTYPE.BATTLE_EVENT_UPDATE, + MysqlConstants.TABLE_NAME_BATTLE_EVENT, + HISTORYTYPE.BATTLE_EVENT_UPDATE.name(), + before_info, + after_info, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + +// dynamodbLandAuctionService.updateLandAuction(landRequest); + + return BattleEventResponse.builder() + .resultData(BattleEventResponse.ResultData.builder() + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public BattleEventResponse deleteBattleEvent(BattleEventRequest battleEventRequest){ + Map map = new HashMap<>(); + AtomicBoolean is_falil = new AtomicBoolean(false); + + battleEventRequest.getList().forEach( + item->{ + Long id = item.getId(); + BattleEvent info = battleMapper.getBattleEventDetail(id); + + if(!info.getStatus().equals(LandAuction.AUCTION_STATUS.WAIT) && !info.getStatus().equals(LandAuction.AUCTION_STATUS.RESV_START)){ + is_falil.set(true); + return; + } + + map.put("id", id); + map.put("updateBy", CommonUtils.getAdmin().getId()); + int result = battleMapper.deleteBattleEvent(map); + log.info("BattleEvent Delete Complete: {}", item); + + mysqlHistoryLogService.deleteHistoryLog( + HISTORYTYPE.BATTLE_EVENT_DELETE, + MysqlConstants.TABLE_NAME_BATTLE_EVENT, + HISTORYTYPE.BATTLE_EVENT_DELETE.name(), + info, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + +// dynamodbLandAuctionService.cancelLandAuction(auction_info); + } + ); + + if(is_falil.get()){ + return BattleEventResponse.builder() + .status(CommonCode.ERROR.getHttpStatus()) + .result(ErrorCode.ERROR_AUCTION_STATUS_IMPOSSIBLE.toString()) + .build(); + } + + return BattleEventResponse.builder() + .resultData(BattleEventResponse.ResultData.builder() + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + public List getScheduleBattleEventList(){ + return battleMapper.getScheduleBattleEventList(); + } + + @Transactional(transactionManager = "transactionManager") + public void updateBattleEventStatus(Map map){ + try{ + battleMapper.updateStatusBattleEvent(map); + log.info("BattleEvent status changed: {}", map.get("status")); + }catch(Exception e){ + log.error("BattleEvent Status Update Fail map: {}", map); + } + } + + // 이벤트 동작 시간 계산 + private int calcEndTime(BattleEventRequest battleEventRequest){ + MetaBattleConfigData config = metaDataHandler.getMetaBattleConfigsListData().stream() + .filter(data -> data.getId().equals(battleEventRequest.getConfigId())) + .findFirst() + .orElse(null); + if(config == null) return 0; + + int round_time = battleEventRequest.getRoundTime(); + int round_count = battleEventRequest.getRoundCount(); + int round_wait_time = config.getNextRoundWaitTime(); + int result_wait_time = config.getResultUIWaitTime(); + int server_wait_time = CommonConstants.BATTLE_SERVER_WAIT_TIME; + + int total_time = round_time + ((round_count - 1) * (round_time + round_wait_time)) + result_wait_time + server_wait_time; + + return total_time; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/BlackListService.java b/src/main/java/com/caliverse/admin/domain/service/BlackListService.java new file mode 100644 index 0000000..bbd0ab5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/BlackListService.java @@ -0,0 +1,266 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.dao.admin.BlackListMapper; +import com.caliverse.admin.domain.dao.admin.HistoryMapper; +import com.caliverse.admin.domain.entity.BlackList; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.domain.request.BlackListRequest; +import com.caliverse.admin.domain.response.BlackListResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.global.common.utils.ExcelUtils; +import lombok.RequiredArgsConstructor; +import org.json.JSONObject; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.core.io.Resource; +import org.springframework.core.io.ResourceLoader; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.web.multipart.MultipartFile; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Service +@RequiredArgsConstructor +public class BlackListService { + private static final Logger logger = LoggerFactory.getLogger(BlackListService.class); + private final BlackListMapper blackListMapper; + private final ExcelUtils excelUtils; + private final HistoryMapper historyMapper; + private final HistoryService historyService; + private final DynamoDBService dynamoDBService; + @Value("${caliverse.file}") + private String excelPath; + private final ResourceLoader resourceLoader; + + public BlackListResponse getBlackList(Map requestParams){ + //페이징 처리 + requestParams = CommonUtils.pageSetting(requestParams); + + List blackList = blackListMapper.getBlackList(requestParams); + + int allCnt = blackListMapper.getAllCnt(requestParams); + + return BlackListResponse.builder() + .resultData(BlackListResponse.ResultData.builder() + .list(blackList) + .total(blackListMapper.getTotal()) + .totalAll(allCnt) + .pageNo(requestParams.get("page_no")!=null? + Integer.valueOf(requestParams.get("page_no").toString()):1) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + public BlackListResponse getBlackListDetail(Long id ){ + BlackList blackList = blackListMapper.getBlackListDetail(id); + List historyByGuid = blackListMapper.getHistoryByGuid(blackList.getGuid()); + blackList.setBlackListHistory(historyByGuid); + return BlackListResponse.builder() + .resultData(BlackListResponse.ResultData.builder() + .blackList(blackList).build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + public BlackListResponse excelUpload(MultipartFile file){ + + List list = new ArrayList<>(); + // 파일 존재하지 않는 경우 + if (file.isEmpty()) { + //Excel 파일을 선택해주세요. + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_EXIT_EXCEL.getMessage() ); + } + + List listData = excelUtils.getListData(file, 1, 0); + + // 엑셀 파일내 중복된 데이터 있는지 체크 + if(excelUtils.hasDuplicates(listData)){ + //중복된 유저 정보가 있습니다. + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DUPLICATE_EXCEL.getMessage() ); + } + + listData.forEach(item->{ + + BlackList blackList = new BlackList(); + blackList.setGuid(item); + //gameDB에서 닉네임, isWhiteUser, isBlackUser 조회 + String nickName = dynamoDBService.getGuidByName(item); + if(nickName != ""){ + blackList.setNickname(nickName); + } + + //adminDB 에 데이터 있는지 체크 + int cnt = blackListMapper.getCountByGuid(item); + //gameDB isWhiteUser 값 체크 + boolean isBlackUser = dynamoDBService.isWhiteOrBlackUser(item); + boolean isGuid = dynamoDBService.isGuidChecked(item); + +// //guid 검증 +// if(blackAttr.size() == 0){ +// throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.GUID_CHECK.getMessage()); +// } +// +// boolean isBlackUser = dynamoDBService.isWhiteOrBlackUser(blackAttr.get("isBlackUser")); + if(cnt == 0){ + if(isBlackUser || isGuid){ + blackList.setValidate(false); + }else{ + blackList.setValidate(true); + } + }else if(cnt > 0){ + blackList.setValidate(false); +// throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.ADMINDB_EXIT_ERROR.getMessage()); + } + list.add(blackList); + } + ); + + return BlackListResponse.builder() + .resultData(BlackListResponse.ResultData.builder() + .list(list) + .build()) + .result(CommonCode.SUCCESS.getResult()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .build(); + } + + public Resource excelDown(String fileName) { + return resourceLoader.getResource(excelPath + fileName); + } + + @Transactional(transactionManager = "transactionManager") + public BlackListResponse postBlackList(BlackListRequest blackListRequest){ + + // 이용자 제재 상태를 판단하는 로직 + blackListRequest.setStatus(BlackList.STATUSTYPE.WAIT); + blackListRequest.setCreateBy(CommonUtils.getAdmin().getId()); + + //복수 등록일 경우 validation 안함 + if (blackListRequest.getBlackList().size() > 1) { + + blackListRequest.getBlackList().forEach( + item->{ + if(item.getGuid() != null){ + String guid = item.getGuid(); + if(dynamoDBService.isGuidChecked(guid)){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.GUID_CHECK.getMessage()); + } + boolean isBlackUser = dynamoDBService.isWhiteOrBlackUser(guid); + if(isBlackUser){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_EXIT_ERROR.getMessage()); + } + blackListRequest.setGuid(guid); + blackListRequest.setNickname(item.getNickname()); + blackListMapper.postBlackList(blackListRequest); + logger.info("postBlackList insertBlackList: {}",blackListRequest); + } + } + ); + }else{ + //단일일 경우 validation 함 + blackListRequest.getBlackList().forEach( + item->{ + if(item.getGuid() != null){ + //adminDB 에 데이터 있는지 체크 + int cnt = blackListMapper.getCountByGuid(item.getGuid()); + if(cnt > 0){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.ADMINDB_EXIT_ERROR.getMessage()); + } + if(dynamoDBService.isGuidChecked(item.getGuid())){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.GUID_CHECK.getMessage()); + } + boolean isBlackUser = dynamoDBService.isWhiteOrBlackUser(item.getGuid()); + if(isBlackUser){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_EXIT_ERROR.getMessage()); + } + blackListRequest.setGuid(item.getGuid()); + blackListRequest.setNickname(dynamoDBService.getGuidByName(item.getGuid())); + blackListMapper.postBlackList(blackListRequest); + logger.info("postBlackList insertBlackList: {}",blackListRequest); + } + } + ); + } + + return BlackListResponse.builder() + .resultData(BlackListResponse.ResultData.builder() + .message(SuccessCode.REGISTRATION.getMessage()).build()) + .result(CommonCode.SUCCESS.getResult()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .build(); + + } + + @Transactional(transactionManager = "transactionManager") + public BlackListResponse deleteBlackList(BlackListRequest blackListRequest){ + + Map map = new HashMap<>(); + blackListRequest.getBlackList().forEach( + item->{ + map.put("id",item.getId()); + blackListMapper.deleteBlackList(map); + + //로그 기록 + BlackList blackList = blackListMapper.getBlackListDetail(Long.valueOf(item.getId())); + map.put("adminId", CommonUtils.getAdmin().getId()); + map.put("name", CommonUtils.getAdmin().getName()); + map.put("mail", CommonUtils.getAdmin().getEmail()); + map.put("type", HISTORYTYPE.BLACKLIST_DELETE); + JSONObject jsonObject = new JSONObject(); + jsonObject.put("guid",blackList.getGuid()); + jsonObject.put("name",""); + //todo 닉네임을 dynamoDB에서 조회해와야 됨 + map.put("content",jsonObject.toString()); + historyMapper.saveLog(map); + //dynamoDB char# 테이블에 isBlackUser : false 값을 insert +// dynamoDBService.insertUpdateData(blackList.getGuid(),"isBlackUser", false); + logger.info("deleteBlackList delete: {}",map); + if(blackList.getStatus().equals(BlackList.STATUSTYPE.INPROGRESS)) + dynamoDBService.updateBlockUserEnd(blackList.getGuid()); + } + ); + + + + return BlackListResponse.builder() + .resultData(BlackListResponse.ResultData.builder() + .message(SuccessCode.DELETE.getMessage()).build()) + .result(CommonCode.SUCCESS.getResult()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public void updateBlackListStatus(Long id, BlackList.STATUSTYPE status){ + Map map = new HashMap<>(); + map.put("id", id); + map.put("status", status); + + blackListMapper.updateStatus(map); + logger.info("updateBlackListStatus BlackListSchedule status update: {}",map); + } + + public List getScheduleBlackList(){ + return blackListMapper.getScheduleBlackList(); + } + + public void updateScheduleBlockUser(BlackList blockUser, String type){ + if(type.equals("start")){ + dynamoDBService.updateBlockUserStart(blockUser); + }else{ + dynamoDBService.updateBlockUserEnd(blockUser.getGuid()); + } + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/CaliumService.java b/src/main/java/com/caliverse/admin/domain/service/CaliumService.java new file mode 100644 index 0000000..903afae --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/CaliumService.java @@ -0,0 +1,251 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.dao.admin.CaliumMapper; +import com.caliverse.admin.domain.entity.*; +import com.caliverse.admin.domain.entity.web3.ResponseConfirmData; +import com.caliverse.admin.domain.entity.web3.ResponseErrorCode; +import com.caliverse.admin.domain.entity.web3.ResponseRequestData; +import com.caliverse.admin.domain.entity.web3.ResponseWithdrawableData; +import com.caliverse.admin.domain.request.CaliumRequest; +import com.caliverse.admin.domain.request.Web3Request; +import com.caliverse.admin.domain.response.CaliumResponse; +import com.caliverse.admin.domain.response.Web3Response; +import com.caliverse.admin.dynamodb.service.DynamodbCaliumService; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.constants.MysqlConstants; +import com.caliverse.admin.global.common.constants.Web3Constants; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.history.service.MysqlHistoryLogService; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.json.JSONObject; +import org.springframework.http.HttpMethod; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; + +@Service +@Slf4j +@RequiredArgsConstructor +public class CaliumService { + + private final CaliumMapper caliumMapper; + private final HistoryService historyService; + private final Web3Service web3Service; +// private final DynamoDBService dynamoDBService; + private final DynamodbCaliumService dynamodbCaliumService; + private final MysqlHistoryLogService mysqlHistoryLogService; + + public CaliumResponse getCaliumLimit(){ + Web3Response web3Response = web3Service.get( + Web3Constants.URL_SERVER_TYPE, + null, + ResponseWithdrawableData.class + ); + log.info("getCaliumLimit calium WithdrawableInfo: {}", web3Response); + + if(web3Response.isSuccess()) + return CaliumResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(CaliumResponse.ResultData.builder() + .withdrawableInfo(web3Response.getData()) + .build() + ) + .build(); + else{ + String code = web3Response.getCode(); + Optional error = ResponseErrorCode.fromCode(code); + return CaliumResponse.builder() + .status(CommonCode.ERROR.getHttpStatus()) + .result(code) + .resultData(CaliumResponse.ResultData.builder() + .message(error.get().getMessage()) + .build() + ) + .build(); + } + } + + public CaliumResponse getList(Map requestParam){ + //페이징 처리 + requestParam = CommonUtils.pageSetting(requestParam); + + List list = caliumMapper.getCaliumRequestList(requestParam); + + double allCnt = caliumMapper.getCaliumTotal(); + double stock_qty = dynamodbCaliumService.getCaliumTotal(); + + return CaliumResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(CaliumResponse.ResultData.builder() + .caliumList(list) + .total(stock_qty) + .totalAll(allCnt) + .pageNo(requestParam.get("page_no")!=null? + Integer.parseInt(requestParam.get("page_no").toString()):1) + .build() + ) + .build(); + } + + public CaliumResponse getDetail(Long id){ + Calium calium = caliumMapper.getCaliumRequestDetail(id); + + log.info("getDetail call Detail Info: {}", calium); + + return CaliumResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(CaliumResponse.ResultData.builder() + .calium(calium) + .build()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public CaliumResponse postCaliumRequest(CaliumRequest caliumRequest){ + caliumRequest.setCreateBy(CommonUtils.getAdmin().getId()); + + Web3Request apiRequest = Web3Request.builder() + .serverType(Web3Constants.SERVER_NAME) + .historyMessage(caliumRequest.getContent()) + .requestor(CommonUtils.getAdmin().getName()) + .amount(-Math.abs(caliumRequest.getCount())).build(); // 음수로 변환 + + Web3Response web3Response = web3Service.callWeb3Api(Web3Constants.URL_REQUEST, HttpMethod.POST, apiRequest, ResponseRequestData.class); + + if(!web3Response.isSuccess()){ + log.error("postEvent Web3 api error: {}", web3Response); + String code = web3Response.getCode(); + ResponseErrorCode error = ResponseErrorCode.fromCode(code).get(); + return CaliumResponse.builder() + .status(CommonCode.ERROR.getHttpStatus()) + .result(code) + .resultData(CaliumResponse.ResultData.builder() + .message(error.getMessage()) + .build() + ) + .build(); + } + + log.info("postEvent Request Api Response: {}", web3Response); + ResponseRequestData responseData = web3Response.getData(); + caliumRequest.setRequestId(responseData.get_id()); + caliumRequest.setCreateTime(responseData.getCreateTime()); + + int result = caliumMapper.postCaliumRequest(caliumRequest); + log.info("postEvent AdminToolDB Event Save: {}", caliumRequest); + + Calium calium = caliumMapper.getCaliumRequestDetail(caliumRequest.getId()); + + mysqlHistoryLogService.insertHistoryLog( + HISTORYTYPE.CALIUM_ADD, + MysqlConstants.TABLE_NAME_CALIUM_REQUEST, + HISTORYTYPE.CALIUM_ADD.name(), + calium, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + + //로그 기록 + JSONObject jsonObject = new JSONObject(); + jsonObject.put("dept",caliumRequest.getDept()); + jsonObject.put("count",caliumRequest.getCount()); + jsonObject.put("content",caliumRequest.getContent()); + historyService.setLog(HISTORYTYPE.CALIUM_ADD, jsonObject); + + return CaliumResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(CaliumResponse.ResultData.builder() + .message(SuccessCode.SAVE.getMessage()) + .build()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public CaliumResponse updateCaliumCharged(CaliumRequest caliumRequest){ + log.info("updateCaliumCharged calium Request: {}", caliumRequest); + Calium calium = caliumMapper.getCaliumRequestDetail(caliumRequest.getId()); + Long id = CommonUtils.getAdmin().getId(); + // 상태가 승인완료거나 요청한 본인이 아니면 에러처리 + if(!calium.getStatus().equals(Calium.CALIUMREQUESTSTATUS.COMPLETE) || !calium.getCreateBy().equals(id.toString())){ + log.error("updateCaliumCharged Calium Request Status or User Not Match status: {}, id: {}", calium.getStatus(), id); + return CaliumResponse.builder() + .status(CommonCode.ERROR.getHttpStatus()) + .result(ErrorCode.ERROR_CALIUM_FINISH.toString()) + .resultData(CaliumResponse.ResultData.builder() + .build() + ) + .build(); + } + + dynamodbCaliumService.updateCaliumTotal(caliumRequest.getCount()); + + updateCaliumRequest(caliumRequest.getId(), Calium.CALIUMREQUESTSTATUS.FINISH); + + JSONObject jsonObject = new JSONObject(); +// jsonObject.put("dynamoDB_update",dynamoResult); + + historyService.setLog(HISTORYTYPE.CALIUM_TOTAL_UPDATE, jsonObject); + + return CaliumResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public void getScheduleCaliumRequestList(){ + List scheduleList = caliumMapper.getScheduleCaliumRequest(); + for(Calium calium : scheduleList){ + String url = Web3Constants.URL_REQUEST_CONFIRM + calium.getRequestId(); + Web3Response web3Response = web3Service.get( + url, + null, + ResponseConfirmData.class + ); + + if(web3Response.isSuccess()){ + ResponseConfirmData data = web3Response.getData(); + String state = data.getState(); + if(state.equals("confirm")){ + updateCaliumRequest(calium.getId(), Calium.CALIUMREQUESTSTATUS.COMPLETE, data); + log.info("getScheduleCaliumRequestList Calium Request Confirm: {}", data); + }else if(state.equals("cancel")){ + updateCaliumRequest(calium.getId(), Calium.CALIUMREQUESTSTATUS.REJECT, data); + log.info("getScheduleCaliumRequestList Calium Request Cancel: {}", data); + } + }else{ + String code = web3Response.getCode(); + Optional error = ResponseErrorCode.fromCode(code); + log.error("getScheduleCaliumRequestList calium confirm request request_id: {}, Error: {}", calium.getRequestId(), error.get().getMessage()); + } + } + } + + private void updateCaliumRequest(Long id, Calium.CALIUMREQUESTSTATUS status){ + Map map = new HashMap<>(); + map.put("id", id); + map.put("status", status.toString()); + map.put("updateBy", CommonUtils.getAdmin().getId()); + caliumMapper.updateStatusCaliumRequest(map); + } + + private void updateCaliumRequest(Long id, Calium.CALIUMREQUESTSTATUS status, ResponseConfirmData data){ + Map map = new HashMap<>(); + map.put("id", id); + map.put("status", status.toString()); + map.put("stateTime", data.getStateTime()); + map.put("stateMessage", data.getState().equals("confirm") ? data.getStateMessage(): ""); + caliumMapper.updateStatusCaliumRequest(map); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/DynamoDBAttributeCreateService.java b/src/main/java/com/caliverse/admin/domain/service/DynamoDBAttributeCreateService.java new file mode 100644 index 0000000..967b891 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/DynamoDBAttributeCreateService.java @@ -0,0 +1,22 @@ +package com.caliverse.admin.domain.service; + +import org.springframework.stereotype.Service; +import software.amazon.awssdk.services.dynamodb.model.AttributeValue; + +import java.util.HashMap; +import java.util.Map; + +@Service +public class DynamoDBAttributeCreateService { + + + public Map makeItemAttributeKey(String userGuid, String itemGuid){ + Map itemAttributes = new HashMap<>(); + itemAttributes.put("PK", AttributeValue.builder().s("item#" + userGuid).build()); + itemAttributes.put("SK", AttributeValue.builder().s(itemGuid).build()); + return itemAttributes; + } + + + +} diff --git a/src/main/java/com/caliverse/admin/domain/service/DynamoDBMetricsService.java b/src/main/java/com/caliverse/admin/domain/service/DynamoDBMetricsService.java new file mode 100644 index 0000000..d636744 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/DynamoDBMetricsService.java @@ -0,0 +1,72 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.global.common.constants.DynamoDBConstants; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Service; +import software.amazon.awssdk.services.cloudwatch.CloudWatchClient; +import software.amazon.awssdk.services.cloudwatch.model.*; + +import java.time.Instant; +import java.util.List; + + +@Service +public class DynamoDBMetricsService { + + @Value("${amazon.dynamodb.metaTable}") + private String metaTable; + + private final CloudWatchClient cloudWatchClient; + + public DynamoDBMetricsService(CloudWatchClient cloudWatchClient) { + this.cloudWatchClient = cloudWatchClient; + } + + public GetMetricDataResponse getConsumedCapacityData(Instant startTime, Instant endTime) { + var readCapacityQuery = MetricDataQuery.builder() + .id("readCapacity") + .metricStat(MetricStat.builder() + .metric(Metric.builder() + .namespace(DynamoDBConstants.NAMESPACE) + .metricName(DynamoDBConstants.CONSUMED_READ_CAPACITY) + .dimensions(List.of( + Dimension.builder() + .name("TableName") + .value(metaTable) + .build() + )) + .build()) + .period(300) // 5분 간격 + .stat("Sum") + .build()) + .returnData(true) + .build(); + + var writeCapacityQuery = MetricDataQuery.builder() + .id("writeCapacity") + .metricStat(MetricStat.builder() + .metric(Metric.builder() + .namespace(DynamoDBConstants.NAMESPACE) + .metricName(DynamoDBConstants.CONSUMED_WRITE_CAPACITY) + .dimensions(List.of( + Dimension.builder() + .name("TableName") + .value(metaTable) + .build() + )) + .build()) + .period(300) + .stat("Sum") + .build()) + .returnData(true) + .build(); + + var request = GetMetricDataRequest.builder() + .startTime(startTime) + .endTime(endTime) + .metricDataQueries(List.of(readCapacityQuery, writeCapacityQuery)) + .build(); + + return cloudWatchClient.getMetricData(request); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/DynamoDBQueryServiceBase.java b/src/main/java/com/caliverse/admin/domain/service/DynamoDBQueryServiceBase.java new file mode 100644 index 0000000..c53b41f --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/DynamoDBQueryServiceBase.java @@ -0,0 +1,51 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Service; +import software.amazon.awssdk.services.dynamodb.DynamoDbClient; +import software.amazon.awssdk.services.dynamodb.model.DeleteItemRequest; +import software.amazon.awssdk.services.dynamodb.model.DeleteItemResponse; + + +/* +* 추후에 일반화 처리 필요 +* */ +@Service +public class DynamoDBQueryServiceBase { + + @Value("${amazon.dynamodb.metaTable}") + private String metaTable; + + private final DynamoDbClient dynamoDbClient; + private final DynamoDBAttributeCreateService dynamoDBAttributeCreateService; + + public DynamoDBQueryServiceBase(DynamoDbClient dynamoDbClient + , DynamoDBAttributeCreateService dynamoDBAttributeCreateService + ) { + this.dynamoDBAttributeCreateService = dynamoDBAttributeCreateService; + this.dynamoDbClient = dynamoDbClient; + } + + + public void deleteUserItem(String userGuid, String itemGuid) { + + + var itemAttributes = dynamoDBAttributeCreateService.makeItemAttributeKey(userGuid, itemGuid); + + DeleteItemRequest request = DeleteItemRequest.builder() + .tableName(metaTable) + .key(itemAttributes) + .build(); + + DeleteItemResponse response = dynamoDbClient.deleteItem(request); + + if (!response.sdkHttpResponse().isSuccessful()) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_ITEM_DELETE_FAIL.getMessage() ); + } + + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/service/DynamoDBService.java b/src/main/java/com/caliverse/admin/domain/service/DynamoDBService.java new file mode 100644 index 0000000..6592ce6 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/DynamoDBService.java @@ -0,0 +1,2338 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.RabbitMq.RabbitMqUtils; +import com.caliverse.admin.domain.RabbitMq.message.AuthAdminLevelType; +import com.caliverse.admin.domain.dao.admin.AdminMapper; +import com.caliverse.admin.domain.datacomponent.MetaDataHandler; +import com.caliverse.admin.domain.entity.metadata.MetaQuestData; +import com.caliverse.admin.domain.entity.*; +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.domain.request.UserReportRequest; +import com.caliverse.admin.domain.response.UserReportResponse; +import com.caliverse.admin.domain.response.UsersResponse; +import com.caliverse.admin.dynamodb.service.DynamoDBOperations; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionActivityAttrib; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionHighestBidUserAttrib; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionRegistryAttrib; +import com.caliverse.admin.dynamodb.domain.doc.LandAuctionActivityDoc; +import com.caliverse.admin.dynamodb.domain.doc.LandAuctionHighestBidUserDoc; +import com.caliverse.admin.dynamodb.domain.doc.LandAuctionRegistryDoc; +import com.caliverse.admin.dynamodb.entity.ELandAuctionResult; +import com.caliverse.admin.global.common.annotation.DynamoDBTransaction; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.constants.CommonConstants; +import com.caliverse.admin.global.common.constants.DynamoDBConstants; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import lombok.extern.slf4j.Slf4j; +import org.json.JSONObject; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Service; +import software.amazon.awssdk.enhanced.dynamodb.DynamoDbEnhancedClient; +import software.amazon.awssdk.enhanced.dynamodb.DynamoDbTable; +import software.amazon.awssdk.enhanced.dynamodb.Key; +import software.amazon.awssdk.enhanced.dynamodb.TableSchema; +import software.amazon.awssdk.services.dynamodb.DynamoDbClient; +import software.amazon.awssdk.services.dynamodb.model.*; + +import java.time.Instant; +import java.time.LocalDateTime; +import java.time.ZoneId; +import java.time.ZoneOffset; +import java.time.format.DateTimeFormatter; +import java.util.*; +import java.util.concurrent.atomic.AtomicBoolean; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.function.BiConsumer; +import java.util.stream.IntStream; +import java.util.stream.Stream; + +@Slf4j +@Service +public class DynamoDBService { + @Value("${amazon.dynamodb.metaTable}") + private String metaTable; + + private final DynamoDbClient dynamoDbClient; + private final DynamoDbEnhancedClient enhancedClient; + private final DynamoDBOperations DynamoDBOperations; + + private final AdminMapper adminMapper; + private final MetaDataHandler metaDataHandler; + //private final HistoryService historyService; + private final ObjectMapper mapper = new ObjectMapper(); + + @Autowired + public DynamoDBService(DynamoDbClient dynamoDbClient, + AdminMapper adminMapper, + HistoryService historyService, + MetaDataHandler metaDataHandler, + DynamoDbEnhancedClient enhancedClient, + DynamoDBOperations DynamoDBOperations) { + this.dynamoDbClient = dynamoDbClient; + this.adminMapper = adminMapper; + this.metaDataHandler = metaDataHandler; + this.enhancedClient = enhancedClient; + this.DynamoDBOperations = DynamoDBOperations; + } + + // guid check + public boolean isGuidChecked(String guid) { + Map item = getItem("user_base#"+guid,"empty"); + + return item.isEmpty(); + } + + // nickname > guid + public String getNickNameByGuid(String primaryKey) { + Map resMap = new HashMap<>(); + Map key = new HashMap<>(); + key.put("PK", AttributeValue.builder().s("user_nickname_registry#global").build()); + key.put("SK", AttributeValue.builder().s(primaryKey).build()); + // GetItem 요청을 만듭니다. + GetItemRequest getItemRequest = GetItemRequest.builder() + .tableName(metaTable) + .key(key) + .build(); + + try { + // GetItem 요청을 실행하고 응답을 받습니다. + GetItemResponse response = dynamoDbClient.getItem(getItemRequest); + + // 응답에서 원하는 속성을 가져옵니다. + AttributeValue attributeValue = response.item().get("UserNicknameRegistryAttrib"); + + if (attributeValue != null) { + String attrJsonString = attributeValue.s(); + // JSON 문자열을 파싱합니다. + ObjectMapper objectMapper = new ObjectMapper(); + JsonNode attrJson = objectMapper.readTree(attrJsonString); + + // 원하는 필드를 추출합니다. + return attrJson.get("user_guid").asText(); + + } + return primaryKey; + } catch (Exception e) { + log.error("getNickNameByGuid exception: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + // guid > nickname + public String getGuidByName(String guid){ + Map item = getItem("nickname#"+guid,"empty"); + + if(item.isEmpty()) return null; + + Map attrMap = CommonUtils.stringByObject(item.get("NicknameAttrib").s()); + + return CommonUtils.objectToString(attrMap.get("nickname")); + } + + // guid > account_id + public String getGuidByAccountId(String guid){ + Map item = getItem("user_base#"+guid,"empty"); + + if(item.isEmpty()) return null; + + Map attrMap = CommonUtils.stringByObject(item.get("UserBaseAttrib").s()); + + return CommonUtils.objectToString(attrMap.get("account_id")); + } + + // account_id > guid + public String getAccountIdByGuid(Long id){ + Map item = getItem("account_base#"+id,"empty"); + + if(item.isEmpty()) return null; + + Map attrMap = CommonUtils.stringByObject(item.get("AccountBaseAttrib").s()); + + return CommonUtils.objectToString(attrMap.get("user_guid")); + } + + // 유저 언어타입 + public String getUserLanguage(String guid){ + String account_id = getGuidByAccountId(guid); + Map item = getItem("account_base#" + account_id,"empty"); + + if(item.isEmpty()) return null; + + Map attrMap = CommonUtils.stringByObject(item.get("AccountBaseAttrib").s()); + + return CommonUtils.objectToString(attrMap.get("language_type")); + } + + // 유저조회 타입별 분기 + public Map findUsersBykey(String searchType, String searchKey){ + Map resultMap = new HashMap<>(); + Map key = new HashMap<>(); + try { + if(searchType.equals(SEARCHTYPE.NAME.name())){ + return getUsersByName(searchKey.toLowerCase()); //nickname은 무조건 소문자 + }else if(searchType.equals(SEARCHTYPE.GUID.name())){ + return getUsersByGuid(searchKey); + }else if(searchType.equals(SEARCHTYPE.ACCOUNT.name())){ + return getUsersByAccountId(searchKey); + } + //else if(searchType.equals(SEARCHTYPE.TEMP_DATA.name())){ + // return historyService.insertTempMetaData(); + //} + + + return resultMap; + } catch (Exception e) { + log.error("findUsersBykey exception: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + // 유저조회 닉네임 + // return guid, 닉네임 + public Map getUsersByName(String searchKey){ + Map resultMap = null; + + QueryRequest queryRequest = QueryRequest.builder() + .tableName(metaTable) + .keyConditionExpression("PK = :pkValue AND SK = :skValue") // 파티션 키와 조건식 설정 +// .expressionAttributeValues(Map.of(":pkValue", AttributeValue.builder().s("nickname#"+searchKey).build() +// ,":skValue", AttributeValue.builder().s("nickname#").build())) + .expressionAttributeValues(Map.of(":pkValue", AttributeValue.builder().s("user_nickname_registry#global").build() + ,":skValue", AttributeValue.builder().s(searchKey).build())) + .build(); + + try{ + // 쿼리 실행 + QueryResponse response = dynamoDbClient.query(queryRequest); + + // 응답에서 원하는 속성을 가져옵니다. + for (Map item : response.items()) { +// AttributeValue attrValue = item.get("Attr"); + AttributeValue attrValue = item.get("UserNicknameRegistryAttrib"); + if (attrValue != null) { + resultMap = new HashMap<>(); + // "Attr" 속성의 값을 읽어옵니다. + String attrJson = attrValue.s(); + + // JSON 문자열을 파싱하여 Map 또는 다른 객체로 변환합니다. + ObjectMapper objectMapper = new ObjectMapper(); + Map attrMap = objectMapper.readValue(attrJson, new TypeReference>() { + }); + +// resultMap.put("guid", (String) attrMap.get("AccountGuid")); +// resultMap.put("nickname", (String) attrMap.get("AccountId")); + resultMap.put("guid", (String) attrMap.get("user_guid")); + resultMap.put("nickname", searchKey); + } + } + return resultMap; + }catch (Exception e){ + log.error("getUsersByName exception: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + } + + // 유저조회 guid + // return guid, account_id + public Map getUsersByGuid(String searchKey){ + Map resultMap = null; + + QueryRequest queryRequest = QueryRequest.builder() + .tableName(metaTable) + .keyConditionExpression("PK = :pkValue AND SK = :skValue") // 파티션 키와 조건식 설정 + .expressionAttributeValues(Map.of(":pkValue", AttributeValue.builder().s("user_base#"+searchKey).build() + ,":skValue", AttributeValue.builder().s("empty").build())) + .build(); + + try{ + // 쿼리 실행 + QueryResponse response = dynamoDbClient.query(queryRequest); + + // 응답에서 원하는 속성을 가져옵니다. + for (Map item : response.items()) { + AttributeValue attrValue = item.get("UserBaseAttrib"); + if (attrValue != null) { + resultMap = new HashMap<>(); + // "Attr" 속성의 값을 읽어옵니다. + String attrJson = attrValue.s(); + + // JSON 문자열을 파싱하여 Map 또는 다른 객체로 변환합니다. + ObjectMapper objectMapper = new ObjectMapper(); + Map attrMap = objectMapper.readValue(attrJson, new TypeReference>() { + }); + + resultMap.put("guid", searchKey); + resultMap.put("nickname", (String) attrMap.get("account_id")); + } + } + return resultMap; + }catch (Exception e){ + log.error("getUsersByGuid exception: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + } + + //유저조회 account_id + //return guid, account_id + public Map getUsersByAccountId(String searchKey){ + Map resultMap = null; + + QueryRequest queryRequest = QueryRequest.builder() + .tableName(metaTable) + .keyConditionExpression("PK = :pkValue AND SK = :skValue") // 파티션 키와 조건식 설정 + .expressionAttributeValues(Map.of(":pkValue", AttributeValue.builder().s("account_base#"+searchKey).build() + ,":skValue", AttributeValue.builder().s("empty").build())) + .build(); + + try{ + // 쿼리 실행 + QueryResponse response = dynamoDbClient.query(queryRequest); + + // 응답에서 원하는 속성을 가져옵니다. + for (Map item : response.items()) { + AttributeValue attrValue = item.get("AccountBaseAttrib"); + if (attrValue != null) { + resultMap = new HashMap<>(); + // "Attr" 속성의 값을 읽어옵니다. + String attrJson = attrValue.s(); + + // JSON 문자열을 파싱하여 Map 또는 다른 객체로 변환합니다. + ObjectMapper objectMapper = new ObjectMapper(); + Map attrMap = objectMapper.readValue(attrJson, new TypeReference>() { + }); + + resultMap.put("guid", (String) attrMap.get("user_guid")); + resultMap.put("nickname", (String) attrMap.get("account_id")); + } + } + return resultMap; + }catch (Exception e){ + log.error("getUsersByAccountId exception: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + } + + + public Map getAccountInfo(String guid){ + Map resMap = new HashMap<>(); + + String key = "PK = :pkValue AND SK = :skValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("account_base#"+guid).build() + ,":skValue", AttributeValue.builder().s("empty").build()); + + try { + // 쿼리 실행 + QueryResponse response = executeQuery(key, values); + + // 응답에서 원하는 속성을 가져옵니다. + for (Map item : response.items()) { + AttributeValue attrValue = item.get("AccountBaseAttrib"); + if (attrValue != null) { + // "Attr" 속성의 값을 읽어옵니다. + String attrJson = attrValue.s(); + + // JSON 문자열을 파싱하여 Map 또는 다른 객체로 변환합니다. + ObjectMapper objectMapper = new ObjectMapper(); + Map attrMap = objectMapper.readValue(attrJson, new TypeReference>() {}); + + resMap.put("userInfo", UsersResponse.UserInfo.builder() + .aid(CommonUtils.objectToString(attrMap.get("user_guid"))) + .userId(CommonUtils.objectToString(attrMap.get("account_id"))) + .nation(LANGUAGETYPE.values()[CommonUtils.objectToInteger(attrMap.get("language_type"))]) + // + .membership(CommonUtils.objectToString(null)) + //todo 친구 추천 코드 임시 null 값으로 셋팅 23.09.20 + .friendCode(CommonUtils.objectToString(null)) + .createDt(CommonUtils.objectToString(attrMap.get("created_datetime"))) + .accessDt(CommonUtils.objectToString(attrMap.get("login_datetime"))) + .endDt(CommonUtils.objectToString(attrMap.get("logout_datetime"))) + .walletUrl(CommonUtils.objectToString(attrMap.get("connect_facewallet"))) + .adminLevel(CommonUtils.objectToString(attrMap.get("auth_amdin_level_type"))) + //todo 예비슬롯 임시 null 값으로 셋팅 23.09.20 + .spareSlot(CommonUtils.objectToString(null)) + .build()); + } + } + log.info("getAccountInfo UserInfo: {}", resMap); + + return resMap; + } catch (Exception e) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + // 유저조회 - 기본정보 + public Map getCharInfo(String guid){ + Map resMap = new HashMap<>(); + + String key = "PK = :pkValue AND SK = :skValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("money#"+guid).build() + ,":skValue", AttributeValue.builder().s("empty").build()); + + try { + // 쿼리 실행 + QueryResponse response = executeQuery(key, values); + + // 응답에서 원하는 속성을 가져옵니다. + for (Map item : response.items()) { + + //캐릭터 CharInfo 조회 + AttributeValue charValue = item.get("MoneyAttrib"); + if (charValue != null) { + // "Attr" 속성의 값을 읽어옵니다. + Map attrMap = charValue.m(); + + resMap.put("charInfo", UsersResponse.CharInfo.builder() + .characterName(getGuidByName(guid)) + .level(CommonUtils.objectToString(null)) + .goldCali(CommonUtils.objectToString(attrMap.get("gold").n())) + .redCali(CommonUtils.objectToString(attrMap.get("calium").n())) + .blackCali(CommonUtils.objectToString(attrMap.get("ruby").n())) + .blueCali(CommonUtils.objectToString(attrMap.get("sapphire").n())) + .build()); + } + } + log.info("getCharInfo CharInfo: {}", resMap); + + return resMap; + } catch (Exception e) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + // 유저조회 - 아바타 + public Map getAvatarInfo(String guid){ + Map resMap = new HashMap<>(); + + String key = "PK = :pkValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("character_base#"+guid).build()); + + try { + excuteItems(executeQuery(key, values), "CharacterBaseAttrib") + .forEach(attrMap -> { + Map profile = (Map) attrMap.get("appearance_profile"); + + //Object customValue = attrMap.get("CustomValue"); + resMap.put("avatarInfo", UsersResponse.AvatarInfo.builder() + .characterId(CommonUtils.objectToString(attrMap.get("character_guid"))) + .basicstyle(CommonUtils.objectToString(profile.get("basic_style"))) + .hairstyle(CommonUtils.objectToString(profile.get("hair_style"))) + .facesCustomizing(CommonUtils.objectToIntArray(profile.get("custom_values"))) + .bodyshape(CommonUtils.objectToString(profile.get("body_shape"))) + .build()); + }); + log.info("getAvatarInfo AvatarInfo: {}", resMap); + + return resMap; + } catch (Exception e) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + //퀘스트 조회 + public List getQuest(String guid){ + List res = new ArrayList<>(); + String key = "PK = :pkValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("quest#"+guid).build()); + + try { + excuteItems(executeQuery(key, values), "QuestAttrib") + .forEach(attrMap -> { + Integer questId = (Integer) attrMap.get("quest_id"); + Integer current_task_no = (Integer)attrMap.get("current_task_num"); + List metaQuests = metaDataHandler.getMetaQuestData(questId); + // 상세보기 퀘스트 전체 리스트 + + List detailQuests = metaQuests.stream() + .map(metaData -> UsersResponse.Quest.builder() + .questId(metaData.getQuestId()) + .taskNo(metaData.getTaskNum()) + .questName(metaDataHandler.getTextStringData(metaData.getTaskName())) + .counter(metaData.getCounter()) + .status(current_task_no > metaData.getTaskNum() ? "완료" : "미완료" ) + .build()) + .toList(); + + //퀘스트 명칭 + String taskName = metaQuests.stream() + .filter(attr -> attr.getTaskNum().equals(current_task_no)) + .map(MetaQuestData::getTaskName) + .findFirst().orElse(null); + + UsersResponse.QuestInfo questInfo = UsersResponse.QuestInfo.builder() + .questId(questId) + .questName(metaDataHandler.getTextStringData(taskName)) + .status(CommonUtils.objectToString(attrMap.get("is_complete"))) + .assignTime((String) attrMap.get("quest_assign_time")) + .type((String) attrMap.get("quest_type")) + .startTime((String) attrMap.get("task_start_time")) + .completeTime((String) attrMap.get("quest_complete_time")) + .currentTaskNum((Integer) attrMap.get("current_task_num")) + .detailQuest(detailQuests) + .build(); + + res.add(questInfo); + }); + log.info("getQuest QuestInfo: {}", res); + + return res; + + } catch (Exception e) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + //guid 로 item 테이블 조회 + public Map getItemTable(String guid){ + QueryRequest queryRequest = QueryRequest.builder() + .tableName(metaTable) + .keyConditionExpression("PK = :pkValue AND SK = :skValue") // 파티션 키와 조건식 설정 + .expressionAttributeValues( + Map.of(":pkValue", AttributeValue.builder().s("item#"+guid).build() + ,":skValue", AttributeValue.builder().s("item#"+guid).build())) + .build(); + + try { + // 쿼리 실행 + QueryResponse response = dynamoDbClient.query(queryRequest); + + // 응답에서 원하는 속성을 가져옵니다. + for (Map item : response.items()) { + AttributeValue attrValue = item.get("Attr"); + if (attrValue != null) { + // "Attr" 속성의 값을 읽어옵니다. + String attrJson = attrValue.s(); + + // JSON 문자열을 파싱하여 Map 또는 다른 객체로 변환합니다. + ObjectMapper objectMapper = new ObjectMapper(); + // JSON 문자열을 Map으로 파싱 + Map attrMap = objectMapper.readValue(attrJson, new TypeReference>() {}); + + return attrMap; + } + } + + return null; + } catch (Exception e) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + public void insertUpdateData(String guid, String type, boolean flag) { + + // 업데이트할 데이터 맵 생성 + Map key = new HashMap<>(); + key.put("PK", AttributeValue.builder().s("char#"+guid).build()); + key.put("SK", AttributeValue.builder().s("char#"+guid).build()); + + Map attributeUpdates = new HashMap<>(); + + attributeUpdates.put(type, AttributeValueUpdate.builder() + .action(AttributeAction.PUT) + .value(AttributeValue.builder().bool(flag).build()) + .build()); + + // UpdateItem 요청 작성 + UpdateItemRequest updateItemRequest = UpdateItemRequest.builder() + .tableName(metaTable) + .key(key) + .attributeUpdates(attributeUpdates) + .build(); + + // 데이터 업데이트 또는 인서트 요청 + dynamoDbClient.updateItem(updateItemRequest); + } + + // dynamoDB 쿼리 리턴 + public QueryResponse executeQuery(String key, Map values) { + QueryRequest getItemRequest = QueryRequest.builder() + .tableName(metaTable) + .keyConditionExpression(key) + .expressionAttributeValues(values) + .build(); + + return dynamoDbClient.query(getItemRequest); + } + + public Map getItem(String partitionKey, String sortKey) { + Map keyMap = new HashMap<>(); + keyMap.put("PK", AttributeValue.builder().s(partitionKey).build()); + keyMap.put("SK", AttributeValue.builder().s(sortKey).build()); + try{ + // GetItem 요청 작성 + GetItemRequest getItemRequest = GetItemRequest.builder() + .tableName(metaTable) + .key(keyMap) + .build(); + + // 아이템 가져오기 + GetItemResponse getItemResponse = dynamoDbClient.getItem(getItemRequest); + return getItemResponse.item(); + }catch (Exception e){ + log.error("getItem Fail: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + } + + public Stream> excuteItems (QueryResponse response, String attrip){ + return response.items().stream() + .map(item -> item.get(attrip)) + .filter(Objects::nonNull) + .map(AttributeValue::s) + .map(attrJson -> { + ObjectMapper objectMapper = new ObjectMapper(); + try { + return objectMapper.readValue(attrJson, new TypeReference>() {}); + } catch (JsonProcessingException e) { + throw new RuntimeException("JSON parsing error", e); + } + }); + } + + public boolean isWhiteOrBlackUser(String accountId){ + String key = "PK = :pkValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("account_base#"+accountId).build()); + AtomicBoolean isFlag = new AtomicBoolean(false); + + excuteItems(executeQuery(key, values), "AccountBaseAttrib") + .forEach(attrMap -> { + String[] blockPolicy = CommonUtils.objectToStringArray(attrMap.get("block_policy")); + + if(Arrays.stream(blockPolicy).findAny().isEmpty()){ + isFlag.set(false); + }else{ + isFlag.set(true); + } + }); + + return isFlag.get(); +// if (attributeValue == null || attributeValue.s() == null) { +// // 속성 값이 없거나 문자열이 아닌 경우에 대한 처리 +// return false; +// } +// +// // 속성 값을 문자열로 가져옴 +// String isFlag = attributeValue.s(); +// +// // "true" 문자열과 대소문자 구분 없이 비교하여 boolean 값으로 반환 +// return isFlag.equalsIgnoreCase("true"); +// if(attr == null) return false; + + + } + + public void updateBlockUserStart(BlackList blockUser){ + try{ + String accountId = getGuidByAccountId(blockUser.getGuid()); + SANCTIONS reasonType = blockUser.getSanctions(); +// SANCTIONSTYPE policyType = blockUser.getType(); +// List listPolicyType = new ArrayList<>(); +// listPolicyType.add(policyType); + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSSSSS"); + String startTime = blockUser.getStartDt().format(formatter); + String endTime = blockUser.getEndDt().format(formatter); + + Map item = getItem("account_base#" + accountId,"empty"); + + String InfoJson = item.get("AccountBaseAttrib").s(); + log.info("updateBlockUserStart Before AccountBaseAttrib: {}", InfoJson); + + ObjectMapper objectMapper = new ObjectMapper(); + JsonNode infoNode = objectMapper.readTree(InfoJson); + + ((ObjectNode) infoNode).put("block_start_datetime", startTime); + ((ObjectNode) infoNode).put("block_end_datetime", endTime); + ArrayNode policyArray = objectMapper.createArrayNode(); + policyArray.add(blockUser.getType().toString()); + ((ObjectNode) infoNode).set("block_policy", policyArray); +// ((ObjectNode) infoNode).put("block_policy", listPolicyType.toString()); + ((ObjectNode) infoNode).put("block_reason", reasonType.toString()); + + String updatedInfoJson = infoNode.toString(); + String nowDateTime = LocalDateTime.now().format(formatter); + log.info("updateBlockUserStart Tobe AccountBaseAttrib: {}", updatedInfoJson); + + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":newAttrib", AttributeValue.builder().s(updatedInfoJson).build()); + expressionAttributeValues.put(":nowDate", AttributeValue.builder().s(nowDateTime).build()); + + String updateExpression = "SET AccountBaseAttrib = :newAttrib, UpdatedDateTime = :nowDate"; + + UpdateItemRequest updateRequest = UpdateItemRequest.builder() + .tableName(metaTable) + .key(Map.of( + "PK", AttributeValue.builder().s("account_base#" + accountId).build(), + "SK", AttributeValue.builder().s("empty").build())) + .updateExpression(updateExpression) + .expressionAttributeValues(expressionAttributeValues) + .returnValues(ReturnValue.ALL_NEW) // 업데이트 후의 값을 반환하려면 지정 + .build(); + + + dynamoDbClient.updateItem(updateRequest); + }catch(Exception e){ + log.error("updateBlockUserStart: " + e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage() ); + } + } + + public void updateBlockUserEnd(String guid){ + try{ + String accountId = getGuidByAccountId(guid); + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSSSSS"); + String endTime = LocalDateTime.of(9999, 12, 31, 23, 59, 59, 999999900).format(formatter); + + Map item = getItem("account_base#" + accountId,"empty"); + + String InfoJson = item.get("AccountBaseAttrib").s(); + log.info("updateBlockUserEnd Before AccountBaseAttrib: {}", InfoJson); + + ObjectMapper objectMapper = new ObjectMapper(); + JsonNode infoNode = objectMapper.readTree(InfoJson); + + ((ObjectNode) infoNode).put("block_start_datetime", endTime); + ((ObjectNode) infoNode).put("block_end_datetime", endTime); + ((ObjectNode) infoNode).put("block_policy", new ArrayList<>().toString()); + ((ObjectNode) infoNode).put("block_reason", ""); + + String updatedInfoJson = infoNode.toString(); + String nowDateTime = LocalDateTime.now().format(formatter); + log.info("updateBlockUserEnd Tobe AccountBaseAttrib: {}", updatedInfoJson); + + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":newAttrib", AttributeValue.builder().s(updatedInfoJson).build()); + expressionAttributeValues.put(":nowDate", AttributeValue.builder().s(nowDateTime).build()); + + String updateExpression = "SET AccountBaseAttrib = :newAttrib, UpdatedDateTime = :nowDate"; + + UpdateItemRequest updateRequest = UpdateItemRequest.builder() + .tableName(metaTable) + .key(Map.of( + "PK", AttributeValue.builder().s("account_base#" + accountId).build(), + "SK", AttributeValue.builder().s("empty").build())) + .updateExpression(updateExpression) + .expressionAttributeValues(expressionAttributeValues) + .returnValues(ReturnValue.ALL_NEW) // 업데이트 후의 값을 반환하려면 지정 + .build(); + + dynamoDbClient.updateItem(updateRequest); + }catch(Exception e){ + log.error("updateBlockUserEnd: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage() ); + } + } + + // 닉네임 변경 + public void updateNickname(String guid,String nickname,String newNickname){ + try{ + // char#guid 에서 CharInfo-> DisplayName 변경 + updateCharInfo(guid, newNickname); + + // nickname#xxx 에서 Attr-> AccountId 변경 + createNewNickName(guid,newNickname); + + // 기존 nickname 항목 삭제 처리 + deleteNickname(nickname); + }catch (Exception e){ + log.error("updateNickname: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage() ); + } + + } + + // GM 권한 변경 + public void updateAdminLevel(String guid, String type){ + AuthAdminLevelType adminLevel = RabbitMqUtils.getUserAdminLevelType(type); + + try{ + String accountId = getGuidByAccountId(guid); + Map item = getItem("account_base#" + accountId, "empty"); + + String InfoJson = item.get("AccountBaseAttrib").s(); + log.info("updateAdminLevel Before AccountBaseAttrib: {}", InfoJson); + + ObjectMapper objectMapper = new ObjectMapper(); + JsonNode infoNode = objectMapper.readTree(InfoJson); + + ((ObjectNode) infoNode).put("auth_amdin_level_type", adminLevel.getNumber()); + + String updatedInfoJson = infoNode.toString(); + log.info("updateAdminLevel Tobe AccountBaseAttrib: {}", updatedInfoJson); + + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":newAttrib", AttributeValue.builder().s(updatedInfoJson).build()); + + String updateExpression = "SET AccountBaseAttrib = :newAttrib"; + + UpdateItemRequest updateRequest = UpdateItemRequest.builder() + .tableName(metaTable) + .key(Map.of( + "PK", AttributeValue.builder().s("account_base#" + accountId).build(), + "SK", AttributeValue.builder().s("empty").build())) + .updateExpression(updateExpression) + .expressionAttributeValues(expressionAttributeValues) + .returnValues(ReturnValue.ALL_NEW) // 업데이트 후의 값을 반환하려면 지정 + .build(); + + + dynamoDbClient.updateItem(updateRequest); + }catch (Exception e){ + log.error("updateAdminLevel: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage() ); + } + + } + + public void updateCharInfo(String guid, String newNickname) throws JsonProcessingException { + + // 기존 CharInfo 값 가져오기 + Map item = getItem("char#" + guid, "char#" + guid); + String charInfoJson = item.get("CharInfo").s(); + + // CharInfo JSON 문자열을 파싱 + ObjectMapper objectMapper = new ObjectMapper(); + JsonNode charInfoNode = objectMapper.readTree(charInfoJson); + + // 원하는 속성 변경 + ((ObjectNode) charInfoNode).put("DisplayName", newNickname); + + // 변경된 CharInfo JSON 문자열 + String updatedCharInfoJson = charInfoNode.toString(); + + // 업데이트할 내용을 정의 + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":newNickName", AttributeValue.builder().s(updatedCharInfoJson).build()); + + // 업데이트 표현식을 정의 + String updateExpression = "SET CharInfo = :newNickName"; + // 업데이트 요청 생성 + UpdateItemRequest updateRequest = UpdateItemRequest.builder() + .tableName(metaTable) + .key(Map.of( + "PK", AttributeValue.builder().s("char#" + guid).build(), + "SK", AttributeValue.builder().s("char#" + guid).build())) + .updateExpression(updateExpression) + .expressionAttributeValues(expressionAttributeValues) + .returnValues(ReturnValue.ALL_NEW) // 업데이트 후의 값을 반환하려면 지정 + .build(); + + + dynamoDbClient.updateItem(updateRequest); + } + public void createNewNickName(String guid, String newNickname) { + String attrJson = String.format("{\"AccountGuid\":\"%s\",\"AccountId\":\"%s\"}", guid, newNickname); + + Map itemAttributes = new HashMap<>(); + itemAttributes.put("PK", AttributeValue.builder().s("user_nickname_registry#global").build()); + itemAttributes.put("SK", AttributeValue.builder().s(newNickname).build()); + itemAttributes.put("Attr", AttributeValue.builder().s(attrJson).build()); + itemAttributes.put("Type", AttributeValue.builder().s("NickName").build()); + + PutItemRequest item = PutItemRequest.builder() + .tableName(metaTable) + .item(itemAttributes) + .build(); + + dynamoDbClient.putItem(item); + + } + public void deleteNickname(String nickname) { + + Map itemAttributes = new HashMap<>(); + itemAttributes.put("PK", AttributeValue.builder().s("nickname#" + nickname).build()); + itemAttributes.put("SK", AttributeValue.builder().s("nickname#").build()); + + DeleteItemRequest request = DeleteItemRequest.builder() + .tableName(metaTable) + .key(itemAttributes) + .build(); + + dynamoDbClient.deleteItem(request); + + } + + //신고 내역 조회 + public List getUserReportList(Map requestParam) { + + List list = new ArrayList<>(); + String startTime = CommonUtils.objectToString(requestParam.get("start_dt")); + String endTime = CommonUtils.objectToString(requestParam.get("end_dt")); + + String expression = "PK = :pkValue and SK BETWEEN :skStartDt AND :skEndDt"; + + /* + LocalDateTime startDt =CommonUtils.stringToTime(startTime); + LocalDateTime endDt = CommonUtils.stringToTime(endTime); + + int months = CommonUtils.calculateMonths(startDt, endDt); + Map expressionAttributeValues = new HashMap<>(); + for (int i = 0 ; i < months; i++){ + expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":pkValue", AttributeValue.builder().s("userReport#" + startDt.getYear() + +String.format("%02d", startDt.plusMonths(i).getMonthValue())).build()); + expressionAttributeValues.put(":skStartDt", AttributeValue.builder().s("report#" + startDt).build()); + expressionAttributeValues.put(":skEndDt", AttributeValue.builder().s("report#" + endDt).build()); + QueryRequest queryRequest = QueryRequest.builder() + .tableName(metaTable) + .keyConditionExpression(expression) + .expressionAttributeValues(expressionAttributeValues) + .build(); + try { + QueryResponse response = dynamoDbClient.query(queryRequest); + + // 응답에서 원하는 속성을 가져옵니다. + for (Map item : response.items()) { + AttributeValue attrValue = item.get("ReportInfo"); + if (attrValue != null) { + // "Attr" 속성의 값을 읽어옵니다. + String attrJson = attrValue.s(); + + // JSON 문자열을 파싱하여 Map 또는 다른 객체로 변환합니다. + ObjectMapper objectMapper = new ObjectMapper(); + // JSON 문자열을 Map으로 파싱 + Map attrMap = objectMapper.readValue(attrJson, new TypeReference>() {}); + //담당자 검색 + Map replyInfoMap = null; + if(item.get("ReplyInfo")!= null){ + //담당자 검색 + String replyInfo = item.get("ReplyInfo").s(); + replyInfoMap = objectMapper.readValue(replyInfo, new TypeReference>() {}); + }; + + Map createTime = (Map)attrMap.get("CreateTime"); + Map reTime = (Map)attrMap.get("ResolutionTime"); + // "Seconds" 값을 Instant으로 변환하고 "Nanos" 값을 더함 + Instant createInstant = Instant.ofEpochSecond( + Long.valueOf(CommonUtils.objectToString(createTime.get("Seconds"))) + ).plusNanos( + Integer.valueOf(CommonUtils.objectToString(createTime.get("Nanos"))) + ); + Instant reInstant = Instant.ofEpochSecond( + Long.valueOf(CommonUtils.objectToString(reTime.get("Seconds"))) + ).plusNanos( + Integer.valueOf(CommonUtils.objectToString(reTime.get("Nanos"))) + ); + UserReportResponse.Report report = UserReportResponse.Report.builder() + .pk(item.get("PK").s()) + .sk(item.get("SK").s()) + .reporterGuid(attrMap.get("ReporterGuid").toString()) + .reporterNickName(attrMap.get("ReporterNickName").toString()) + .targetGuid(attrMap.get("TargetGuid").toString()) + .targetNickName(attrMap.get("TargetNickName").toString()) + .reportType(Arrays.stream(REPORTTYPE.values()) + .filter(r->r.getName().equals(attrMap.get("Reason").toString())) + .findFirst().orElse(null)) + .title(attrMap.get("Title").toString()) + .detail(attrMap.get("Detail").toString()) + .state(attrMap.get("State").toString().equals("1")? STATUS.UNRESOLVED:STATUS.RESOLVED) + .createTime(createInstant.atZone(ZoneOffset.UTC).toLocalDateTime()) + .resolutionTime(Integer.valueOf(reTime.get("Seconds").toString()) == 0?null: + reInstant.atZone(ZoneOffset.UTC).toLocalDateTime()) + .managerEmail(item.get("ReplyInfo")!= null? + CommonUtils.objectToString(replyInfoMap.get("ManagerEmail")):"" + ) + .build(); + + list.add(report); + } + } + }catch (JsonProcessingException jpe){ + log.error("getUserReportList JsonProcessingException: {}", jpe.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + }catch (Exception e){ + log.error("getUserReportList: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + }*/ + return list; + } + + //신고내역 상세보기 + public UserReportResponse.ResultData getUserReportDetail(Map requestParam){ + UserReportResponse.ResultData resultData = UserReportResponse.ResultData.builder().build(); + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":pkValue", AttributeValue.builder().s(requestParam.get("pk")).build()); + expressionAttributeValues.put(":skValue", AttributeValue.builder().s(requestParam.get("sk")).build()); + QueryRequest queryRequest = QueryRequest.builder() + .tableName(metaTable) + .keyConditionExpression("PK = :pkValue and SK = :skValue") + .expressionAttributeValues(expressionAttributeValues) + .build(); + try{ + QueryResponse response = dynamoDbClient.query(queryRequest); + for (Map item : response.items()) { + AttributeValue ReportInfo = item.get("ReportInfo"); + if (ReportInfo != null) { + // "Attr" 속성의 값을 읽어옵니다. + String attrJson = ReportInfo.s(); + // JSON 문자열을 파싱하여 Map 또는 다른 객체로 변환합니다. + ObjectMapper objectMapper = new ObjectMapper(); + Map attrMap = objectMapper.readValue(attrJson, new TypeReference>() {}); + + Map createTime = (Map)attrMap.get("CreateTime"); + Map reTime = (Map)attrMap.get("ResolutionTime"); + // "Seconds" 값을 Instant으로 변환하고 "Nanos" 값을 더함 + Instant createInstant = Instant.ofEpochSecond( + Long.valueOf(CommonUtils.objectToString(createTime.get("Seconds"))) + ).plusNanos( + Integer.valueOf(CommonUtils.objectToString(createTime.get("Nanos"))) + ); + Instant reInstant = Instant.ofEpochSecond( + Long.valueOf(CommonUtils.objectToString(reTime.get("Seconds"))) + ).plusNanos( + Integer.valueOf(CommonUtils.objectToString(reTime.get("Nanos"))) + ); + resultData.setReport(UserReportResponse.Report.builder() + .reporterGuid(attrMap.get("ReporterGuid").toString()) + .reporterNickName(attrMap.get("ReporterNickName").toString()) + .targetGuid(attrMap.get("TargetGuid").toString()) + .targetNickName(attrMap.get("TargetNickName").toString()) + .reportType(Arrays.stream(REPORTTYPE.values()) + .filter(r -> r.getName().equals(attrMap.get("Reason").toString())) + .findFirst().orElse(null)) + .title(attrMap.get("Title").toString()) + .detail(attrMap.get("Detail").toString()) + .state(attrMap.get("State").toString().equals("1") ? STATUS.UNRESOLVED : STATUS.RESOLVED) + .createTime(createInstant.atZone(ZoneOffset.UTC).toLocalDateTime()) + .resolutionTime(Integer.valueOf(reTime.get("Seconds").toString()) == 0 ? null : + reInstant.atZone(ZoneOffset.UTC).toLocalDateTime()) + .build()); + } + } + return resultData; + }catch (JsonProcessingException jpe){ + log.error("getUserReportDetail JsonProcessingException: {}", jpe.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + }catch (Exception e){ + log.error("getUserReportDetail: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + } + public UserReportResponse.ResultData getUserReplyDetail(Map requestParam){ + UserReportResponse.ResultData resultData = UserReportResponse.ResultData.builder().build(); + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":pkValue", AttributeValue.builder().s(requestParam.get("pk")).build()); + expressionAttributeValues.put(":skValue", AttributeValue.builder().s(requestParam.get("sk")).build()); + QueryRequest queryRequest = QueryRequest.builder() + .tableName(metaTable) + .keyConditionExpression("PK = :pkValue and SK = :skValue") + .expressionAttributeValues(expressionAttributeValues) + .build(); + try{ + QueryResponse response = dynamoDbClient.query(queryRequest); + for (Map item : response.items()) { + AttributeValue ReplyInfo = item.get("ReplyInfo"); + if(ReplyInfo != null){ + //담당자 검색 + String replyInfo = item.get("ReplyInfo").s(); + // JSON 문자열을 파싱하여 Map 또는 다른 객체로 변환합니다. + ObjectMapper objectMapper = new ObjectMapper(); + Map replyInfoMap = objectMapper.readValue(replyInfo, new TypeReference>() {}); + resultData.setReply( + UserReportResponse.Reply.builder() + .title(replyInfoMap.get("Title").toString()) + .detail(replyInfoMap.get("Detail").toString()) + .managerEmail(replyInfoMap.get("ManagerEmail").toString()) + .managerNickName(replyInfoMap.get("ManagerNickName").toString()) + .reporterNickName(replyInfoMap.get("ReporterNickName").toString()) + .build() + ); + }; + } + return resultData; + }catch (JsonProcessingException jpe){ + log.error("getUserReplyDetail JsonProcessingException: {}", jpe.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + }catch (Exception e){ + log.error("getUserReplyDetail: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + } + //신고 내역 답장 + public void reportReply(UserReportRequest userReportRequest){ + + String replyInfo = String.format("{\"Title\":\"%s\",\"Detail\":\"%s\"" + + ",\"ManagerEmail\":\"%s\",\"ManagerNickName\":\"%s\"" + + ",\"ReporterNickName\":\"%s\"}" + , userReportRequest.getTitle(), userReportRequest.getDetail() + , CommonUtils.getAdmin().getEmail(), adminMapper.findByEmail(CommonUtils.getAdmin().getEmail()).get().getName() + , userReportRequest.getReporterNickName()); + + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":newValue", AttributeValue.builder().s(replyInfo).build()); + + // 업데이트 표현식을 정의 + String updateExpression = "SET ReplyInfo = :newValue"; + + UpdateItemRequest item = UpdateItemRequest.builder() + .tableName(metaTable) + .key(Map.of( + "PK", AttributeValue.builder().s(userReportRequest.getPk()).build(), + "SK", AttributeValue.builder().s(userReportRequest.getSk()).build())) + .updateExpression(updateExpression) + .expressionAttributeValues(expressionAttributeValues) + .returnValues(ReturnValue.ALL_NEW) // 업데이트 후의 값을 반환하려면 지정 + .build(); + + dynamoDbClient.updateItem(item); + + } + + public void changeReportStatus(UserReportRequest userReportRequest){ + try { + + // 기존 CharInfo 값 가져오기 + Map item = getItem(userReportRequest.getPk(), userReportRequest.getSk()); + String reportInfoJson = item.get("ReportInfo").s(); + + // ReportInfo JSON 문자열을 파싱 + ObjectMapper objectMapper = new ObjectMapper(); + JsonNode reportInfoNode = objectMapper.readTree(reportInfoJson); + + Instant now = Instant.now(); + long seconds = now.getEpochSecond(); + int nanos = now.getNano(); + + // 원하는 속성 변경 + ((ObjectNode) reportInfoNode).put("State", 2); + ((ObjectNode) reportInfoNode.get("ResolutionTime")).put("Seconds", seconds); + ((ObjectNode) reportInfoNode.get("ResolutionTime")).put("Nanos", nanos); + + // 변경된 ReportInfo JSON 문자열 + String updatedInfoJson = reportInfoNode.toString(); + + // 업데이트할 내용을 정의 + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":newValue", AttributeValue.builder().s(updatedInfoJson).build()); + + // 업데이트 표현식을 정의 + String updateExpression = "SET ReportInfo = :newValue"; + // 업데이트 요청 생성 + UpdateItemRequest updateRequest = UpdateItemRequest.builder() + .tableName(metaTable) + .key(Map.of( + "PK", AttributeValue.builder().s(userReportRequest.getPk()).build(), + "SK", AttributeValue.builder().s(userReportRequest.getSk()).build())) + .updateExpression(updateExpression) + .expressionAttributeValues(expressionAttributeValues) + .returnValues(ReturnValue.ALL_NEW) // 업데이트 후의 값을 반환하려면 지정 + .build(); + + + dynamoDbClient.updateItem(updateRequest); + }catch (JsonProcessingException jpe){ + log.error("changeReportStatus JsonProcessingException: {}", jpe.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + }catch (Exception e){ + log.error("changeReportStatus: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + public void dummy(Map map){ + Instant now = Instant.now(); // 현재 시간을 얻습니다. + LocalDateTime createTime = LocalDateTime.parse(map.get("CreateTime"), DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSS'Z'")); + Instant instant = createTime.atZone(ZoneId.of("UTC")).toInstant(); // 현재 시간을 초로 얻습니다. + String replyInfo = String.format("{\"ReporterGuid\":\"%s\",\"ReporterNickName\":\"%s\"" + + ",\"TargetGuid\":\"%s\",\"TargetNickName\":\"%s\"" + + ",\"Reason\":\"%s\",\"Title\":\"%s\"" + + ",\"Detail\":\"%s\",\"State\":\"%s\"" + + ",\"CreateTime\":{\"Seconds\":%s,\"Nanos\":%s}" + + ",\"ResolutionTime\":{\"Seconds\":%s,\"Nanos\":%s}}" + , map.get("ReporterGuid"), map.get("ReporterNickName") + , map.get("TargetGuid"), map.get("TargetNickName") + , map.get("Reason"), map.get("Title") + , map.get("Detail"), map.get("State") + , instant.getEpochSecond(), instant.getNano() + , 0, 0); + + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":newValue", AttributeValue.builder().s(replyInfo).build()); + + // 업데이트 표현식을 정의 + String updateExpression = "SET ReportInfo = :newValue"; + + UpdateItemRequest item = UpdateItemRequest.builder() + .tableName(metaTable) + .key(Map.of( + "PK", AttributeValue.builder().s(map.get("pk")).build(), + "SK", AttributeValue.builder().s(map.get("sk")).build())) + .updateExpression(updateExpression) + .expressionAttributeValues(expressionAttributeValues) + .returnValues(ReturnValue.ALL_NEW) // 업데이트 후의 값을 반환하려면 지정 + .build(); + + dynamoDbClient.updateItem(item); + } + + //아이템 내역 조회 + public List getItems(String guid){ + List list = new ArrayList<>(); + + String key = "PK = :pkValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("item#"+guid).build()); + +// QueryRequest queryRequest = QueryRequest.builder() +// .tableName(metaTable) +// .keyConditionExpression("PK = :pkValue") // 파티션 키와 조건식 설정 +// .expressionAttributeValues(Map.of(":pkValue", AttributeValue.builder().s("item#"+guid).build())) +// .build(); + + try { + // 쿼리 실행 + QueryResponse response = executeQuery(key, values); + + int row = 1; + // 응답에서 원하는 속성을 가져옵니다. + for (Map item : response.items()) { + AttributeValue attrValue = item.get("ItemAttrib"); + if (attrValue != null) { + // "Attr" 속성의 값을 읽어옵니다. + String attrJson = attrValue.s(); + + // JSON 문자열을 파싱하여 Map 또는 다른 객체로 변환합니다. + ObjectMapper objectMapper = new ObjectMapper(); + Map attrMap = objectMapper.readValue(attrJson, new TypeReference>() { + }); + + String item_nm = metaDataHandler.getMetaItemNameData(CommonUtils.objectToInteger(attrMap.get("item_meta_id"))); + ItemList itemInfo = ItemList.builder() + .rowNum((long) row) + .guid(guid) + .itemId(attrMap.get("item_meta_id").toString()) + .itemName(metaDataHandler.getTextStringData(item_nm)) + .status(ItemList.STATUS.PERMITTED) + .restoreType("") + .createBy(item.get("CreatedDateTime").s()).build(); + + list.add(itemInfo); + + row++; + } + } + log.info("getItems Response ItemInfo: {}", list); + } + catch (JsonProcessingException jpe){ + log.error("getItems JsonProcessingException: {}", jpe.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + }catch (Exception e){ + log.error("getItems: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + return list; + } + + //아이템 - 의상 조회 + public Map getCloth(String guid){ + Map resultMap = new HashMap<>(); + + String key = "PK = :pkValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("item#"+guid).build()); + + UsersResponse.ClothInfo.ClothInfoBuilder clothInfo = UsersResponse.ClothInfo.builder(); + + Map> setterMap = new HashMap<>(); + setterMap.put(CLOTHSMALLTYPE.SHIRT, UsersResponse.ClothInfo.ClothInfoBuilder::clothShirt); + setterMap.put(CLOTHSMALLTYPE.DRESS, UsersResponse.ClothInfo.ClothInfoBuilder::clothDress); + setterMap.put(CLOTHSMALLTYPE.OUTER, UsersResponse.ClothInfo.ClothInfoBuilder::clothOuter); + setterMap.put(CLOTHSMALLTYPE.PANTS, UsersResponse.ClothInfo.ClothInfoBuilder::clothPants); + setterMap.put(CLOTHSMALLTYPE.GLOVES, UsersResponse.ClothInfo.ClothInfoBuilder::clothGloves); + setterMap.put(CLOTHSMALLTYPE.RING, UsersResponse.ClothInfo.ClothInfoBuilder::clothRing); + setterMap.put(CLOTHSMALLTYPE.BRACELET, UsersResponse.ClothInfo.ClothInfoBuilder::clothBracelet); + setterMap.put(CLOTHSMALLTYPE.BAG, UsersResponse.ClothInfo.ClothInfoBuilder::clothBag); + setterMap.put(CLOTHSMALLTYPE.BACKPACK, UsersResponse.ClothInfo.ClothInfoBuilder::clothBackpack); + setterMap.put(CLOTHSMALLTYPE.CAP, UsersResponse.ClothInfo.ClothInfoBuilder::clothCap); + setterMap.put(CLOTHSMALLTYPE.MASK, UsersResponse.ClothInfo.ClothInfoBuilder::clothMask); + setterMap.put(CLOTHSMALLTYPE.GLASSES, UsersResponse.ClothInfo.ClothInfoBuilder::clothGlasses); + setterMap.put(CLOTHSMALLTYPE.EARRING, UsersResponse.ClothInfo.ClothInfoBuilder::clothEarring); + setterMap.put(CLOTHSMALLTYPE.NECKLACE, UsersResponse.ClothInfo.ClothInfoBuilder::clothNecklace); + setterMap.put(CLOTHSMALLTYPE.SHOES, UsersResponse.ClothInfo.ClothInfoBuilder::clothShoes); + setterMap.put(CLOTHSMALLTYPE.SOCKS, UsersResponse.ClothInfo.ClothInfoBuilder::clothSocks); + setterMap.put(CLOTHSMALLTYPE.ANKLET, UsersResponse.ClothInfo.ClothInfoBuilder::clothAnklet); + + try { + excuteItems(executeQuery(key, values), "ItemAttrib") + .filter(attrMap -> attrMap.containsKey("equiped_inven_type") && (int) attrMap.get("equiped_inven_type") == 1) + .forEach(attrMap -> { + int pos = (int) attrMap.get("equiped_pos"); + String smallType = metaDataHandler.getMetaClothSmallTypeData(pos); + int item_id = CommonUtils.objectToInteger(attrMap.get("item_meta_id")); + + UsersResponse.ClothItem clothItem = UsersResponse.ClothItem.builder() + .cloth(CommonUtils.objectToString(attrMap.get("item_meta_id"))) + .clothName(metaDataHandler.getTextStringData(metaDataHandler.getMetaItemNameData(item_id))) + .slotType(metaDataHandler.getMetaClothSlotTypeData(pos)) + .smallType(smallType) + .build(); + + // ClothItem을 CLOTHSMALLTYPE 위치에 넣어 준다 + setterMap.getOrDefault(CLOTHSMALLTYPE.valueOf(smallType), (builder, item) -> {}) + .accept(clothInfo, clothItem); + }); + + resultMap.put("clothInfo", clothInfo.build()); + log.info("getCloth Response clothInfo: {}", clothInfo); + + }catch (Exception e){ + log.error("getCloth: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + return resultMap; + } + + //아이템 - 도구 조회 + public Map getTools(String guid){ + Map resultMap = new HashMap<>(); + + String key = "PK = :pkValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("item#"+guid).build()); + + UsersResponse.SlotInfo.SlotInfoBuilder slotInfo = UsersResponse.SlotInfo.builder(); + + Map> setterMap = Map.of( + 1, UsersResponse.SlotInfo.SlotInfoBuilder::Slot1, + 2, UsersResponse.SlotInfo.SlotInfoBuilder::Slot2, + 3, UsersResponse.SlotInfo.SlotInfoBuilder::Slot3, + 4, UsersResponse.SlotInfo.SlotInfoBuilder::Slot4 + ); + + try { + excuteItems(executeQuery(key, values), "ItemAttrib") + .filter(attrMap -> attrMap.containsKey("equiped_inven_type") && (int) attrMap.get("equiped_inven_type") == 2) + .forEach(attrMap -> { + int pos = (int) attrMap.get("equiped_pos"); +// String smallType = metaDataHandler.getMetaClothSmallTypeData(pos); + int item_id = CommonUtils.objectToInteger(attrMap.get("item_meta_id")); + String item_nm = metaDataHandler.getTextStringData(metaDataHandler.getMetaItemNameData(item_id)); + UsersResponse.ToolItem toolItem = UsersResponse.ToolItem.builder() + .toolId(CommonUtils.objectToString(attrMap.get("item_meta_id"))) +// .toolName(metaDataHandler.getMetaToolData(CommonUtils.objectToInteger(attrMap.get("item_meta_id"))).getToolName()) + .toolName(item_nm) + .build(); + + // ClothItem을 CLOTHSMALLTYPE 위치에 넣어 준다 + setterMap.getOrDefault(pos, (builder, item) -> {}) + .accept(slotInfo, toolItem); + }); + + resultMap.put("toolSlotInfo", slotInfo.build()); + log.info("getTools Response toolSlotInfo: {}", slotInfo); + + }catch (Exception e){ + log.error("getTools: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + return resultMap; + } + + //아이템 - 인벤토리 조회 + public UsersResponse.InventoryInfo getInvenItems(String guid){ + String key = "PK = :pkValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("item#"+guid).build()); + + List clothList = new ArrayList<>(); + List propList = new ArrayList<>(); + List beautyList = new ArrayList<>(); + List tattooList = new ArrayList<>(); + List currencyList = new ArrayList<>(); + List etcList = new ArrayList<>(); + + try { + excuteItems(executeQuery(key, values), "ItemAttrib") + .filter(attrMap -> attrMap.containsKey("equiped_inven_type") && (int) attrMap.get("equiped_inven_type") == 0) + .forEach(attrMap -> { + int item_id = (int) attrMap.get("item_meta_id"); + String item_nm = metaDataHandler.getTextStringData(metaDataHandler.getMetaItemNameData(item_id)); + String item_type = metaDataHandler.getMetaItemLargeTypeData(item_id); + + UsersResponse.Item inventory = UsersResponse.Item.builder() + .itemId(CommonUtils.objectToString(item_id)) + .itemName(item_nm) + .count(CommonUtils.objectToInteger(attrMap.get("item_stack_count"))) + .itemGuid(CommonUtils.objectToString(attrMap.get("item_guid"))) + .build(); + + if(item_type.isEmpty()) { + etcList.add(inventory); + }else{ + switch (ITEMLARGETYPE.valueOf(item_type)){ + case CLOTH -> clothList.add(inventory); + case PROP -> propList.add(inventory); + case BEAUTY -> beautyList.add(inventory); + case TATTOO -> tattooList.add(inventory); + case CURRENCY -> currencyList.add(inventory); + default -> etcList.add(inventory); + }} + }); + + log.info("getInvenItems Response cloth: {}, prop: {}, beauty: {}, tattoo: {}, currency: {}, etc: {}", clothList, propList, beautyList, tattooList, currencyList, etcList); + + return UsersResponse.InventoryInfo.builder() + .cloth(clothList) + .prop(propList) + .beauty(beautyList) + .tattoo(tattooList) + .currency(currencyList) + .etc(etcList) + .build(); + + }catch (Exception e){ + log.error("getInvenItems: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + // 유저 조회 - 메일 + public List getMail(String guid, String type){ + List resList = new ArrayList<>(); + + String key = "PK = :pkValue"; + Map values = null; + if(type.equals(SEARCHTYPE.SEND.name())){ + values = Map.of(":pkValue", AttributeValue.builder().s("sent_mail#"+guid).build()); + }else{ + values = Map.of(":pkValue", AttributeValue.builder().s("recv_mail#"+guid).build()); + } + + try { + excuteItems(executeQuery(key, values), "MailAttrib") + .forEach(attrMap -> { + List itemList = new ArrayList<>(); + for (Map val : (List>)attrMap.get("item_list")){ + UsersResponse.MailItem item = new UsersResponse.MailItem(); + item.setItemId(CommonUtils.objectToString(val.get("ItemId"))); + item.setCount(CommonUtils.objectToInteger(val.get("Count"))); + String item_nm = metaDataHandler.getMetaItemNameData(CommonUtils.objectToInteger(val.get("ItemId"))); + item.setItemName(metaDataHandler.getTextStringData(item_nm)); + itemList.add(item); + } + + UsersResponse.Mail mail = UsersResponse.Mail.builder() + .mailGuid(CommonUtils.objectToString(attrMap.get("mail_guid"))) + .createDt(CommonUtils.objectToString(attrMap.get("create_time"))) + .title(CommonUtils.objectToString(attrMap.get("title"))) + .content(CommonUtils.objectToString(attrMap.get("text"))) + .receiveNickname(CommonUtils.objectToString(attrMap.get("receiver_nickname"))) + .senderNickname(CommonUtils.objectToString(attrMap.get("sender_nickname"))) + .isGetItem((boolean)attrMap.get("is_get_item")) + .status((boolean) attrMap.get("is_read")) + .isSystemMail((boolean) attrMap.get("is_system_mail")) + .mailItemList(itemList) + .build(); + + resList.add(mail); + }); + log.info("getMail Response MailInfo: {}", resList); + + return resList; + } catch (Exception e) { + log.error("getMail: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + // 유저 조회 - 우편 삭제 + public String deleteMail(String type, String guid, String mail_guid) { + Map itemAttributes = new HashMap<>(); + if(type.equals("SEND")){ + itemAttributes.put("PK", AttributeValue.builder().s("sent_mail#" + guid).build()); + }else{ + itemAttributes.put("PK", AttributeValue.builder().s("recv_mail#" + guid).build()); + } + itemAttributes.put("SK", AttributeValue.builder().s(mail_guid).build()); + try { + Map item = null; + if(type.equals("SEND")){ + item = getItem("sent_mail#" + guid, mail_guid); + log.info("deleteMail PK: {}, SK: {}", "sent_mail#" + guid, mail_guid); + }else{ + item = getItem("recv_mail#" + guid, mail_guid); + log.info("deleteMail PK: {}, SK: {}", "recv_mail#" + guid, mail_guid); + } + + DeleteItemRequest request = DeleteItemRequest.builder() + .tableName(metaTable) + .key(itemAttributes) + .build(); + + DeleteItemResponse response = dynamoDbClient.deleteItem(request); + + if(response.sdkHttpResponse().isSuccessful()) + return item.toString(); + + return ""; + }catch (ConditionalCheckFailedException e) { + log.error("deleteUsersMail Conditional check failed: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + }catch(Exception e){ + log.error("deleteUsersMail: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + // 유저 조회 - 우편 아이템 삭제 + public JSONObject updateMailItem(String type, String guid, String mail_guid, Long itemId, int count, int newCount) { + try { + Map item = null; + Map key = new HashMap<>(); + if(type.equals("SEND")){ + item = getItem("sent_mail#" + guid, mail_guid); + key = Map.of("PK", AttributeValue.builder().s("sent_mail#" + guid).build(),"SK", AttributeValue.builder().s(mail_guid).build()); + }else{ + item = getItem("recv_mail#" + guid, mail_guid); + key = Map.of("PK", AttributeValue.builder().s("recv_mail#" + guid).build(),"SK", AttributeValue.builder().s(mail_guid).build()); + } + + String InfoJson = item.get("MailAttrib").s(); + + ObjectMapper objectMapper = new ObjectMapper(); + JsonNode infoNode = objectMapper.readTree(InfoJson); + log.info("updateMailItem Before updatedInfoJson: {}", infoNode.toString()); + + ArrayNode itemListNode = (ArrayNode) infoNode.get("item_list"); + + // Java 17 스타일의 IntStream을 사용하여 itemId를 찾고 처리 + OptionalInt indexOpt = IntStream.range(0, itemListNode.size()) + .filter(i -> itemListNode.get(i).get("ItemId").asInt() == itemId) + .findFirst(); + + if (indexOpt.isEmpty()) { + log.error("updateMailItem mail item not found"); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + int index = indexOpt.getAsInt(); + JsonNode itemNode = itemListNode.get(index); + + if (count > newCount) { + // count 수정 + ((ObjectNode) itemNode).put("Count", count - newCount); + } else { + // item 삭제 + itemListNode.remove(index); + } + + String updatedInfoJson = infoNode.toString(); + log.info("updateMailItem Tobe updatedInfoJson: {}", updatedInfoJson); + + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":newAttrib", AttributeValue.builder().s(updatedInfoJson).build()); + + String updateExpression = "SET MailAttrib = :newAttrib"; + + UpdateItemRequest updateRequest = UpdateItemRequest.builder() + .tableName(metaTable) + .key(key) + .updateExpression(updateExpression) + .expressionAttributeValues(expressionAttributeValues) + .returnValues(ReturnValue.ALL_NEW) // 업데이트 후의 값을 반환하려면 지정 + .build(); + + + dynamoDbClient.updateItem(updateRequest); + + JSONObject jsonObject = new JSONObject(); + jsonObject.put("data(before)", InfoJson); + jsonObject.put("data(after)", updatedInfoJson); + return jsonObject; + }catch (ConditionalCheckFailedException e) { + log.error("deleteUsersMail Conditional check failed: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + }catch(Exception e){ + log.error("deleteUsersMail: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + // 아이템 삭제 + public String deleteItem(String guid, String item_guid) { + Map itemAttributes = new HashMap<>(); + itemAttributes.put("PK", AttributeValue.builder().s("item#" + guid).build()); + itemAttributes.put("SK", AttributeValue.builder().s(item_guid).build()); + try { + Map item = getItem("item#" + guid, item_guid); + log.info("deleteItem PK: {}, SK: {}", "item#" + guid, item_guid); + + DeleteItemRequest request = DeleteItemRequest.builder() + .tableName(metaTable) + .key(itemAttributes) + .build(); + + DeleteItemResponse response = dynamoDbClient.deleteItem(request); + + if(response.sdkHttpResponse().isSuccessful()) + return item.toString(); + + return ""; + }catch (ConditionalCheckFailedException e) { + log.error("deleteItem Conditional check failed: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + }catch(Exception e){ + log.error("deleteItem: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + // 아이템 정보 수정 + public JSONObject updateItem(String guid, String item_guid, int cnt) { + try{ + + Map item = getItem("item#" + guid, item_guid); + + String InfoJson = item.get("ItemAttrib").s(); + + ObjectMapper objectMapper = new ObjectMapper(); + JsonNode infoNode = objectMapper.readTree(InfoJson); + log.info("updateItem Before UpdateInfo : {}", infoNode.toString()); + + ((ObjectNode) infoNode).put("item_stack_count", cnt); + + String updatedInfoJson = infoNode.toString(); + log.info("updateItem Tobe UpdateInfo : {}", updatedInfoJson); + + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":newAttrib", AttributeValue.builder().s(updatedInfoJson).build()); + + String updateExpression = "SET ItemAttrib = :newAttrib"; + + UpdateItemRequest updateRequest = UpdateItemRequest.builder() + .tableName(metaTable) + .key(Map.of( + "PK", AttributeValue.builder().s("item#" + guid).build(), + "SK", AttributeValue.builder().s(item_guid).build())) + .updateExpression(updateExpression) + .expressionAttributeValues(expressionAttributeValues) + .returnValues(ReturnValue.ALL_NEW) // 업데이트 후의 값을 반환하려면 지정 + .build(); + + + dynamoDbClient.updateItem(updateRequest); + + JSONObject jsonObject = new JSONObject(); + jsonObject.put("data(before)", InfoJson); + jsonObject.put("data(after)", updatedInfoJson); + return jsonObject; + }catch(Exception e){ + log.error("updateItem: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage() ); + } + } + + // 아이템 - 타투 죄회 + public List getTattoo(String guid){Map resultMap = new HashMap<>(); + List resTatto = new ArrayList<>(); + String key = "PK = :pkValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("item#"+guid).build()); + + try { + excuteItems(executeQuery(key, values), "ItemAttrib") + .filter(attrMap -> attrMap.containsKey("equiped_inven_type") && (int) attrMap.get("equiped_inven_type") == 3) + .forEach(attrMap -> { + int pos = CommonUtils.objectToInteger(attrMap.get("equiped_pos")); + if(pos == 0) return; + + UsersResponse.Tattoo tattoo = new UsersResponse.Tattoo(); + Long item_id = CommonUtils.objectToLong(attrMap.get("item_meta_id")); + tattoo.setItemId(item_id); + tattoo.setItemGuid(CommonUtils.objectToString(attrMap.get("Item_guid"))); + tattoo.setLevel(Integer.valueOf(CommonUtils.objectToString(attrMap.get("level")))); + tattoo.setItemName(metaDataHandler.getTextStringData(metaDataHandler.getMetaItemNameData(item_id.intValue()))); + tattoo.setSlot(pos); + resTatto.add(tattoo); + }); + log.info("getTattoo Response TattoInfo: {}", resTatto); + + }catch (Exception e){ + log.error("getTattoo: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + return resTatto; + } + + public String insertSystemMail(int id, ArrayNode titleList, ArrayNode textList, ArrayNode senderList, LocalDateTime start_dt, LocalDateTime end_dt, ArrayNode itemList) { + try { + + // Attrib에 저장할 JSON 생성 + ObjectMapper objectMapper = new ObjectMapper(); + ObjectNode infoNode = objectMapper.createObjectNode(); + infoNode.put("attrib_type", DynamoDBConstants.ATTRIB_SYSTEMMAIL); + infoNode.put("mail_id", id); + infoNode.set("sender_nickname", senderList); + infoNode.set("title", titleList); + infoNode.set("text", textList); + infoNode.put("start_time", CommonUtils.convertUTCDate(start_dt)); + infoNode.put("end_time", CommonUtils.convertUTCDate(end_dt)); + infoNode.set("item_list", itemList); + + String infoJson = infoNode.toString(); + log.info("insertSystemMail SystemMetaMailAttrib: {}", infoJson); + + // 추가 데이터 + Map itemValues = new HashMap<>(); + itemValues.put("PK", AttributeValue.builder().s(DynamoDBConstants.PK_KEY_SYSTEM_MAIL).build()); + itemValues.put("SK", AttributeValue.builder().s(String.valueOf(id)).build()); + itemValues.put("CreatedDateTime", AttributeValue.builder().s(CommonUtils.convertUTCDate(LocalDateTime.now())).build()); + itemValues.put("DeletedDateTime", AttributeValue.builder().s(DynamoDBConstants.MIN_DATE).build()); + itemValues.put("DocType", AttributeValue.builder().s(DynamoDBConstants.DOC_SYSTEMMAIL).build()); + itemValues.put("SystemMetaMailAttrib", AttributeValue.builder().s(infoJson).build()); + itemValues.put("RestoredDateTime", AttributeValue.builder().s(DynamoDBConstants.MIN_DATE).build()); + itemValues.put("UpdatedDateTime", AttributeValue.builder().s(CommonUtils.convertUTCDate(LocalDateTime.now())).build()); + + PutItemRequest putRequest = PutItemRequest.builder() + .tableName(metaTable) + .item(itemValues) + .build(); + + dynamoDbClient.putItem(putRequest); + + return itemValues.toString(); + } catch (Exception e) { + log.error("insertSystemMail: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + public String deleteSystemMail(String id) { + Map itemAttributes = new HashMap<>(); + itemAttributes.put("PK", AttributeValue.builder().s(DynamoDBConstants.PK_KEY_SYSTEM_MAIL).build()); + itemAttributes.put("SK", AttributeValue.builder().s(id).build()); + try { + Map item = getItem(DynamoDBConstants.PK_KEY_SYSTEM_MAIL, id); + + DeleteItemRequest request = DeleteItemRequest.builder() + .tableName(metaTable) + .key(itemAttributes) + .build(); + + DeleteItemResponse response = dynamoDbClient.deleteItem(request); + + if(response.sdkHttpResponse().isSuccessful()) + return item.toString(); + + return ""; + }catch (ConditionalCheckFailedException e) { + log.error("deleteSystemMail Conditional check failed: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + }catch(Exception e){ + log.error("deleteSystemMail: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + public String updateSystemMail(String id, ArrayNode titleList, ArrayNode textList, LocalDateTime start_dt, LocalDateTime end_dt, ArrayNode itemList) { + try{ + + Map item = getItem(DynamoDBConstants.PK_KEY_SYSTEM_MAIL, id); + + String InfoJson = item.get("SystemMetaMailAttrib").s(); + + ObjectMapper objectMapper = new ObjectMapper(); + JsonNode infoNode = objectMapper.readTree(InfoJson); + + ((ObjectNode) infoNode).set("title", titleList); + ((ObjectNode) infoNode).set("text", textList); + ((ObjectNode) infoNode).put("start_time", CommonUtils.convertUTCDate(start_dt)); + ((ObjectNode) infoNode).put("end_time", CommonUtils.convertUTCDate(end_dt)); + ((ObjectNode) infoNode).set("item_list", itemList); + + String updatedInfoJson = infoNode.toString(); + + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":newAttrib", AttributeValue.builder().s(updatedInfoJson).build()); + + String updateExpression = "SET SystemMetaMailAttrib = :newAttrib"; + + UpdateItemRequest updateRequest = UpdateItemRequest.builder() + .tableName(metaTable) + .key(Map.of( + "PK", AttributeValue.builder().s(DynamoDBConstants.PK_KEY_SYSTEM_MAIL).build(), + "SK", AttributeValue.builder().s(id).build())) + .updateExpression(updateExpression) + .expressionAttributeValues(expressionAttributeValues) + .returnValues(ReturnValue.ALL_NEW) // 업데이트 후의 값을 반환하려면 지정 + .build(); + + + dynamoDbClient.updateItem(updateRequest); + + JSONObject jsonObject = new JSONObject(); + jsonObject.put("data(before)", InfoJson); + jsonObject.put("data(after)", updatedInfoJson); + return jsonObject.toString(); + }catch(Exception e){ + log.error("updateSystemMail: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage() ); + } + } + + // 친구 목록 + public List getFriendList(String guid){ + List resList = new ArrayList<>(); + + String key = "PK = :pkValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("friend#"+guid).build()); + + AtomicInteger idx = new AtomicInteger(1); + + try { + excuteItems(executeQuery(key, values), "FriendAttrib") + .forEach(attrMap -> { + UsersResponse.Friend friend = new UsersResponse.Friend(); + friend.setRowNum(idx.getAndIncrement()); + String friend_guid = CommonUtils.objectToString(attrMap.get("friend_guid")); + friend.setFriendGuid(friend_guid); + friend.setFriendName(getGuidByName(friend_guid)); + friend.setReceiveDt(CommonUtils.objectToString(attrMap.get("create_time"))); + friend.setLanguage(LANGUAGETYPE.values()[Integer.parseInt(getUserLanguage(friend_guid))].toString()); + resList.add(friend); + }); + log.info("getFriendList FriendInfo: {}", resList); + }catch (Exception e){ + log.error("getFriendList: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + return resList; + } + + // 유저 차단 목록 + public List getUserBlockList(String guid){ + List resList = new ArrayList<>(); + + String key = "PK = :pkValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("block#"+guid).build()); + + AtomicInteger idx = new AtomicInteger(1); + + try { + QueryResponse response = executeQuery(key, values); + + // 응답에서 원하는 속성을 가져옵니다. + for (Map item : response.items()) { + AttributeValue attrValue = item.get("BlockUserAttrib"); + if (attrValue != null) { + String attrJson = attrValue.s(); + + ObjectMapper objectMapper = new ObjectMapper(); + Map attrMap = objectMapper.readValue(attrJson, new TypeReference>() { + }); + + UsersResponse.Friend friend = new UsersResponse.Friend(); + friend.setRowNum(idx.getAndIncrement()); + String block_guid = CommonUtils.objectToString(attrMap.get("guid")); + friend.setFriendGuid(block_guid); + friend.setFriendName(getGuidByName(block_guid)); + friend.setReceiveDt(CommonUtils.objectToString(item.get("CreatedDateTime").s())); + friend.setLanguage(LANGUAGETYPE.values()[Integer.parseInt(getUserLanguage(block_guid))].toString()); + + resList.add(friend); + } + } + log.info("getUserBlockList FriendInfo: {}", resList); + }catch (Exception e){ + log.error("getUserBlockList: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + return resList; + } + + //마이홈 + public UsersResponse.Myhome getMyhome(String guid){ + UsersResponse.Myhome myhome = new UsersResponse.Myhome(); + List itemList = new ArrayList<>(); + + String key = "PK = :pkValue"; + Map values = Map.of(":pkValue", AttributeValue.builder().s("my_home#" + guid).build()); + try { + excuteItems(executeQuery(key, values), "MyHomeAttrib") + .forEach(attrMap -> { + String myhome_guid = CommonUtils.objectToString(attrMap.get("myhome_guid")); + myhome.setMyhomeGuid(myhome_guid); + myhome.setMyhomeName(CommonUtils.objectToString(attrMap.get("myhome_name"))); + String second_key = "PK = :pkValue"; + Map second_values = Map.of(":pkValue", AttributeValue.builder().s("item#"+myhome_guid).build()); + excuteItems(executeQuery(second_key, second_values), "ItemAttrib").forEach(attrMap2 -> { + String item_id = CommonUtils.objectToString(attrMap2.get("item_meta_id")); + String item_name = metaDataHandler.getMetaItemNameData(Integer.parseInt(item_id)); + UsersResponse.Item item = UsersResponse.Item.builder() + .itemId(item_id) + .itemName(metaDataHandler.getTextStringData(item_name)) + .count(CommonUtils.objectToInteger(attrMap2.get("item_stack_count"))) + .itemGuid(CommonUtils.objectToString(attrMap2.get("item_guid"))) + .build(); + itemList.add(item); + }); + myhome.setPropList(itemList); + }); + log.info("getMyhome myhomedInfo: {}", myhome); + }catch (Exception e){ + log.error("getMyhome: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + return myhome; + } + + // 칼리움 수량 + public float getCaliumTotal(){ + try { + float total = 0; + Map response = getItem(DynamoDBConstants.PK_KEY_CALIUM, "empty"); + + AttributeValue attributeValue = response.get(DynamoDBConstants.ATTRIB_CALIUM); + + if (attributeValue != null) { + Map attrib = attributeValue.m(); + Map storageMap = attrib.get("calium_operator_storage").m(); + + total = Float.parseFloat(storageMap.get("operator_total_calium").n()); + } + log.info("getCaliumTotal calium total: {}", total); + return total; + }catch (Exception e){ + log.error("getCaliumTotal: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + public String updateCaliumTotal(float caliumCnt) { + try{ + Map item = getItem(DynamoDBConstants.PK_KEY_CALIUM, "empty"); + + String InfoJson = item.get(DynamoDBConstants.ATTRIB_CALIUM).m().toString(); + + float currentTotal = Float.parseFloat(item.get(DynamoDBConstants.ATTRIB_CALIUM).m().get("calium_operator_storage").m().get("operator_total_calium").n()); + float sumTotal = currentTotal + caliumCnt; + log.info("updateCaliumTotal currentTotal: {}, newCaliumCnt: {}", currentTotal, caliumCnt); + + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSSSSS"); + String nowDateTime = LocalDateTime.now().format(formatter); + + try { + String updateExpression = "SET " + DynamoDBConstants.ATTRIB_CALIUM + ".calium_operator_storage.operator_total_calium = :newCalium, " + + DynamoDBConstants.ATTRIB_CALIUM + ".calium_operator_storage.operator_calium_fill_up_date = :newDate, " + + "UpdatedDateTime = :newDate"; + log.info("updateCaliumTotal update Query: {}", updateExpression); + + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":newCalium", + AttributeValue.builder().n(String.valueOf(sumTotal)).build()); + expressionAttributeValues.put(":newDate", + AttributeValue.builder().s(nowDateTime).build()); + + UpdateItemRequest updateRequest = UpdateItemRequest.builder() + .tableName(metaTable) + .key(Map.of( + "PK", AttributeValue.builder().s(DynamoDBConstants.PK_KEY_CALIUM).build(), + "SK", AttributeValue.builder().s("empty").build())) + .updateExpression(updateExpression) + .expressionAttributeValues(expressionAttributeValues) + .returnValues(ReturnValue.ALL_NEW) // 업데이트 후의 값을 반환하려면 지정 + .build(); + + UpdateItemResponse updateResponse = dynamoDbClient.updateItem(updateRequest); + + JSONObject jsonObject = new JSONObject(); + jsonObject.put("data(before)", InfoJson); + jsonObject.put("data(after)", updateResponse.attributes().get(DynamoDBConstants.ATTRIB_CALIUM).m().toString()); + return jsonObject.toString(); + }catch(Exception e){ + log.error("updateCaliumTotal Error occurred during update. Rolling back to original value: {}", e.getMessage()); + + String updateExpression = "SET " + DynamoDBConstants.ATTRIB_CALIUM + ".calium_operator_storage.operator_total_calium = :oldAttrib"; + + Map expressionAttributeValues = new HashMap<>(); + expressionAttributeValues.put(":oldAttrib", + AttributeValue.builder().n(String.valueOf(currentTotal)).build()); // 여기서 20은 새로운 값입니다 + + UpdateItemRequest updateRequest = UpdateItemRequest.builder() + .tableName(metaTable) + .key(Map.of( + "PK", AttributeValue.builder().s(DynamoDBConstants.PK_KEY_CALIUM).build(), + "SK", AttributeValue.builder().s("empty").build())) + .updateExpression(updateExpression) + .expressionAttributeValues(expressionAttributeValues) + .returnValues(ReturnValue.ALL_NEW) // 업데이트 후의 값을 반환하려면 지정 + .build(); + + try{ + UpdateItemResponse updateResponse = dynamoDbClient.updateItem(updateRequest); + }catch(Exception rollbackError){ + log.error("updateCaliumTotal Failed to rollback: {}", rollbackError.getMessage()); + throw rollbackError; + } + throw e; + } + }catch(Exception e){ + log.error("updateCaliumTotal: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage() ); + } + } + +// public String insertLandAuction(LandRequest landRequest) { +// try { +// LocalDateTime nowDate = LocalDateTime.now(); +// +// // LandAuctionRegistryAttrib 객체 생성 +// LandAuctionRegistryAttrib attrib = new LandAuctionRegistryAttrib(); +// attrib.setLandMetaId(landRequest.getLandId()); +// attrib.setAuctionNumber(landRequest.getAuctionSeq()); +// attrib.setAuctionReservationNoticeStartTime(CommonUtils.convertUTCDate(landRequest.getResvStartDt())); +// attrib.setBidCurrencyType(landRequest.getCurrencyType()); +// attrib.setAuctionStartTime(CommonUtils.convertUTCDate(landRequest.getAuctionStartDt())); +// attrib.setAuctionEndTime(CommonUtils.convertUTCDate(landRequest.getAuctionEndDt())); +// attrib.setBidStartPrice(landRequest.getStartPrice()); +// attrib.setIsCancelAuction(CommonConstants.FALSE); +// attrib.setAuctionState(CommonConstants.NONE); +// attrib.setAuctionResult(CommonConstants.NONE); +// attrib.setRegisteredVersionTime(CommonUtils.convertUTCDate(nowDate)); +// attrib.setProcessVersionTime(DynamoDBConstants.MIN_DATE); +// +// // LandAuctionRegistry 객체 생성 +// LandAuctionRegistryDoc registry = new LandAuctionRegistryDoc(); +// registry.setPK(DynamoDBConstants.PK_KEY_LANDAUCTION); +// registry.setSK(String.format("%s#%s", landRequest.getLandId(), landRequest.getAuctionSeq())); +// registry.setDocType(DynamoDBConstants.DOC_LANDAUCTION); +// registry.setAttribValue(attrib); +// registry.setCreatedDateTime(CommonUtils.convertUTCDate(nowDate)); +// registry.setUpdatedDateTime(CommonUtils.convertUTCDate(nowDate)); +// registry.setDeletedDateTime(DynamoDBConstants.MIN_DATE); +// registry.setRestoredDateTime(DynamoDBConstants.MIN_DATE); +// +// TableSchema schema = TableSchema.fromBean(LandAuctionRegistryDoc.class); +// +// DynamoDbTable table = enhancedClient.table(metaTable, schema); +// +// table.putItem(registry); +// +// return registry.toString(); +// +// } catch (DynamoDbException e) { +// log.error("insertLandAuction Failed to insert new item: {}", e.getMessage()); +// throw new RestApiException(CommonCode.ERROR.getHttpStatus(), +// ErrorCode.DYNAMODB_INSERT_ERROR.getMessage()); +// } catch (Exception e) { +// log.error("insertLandAuction Error: {}", e.getMessage()); +// throw new RestApiException(CommonCode.ERROR.getHttpStatus(), +// ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); +// } +// } + + @DynamoDBTransaction + public JSONObject insertLandAuctionRegistryWithActivity(LandRequest landRequest) { + String registry_result = insertLandAuction(landRequest); + String activity_result = upsertLandAuctionActive(landRequest); + + JSONObject jsonObject = new JSONObject(); + jsonObject.put("land_auction_registry_result", registry_result); + jsonObject.put("land_auction_active_result", activity_result); + return jsonObject; + } + + public String insertLandAuction(LandRequest landRequest) { + LocalDateTime nowDate = LocalDateTime.now(); + + // LandAuctionRegistryAttrib 객체 생성 + LandAuctionRegistryAttrib attrib = new LandAuctionRegistryAttrib(); + attrib.setLandMetaId(landRequest.getLandId()); + attrib.setAuctionNumber(landRequest.getAuctionSeq()); + attrib.setAuctionReservationNoticeStartTime(CommonUtils.convertUTCDate(landRequest.getResvStartDt())); + attrib.setBidCurrencyType(landRequest.getCurrencyType()); + attrib.setAuctionStartTime(CommonUtils.convertUTCDate(landRequest.getAuctionStartDt())); + attrib.setAuctionEndTime(CommonUtils.convertUTCDate(landRequest.getAuctionEndDt())); + attrib.setBidStartPrice(landRequest.getStartPrice()); + attrib.setIsCancelAuction(CommonConstants.FALSE); + attrib.setAuctionState(CommonConstants.NONE); + attrib.setAuctionResult(CommonConstants.NONE); + attrib.setRegisteredVersionTime(CommonUtils.convertUTCDate(nowDate)); + attrib.setProcessVersionTime(DynamoDBConstants.MIN_DATE); + + // LandAuctionRegistry 객체 생성 + LandAuctionRegistryDoc registry = new LandAuctionRegistryDoc(); + registry.setPK(DynamoDBConstants.PK_KEY_LAND_AUCTION); + registry.setSK(String.format("%s#%s", landRequest.getLandId(), landRequest.getAuctionSeq())); + registry.setDocType(DynamoDBConstants.DOC_LANDAUCTION); + registry.setAttribValue(attrib); + registry.setCreatedDateTime(CommonUtils.convertUTCDate(nowDate)); + registry.setUpdatedDateTime(CommonUtils.convertUTCDate(nowDate)); + registry.setDeletedDateTime(DynamoDBConstants.MIN_DATE); + registry.setRestoredDateTime(DynamoDBConstants.MIN_DATE); + + DynamoDBOperations.addPutItem(registry, LandAuctionRegistryDoc.class); + + return registry.toString(); + } + + public String updateLandAuction(LandRequest landRequest) { + try { + TableSchema schema = TableSchema.fromBean(LandAuctionRegistryDoc.class); + + DynamoDbTable table = enhancedClient.table(metaTable, schema); + + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_LAND_AUCTION) + .sortValue(String.format("%s#%s", landRequest.getLandId(), landRequest.getAuctionSeq())) + .build(); + + LandAuctionRegistryDoc existingRegistry = table.getItem(key); + if (existingRegistry == null) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + LandAuctionRegistryAttrib before = existingRegistry.getAttribValue(); + + // JSON을 객체로 변환하여 업데이트 + LandAuctionRegistryAttrib attrib = before; + attrib.setAuctionReservationNoticeStartTime(CommonUtils.convertUTCDate(landRequest.getResvStartDt())); + attrib.setAuctionStartTime(CommonUtils.convertUTCDate(landRequest.getAuctionStartDt())); + attrib.setAuctionEndTime(CommonUtils.convertUTCDate(landRequest.getAuctionEndDt())); + attrib.setBidStartPrice(landRequest.getStartPrice()); + attrib.setRegisteredVersionTime(CommonUtils.convertUTCDate(LocalDateTime.now())); + + // Registry 업데이트 + existingRegistry.setAttribValue(attrib); + existingRegistry.setUpdatedDateTime(CommonUtils.convertUTCDate(LocalDateTime.now())); + + table.updateItem(existingRegistry); + + JSONObject response = new JSONObject(); + response.put("data(before)", mapper.writeValueAsString(before)); + response.put("data(after)", mapper.writeValueAsString(attrib)); + return response.toString(); + + } catch (DynamoDbException e) { + log.error("updateLandAuction Failed to update existing item: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.DYNAMODB_UPDATE_ERROR.getMessage()); + } catch (Exception e) { + log.error("updateLandAuction Error: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + public String cancelLandAuction(LandAuction auctionInfo) { + try { + TableSchema schema = TableSchema.fromBean(LandAuctionRegistryDoc.class); + + DynamoDbTable table = enhancedClient.table(metaTable, schema); + + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_LAND_AUCTION) + .sortValue(String.format("%s#%s", auctionInfo.getLandId(), auctionInfo.getAuctionSeq())) + .build(); + + LandAuctionRegistryDoc existingRegistry = table.getItem(key); + if (existingRegistry == null) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + LandAuctionRegistryAttrib before = existingRegistry.getAttribValue(); + + // JSON을 객체로 변환하여 업데이트 + LandAuctionRegistryAttrib attrib = before; + attrib.setIsCancelAuction(CommonConstants.TRUE); + attrib.setAuctionResult(ELandAuctionResult.CANCELED.getName()); + attrib.setRegisteredVersionTime(CommonUtils.convertUTCDate(LocalDateTime.now())); + + // Registry 업데이트 + existingRegistry.setAttribValue(attrib); + existingRegistry.setUpdatedDateTime(CommonUtils.convertUTCDate(LocalDateTime.now())); + + table.updateItem(existingRegistry); + + JSONObject response = new JSONObject(); + response.put("data(before)", mapper.writeValueAsString(before)); + response.put("data(after)", mapper.writeValueAsString(attrib)); + return response.toString(); + + } catch (DynamoDbException e) { + log.error("cancelLandAuction Failed to update existing item: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.DYNAMODB_UPDATE_ERROR.getMessage()); + } catch (Exception e) { + log.error("cancelLandAuction Error: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + public String upsertLandAuctionActive(LandRequest landRequest){ + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_LAND_AUCTION_ACTIVE) + .sortValue(landRequest.getLandId().toString()) + .build(); + + LandAuctionActivityDoc item = DynamoDBOperations.getItem(key, LandAuctionActivityDoc.class); + + String resultJson; + + if (item == null) { + resultJson = insertLandAuctionActive(landRequest); + }else{ + resultJson = updateLandAuctionActive(landRequest, item); + } + + return resultJson; + } + + public String insertLandAuctionActive(LandRequest landRequest){ + LocalDateTime nowDate = LocalDateTime.now(); + + LandAuctionActivityAttrib attrib = new LandAuctionActivityAttrib(); + attrib.setLandMetaId(landRequest.getLandId()); + attrib.setAuctionNumber(landRequest.getAuctionSeq()); + + LandAuctionActivityDoc activityDoc = new LandAuctionActivityDoc(); + activityDoc.setPK(DynamoDBConstants.PK_KEY_LAND_AUCTION_ACTIVE); + activityDoc.setSK(landRequest.getLandId().toString()); + activityDoc.setDocType(DynamoDBConstants.DOC_LANDAUCTION_ACTIVE); + activityDoc.setAttribValue(attrib); + activityDoc.setCreatedDateTime(CommonUtils.convertUTCDate(nowDate)); + activityDoc.setUpdatedDateTime(CommonUtils.convertUTCDate(nowDate)); + + DynamoDBOperations.addPutItem(activityDoc, LandAuctionActivityDoc.class); + + try { + return mapper.writeValueAsString(activityDoc.getAttribValue()); + }catch(JsonProcessingException e){ + log.error("insertLandAuctionActive JsonProcessingException: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_JSON_PARSE_ERROR.getMessage()); + } + } + + public String updateLandAuctionActive(LandRequest landRequest, LandAuctionActivityDoc existingDoc){ + LandAuctionActivityAttrib attrib = existingDoc.getAttribValue(); + attrib.setAuctionNumber(landRequest.getAuctionSeq()); + + existingDoc.setAttribValue(attrib); + existingDoc.setUpdatedDateTime(CommonUtils.convertUTCDate(LocalDateTime.now())); + + DynamoDBOperations.addUpdateItem(existingDoc, LandAuctionActivityDoc.class); + + try { + return mapper.writeValueAsString(existingDoc.getAttribValue()); + }catch(JsonProcessingException e){ + log.error("updateLandAuctionActive JsonProcessingException: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_JSON_PARSE_ERROR.getMessage()); + } + } + +// public String insertLandAuctionActive(LandRequest landRequest) { +// try { +// TableSchema schema = TableSchema.fromBean(LandAuctionActivityDoc.class); +// +// DynamoDbTable table = enhancedClient.table(metaTable, schema); +// LocalDateTime nowDate = LocalDateTime.now(); +// +// Key key = Key.builder() +// .partitionValue(DynamoDBConstants.PK_KEY_LANDAUCTION_ACTIVE) +// .sortValue(landRequest.getLandId().toString()) +// .build(); +// +// LandAuctionActivityDoc activity = table.getItem(key); +// String resultJson; +// +// if (activity == null) { +// // 새로운 데이터 생성 +// LandAuctionActivityAttrib attrib = new LandAuctionActivityAttrib(); +// attrib.setLandMetaId(landRequest.getLandId()); +// attrib.setAuctionNumber(landRequest.getAuctionSeq()); +// +// activity = new LandAuctionActivityDoc(); +// activity.setPK(DynamoDBConstants.PK_KEY_LANDAUCTION_ACTIVE); +// activity.setSK(landRequest.getLandId().toString()); +// activity.setDocType(DynamoDBConstants.DOC_LANDAUCTION_ACTIVE); +// activity.setAttribValue(attrib); +// activity.setCreatedDateTime(CommonUtils.convertUTCDate(nowDate)); +// activity.setUpdatedDateTime(CommonUtils.convertUTCDate(nowDate)); +//// activity.setDeletedDateTime(DynamoDBConstants.MIN_DATE); +//// activity.setRestoredDateTime(DynamoDBConstants.MIN_DATE); +// +// table.putItem(activity); +// resultJson = mapper.writeValueAsString(attrib); +// +// } else { +// // 기존 데이터 업데이트 +// LandAuctionActivityAttrib attrib = activity.getAttribValue(); +// attrib.setAuctionNumber(landRequest.getAuctionSeq()); +// +// activity.setAttribValue(attrib); +// activity.setUpdatedDateTime(CommonUtils.convertUTCDate(nowDate)); +// +// table.updateItem(activity); +// resultJson = mapper.writeValueAsString(attrib); +// } +// +// return resultJson; +// +// } catch (DynamoDbException e) { +// log.error("insertLandAuctionActive DB operation failed: {}", e.getMessage()); +// throw new RestApiException(CommonCode.ERROR.getHttpStatus(), +// ErrorCode.DYNAMODB_INSERT_ERROR.getMessage()); +// } catch (Exception e) { +// log.error("insertLandAuctionActive Fail: {}", e.getMessage()); +// throw new RestApiException(CommonCode.ERROR.getHttpStatus(), +// ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); +// } +// } + + public LandAuctionRegistryAttrib getLandAuctionRegistry(Integer land_id, Integer auction_seq){ + try { + DynamoDbTable table = enhancedClient.table(metaTable, + TableSchema.fromBean(LandAuctionRegistryDoc.class)); + + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_LAND_AUCTION) + .sortValue(String.format("%s#%s", land_id, auction_seq)) + .build(); + + LandAuctionRegistryDoc registry = table.getItem(key); + if (registry == null) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + return registry.getAttribValue(); + }catch (Exception e){ + log.error("getLandAuctionRegistry: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + public LandAuctionHighestBidUserAttrib getLandAuctionHighestUser(Integer land_id, Integer auction_seq){ + try { + DynamoDbTable table = enhancedClient.table(metaTable, + TableSchema.fromBean(LandAuctionHighestBidUserDoc.class)); + + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_LAND_AUCTION_HIGHEST_USER) + .sortValue(String.format("%s#%s", land_id, auction_seq)) + .build(); + + LandAuctionHighestBidUserDoc highestBidUser = table.getItem(key); + if (highestBidUser == null) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + return highestBidUser.getAttribValue(); + }catch (Exception e){ + log.error("getLandAuctionHighestUser: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/EventService.java b/src/main/java/com/caliverse/admin/domain/service/EventService.java new file mode 100644 index 0000000..a93bae5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/EventService.java @@ -0,0 +1,396 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.dao.admin.EventMapper; +import com.caliverse.admin.domain.datacomponent.MetaDataHandler; +import com.caliverse.admin.domain.entity.*; +import com.caliverse.admin.domain.request.EventRequest; +import com.caliverse.admin.domain.response.EventResponse; +import com.caliverse.admin.dynamodb.service.DynamodbService; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.constants.MysqlConstants; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.history.service.MysqlHistoryLogService; +import com.fasterxml.jackson.databind.node.ArrayNode; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.json.JSONObject; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.time.LocalDateTime; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Service +@Slf4j +@RequiredArgsConstructor +public class EventService { + private final DynamoDBService dynamoDBService; + private final DynamodbService dynamodbService; + + private final EventMapper eventMapper; + private final MetaDataHandler metaDataHandler; + private final HistoryService historyService; + private final MysqlHistoryLogService mysqlHistoryLogService; + + public EventResponse getList(Map requestParam){ + //페이징 처리 + requestParam = CommonUtils.pageSetting(requestParam); + + List list = eventMapper.getEventList(requestParam); + + int allCnt = eventMapper.getAllCnt(requestParam); + + return EventResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(EventResponse.ResultData.builder() + .eventList(list) + .total(eventMapper.getTotal()) + .totalAll(allCnt) + .pageNo(requestParam.get("page_no")!=null? + Integer.valueOf(requestParam.get("page_no").toString()):1) + .build() + ) + .build(); + } + + public EventResponse getDetail(Long id){ + Event event = eventMapper.getEventDetail(id); + + event.setMailList(eventMapper.getMessage(id)); + List itemList = eventMapper.getItem(id); + for(Item item : itemList){ + String itemName = metaDataHandler.getMetaItemNameData(Integer.parseInt(item.getItem())); + item.setItemName(metaDataHandler.getTextStringData(itemName)); + } + event.setItemList(itemList); + + log.info("getDetail call User Email: {}, event_id: {}", CommonUtils.getAdmin().getEmail(), id); + + return EventResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(EventResponse.ResultData.builder() + .event(event) + .build()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public EventResponse postEvent(EventRequest eventRequest){ + eventRequest.setCreateBy(CommonUtils.getAdmin().getId()); + + int result = eventMapper.postEvent(eventRequest); + log.info("postEvent AdminToolDB Event Save: {}", eventRequest); + + long event_id = eventRequest.getId(); + + HashMap map = new HashMap<>(); + map.put("mailId",String.valueOf(event_id)); + + //아이템 저장 + if(eventRequest.getItemList()!= null && !eventRequest.getItemList().isEmpty()){ + eventRequest.getItemList().forEach( + item -> { + map.put("goodsId",item.getItem()); + map.put("itemCnt",String.valueOf(item.getItemCnt())); + eventMapper.insertItem(map); + } + ); + } + log.info("postEvent AdminToolDB Item Save Complete"); + + //메시지 저장 + if(eventRequest.getMailList()!= null && !eventRequest.getMailList().isEmpty()){ + eventRequest.getMailList().forEach( + item -> { + map.put("title",item.getTitle()); + map.put("content",item.getContent()); + map.put("language",item.getLanguage()); + eventMapper.insertMessage(map); + } + ); + } + log.info("postEvent AdminToolDB Message Save Complete"); + + Event event = eventMapper.getEventDetail(event_id); + + mysqlHistoryLogService.insertHistoryLog( + HISTORYTYPE.EVENT_ADD, + MysqlConstants.TABLE_NAME_EVENT, + HISTORYTYPE.EVENT_ADD.name(), + event, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + + + //로그 기록 + JSONObject jsonObject = new JSONObject(); + jsonObject.put("type",eventRequest.getEventType()); + jsonObject.put("start_dt",eventRequest.getStartDt()); + jsonObject.put("end_dt",eventRequest.getEndDt()); + jsonObject.put("mail_list",map); + historyService.setLog(HISTORYTYPE.EVENT_ADD, jsonObject); + + return EventResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(EventResponse.ResultData.builder() + .message(SuccessCode.SAVE.getMessage()) + .build()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public EventResponse updateEvent(Long id, EventRequest eventRequest) { + eventRequest.setId(id); + eventRequest.setUpdateBy(CommonUtils.getAdmin().getId()); + eventRequest.setUpdateDt(LocalDateTime.now()); + + Long event_id = eventRequest.getId(); + Event before_info = eventMapper.getEventDetail(event_id); + before_info.setMailList(eventMapper.getMessage(event_id)); + before_info.setItemList(eventMapper.getItem(event_id)); + + int result = eventMapper.updateEvent(eventRequest); + log.info("updateEvent AdminToolDB Event Update Complete: {}", eventRequest); + + Map map = new HashMap<>(); + map.put("mailId", String.valueOf(event_id)); + + // item 테이블 데이터 삭제 처리 by event_id + eventMapper.deleteItem(map); + + // 아이템 업데이트 + if (eventRequest.getItemList() != null && !eventRequest.getItemList().isEmpty()) { + eventRequest.getItemList().forEach(item -> { + map.put("goodsId", item.getItem()); + map.put("itemCnt", String.valueOf(item.getItemCnt())); + + eventMapper.insertItem(map); + }); + } + log.info("updateEvent AdminToolDB Item Update Complete"); + + // message 테이블 데이터 삭제 처리 by mail_id + eventMapper.deleteMessage(map); + + // 메시지 업데이트 + if (eventRequest.getMailList() != null && !eventRequest.getMailList().isEmpty()) { + eventRequest.getMailList().forEach(item -> { + map.put("title", item.getTitle()); + map.put("content", item.getContent()); + map.put("language", item.getLanguage()); + + eventMapper.insertMessage(map); + }); + } + log.info("updateEvent AdminToolDB Message Update Complete"); + + Event after_event = eventMapper.getEventDetail(event_id); + after_event.setMailList(eventMapper.getMessage(event_id)); + after_event.setItemList(eventMapper.getItem(event_id)); + + mysqlHistoryLogService.updateHistoryLog( + HISTORYTYPE.EVENT_UPDATE, + MysqlConstants.TABLE_NAME_EVENT, + HISTORYTYPE.EVENT_UPDATE.name(), + before_info, + after_event, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + + JSONObject jsonObject = new JSONObject(); +// if(result == 1){ +// ObjectMapper objectMapper = new ObjectMapper(); +// ArrayNode mailTitleArray = objectMapper.createArrayNode(); +// ArrayNode mailTextArray = objectMapper.createArrayNode(); +// ArrayNode mailItemArray = objectMapper.createArrayNode(); +// for(Item item : eventRequest.getItemList()){ +// MailItem mailItem = MailItem.newBuilder().setItemId(CommonUtils.stringToInt(item.getItem())).setCount(item.getItemCnt()).build(); +// mailItemArray.add(JsonUtils.createMAilItem(mailItem)); +// } +// for(Message msg: eventRequest.getMailList()){ +// String langText = msg.getLanguage(); +// int lang; +// +// if(langText.equals(LANGUAGETYPE.EN.toString())){ +// lang = LanguageType.LanguageType_en.getNumber(); +// }else if(langText.equals(LANGUAGETYPE.JA.toString())){ +// lang = LanguageType.LanguageType_ja.getNumber(); +// }else{ +// lang = LanguageType.LanguageType_ko.getNumber(); +// } +// SystemMessage titleMessage = SystemMessage.builder().LanguageType(lang).Text(msg.getTitle()).build(); +// SystemMessage textMessage = SystemMessage.builder().LanguageType(lang).Text(msg.getContent()).build(); +// +// mailTitleArray.add(JsonUtils.createSystemMessage(titleMessage)); +// mailTextArray.add(JsonUtils.createSystemMessage(textMessage)); +// } +// +// String dynamoResult = dynamoDBService.updateSystemMail( +// event_id.toString(), +// mailTitleArray, +// mailTextArray, +// eventRequest.getStartDt(), +// eventRequest.getEndDt(), +// mailItemArray); +// jsonObject.put("dynamoDB_update",dynamoResult); +// log.info("updateEvent DynamoDB Update Complete: {}", dynamoResult); +// } + + //로그 기록 + jsonObject.put("before_event",before_info.toString()); + jsonObject.put("type",eventRequest.getEventType()); + jsonObject.put("start_dt",eventRequest.getStartDt()); + jsonObject.put("end_dt",eventRequest.getEndDt()); + historyService.setLog(HISTORYTYPE.EVENT_UPDATE, jsonObject); + + return EventResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(EventResponse.ResultData.builder() + .message(SuccessCode.UPDATE.getMessage()) + .build()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public EventResponse deleteEvent(EventRequest eventRequest){ + Map map = new HashMap<>(); + + eventRequest.getList().forEach( + item->{ + Long event_id = item.getId(); + Event event = eventMapper.getEventDetail(event_id); + event.setMailList(eventMapper.getMessage(event_id)); + event.setItemList(eventMapper.getItem(event_id)); + + map.put("mailId",event_id); + map.put("desc", item.getDeleteDesc()); + int result = eventMapper.deleteEvent(map); + log.info("updateEvent AdminTool Delete Complete: {}", eventRequest); + + mysqlHistoryLogService.deleteHistoryLog( + HISTORYTYPE.EVENT_DELETE, + MysqlConstants.TABLE_NAME_EVENT, + HISTORYTYPE.EVENT_DELETE.name(), + event, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + + JSONObject jsonObject = new JSONObject(); +// if(result == 1){ +// String dynamoResult = dynamoDBService.deleteSystemMail(item.getId().toString()); +// jsonObject.put("dynamoDB_data",dynamoResult); +// log.info("updateEvent dynamoDB Delete Complete: {}", dynamoResult); +// } + + //로그 기록 + List message = eventMapper.getMessage(item.getId()); + if(!message.isEmpty()){ + jsonObject.put("message",message.get(0).getTitle()); + } + historyService.setLog(HISTORYTYPE.EVENT_DELETE, jsonObject); + } + ); + + return EventResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(EventResponse.ResultData.builder() + .message(SuccessCode.DELETE.getMessage()) + .build()) + .build(); + } + + public List getScheduleMailList(){ + return eventMapper.getScheduleEventList(); + } + public List getMessageList(Long id){ + return eventMapper.getMessage(id); + } + + public List getItemList(Long id){ + return eventMapper.getItem(id); + } + + @Transactional(transactionManager = "transactionManager") + public void updateEventStatus(Long id, Event.EVENTSTATUS status){ + Map map = new HashMap<>(); + map.put("id", id); + map.put("status", status.toString()); + eventMapper.updateStatusEvent(map); + log.info("updateEventStatus event status changed: {}", status); + } + + //메타 아이템 + public EventResponse getMetaItem(String metaId){ + long id = Long.parseLong(metaId); + String item = metaDataHandler.getMetaItemNameData((int) id); + boolean isItem = (item != null && !item.isEmpty()); + if(isItem) { + Item item_info = new Item(); + item_info.setItem(metaId); + item_info.setItemName(metaDataHandler.getTextStringData(item)); + return EventResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(EventResponse.ResultData.builder() + .message(SuccessCode.ITEM_EXIST.getMessage()) + .itemInfo(item_info) + .build()) + .build(); + }else + return EventResponse.builder() + .status(CommonCode.ERROR.getHttpStatus()) + .result(CommonCode.ERROR.getResult()) + .resultData(EventResponse.ResultData.builder() + .message(ErrorCode.NOT_ITEM.getMessage()) + .build()) + .build(); + } + + public void insertSystemMail(Event event, ArrayNode mailTitleArray, ArrayNode mailTextArray, ArrayNode mailSenderArray, ArrayNode mailItemArray){ + String dynamoResult = dynamoDBService.insertSystemMail( + event.getId().intValue(), + mailTitleArray, + mailTextArray, + mailSenderArray, + event.getStartDt(), + event.getEndDt(), + mailItemArray + ); + + eventMapper.updateAddFlag(event.getId()); + + historyService.setScheduleLog(HISTORYTYPE.EVENT_ADD, dynamoResult); + log.info("insertSystemMail Save Complete: {}", dynamoResult); + } + + @Transactional(transactionManager = "transactionManager") + public void insertSystemMail(Event event){ + try { + long event_id = event.getId(); + event.setMailList(eventMapper.getMessage(event_id)); + event.setItemList(eventMapper.getItem(event_id)); + + dynamodbService.insertSystemMail(event); + + eventMapper.updateAddFlag(event_id); + updateEventStatus(event_id, Event.EVENTSTATUS.RUNNING); + + log.info("insertSystemMail Save Complete: {}", event.getId()); + }catch (Exception e){ + log.error("insertSystemMail Exception: {}", e.getMessage()); + updateEventStatus(event.getId(), Event.EVENTSTATUS.FAIL); + } + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/GroupService.java b/src/main/java/com/caliverse/admin/domain/service/GroupService.java new file mode 100644 index 0000000..5729e34 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/GroupService.java @@ -0,0 +1,185 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.dao.admin.GroupMapper; +import com.caliverse.admin.domain.dao.admin.HistoryMapper; +import com.caliverse.admin.domain.entity.*; +import com.caliverse.admin.domain.request.GroupRequest; +import com.caliverse.admin.domain.response.GroupResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.json.JSONObject; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.*; + +@Slf4j +@Service +@RequiredArgsConstructor +public class GroupService { + + private final GroupMapper groupMapper; + private final HistoryMapper historyMapper; + + + // 관리자 권한 리스트 조회 + public GroupResponse getAllGroups(){ + + Map map = new HashMap(); + List getGroupList = groupMapper.getGroupList(map); + + return GroupResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(GroupResponse.ResultData.builder().groupList(getGroupList).build()) + .build(); + } + + /** + * param: orderby + * param: page + * return GroupResponse.list + */ + // 권한 설정 화면 리스트 조회 + public GroupResponse getGroupList(Map requestMap){ + + //페이징 처리 + requestMap = CommonUtils.pageSetting(requestMap); + + List groupList = groupMapper.getGroupList(requestMap); + + int allCnt = groupMapper.getAllCnt(); + return GroupResponse.builder() + .resultData(GroupResponse.ResultData.builder() + .groupList(groupList) + .total(allCnt) + .totalAll(allCnt) + .pageNo(requestMap.get("page_no")!=null? + Integer.valueOf(requestMap.get("page_no").toString()):1) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + // 권한 설정 상세 조회 + public GroupResponse getGroupDetail(String groupId){ + + Long lid = Long.valueOf(groupId); + List authorityList = groupMapper.getGroupAuth(lid); + return GroupResponse.builder() + .resultData(GroupResponse.ResultData.builder() + .authorityList(authorityList) + .groupId(lid) + .groupNm(groupMapper.getGroupInfo(lid).get("name")) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + //권한 그룹 등록 + public GroupResponse postAdminGroup(GroupRequest groupRequest){ + List authList = Arrays.asList(1, 5, 6, 9, 10, 11, 13, 14, 15, 16, 19, 22, 24, 26, 32); //그룹 초기 권한 + Map map = new HashMap<>(); + groupRequest.setCreateBy(CommonUtils.getAdmin().getId()); + + int groupName = groupMapper.findGroupName(groupRequest.getGroupNm()); + + if(groupName == 0){ + groupMapper.postAdminGroup(groupRequest); + + map.put("groupId", groupRequest.getId()); + authList.forEach(val->{ + map.put("authId",val); + groupMapper.insertGroupAuth(map); + }); + }else{ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DUPLICATED_GROUPNAME.getMessage()); + } + + log.info("postAdminGroup group: {}",map); + + return GroupResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(GroupResponse.ResultData.builder().message(SuccessCode.SAVE.getMessage()).build()) + .build(); + } + //그룹 권한 수정 + @Transactional(transactionManager = "transactionManager") + public GroupResponse updateAdminGroup(String groupId,GroupRequest groupRequest){ + + Map map = new HashMap<>(); + //로그 남기 before 그룹 설정 + List beforeAuth = groupMapper.getGroupAuth(Long.valueOf(groupId)); + log.info("updateAdminGroup before::{}",beforeAuth); + + // group_auth 테이블 삭제 By groupId + groupMapper.deleteGroupAuth(groupId); + + groupRequest.getGroupList().forEach( + item-> { + map.put("authId", item.getAuthId()); + map.put("groupId", groupId); + groupMapper.insertGroupAuth(map); + } + ); + //로그 남기 before 그룹 설정 + List afterAuth = groupMapper.getGroupAuth(Long.valueOf(groupId)); + log.info("updateAdminGroup after::{}",afterAuth); + //로그 기록 + map.put("adminId", CommonUtils.getAdmin().getId()); + map.put("name", CommonUtils.getAdmin().getName()); + map.put("mail", CommonUtils.getAdmin().getEmail()); + map.put("type", HISTORYTYPE.GROUP_AUTH_UPDATE); + JSONObject jsonObject = new JSONObject(); + jsonObject.put("groupNm",groupMapper.getGroupInfo(Long.valueOf(groupId)).get("name")); + jsonObject.put("auth(before)",beforeAuth); + jsonObject.put("auth(after)",afterAuth); + map.put("content",jsonObject.toString()); + historyMapper.saveLog(map); + + return GroupResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(GroupResponse.ResultData.builder().message(SuccessCode.UPDATE.getMessage()).build()) + .build(); + } + //그룹 삭제 + @Transactional(transactionManager = "transactionManager") + public GroupResponse deleteAdminGroup(GroupRequest groupRequest){ + Map map = new HashMap(); + groupRequest.getGroupList().forEach( + item-> { + //순서 바뀜 안됨, 삭제 하기전 그룹명 가져오기 + Map groupInfo = groupMapper.getGroupInfo(item.getGroupId()); + + groupMapper.deleteGroup(item.getGroupId()); + //로그 기록 + JSONObject jsonObject = new JSONObject(); + jsonObject.put("groupNm",groupInfo.get("name")); + + map.put("adminId", CommonUtils.getAdmin().getId()); + map.put("name", CommonUtils.getAdmin().getName()); + map.put("mail", CommonUtils.getAdmin().getEmail()); + map.put("type", HISTORYTYPE.GROUP_DELETE); + map.put("content",jsonObject.toString()); + historyMapper.saveLog(map); + } + ); + log.info("deleteAdminGroup group: {}", map); + + return GroupResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(GroupResponse.ResultData.builder().message(SuccessCode.DELETE.getMessage()).build()) + .build(); + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/service/HistoryService.java b/src/main/java/com/caliverse/admin/domain/service/HistoryService.java new file mode 100644 index 0000000..8560c96 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/HistoryService.java @@ -0,0 +1,126 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.domain.entity.Log; +import com.caliverse.admin.domain.dao.admin.HistoryMapper; +import com.caliverse.admin.domain.response.HistoryResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.utils.CommonUtils; + +import io.jsonwebtoken.io.IOException; +import lombok.RequiredArgsConstructor; + +import lombok.extern.slf4j.Slf4j; +import org.apache.commons.io.FileUtils; +import org.json.JSONArray; +import org.json.JSONException; +import org.json.JSONObject; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import java.io.File; +import java.nio.charset.StandardCharsets; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +@Service +@RequiredArgsConstructor +@Slf4j +public class HistoryService { + + private final HistoryMapper historyMapper; + + public HistoryResponse getHistoryList(Map requestParams){ + + //페이징 처리 + requestParams = CommonUtils.pageSetting(requestParams); + + List historyList = historyMapper.getHistoryList(requestParams); + + int allCnt = historyMapper.getAllCnt(requestParams); + + return HistoryResponse.builder() + .resultData(HistoryResponse.ResultData.builder() + .total(historyMapper.getTotal()) + .totalAll(allCnt) + .pageNo(requestParams.get("page_no")!=null? + Integer.valueOf(requestParams.get("page_no").toString()):1) + .list(historyList).build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + public HistoryResponse getHistoryDetail(String id){ + String logJson = historyMapper.getLogJson(id); + return HistoryResponse.builder() + .resultData(HistoryResponse.ResultData.builder().content(logJson).build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + + + private void insertMetaData(File file) { + try { + // Read the JSON data from the file + String jsonData = FileUtils.readFileToString(file, StandardCharsets.UTF_8); + + // Parse the JSON data into a JSONArray + JSONArray jsonArray = new JSONArray(jsonData); + + + // Iterate over the elements in the JSONArray + for (int i = 0; i < jsonArray.length(); i++) { + // Get the current element as a JSONObject + JSONObject jsonObject = jsonArray.getJSONObject(i); + + // Extract the values from the JSONObject + Integer itemId = Integer.valueOf(jsonObject.getInt("item_id")); + + + Map item = new HashMap<>(); + item.put("fileName", file.getName()); + item.put("dataId", itemId); + item.put("jsonData", jsonObject.toString()); + + + // Insert the values into MariaDB + + historyMapper.insertMetaData(item); + + + + } + } catch (java.io.IOException e) { + log.error("insertMetaData IOException: {}", e.getMessage()); + } catch (JSONException e) { + log.error("insertMetaData JSONException: {}", e.getMessage()); + } + } + + public void setLog(HISTORYTYPE type, JSONObject content){ + //로그 기록 + Map logMap = new HashMap<>(); + logMap.put("adminId", CommonUtils.getAdmin().getId()); + logMap.put("name", CommonUtils.getAdmin().getName()); + logMap.put("mail", CommonUtils.getAdmin().getEmail()); + logMap.put("type", type); + logMap.put("content",content.toString()); + historyMapper.saveLog(logMap); + } + + public void setScheduleLog(HISTORYTYPE type, String message){ + //스케줄 로그 기록 + Map logMap = new HashMap<>(); + logMap.put("adminId", 1); + logMap.put("name", "schedule"); + logMap.put("mail", "schedule"); + logMap.put("type", type); + JSONObject jsonObject = new JSONObject(); + jsonObject.put("message",message); + logMap.put("content",jsonObject.toString()); + historyMapper.saveLog(logMap); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/IndicatorsService.java b/src/main/java/com/caliverse/admin/domain/service/IndicatorsService.java new file mode 100644 index 0000000..4f63fa7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/IndicatorsService.java @@ -0,0 +1,850 @@ +package com.caliverse.admin.domain.service; + +import java.io.IOException; +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.util.*; +import java.util.stream.Collectors; + +import com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice.*; +import com.caliverse.admin.Indicators.entity.*; +import com.caliverse.admin.logs.logservice.indicators.*; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.extern.slf4j.Slf4j; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import com.caliverse.admin.domain.entity.Currencys; +import com.caliverse.admin.domain.entity.ROUTE; +import com.caliverse.admin.domain.response.IndicatorsResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.global.common.utils.ExcelUtils; + +import jakarta.servlet.http.HttpServletResponse; +import lombok.RequiredArgsConstructor; + +@Service +@RequiredArgsConstructor +@Slf4j +public class IndicatorsService { + private final ExcelUtils excelUtils; + + + private IndicatorsAuLoadService indicatorsAuLoadService; + private final IndicatorsDauLoadService indicatorsDauLoadService; + private final IndicatorsMcuLoadService indicatorsMcuLoadService; + private final IndicatorsDglcLoadService indicatorsDglcLoadService; + private final IndicatorsPlayTimeLoadService indicatorsPlayTimeLoadService; + private final IndicatorsNruLoadService indicatorsNruLoadService; + private final IndicatorsCapacityLoadService indicatorsCapacityLoadService; + private final IndicatorsMauLoadService indicatorsMauLoadService; + private final IndicatorsWauLoadService indicatorsWauLoadService; + private final IndicatorsUgqCreateLoadService indicatorsUgqCreateLoadService; + private final IndicatorsMetaverServerLoadService indicatorsMetaverServerLoadService; + + private final IndicatorsDauService dauService; + private final IndicatorsNruService indicatorsNruService; + private final IndicatorsMcuService mcuService; + + private final DynamoDBMetricsService dynamoDBMetricsService; + + //UserStatistics + public IndicatorsResponse list(Map requestParams){ + + String startDt = requestParams.get("start_dt"); + String endDt = requestParams.get("end_dt"); + log.info("list get UserStatistics startDt: {}, endDt: {}", startDt, endDt); + + List userStatistics = getMergeUserStatisticsData(startDt, endDt); + + return IndicatorsResponse.builder() + .resultData(IndicatorsResponse.ResultData.builder() + .userStatisticsList(userStatistics) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + // dashboard + public IndicatorsResponse total(){ + LocalDate search_date = LocalDate.now().minusDays(1); + DauLogInfo dau_info = indicatorsDauLoadService.getDailyIndicatorLog(search_date.toString(), DauLogInfo.class); + NruLogInfo nru_info = indicatorsNruLoadService.getDailyIndicatorLog(search_date.toString(), NruLogInfo.class); + McuLogInfo mcu_info = indicatorsMcuLoadService.getDailyIndicatorLog(search_date.toString(), McuLogInfo.class); + + LocalDate pre_search_date = LocalDate.now().minusDays(2); + DauLogInfo pre_dau_info = indicatorsDauLoadService.getDailyIndicatorLog(pre_search_date.toString(), DauLogInfo.class); + NruLogInfo pre_nru_info = indicatorsNruLoadService.getDailyIndicatorLog(pre_search_date.toString(), NruLogInfo.class); + McuLogInfo pre_mcu_info = indicatorsMcuLoadService.getDailyIndicatorLog(pre_search_date.toString(), McuLogInfo.class); + + ObjectMapper objectMapper = new ObjectMapper(); + try { + log.info("total pre_dau: {}, dau: {}, pre_nru: {}, nru: {}, pre_mcu: {}, mcu: {}", + objectMapper.writeValueAsString(pre_dau_info), objectMapper.writeValueAsString(dau_info), + objectMapper.writeValueAsString(pre_nru_info), objectMapper.writeValueAsString(nru_info), + objectMapper.writeValueAsString(pre_mcu_info), objectMapper.writeValueAsString(mcu_info)); + }catch (JsonProcessingException e) { + log.error("Error converting object to JSON", e); + } + + int dau_cnt = dau_info == null ? 0 : dau_info.getDau(); + int pre_dau_cnt = pre_dau_info == null ? 0 : pre_dau_info.getDau(); + IndicatorsResponse.Dau dau = IndicatorsResponse.Dau.builder() + .count(dau_cnt) + .updown(CommonUtils.getDiffStatus(dau_cnt, pre_dau_cnt)) + .dif(CommonUtils.getDiffRate(dau_cnt, pre_dau_cnt)) + .build(); + + int nru_cnt = nru_info == null ? 0 : nru_info.getNru(); + int pre_nru_cnt = pre_nru_info == null ? 0 : pre_nru_info.getNru(); + IndicatorsResponse.NRU nru = IndicatorsResponse.NRU.builder() + .count(nru_cnt) + .updown(CommonUtils.getDiffStatus(nru_cnt, pre_nru_cnt)) + .dif(CommonUtils.getDiffRate(nru_cnt, pre_nru_cnt)) + .build(); + + int mcu_cnt = mcu_info == null ? 0 : mcu_info.getMaxCountUser(); + int pre_mcu_cnt = pre_mcu_info == null ? 0 : pre_mcu_info.getMaxCountUser(); + IndicatorsResponse.MCU mcu = IndicatorsResponse.MCU.builder() + .count(mcu_cnt) + .updown(CommonUtils.getDiffStatus(mcu_cnt, pre_mcu_cnt)) + .dif(CommonUtils.getDiffRate(mcu_cnt, pre_mcu_cnt)) + .build(); + + IndicatorsResponse.Dashboard dashboard = IndicatorsResponse.Dashboard.builder() + .dau(dau) + .mcu(mcu) + .pu(null) + .nru(nru) + .build(); + + return IndicatorsResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(IndicatorsResponse.ResultData.builder() + .dashboard(dashboard) + .build() + ) + .build(); + } + + //유저 지표 엑셀 다운로드(현재 frontend 기능으로 사용) + public void userExcelDown(Map requestParams, HttpServletResponse res){ + + LocalDate startDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("start_dt"))); + LocalDate endDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("end_dt"))); +// List distinctCount = getDistinctCount(startDt, endDt); + // String sheetName = "Caliverse_User"; + + // String headerNames[] = new String[]{"일자", "DAU", "WAU", "MAU","NRU","PU","MCU"}; + + // String[][] bodyDatass = new String[distinctCount.size()][7]; + + // for (int i = 0; i < distinctCount.size(); i++) { + // bodyDatass[i][0] = String.valueOf(distinctCount.get(i).getDate()); + // bodyDatass[i][1] = String.valueOf(distinctCount.get(i).getDau()); + // bodyDatass[i][2] = String.valueOf(distinctCount.get(i).getWau()); + // bodyDatass[i][3] = String.valueOf(distinctCount.get(i).getMau()); + // bodyDatass[i][4] = String.valueOf(0); + // bodyDatass[i][5] = String.valueOf(0); + // bodyDatass[i][6] = String.valueOf(0); + // } + + // String outfileName = "Caliverse_User"; + // try { + // excelUtils.excelDownload(sheetName, headerNames, bodyDatass ,outfileName, res); + // }catch (IOException exception){ + // logger.error(exception.getMessage()); + // } + + } + // 유저 지표 Retention + public IndicatorsResponse retentionList(Map requestParams){ + List retentionList = new ArrayList<>(); + String startDt = CommonUtils.objectToString(requestParams.get("start_dt")); + String endDt = CommonUtils.objectToString(requestParams.get("end_dt")); + List dateRange = CommonUtils.dateRange(startDt, endDt); + int cnt = dateRange.size(); + for (LocalDate date : dateRange) { + List dDayList = new ArrayList<>(); + for (int i = 0; i < cnt; i++){ + IndicatorsResponse.Dday dDay = IndicatorsResponse.Dday.builder() + .date("D+" + i) + .dif("0%") + .build(); + dDayList.add(dDay); + } + cnt -- ; + IndicatorsResponse.Retention retention = IndicatorsResponse.Retention.builder() + .date(date) + .dDay(dDayList) + .build(); + retentionList.add(retention); + } + return IndicatorsResponse.builder() + .resultData(IndicatorsResponse.ResultData.builder() + .retentionList(retentionList) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + public void retentionExcelDown(Map requestParams,HttpServletResponse res){ + List retentionList = new ArrayList<>(); + String startDt = CommonUtils.objectToString(requestParams.get("start_dt")); + String endDt = CommonUtils.objectToString(requestParams.get("end_dt")); + List dateRange = CommonUtils.dateRange(startDt, endDt); + int cnt = dateRange.size(); + for (LocalDate date : dateRange) { + List dDayList = new ArrayList<>(); + for (int i = 0; i < cnt; i++){ + IndicatorsResponse.Dday dDay = IndicatorsResponse.Dday.builder() + .date("D+" + i) + .dif("0%") + .build(); + dDayList.add(dDay); + } + cnt -- ; + IndicatorsResponse.Retention retention = IndicatorsResponse.Retention.builder() + .date(date) + .dDay(dDayList) + .build(); + retentionList.add(retention); + } + // 엑셀 파일 생성 및 다운로드 + try { + ExcelUtils.exportToExcelByRentention(retentionList,res); + }catch (IOException exception){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.ERROR_EXCEL_DOWN.getMessage()); + } + + } + // 유저 지표 Retention + public IndicatorsResponse segmentList(Map requestParams){ + // LocalDate searchDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("search_dt"))); + + // List segmentList = Arrays.asList( + // IndicatorsResponse.Segment.builder().type("Excellent").au("0").dif("0%").build(), + // IndicatorsResponse.Segment.builder().type("Influential").au("0").dif("0%").build(), + // IndicatorsResponse.Segment.builder().type("Potential").au("0").dif("0%").build(), + // IndicatorsResponse.Segment.builder().type("Before leave").au("0").dif("0%").build(), + // IndicatorsResponse.Segment.builder().type("InActive").au("0").dif("0%").build(), + // IndicatorsResponse.Segment.builder().type("New Join").au("0").dif("0%").build() + // ); + // return IndicatorsResponse.builder() + // .resultData(IndicatorsResponse.ResultData.builder() + // .segmentList(segmentList) + // .startDt(searchDt.minusDays(100)) + // .endDt(searchDt) + // .build()) + // .status(CommonCode.SUCCESS.getHttpStatus()) + // .result(CommonCode.SUCCESS.getResult()) + // .build(); + return null; + + } + public void segmentExcelDown(Map requestParams, HttpServletResponse res){ + LocalDate searchDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("search_dt"))); + + List segmentList = Arrays.asList( + IndicatorsResponse.Segment.builder().type("Excellent").au("0").dif("0%").build(), + IndicatorsResponse.Segment.builder().type("Influential").au("0").dif("0%").build(), + IndicatorsResponse.Segment.builder().type("Potential").au("0").dif("0%").build(), + IndicatorsResponse.Segment.builder().type("Before leave").au("0").dif("0%").build(), + IndicatorsResponse.Segment.builder().type("InActive").au("0").dif("0%").build(), + IndicatorsResponse.Segment.builder().type("New Join").au("0").dif("0%").build() + ); + + LocalDate startDt = searchDt.minusDays(100); + LocalDate endDt = searchDt; + // 엑셀 파일 생성 및 다운로드 + try { + ExcelUtils.exportToExcelBySegment(segmentList,startDt,endDt,res); + }catch (IOException exception){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.ERROR_EXCEL_DOWN.getMessage()); + } + + } + // 유저 지표 플레이타임 + public IndicatorsResponse playTimeList(Map requestParams){ + String startDt = CommonUtils.objectToString(requestParams.get("start_dt")); + String endDt = CommonUtils.objectToString(requestParams.get("end_dt")); + List dateRange = CommonUtils.dateRange(startDt, endDt); + List playtimeList = new ArrayList<>(); + for (LocalDate date : dateRange){ + IndicatorsResponse.Playtime build = IndicatorsResponse.Playtime.builder() + .date(date) + .totalTime(0) + .averageTime(0) + .userCnt(Arrays.asList(0, 0, 0, 0)) + .build(); + playtimeList.add(build); + } + return IndicatorsResponse.builder() + .resultData(IndicatorsResponse.ResultData.builder() + .playtimeList(playtimeList) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + public void playTimeExcelDown(Map requestParams, HttpServletResponse res){ + String startDt = CommonUtils.objectToString(requestParams.get("start_dt")); + String endDt = CommonUtils.objectToString(requestParams.get("end_dt")); + List dateRange = CommonUtils.dateRange(startDt, endDt); + List playtimeList = new ArrayList<>(); + for (LocalDate date : dateRange){ + IndicatorsResponse.Playtime build = IndicatorsResponse.Playtime.builder() + .date(date) + .totalTime(0) + .averageTime(0) + .userCnt(Arrays.asList(0, 0, 0, 0)) + .build(); + playtimeList.add(build); + } + + String sheetName = "PlayTime"; + + String headerNames[] = new String[]{"일자","30분 이내","30분~1시간", "1시간~3시간", "3시간 이상" + , "총 누적 플레이타임(분)","1인당 평균 플레이타임(분)"}; + + String[][] bodyDatass = new String[playtimeList.size()][7]; + for (int i = 0; i < playtimeList.size(); i++) { + IndicatorsResponse.Playtime entry = playtimeList.get(i); + bodyDatass[i][0] = String.valueOf(entry.getDate()); + bodyDatass[i][1] = String.valueOf(entry.getUserCnt().get(0)); + bodyDatass[i][2] = String.valueOf(entry.getUserCnt().get(1)); + bodyDatass[i][3] = String.valueOf(entry.getUserCnt().get(2)); + bodyDatass[i][4] = String.valueOf(entry.getUserCnt().get(3)); + bodyDatass[i][5] = String.valueOf(entry.getTotalTime()); + bodyDatass[i][6] = String.valueOf(entry.getAverageTime()); + } + String outfileName = "PlayTime_"+ LocalDateTime.now().getNano(); + // 엑셀 파일 생성 및 다운로드 + try { + excelUtils.excelDownload(sheetName,headerNames,bodyDatass,outfileName,res); + }catch (IOException exception){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.ERROR_EXCEL_DOWN.getMessage()); + } + + } + + public List getDailyGoodsList(String currencyType, List dailyList + , List totalList){ + List resList = dailyList.stream() + .collect(Collectors.groupingBy(Currencys::getDate)) + .entrySet().stream() + .sorted(Map.Entry.comparingByKey()) + .map(entry -> { + LocalDate currentDate = entry.getKey(); + List currentDayList = entry.getValue(); + + List totals = totalList.stream() + .filter(t -> currentDate.isEqual(t.getDate())) + .map(t -> { + IndicatorsResponse.Total total = new IndicatorsResponse.Total(); + total.setDate(currentDate); + total.setDeltaType(t.getDeltaType()); + total.setQuantity(t.getQuantity()); + + // 이전 날짜의 Total 객체를 찾습니다. + Currencys previousTotal = totalList.stream() + .filter(previous -> currentDate.minusDays(1).isEqual(previous.getDate())) + .findFirst() + .orElse(null); + + // 이전 날짜의 Total이 존재할 경우 dif를 계산합니다. + if (previousTotal != null) { + double previousQuantity = previousTotal.getQuantity(); + double currentQuantity = total.getQuantity(); + + // dif를 계산하여 설정합니다. (이전 날짜 대비 증가율 계산) + if (previousQuantity != 0) { + double dif = Math.round(((currentQuantity - previousQuantity) / previousQuantity) * 100); + total.setDif(dif+"%"); + } else { + // 이전 날짜의 Quantity가 0인 경우 예외 처리 (분모가 0일 때) + total.setDif(String.valueOf(Double.POSITIVE_INFINITY)); + } + } else { + // 이전 날짜의 Total이 없는 경우 예외 처리 + total.setDif(""); + } + return total; + }) + .collect(Collectors.toList()); + + List acquireRoutes = Arrays.asList( + ROUTE.QUEST_REWARD, ROUTE.SEASON_PASS, ROUTE.FROM_PROP, + ROUTE.CLAIM_REWARD, ROUTE.USE_ITEM, ROUTE.TATTOO_ENHANCE, + ROUTE.TATTOO_CONVERSION, ROUTE.SHOP_BUY, ROUTE.SHOP_SELL, + ROUTE.PAID_PRODUCT, ROUTE.TRADE_ADD, ROUTE.NFT_LOCKIN + ); + + List consumeRoutes = Arrays.asList( + ROUTE.SHOP_BUY, ROUTE.SHOP_SELL, ROUTE.USE_PROP, + ROUTE.USE_TAXI, ROUTE.TATTOO_ENHANCE, ROUTE.TATTOO_CONVERSION, + ROUTE.SHOUT, ROUTE.SUMMON, ROUTE.CREATE_PARTYROOM, + ROUTE.INVENTORY_EXPAND, ROUTE.TRADE_REMOVE, ROUTE.NFT_UNLOCK + ); + List dailyDataList = currentDayList.stream() + .collect(Collectors.groupingBy(Currencys::getDeltaType)) + .entrySet().stream() + .map(dataEntry -> { + String deltaType = dataEntry.getKey(); + List data = dataEntry.getValue(); + + List modifiedData = new ArrayList<>(); + + if ("ACQUIRE".equals(deltaType)) { + for (ROUTE route : acquireRoutes) { + boolean containsRoute = data.stream().anyMatch(d -> route.name().equals(d.getRoute())); + if (!containsRoute) { + Currencys additionalData = new Currencys(); + additionalData.setRoute(route.getDescription()); + additionalData.setQuantity(0); + additionalData.setDate(data.get(0).getDate()); + additionalData.setCurrencyType(currencyType); + modifiedData.add(additionalData); + } + } + } else if ("CONSUME".equals(deltaType)) { + for (ROUTE route : consumeRoutes) { + boolean containsRoute = data.stream().anyMatch(d -> route.name().equals(d.getRoute())); + if (!containsRoute) { + Currencys additionalData = new Currencys(); + additionalData.setRoute(route.getDescription()); + additionalData.setQuantity(0); + additionalData.setDate(data.get(0).getDate()); + additionalData.setCurrencyType(currencyType); + modifiedData.add(additionalData); + } + } + } + List lastData = data.stream() + .map(d -> { + ROUTE route = Arrays.stream(ROUTE.values()) + .filter(r -> r.name().equals(d.getRoute())) + .findFirst() + .orElse(null); + if (route != null) { + d.setRoute(route.getDescription()); + } + return d; + }) + .collect(Collectors.toList()); + modifiedData.addAll(lastData); + + IndicatorsResponse.DailyData dailyData = new IndicatorsResponse.DailyData(); + dailyData.setDeltaType(deltaType); + dailyData.setDate(data.get(0).getDate()); + dailyData.setData(modifiedData); + return dailyData; + }) + .collect(Collectors.toList()); + + IndicatorsResponse.DailyGoods build = IndicatorsResponse.DailyGoods.builder() + .date(currentDate) + .total(totals) + .dailyData(dailyDataList) + .build(); + return build; + }) + .collect(Collectors.toList()); + return resList; + } + //재화 지표 + public IndicatorsResponse getCurrencyUse(Map requestParams) { + LocalDate startDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("start_dt"))); + LocalDate endDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("end_dt"))); + String currencyType = CommonUtils.objectToString(requestParams.get("currency_type")); + + List dailyList = getCurrencyCount(startDt, endDt, currencyType); + List totalList = getDailyGoodsTotal(startDt, endDt, currencyType); + + List dailyGoodsList = getDailyGoodsList(currencyType, dailyList, totalList); + + return IndicatorsResponse.builder() + .resultData(IndicatorsResponse.ResultData.builder() + .dailyGoods(dailyGoodsList) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + //재화 지표 엑셀 다운로드 + public void currencyExcelDown(Map requestParams, HttpServletResponse res){ + + LocalDate startDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("start_dt"))); + LocalDate endDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("end_dt"))); + String currencyType = CommonUtils.objectToString(requestParams.get("currency_type")); + + List dailyList = getCurrencyCount(startDt, endDt, currencyType); + List totalList = getDailyGoodsTotal(startDt, endDt, currencyType); + + List dailyGoodsList = getDailyGoodsList(currencyType, dailyList, totalList); + + // 엑셀 파일 생성 및 다운로드 + try { + ExcelUtils.exportToExcelByDailyGoods(dailyGoodsList, res); + }catch (IOException exception){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.ERROR_EXCEL_DOWN.getMessage()); + } + + } + + //VBP 지표 + public IndicatorsResponse getVBPList(Map requestParams){ + String startDt = CommonUtils.objectToString(requestParams.get("start_dt")); + String endDt = CommonUtils.objectToString(requestParams.get("end_dt")); + List dateRange = CommonUtils.dateRange(startDt, endDt); + List dailyGoods = new ArrayList<>(); + for (LocalDate date : dateRange){ + List currencysList = Arrays.asList( + Currencys.builder().route("OFFLINE_VISIT").deltaType("GET").date(date).count(0).build(), + Currencys.builder().route("OFFLINE_PAYMENT").deltaType("GET").date(date).count(0).build(), + Currencys.builder().route("ONLINE_VISIT").deltaType("GET").date(date).count(0).build(), + Currencys.builder().route("ONLINE_PAYMENT").deltaType("GET").date(date).count(0).build(), + Currencys.builder().route("STORE").deltaType("USE").date(date).count(0).build(), + Currencys.builder().route("VBP").deltaType("USE").date(date).count(0).build() + ); + dailyGoods.addAll(currencysList); + } + + return IndicatorsResponse.builder() + .resultData(IndicatorsResponse.ResultData.builder() + .currencysList(dailyGoods) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + //이이템 지표 + public IndicatorsResponse getItemList(Map requestParams){ + String startDt = CommonUtils.objectToString(requestParams.get("start_dt")); + String endDt = CommonUtils.objectToString(requestParams.get("end_dt")); + List dateRange = CommonUtils.dateRange(startDt, endDt); + List dailyGoods = new ArrayList<>(); + for (LocalDate date : dateRange){ + List currencysList = Arrays.asList( + Currencys.builder().route("Dummy_GET_1").deltaType("GET").date(date).count(0).build(), + Currencys.builder().route("Dummy_GET_2").deltaType("GET").date(date).count(0).build(), + Currencys.builder().route("Dummy_GET_3").deltaType("GET").date(date).count(0).build(), + Currencys.builder().route("Dummy_USE_1").deltaType("USE").date(date).count(0).build(), + Currencys.builder().route("Dummy_USE_2").deltaType("USE").date(date).count(0).build(), + Currencys.builder().route("Dummy_USE_3").deltaType("USE").date(date).count(0).build() + ); + dailyGoods.addAll(currencysList); + } + + return IndicatorsResponse.builder() + .resultData(IndicatorsResponse.ResultData.builder() + .currencysList(dailyGoods) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + //인스턴스 지표 + public IndicatorsResponse getInstanceList(Map requestParams){ + String startDt = CommonUtils.objectToString(requestParams.get("start_dt")); + String endDt = CommonUtils.objectToString(requestParams.get("end_dt")); + List dateRange = CommonUtils.dateRange(startDt, endDt); + List dailyGoods = new ArrayList<>(); + for (LocalDate date : dateRange){ + List currencysList = Arrays.asList( + Currencys.builder().route("Dummy_Instance_1").date(date).count(0).build(), + Currencys.builder().route("Dummy_Instance_1").date(date).count(0).build() + ); + dailyGoods.addAll(currencysList); + } + + return IndicatorsResponse.builder() + .resultData(IndicatorsResponse.ResultData.builder() + .currencysList(dailyGoods) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + //의상/타투 지표 + public IndicatorsResponse getClothesList(Map requestParams){ + String startDt = CommonUtils.objectToString(requestParams.get("start_dt")); + String endDt = CommonUtils.objectToString(requestParams.get("end_dt")); + List dateRange = CommonUtils.dateRange(startDt, endDt); + List dailyGoods = new ArrayList<>(); + for (LocalDate date : dateRange){ + List currencysList = Arrays.asList( + Currencys.builder().route("Dummy_Item_Id_1").date(date).count(0).build(), + Currencys.builder().route("Dummy_Item_Id_2").date(date).count(0).build() + ); + dailyGoods.addAll(currencysList); + } + + return IndicatorsResponse.builder() + .resultData(IndicatorsResponse.ResultData.builder() + .currencysList(dailyGoods) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + + //DAU 지표 + public IndicatorsResponse getDauDataList(Map requestParams){ + LocalDate startDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("start_dt"))); + LocalDate endDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("end_dt"))); + + // List dailyActiveUserList = getDauList(startDt, endDt); + + // return IndicatorsResponse.builder() + // .resultData(IndicatorsResponse.ResultData.builder() + // .dailyActiveUserList(dailyActiveUserList) + // .build()) + // .status(CommonCode.SUCCESS.getHttpStatus()) + // .result(CommonCode.SUCCESS.getResult()) + // .build(); + + return null; + } + + public void dauExcelDown(Map requestParams, HttpServletResponse res){ + LocalDate startDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("start_dt"))); + LocalDate endDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("end_dt"))); + + String fileName = CommonUtils.objectToString(requestParams.get("file")); + //List dailyActiveUserList = getDauList(startDt, endDt); + + String sheetName = "DAU"; + + String headerNames[] = new String[]{"일자","dau","dalc", "dglc", "max_au" + , "00:00","01:00","02:00","03:00","04:00","05:00" + , "06:00","07:00","08:00","09:00","10:00","11:00" + , "12:00","13:00","14:00","15:00","16:00","17:00" + , "18:00","19:00","20:00","21:00","22:00","23:00"}; + + int colLength = headerNames.length; + + // String[][] bodyDatass = new String[dailyActiveUserList.size()][colLength]; + // for (int i = 0; i < dailyActiveUserList.size(); i++) { + + // var entry = dailyActiveUserList.get(i); + // bodyDatass[i][0] = String.valueOf(entry.getDate()); + // bodyDatass[i][1] = String.valueOf(entry.getDau()); + // bodyDatass[i][2] = String.valueOf(entry.getDalc()); + // bodyDatass[i][3] = String.valueOf(entry.getDglc()); + // bodyDatass[i][4] = String.valueOf(entry.getMaxAu()); + // bodyDatass[i][5] = String.valueOf(entry.getH0()); + // bodyDatass[i][6] = String.valueOf(entry.getH1()); + // bodyDatass[i][7] = String.valueOf(entry.getH2()); + // bodyDatass[i][8] = String.valueOf(entry.getH3()); + // bodyDatass[i][9] = String.valueOf(entry.getH4()); + // bodyDatass[i][10] = String.valueOf(entry.getH5()); + + // bodyDatass[i][11] = String.valueOf(entry.getH6()); + // bodyDatass[i][12] = String.valueOf(entry.getH7()); + // bodyDatass[i][13] = String.valueOf(entry.getH8()); + // bodyDatass[i][14] = String.valueOf(entry.getH9()); + // bodyDatass[i][15] = String.valueOf(entry.getH10()); + // bodyDatass[i][16] = String.valueOf(entry.getH11()); + + // bodyDatass[i][17] = String.valueOf(entry.getH12()); + // bodyDatass[i][18] = String.valueOf(entry.getH13()); + // bodyDatass[i][19] = String.valueOf(entry.getH14()); + // bodyDatass[i][20] = String.valueOf(entry.getH15()); + // bodyDatass[i][21] = String.valueOf(entry.getH16()); + // bodyDatass[i][22] = String.valueOf(entry.getH17()); + + // bodyDatass[i][23] = String.valueOf(entry.getH18()); + // bodyDatass[i][24] = String.valueOf(entry.getH19()); + // bodyDatass[i][25] = String.valueOf(entry.getH20()); + // bodyDatass[i][26] = String.valueOf(entry.getH21()); + // bodyDatass[i][27] = String.valueOf(entry.getH22()); + // bodyDatass[i][28] = String.valueOf(entry.getH23()); + + //위 28이란 숫자를 collength 값에 종속적으로 바꾸고 싶은데... 고민해보자 + //} + + // 엑셀 파일 생성 및 다운로드 + // try { + // excelUtils.excelDownload(sheetName,headerNames,bodyDatass,fileName,res); + // }catch (IOException exception){ + // throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.ERROR_EXCEL_DOWN.getMessage()); + // } + + } + + + /* + //Daily Medal 지표 + public IndicatorsResponse getDailyMedalDataList(Map requestParams){ + LocalDate startDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("start_dt"))); + LocalDate endDt = LocalDate.parse(CommonUtils.objectToString(requestParams.get("end_dt"))); + + List dailyMedal = getDailyMedal(startDt, endDt); + + return IndicatorsResponse.builder() + .resultData(IndicatorsResponse.ResultData.builder() + .dailyMedalList(dailyMedal) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + + + public List getDailyMedal(LocalDate startTime, LocalDate endTime){ + + Map map = new HashMap(); + map.put("startDt" , CommonUtils.startOfDay(startTime)); + map.put("endDt" , CommonUtils.endOfDay(endTime)); + List dateActive = indicatorsMapper.getDailyMedal(map); + + // 결과를 처리하여 결과값 반환 + return dateActive; + } + */ + + + public List getDauList(LocalDate startTime, LocalDate endTime){ + + Map map = new HashMap(); + map.put("startDt" , CommonUtils.startOfDay(startTime)); + map.put("endDt" , CommonUtils.endOfDay(endTime)); + //List dateActive = indicatorsMapper.getDailyActiveUserList(map); + + // 결과를 처리하여 결과값 반환 + return null; + } + + + public List getActiveUserCount(LocalDate startTime, String endTime){ + + //Map map = new HashMap(); + //map.put("startDt" , CommonUtils.startOfDay(startTime)); + //map.put("endDt" , CommonUtils.endOfDay(endTime)); + //List dateActive = indicatorsMapper.getDailyActive(map); + + // 결과를 처리하여 결과값 반환 + List ativeUsers = indicatorsAuLoadService.getIndicatorsLogData(endTime, endTime, DauLogInfo.class); + + return ativeUsers; + } + public List getCurrencyCount(LocalDate startTime, LocalDate endTime, String type){ + + Map inputMap = new HashMap(); + inputMap.put("startDt" , CommonUtils.startOfDay(startTime)); + inputMap.put("endDt" , CommonUtils.endOfDay(endTime)); + inputMap.put("currencyType" , type); + //List currencysList = indicatorsMapper.getDailyGoods(inputMap); + + // 결과를 처리하여 결과값 반환 + return new ArrayList(); + } + public List getDailyGoodsTotal(LocalDate startTime, LocalDate endTime, String type){ + + Map inputMap = new HashMap(); + inputMap.put("startDt" , CommonUtils.startOfDay(startTime)); + inputMap.put("endDt" , CommonUtils.endOfDay(endTime)); + inputMap.put("currencyType" , type); + //List total = indicatorsMapper.getDailyGoodsTotal(inputMap); + + // 결과를 처리하여 결과값 반환 + return new ArrayList(); + } + + // 데이터 병합 + private List getMergeUserStatisticsData(String startDt, String endDt){ + ObjectMapper objectMapper = new ObjectMapper(); + try { + List dauList = indicatorsDauLoadService.getIndicatorsLogData(startDt, endDt, DauLogInfo.class); + List dglcList = indicatorsDglcLoadService.getIndicatorsLogData(startDt, endDt, DglcLogInfo.class); + List mcuList = indicatorsMcuLoadService.getIndicatorsLogData(startDt, endDt, McuLogInfo.class); + List playtimeList = indicatorsPlayTimeLoadService.getIndicatorsLogData(startDt, endDt, PlayTimeLogInfo.class); + List nruList = indicatorsNruLoadService.getIndicatorsLogData(startDt, endDt, NruLogInfo.class); + List capacityList = indicatorsCapacityLoadService.getIndicatorsLogData(startDt, endDt, DBCapacityInfo.class); + List mauList = indicatorsMauLoadService.getIndicatorsLogData(startDt, endDt, MauLogInfo.class); + List wauList = indicatorsWauLoadService.getIndicatorsLogData(startDt, endDt, WauLogInfo.class); + List ugqCreateList = indicatorsUgqCreateLoadService.getIndicatorsLogData(startDt, endDt, UgqCreateLogInfo.class); + List metaverseServerList = indicatorsMetaverServerLoadService.getIndicatorsLogData(startDt, endDt, MetaverseServerInfo.class); + log.info("getMergeUserStatisticsData Lists get Completed"); + + Map dauMap = dauList.stream() + .collect(Collectors.toMap(DauLogInfo::getLogDay, info -> info.getDau() != null ? info.getDau() : 0, (existing, replacement) -> existing)); + Map dglcMap = dglcList.stream() + .collect(Collectors.toMap(DglcLogInfo::getLogDay, info -> info.getDglc() != null ? info.getDglc() : 0, (existing, replacement) -> existing)); + Map mcuMap = mcuList.stream() + .collect(Collectors.toMap(McuLogInfo::getLogDay, info -> info.getMaxCountUser() != null ? info.getMaxCountUser() : 0, (existing, replacement) -> existing)); + Map playtimeMap = playtimeList.stream() + .collect(Collectors.toMap(PlayTimeLogInfo::getLogDay, info -> info.getTotalPlayTimeCount() != null ? info.getTotalPlayTimeCount() : 0L, (existing, replacement) -> existing)); + Map nruMap = nruList.stream() + .collect(Collectors.toMap(NruLogInfo::getLogDay, info -> info.getNru() != null ? info.getNru() : 0, (existing, replacement) -> existing)); + Map capacityMap = capacityList.stream() + .collect(Collectors.toMap(DBCapacityInfo::getLogDay, info -> info, (existing, replacement) -> existing)); + Map mauMap = mauList.stream() + .collect(Collectors.toMap(MauLogInfo::getLogDay, info -> info.getMau() != null ? info.getMau() : 0, (existing, replacement) -> existing)); + Map wauMap = wauList.stream() + .collect(Collectors.toMap(WauLogInfo::getLogDay, info -> info.getWau() != null ? info.getWau() : 0, (existing, replacement) -> existing)); + Map ugqCreateMap = ugqCreateList.stream() + .collect(Collectors.toMap(UgqCreateLogInfo::getLogDay, info -> info.getUgqCrateCount() != null ? info.getUgqCrateCount() : 0, (existing, replacement) -> existing)); + Map metaverseServerMap = metaverseServerList.stream() + .collect(Collectors.toMap(MetaverseServerInfo::getLogDay, info -> info.getServerCount() != null ? info.getServerCount() : 0, (existing, replacement) -> existing)); + log.info("getMergeUserStatisticsData Lists To Map Convert Completed"); + + Set allDates = new TreeSet<>(); + allDates.addAll(dauMap.keySet()); + allDates.addAll(dglcMap.keySet()); + allDates.addAll(mcuMap.keySet()); + allDates.addAll(playtimeMap.keySet()); + allDates.addAll(nruMap.keySet()); + allDates.addAll(capacityMap.keySet()); + allDates.addAll(mauMap.keySet()); + allDates.addAll(wauMap.keySet()); + allDates.addAll(ugqCreateMap.keySet()); + allDates.addAll(metaverseServerMap.keySet()); + log.info("getMergeUserStatisticsData Lists Merge Completed"); + + return allDates.stream() + .map(date -> { + DBCapacityInfo capacity = capacityMap.getOrDefault(date, null); + + return IndicatorsResponse.userStatistics.builder() + .date(date) + .dau(dauMap.getOrDefault(date, 0)) + .dglc(dglcMap.getOrDefault(date, 0)) + .mcu(mcuMap.getOrDefault(date, 0)) + .playtime(playtimeMap.getOrDefault(date, 0L)) + .nru(nruMap.getOrDefault(date, 0)) + .readCapacity(capacity != null ? capacity.getConsumeReadTotal() : 0L) + .writeCapacity(capacity != null ? capacity.getConsumeWriteTotal() : 0L) + .wau(wauMap.getOrDefault(date, 0)) + .mau(mauMap.getOrDefault(date, 0)) + .ugqCreate(ugqCreateMap.getOrDefault(date, 0)) + .serverCount(metaverseServerMap.getOrDefault(date, 0)) + .build(); + }) + .collect(Collectors.toList()); + }catch (Exception e){ + log.error("Error UserStatisticsData Merge Fail", e); + } + return List.of(); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/ItemsService.java b/src/main/java/com/caliverse/admin/domain/service/ItemsService.java new file mode 100644 index 0000000..cd0aa7b --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/ItemsService.java @@ -0,0 +1,85 @@ +package com.caliverse.admin.domain.service; + +import java.util.List; +import java.util.Map; + +import com.caliverse.admin.domain.adminlog.AdminItemDeleteLog; +import com.caliverse.admin.domain.adminlog.IAdminLog; +import com.caliverse.admin.domain.dao.admin.HistoryMapper; +import com.caliverse.admin.domain.entity.ItemList; +import com.caliverse.admin.domain.entity.SEARCHTYPE; +import com.caliverse.admin.domain.response.ItemDeleteResponse; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import com.caliverse.admin.domain.request.ItemsRequest; +import com.caliverse.admin.domain.response.ItemsResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.SuccessCode; + +import lombok.RequiredArgsConstructor; +import org.springframework.transaction.annotation.Transactional; + +@Service +@RequiredArgsConstructor +public class ItemsService { + private static final Logger logger = LoggerFactory.getLogger(ItemsService.class); + + private final DynamoDBService dynamoDBService; + private final UserGameSessionService userGameSessionService; + private final DynamoDBQueryServiceBase dynamoDBQueryServiceBase; + private final HistoryMapper historyMapper; + + + + // 아이템 정보 조회 GUID,item ID, item name + public ItemsResponse findItems(Map requestParam){ + String searchType = requestParam.get("search_type").toString(); + String search_key = requestParam.get("search_key").toString().trim(); + String guid = search_key; + + if(searchType.equals(SEARCHTYPE.NAME.name())){ + guid = dynamoDBService.getNickNameByGuid(search_key); + } + + List itemList = dynamoDBService.getItems(guid); + + return ItemsResponse.builder() + .resultData(ItemsResponse.ResultData.builder() + .list(itemList) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + + @Transactional(transactionManager = "transactionManager") + public ItemDeleteResponse postItemDelete(ItemsRequest itemDeleteRequest){ + var userGuid = itemDeleteRequest.getUserGuid(); + var itemGuid = itemDeleteRequest.getItemGuid(); + var itemCount = itemDeleteRequest.getItemCount(); + + //UserKick + userGameSessionService.kickUserSession(userGuid); + //ItemDelete + dynamoDBQueryServiceBase.deleteUserItem(userGuid, itemGuid); + + //로그 기록 + IAdminLog adminLog = new AdminItemDeleteLog(userGuid, itemGuid, itemCount); + adminLog.saveLogToDB(); + + + return ItemDeleteResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(ItemDeleteResponse.ResultData.builder() + .message(SuccessCode.DYNAMODB_ITEM_DELETE_SUCCESS.getMessage()) + .deletedItemGuid(itemGuid) + .build()) + .build(); + + } + +} diff --git a/src/main/java/com/caliverse/admin/domain/service/LandService.java b/src/main/java/com/caliverse/admin/domain/service/LandService.java new file mode 100644 index 0000000..9607546 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/LandService.java @@ -0,0 +1,394 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.dao.admin.LandMapper; +import com.caliverse.admin.domain.datacomponent.MetaDataHandler; +import com.caliverse.admin.domain.entity.*; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionHighestBidUserAttrib; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionRegistryAttrib; +import com.caliverse.admin.domain.entity.metadata.MetaBuildingData; +import com.caliverse.admin.domain.entity.metadata.MetaLandData; +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.domain.response.LandResponse; +import com.caliverse.admin.dynamodb.service.DynamodbLandAuctionService; +import com.caliverse.admin.dynamodb.service.DynamodbLandService; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.constants.MysqlConstants; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.history.service.MysqlHistoryLogService; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.json.JSONObject; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.web.bind.annotation.RequestParam; + +import java.time.LocalDateTime; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.atomic.AtomicBoolean; + +@Service +@RequiredArgsConstructor +@Slf4j +public class LandService { + +// private final DynamoDBService dynamoDBService; + private final DynamodbLandAuctionService dynamodbLandAuctionService; + private final DynamodbLandService dynamodbLandService; + + private final LandMapper landMapper; + private final MetaDataHandler metaDataHandler; + private final HistoryService historyService; + private final ObjectMapper objectMapper; + private final MysqlHistoryLogService mysqlHistoryLogService; + + // 랜드 정보 조회 + public LandResponse getLandList(){ + List landData = metaDataHandler.getMetaLandListData(); + List landList = landData.stream() + .filter(land -> !land.isNonAuction() && land.getEditor().equals("USER")) + .map(data -> LandResponse.Land.builder() + .id(data.getLandId()) + .name(metaDataHandler.getTextStringData(data.getLandName())) + .desc(metaDataHandler.getTextStringData(data.getLandDesc())) + .owner(data.getOwner()) + .nonAuction(data.isNonAuction()) + .size(data.getLandSize()) + .socket(data.getBuildingSocket()) + .type(data.getLandType()) + .buildingId(data.getBuildingId()) + .build() + ).toList(); + + return LandResponse.builder() + .resultData(LandResponse.ResultData.builder() + .landList(landList) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + // 빌딩 정보 조회 + public LandResponse getBuildingList(){ + List buildingData = metaDataHandler.getMetaBuildingListData(); + List buildingList = buildingData.stream() + .map(data -> LandResponse.Building.builder() + .id(data.getBuildingId()) + .name(metaDataHandler.getTextStringData(data.getBuildingName())) + .desc(metaDataHandler.getTextStringData(data.getBuildingDesc())) + .owner(data.getOwner()) + .open(data.isBuildingOpen()) + .size(data.getBuildingSize()) + .socket(data.getInstanceSocket()) + .build() + ).toList(); + + return LandResponse.builder() + .resultData(LandResponse.ResultData.builder() + .buildingList(buildingList) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + public LandResponse getLandDetail(Long id){ + + LandAuction event = landMapper.getLandAuctionDetail(id); + + event.setMessageList(landMapper.getMessage(id)); + + log.info("call User Email: {}, event_id: {}", CommonUtils.getAdmin().getEmail(), id); + + return LandResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(LandResponse.ResultData.builder() + .auction(event) + .build()) + .build(); + } + + // 랜드 경매 조회 + public LandResponse getLandAuctionList(@RequestParam Map requestParam){ + + requestParam = CommonUtils.pageSetting(requestParam); + + List list = landMapper.getLandAuctionList(requestParam); + + int allCnt = landMapper.getAllCnt(requestParam); + + return LandResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(LandResponse.ResultData.builder() + .auctionList(list) + .total(landMapper.getTotal()) + .totalAll(allCnt) + .pageNo(requestParam.get("page_no")!=null? + Integer.parseInt(requestParam.get("page_no")):1) + .build() + ) + .build(); + } + + // 랜드 경매 상세조회 + public LandResponse getLandAuctionDetail(Long id){ + + LandAuction landAuction = landMapper.getLandAuctionDetail(id); + + landAuction.setMessageList(landMapper.getMessage(id)); + + log.info("call User Email: {}, id: {}", CommonUtils.getAdmin().getEmail(), id); + + return LandResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(LandResponse.ResultData.builder() + .auction(landAuction) + .build()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public LandResponse postLandAuction(LandRequest landRequest){ + + Integer land_id = landRequest.getLandId(); + int isLand = landMapper.getPossibleLand(land_id); + if(isLand > 0){ + return LandResponse.builder() + .status(CommonCode.ERROR.getHttpStatus()) + .result(ErrorCode.ERROR_LAND_AUCTION_IMPOSSIBLE.toString()) + .build(); + } + boolean isLandOwner = dynamodbLandService.isLandOwner(land_id); + if(isLandOwner){ + return LandResponse.builder() + .status(CommonCode.ERROR.getHttpStatus()) + .result(ErrorCode.ERROR_AUCTION_LAND_OWNER.toString()) + .build(); + } + +// int nextSeq = landMapper.getMaxLandSeq(land_id) + 1; + int next_auction_number = dynamodbLandAuctionService.getLandAuctionNumber(land_id) + 1; + landRequest.setAuctionSeq(next_auction_number); + landRequest.setCreateBy(CommonUtils.getAdmin().getId()); + + int result = landMapper.postLandAuction(landRequest); + log.info("AdminToolDB LandAuction Save: {}", landRequest); + + long auction_id = landRequest.getId(); + + HashMap map = new HashMap<>(); + map.put("id",String.valueOf(auction_id)); + + //메시지 저장 + if(landRequest.getMassageList()!= null && !landRequest.getMassageList().isEmpty()){ + landRequest.getMassageList().forEach( + item -> { + map.put("title",item.getTitle()); + map.put("content",item.getContent()); + map.put("language",item.getLanguage()); + landMapper.insertMessage(map); + } + ); + } + log.info("AdminToolDB Message Save Complete"); + + LandAuction auction_info = landMapper.getLandAuctionDetail(auction_id); + auction_info.setMessageList(landMapper.getMessage(auction_id)); + + mysqlHistoryLogService.insertHistoryLog( + HISTORYTYPE.LAND_AUCTION_ADD, + MysqlConstants.TABLE_NAME_LAND_AUCTION, + HISTORYTYPE.LAND_AUCTION_ADD.name(), + auction_info, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + + dynamodbLandAuctionService.insertLandAuctionRegistryWithActivity(landRequest); + + //로그 기록 + try{ + JSONObject jsonObject = new JSONObject(); + jsonObject.put("land_id", landRequest.getLandId()); + jsonObject.put("auction_seq", landRequest.getAuctionSeq()); + jsonObject.put("start_price", landRequest.getStartPrice()); + jsonObject.put("recv_start_dt", landRequest.getResvStartDt()); + jsonObject.put("recv_end_dt", landRequest.getResvEndDt()); + jsonObject.put("auction_start_dt", landRequest.getAuctionStartDt()); + jsonObject.put("auction_end_dt", landRequest.getAuctionEndDt()); + jsonObject.put("message_list", map); + historyService.setLog(HISTORYTYPE.LAND_AUCTION_ADD, jsonObject); + }catch(Exception e){ + log.error("history log Save Fail: {}", e.getMessage()); + } + + return LandResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(LandResponse.ResultData.builder() + .message(SuccessCode.SAVE.getMessage()) + .build()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public LandResponse updateLandAuction(Long id, LandRequest landRequest) { + landRequest.setId(id); + landRequest.setUpdateBy(CommonUtils.getAdmin().getId()); + landRequest.setUpdateDt(LocalDateTime.now()); + + LandAuction before_info = landMapper.getLandAuctionDetail(id); + before_info.setMessageList(landMapper.getMessage(id)); + + if(!before_info.getStatus().equals(LandAuction.AUCTION_STATUS.WAIT) && !before_info.getStatus().equals(LandAuction.AUCTION_STATUS.RESV_START)){ + return LandResponse.builder() + .status(CommonCode.ERROR.getHttpStatus()) + .result(ErrorCode.ERROR_AUCTION_STATUS_IMPOSSIBLE.toString()) + .build(); + } + + int result = landMapper.updateLandAuction(landRequest); + log.info("AdminToolDB LandAuction Update Complete: {}", landRequest); + + Map map = new HashMap<>(); + map.put("id", String.valueOf(id)); + + // message 테이블 데이터 삭제 처리 by mail_id + landMapper.deleteMessage(map); + + // 메시지 업데이트 + if (landRequest.getMassageList() != null && !landRequest.getMassageList().isEmpty()) { + landRequest.getMassageList().forEach(item -> { + map.put("title", item.getTitle()); + map.put("content", item.getContent()); + map.put("language", item.getLanguage()); + + landMapper.insertMessage(map); + }); + } + log.info("AdminToolDB Message Update Complete"); + + LandAuction after_info = landMapper.getLandAuctionDetail(id); + after_info.setMessageList(landMapper.getMessage(id)); + + mysqlHistoryLogService.updateHistoryLog( + HISTORYTYPE.LAND_AUCTION_UPDATE, + MysqlConstants.TABLE_NAME_LAND_AUCTION, + HISTORYTYPE.LAND_AUCTION_UPDATE.name(), + before_info, + after_info, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + + dynamodbLandAuctionService.updateLandAuction(landRequest); + + //로그 기록 + try{ + JSONObject jsonObject = new JSONObject(); + jsonObject.put("before_info",before_info.toString()); + jsonObject.put("after_info",after_info.toString()); +// jsonObject.put("dynamoDB_result",land_auction_registry_result); + historyService.setLog(HISTORYTYPE.LAND_AUCTION_UPDATE, jsonObject); + }catch(Exception e){ + log.error("history log Save Fail: {}", e.getMessage()); + } + + return LandResponse.builder() + .resultData(LandResponse.ResultData.builder() + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public LandResponse deleteLandAuction(LandRequest landRequest){ + Map map = new HashMap<>(); + AtomicBoolean is_falil = new AtomicBoolean(false); + + landRequest.getList().forEach( + item->{ + Long auction_id = item.getId(); + LandAuction auction_info = landMapper.getLandAuctionDetail(auction_id); + auction_info.setMessageList(landMapper.getMessage(auction_id)); + + if(!auction_info.getStatus().equals(LandAuction.AUCTION_STATUS.WAIT) && !auction_info.getStatus().equals(LandAuction.AUCTION_STATUS.RESV_START)){ + is_falil.set(true); + return; + } + + map.put("id", auction_id); + map.put("updateBy", CommonUtils.getAdmin().getId()); + int result = landMapper.deleteLandAuction(map); + log.info("LandAuction Delete Complete: {}", item); + + mysqlHistoryLogService.deleteHistoryLog( + HISTORYTYPE.LAND_AUCTION_DELETE, + MysqlConstants.TABLE_NAME_LAND_AUCTION, + HISTORYTYPE.LAND_AUCTION_DELETE.name(), + auction_info, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + + dynamodbLandAuctionService.cancelLandAuction(auction_info); + + JSONObject jsonObject = new JSONObject(); + + //로그 기록 + List message = landMapper.getMessage(item.getId()); + if(!message.isEmpty()){ + jsonObject.put("message",message.get(0).getTitle()); + } + jsonObject.put("auction_info", auction_info); +// jsonObject.put("dynamoDB_result",land_auction_registry_result); + historyService.setLog(HISTORYTYPE.LAND_AUCTION_DELETE, jsonObject); + } + ); + + if(is_falil.get()){ + return LandResponse.builder() + .status(CommonCode.ERROR.getHttpStatus()) + .result(ErrorCode.ERROR_AUCTION_STATUS_IMPOSSIBLE.toString()) + .build(); + } + + return LandResponse.builder() + .resultData(LandResponse.ResultData.builder() + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + public List getScheduleLandAuctionList(){ + return landMapper.getScheduleLandAuctionList(); + } + + public LandAuctionRegistryAttrib getLandAuctionRegistryAttrib(Integer land_id, Integer auction_seq){ + return dynamodbLandAuctionService.getLandAuctionRegistry(land_id, auction_seq); + } + + public LandAuctionHighestBidUserAttrib getLandAuctionHighestUserAttrib(Integer land_id, Integer auction_seq){ + return dynamodbLandAuctionService.getLandAuctionHighestUser(land_id, auction_seq); + } + + @Transactional(transactionManager = "transactionManager") + public void updateLandAuctionStatus(Map map){ + try{ + landMapper.updateStatusLandAuction(map); + log.info("updateLandAuctionStatus landAuction status changed: {}", map.get("status")); + }catch(Exception e){ + log.error("updateLandAuction LandAuction Update Fail map: {}", map); + } + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/LogoutService.java b/src/main/java/com/caliverse/admin/domain/service/LogoutService.java new file mode 100644 index 0000000..7b04a83 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/LogoutService.java @@ -0,0 +1,38 @@ +package com.caliverse.admin.domain.service; + +import jakarta.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletResponse; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.security.core.context.SecurityContextHolder; +import org.springframework.security.web.authentication.logout.LogoutHandler; +import org.springframework.stereotype.Service; + +import com.caliverse.admin.domain.dao.admin.TokenMapper; + +@Slf4j +@Service +@RequiredArgsConstructor +public class LogoutService implements LogoutHandler { + private final TokenMapper tokenMapper; + + @Override + public void logout(HttpServletRequest request, HttpServletResponse response, org.springframework.security.core.Authentication authentication) { + final String authHeader = request.getHeader("Authorization"); + final String jwt; + if (authHeader == null ||!authHeader.startsWith("Bearer ")) { + return; + } + jwt = authHeader.substring(7); + var storedToken = tokenMapper.findByToken(jwt) + .orElse(null); + if (storedToken != null) { + storedToken.setExpired(true); + storedToken.setRevoked(true); + tokenMapper.updateToken(storedToken); + SecurityContextHolder.clearContext(); + } + + log.info("logout User: {}", authentication.getName()); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/MailService.java b/src/main/java/com/caliverse/admin/domain/service/MailService.java new file mode 100644 index 0000000..23c8f07 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/MailService.java @@ -0,0 +1,476 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.dao.admin.HistoryMapper; +import com.caliverse.admin.domain.dao.admin.MailMapper; +import com.caliverse.admin.domain.dao.total.WalletUserMapper; +import com.caliverse.admin.domain.datacomponent.MetaDataHandler; +import com.caliverse.admin.domain.entity.*; +import com.caliverse.admin.domain.request.MailRequest; +import com.caliverse.admin.domain.response.MailResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.global.common.utils.ExcelUtils; +import com.caliverse.admin.scheduler.ScheduleService; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.json.JSONObject; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.core.io.Resource; +import org.springframework.core.io.UrlResource; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.web.multipart.MultipartFile; +import org.springframework.core.io.ResourceLoader; + +import java.net.MalformedURLException; +import java.nio.file.Path; +import java.time.LocalDateTime; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Slf4j +@Service +@RequiredArgsConstructor +public class MailService { + private final DynamoDBService dynamoDBService; + private final WalletUserMapper walletUserMapper; + + @Value("${excel.file-path}") + private String excelPath; + @Value("${caliverse.file}") + private String samplePath; + private final ExcelUtils excelUtils; + private final MailMapper mailMapper; + private final HistoryMapper historyMapper; + private final MetaDataHandler metaDataHandler; + private final ResourceLoader resourceLoader; + private final ScheduleService scheduleService; + private final HistoryService historyService; + + public MailResponse getList(Map requestParam){ + + // gameDB 조회 및 서비스 로직 + //페이징 처리 + requestParam = CommonUtils.pageSetting(requestParam); + + List list = mailMapper.getMailList(requestParam); + + int allCnt = mailMapper.getAllCnt(requestParam); + + return MailResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(MailResponse.ResultData.builder() + .mailList(list) + .total(mailMapper.getTotal()) + .totalAll(allCnt) + .pageNo(requestParam.get("page_no")!=null? + Integer.valueOf(requestParam.get("page_no").toString()):1) + .build() + ) + .build(); + } + + public MailResponse getdetail(Long id){ + + // gameDB 조회 및 서비스 로직 + Mail mail = mailMapper.getMailDetail(id); + + mail.setMailList(mailMapper.getMessage(id)); +// mail.setItemList(mailMapper.getItem(id)); + List itemList = mailMapper.getItem(id); + for(Item item : itemList){ + String itemName = metaDataHandler.getMetaItemNameData(Integer.parseInt(item.getItem())); + item.setItemName(metaDataHandler.getTextStringData(itemName)); + } + mail.setItemList(itemList); + + return MailResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(MailResponse.ResultData.builder() + .mail(mail) + .build()) + .build(); + } + + public MailResponse excelUpload(MultipartFile file){ + + List list = new ArrayList<>(); + // 파일 존재하지 않는 경우 + if (file.isEmpty()) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_EXIT_EXCEL.getMessage() ); //Excel 파일을 선택해주세요. + } + + List listData = excelUtils.getListData(file, 1, 0); + + // 엑셀 파일내 중복된 데이터 있는지 체크 + if(excelUtils.hasDuplicates(listData)){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DUPLICATE_EXCEL.getMessage() ); //Excel 파일을 선택해주세요. + } + + listData.forEach( + item->{ + Mail mail = new Mail(); + mail.setGuid(item.toString()); + list.add(mail); + } + ); + + // 파일을 서버에 저장 + String fileName = excelUtils.saveExcelFile(file); + + return MailResponse.builder() + .resultData(MailResponse.ResultData.builder() + .mailList(list).message(SuccessCode.EXCEL_UPLOAD.getMessage()) + .fileName(fileName) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + public Resource excelDown(String fileName) { + Path filePath = Path.of(excelPath+fileName); + try { + if(fileName.contains("sample")){ + return resourceLoader.getResource(samplePath + fileName); + } + Resource resource = new UrlResource(filePath.toUri()); + if (resource.exists() && resource.isReadable()) { + return resource; + } else { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_EXIT_EXCEL.getMessage()); + } + }catch (MalformedURLException e){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_EXIT_EXCEL.getMessage()); + } + } + + @Transactional(transactionManager = "transactionManager") + public MailResponse postMail(MailRequest mailRequest){ + mailRequest.setCreateBy(CommonUtils.getAdmin().getId()); + if(mailRequest.isReserve()){ + mailRequest.setSendType(Mail.SENDTYPE.RESERVE_SEND); + }else{ + mailRequest.setSendType(Mail.SENDTYPE.DIRECT_SEND); + mailRequest.setSendDt(LocalDateTime.now()); + } + + + //단일일경우 guid 를 target 설정, 복수이면은 fileName을 target에 설정 + if(mailRequest.getGuid() != null){ + if(mailRequest.getUserType().equals(Mail.USERTYPE.GUID) && dynamoDBService.isGuidChecked(mailRequest.getGuid())){ + log.error("postMail RECEIVETYPE Single Guid Find Fail"); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.GUID_CHECK.getMessage()); + } + String guid = mailRequest.getGuid(); + // 닉네임이면 guid로 바꾼다 + if(mailRequest.getUserType().equals(Mail.USERTYPE.NICKNAME)) { +// guid = dynamoDBService.getNickNameByGuid(guid); + guid = getGuid(guid, Mail.USERTYPE.NICKNAME.name()); + if(guid == null || mailRequest.getGuid().equals(guid)){ + log.error("postMail RECEIVETYPE Single Nickname Find Fail"); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNOMODB_CHECK.getMessage() ); + } + }else if(mailRequest.getUserType().equals(Mail.USERTYPE.EMAIL)){ + guid = getGuid(guid, Mail.USERTYPE.EMAIL.name()); + if(guid == null || guid.isEmpty()){ + log.error("postMail RECEIVETYPE Single EMAIL Find Fail"); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.EMAIL_CHECK.getMessage() ); + } + } + mailRequest.setReceiveType(Mail.RECEIVETYPE.SINGLE); + mailRequest.setTarget(guid); + } + //엑셀 처리 + else{ + mailRequest.setReceiveType(Mail.RECEIVETYPE.MULTIPLE); + if(mailRequest.getFileName() == null){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_EXIT_EXCEL.getMessage() ); //Excel 파일을 선택해주세요. + } + List excelList = excelUtils.getExcelListData(mailRequest.getFileName()); + for(Excel excel : excelList){ + switch (excel.getType()) { + case "GUID" -> { + if (dynamoDBService.isGuidChecked(excel.getUser())) { + log.error("postMail Multi Guid({}) Find Fail", excel.getUser()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.GUID_CHECK.getMessage()); + } + } + case "NICKNAME" -> { + String user = getGuid(excel.getUser(), Mail.USERTYPE.NICKNAME.name()); + if (user == null || user.isEmpty()) { + log.error("postMail Multi Nickname({}) Find Fail", excel.getUser()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNOMODB_CHECK.getMessage()); + } + } + case "EMAIL" -> { + String user = getGuid(excel.getUser(), Mail.USERTYPE.EMAIL.name()); + if (user == null || user.isEmpty()) { + log.error("postMail Multi Email({}) Find Fail", excel.getUser()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.EMAIL_CHECK.getMessage()); + } + } + default -> + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.USERTYPE_CHECK_EXCEL.getMessage()); //Excel 파일을 선택해주세요. + } + } + mailRequest.setTarget(mailRequest.getFileName()); + } + + mailMapper.postMail(mailRequest); + + //log.info("mail_id::"+ mailRequest.getId()); + HashMap map = new HashMap<>(); + map.put("mailId",String.valueOf(mailRequest.getId())); + + //아이템 저장 + if(mailRequest.getItemList()!= null && !mailRequest.getItemList().isEmpty()){ + mailRequest.getItemList().forEach( + item -> { + map.put("goodsId",item.getItem()); + map.put("itemCnt",String.valueOf(item.getItemCnt())); + mailMapper.insertItem(map); + } + ); + } + //자원 저장 +// if(mailRequest.getResourceList()!= null && mailRequest.getResourceList().size() > 0){ +// mailRequest.getResourceList().forEach( +// item -> { +// map.put("goodsId",item.getItem()); +// map.put("itemCnt",String.valueOf(item.getItemCnt())); +// mailMapper.insertItem(map); +// } +// ); +// } + //메시지 저장 + if(mailRequest.getMailList()!= null && mailRequest.getMailList().size() > 0){ + mailRequest.getMailList().forEach( + item -> { + map.put("title",item.getTitle()); + map.put("content",item.getContent()); + map.put("language",item.getLanguage()); + mailMapper.insertMessage(map); + } + ); + } + log.info("postMail Insert Mail: {}", mailRequest); + + //로그 기록 + JSONObject jsonObject = new JSONObject(); + jsonObject.put("mail_type",mailRequest.getMailType()); + jsonObject.put("receiver",mailRequest.getTarget()); + Mail.SENDTYPE sendType = mailRequest.getSendType(); + jsonObject.put("send_type",sendType); + if(sendType.equals(Mail.SENDTYPE.RESERVE_SEND)) + jsonObject.put("send_dt",mailRequest.getSendDt()); + jsonObject.put("mail_list",map); + historyService.setLog(HISTORYTYPE.MAIL_ADD, jsonObject); + + return MailResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(MailResponse.ResultData.builder() + .message(SuccessCode.SAVE.getMessage()) + .build()) + .build(); + } + @Transactional(transactionManager = "transactionManager") + public MailResponse updateMail(Long id, MailRequest mailRequest) { + mailRequest.setId(id); + mailRequest.setUpdateBy(CommonUtils.getAdmin().getId()); + mailRequest.setUpdateDt(LocalDateTime.now()); + + if (mailRequest.isReserve()) { + mailRequest.setSendType(Mail.SENDTYPE.RESERVE_SEND); + } else { + mailRequest.setSendType(Mail.SENDTYPE.DIRECT_SEND); + mailRequest.setSendDt(LocalDateTime.now()); + } + + //단일일경우 guid 를 target 설정, 복수이면은 fileName을 target에 설정 + if (mailRequest.getGuid() != null) { + String guid = mailRequest.getGuid(); + // 닉네임이면 guid로 바꾼다 + if(mailRequest.getUserType().equals(Mail.USERTYPE.NICKNAME)) guid = dynamoDBService.getNickNameByGuid(guid); + mailRequest.setReceiveType(Mail.RECEIVETYPE.SINGLE); + mailRequest.setTarget(guid); + } else { + mailRequest.setReceiveType(Mail.RECEIVETYPE.MULTIPLE); + + if (mailRequest.getFileName() == null) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_EXIT_EXCEL.getMessage()); + } + mailRequest.setTarget(mailRequest.getFileName()); + } + + Long mail_id = mailRequest.getId(); + Mail before_info = mailMapper.getMailDetail(mail_id); + List before_msg = mailMapper.getMessage(mail_id); + List before_item = mailMapper.getItem(mail_id); + + log.info("updateMail Update Before MailInfo: {}, Message: {}, Item: {}", before_info, before_msg, before_item); + + mailMapper.updateMail(mailRequest); + + // 스케줄에서 제거 + scheduleService.closeTask("mail-" + mail_id.toString()); + + Map map = new HashMap<>(); + map.put("mailId", String.valueOf(mailRequest.getId())); + + // item 테이블 데이터 삭제 처리 by mail_id + mailMapper.deleteItem(map); + + // 아이템 업데이트 + if (mailRequest.getItemList() != null && !mailRequest.getItemList().isEmpty()) { + mailRequest.getItemList().forEach(item -> { + map.put("goodsId", item.getItem()); + map.put("itemCnt", String.valueOf(item.getItemCnt())); + + mailMapper.insertItem(map); + }); + } + + // message 테이블 데이터 삭제 처리 by mail_id + mailMapper.deleteMessage(map); + + // 메일 업데이트 + if (mailRequest.getMailList() != null && !mailRequest.getMailList().isEmpty()) { + mailRequest.getMailList().forEach(item -> { + map.put("title", item.getTitle()); + map.put("content", item.getContent()); + map.put("language", item.getLanguage()); + + mailMapper.insertMessage(map); + }); + } + log.info("updateMail Update After Mail: {}", mailRequest); + + //로그 기록 + JSONObject jsonObject = new JSONObject(); + jsonObject.put("before_info",before_info.toString()); + jsonObject.put("before_msg",before_msg.toString()); + jsonObject.put("before_item",before_item.toString()); + jsonObject.put("mail_type",mailRequest.getMailType()); + jsonObject.put("receiver",mailRequest.getTarget()); + Mail.SENDTYPE sendType = mailRequest.getSendType(); + jsonObject.put("send_type",sendType); + if(sendType.equals(Mail.SENDTYPE.RESERVE_SEND)) + jsonObject.put("send_dt",mailRequest.getSendDt()); + historyService.setLog(HISTORYTYPE.MAIL_UPDATE, jsonObject); + + return MailResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(MailResponse.ResultData.builder() + .message(SuccessCode.UPDATE.getMessage()) + .build()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public MailResponse deleteMail(MailRequest mailRequest){ + Map map = new HashMap<>(); + + mailRequest.getList().forEach( + item->{ + map.put("id",item.getId()); + mailMapper.deleteMail(map); + + // 스케줄에서 제거 + scheduleService.closeTask("mail-" + item.getId()); + log.info("deleteMail Mail: {}", item); + + //로그 기록 + List message = mailMapper.getMessage(Long.valueOf(item.getId())); + map.put("adminId", CommonUtils.getAdmin().getId()); + map.put("name", CommonUtils.getAdmin().getName()); + map.put("mail", CommonUtils.getAdmin().getEmail()); + map.put("type", HISTORYTYPE.MAIL_DELETE); + JSONObject jsonObject = new JSONObject(); + if(!message.isEmpty()){ + jsonObject.put("message",message.get(0).getTitle()); + } + map.put("content",jsonObject.toString()); + historyMapper.saveLog(map); + } + ); + + return MailResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(MailResponse.ResultData.builder() + .message(SuccessCode.DELETE.getMessage()) + .build()) + .build(); + } + + public List getScheduleMailList(){ + return mailMapper.getSchesuleMailList(); + } + + public List getMailMessageList(Long id){ + return mailMapper.getMessage(id); + } + + public List getMailItemList(Long id){ + return mailMapper.getItem(id); + } + + public void updateMailStatus(Long id, Mail.SENDSTATUS status){ + Map map = new HashMap<>(); + map.put("id", id); + map.put("status", status.toString()); + mailMapper.updateCompleteMail(map); + } + + //메타 아이템 + public MailResponse getMetaItem(String metaId){ + long id = Long.parseLong(metaId); + String item = metaDataHandler.getMetaItemNameData((int) id); + boolean isItem = (item != null && !item.isEmpty()); + if(isItem) { + Item item_info = new Item(); + item_info.setItem(metaId); + item_info.setItemName(metaDataHandler.getTextStringData(item)); + return MailResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(MailResponse.ResultData.builder() + .message(SuccessCode.ITEM_EXIST.getMessage()) + .itemInfo(item_info) + .build()) + .build(); + }else + return MailResponse.builder() + .status(CommonCode.ERROR.getHttpStatus()) + .result(CommonCode.ERROR.getResult()) + .resultData(MailResponse.ResultData.builder() + .message(ErrorCode.NOT_ITEM.getMessage()) + .build()) + .build(); + } + + public String getGuid(String target, String type){ + if(Mail.USERTYPE.EMAIL.name().equals(type)){ + WalletUser user = walletUserMapper.getUser(target); + return dynamoDBService.getAccountIdByGuid(user.getAccount_id()); + }else if(Mail.USERTYPE.NICKNAME.name().equals(type)){ + return dynamoDBService.getNickNameByGuid(target); + } + return target; + } + + public void setScheduleLog(HISTORYTYPE type, String message){ + //스케줄 로그 기록 + historyService.setScheduleLog(type, message); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/NoticeService.java b/src/main/java/com/caliverse/admin/domain/service/NoticeService.java new file mode 100644 index 0000000..6bb9ed3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/NoticeService.java @@ -0,0 +1,221 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.dao.admin.HistoryMapper; +import com.caliverse.admin.domain.dao.admin.NoticeMapper; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.domain.entity.InGame; +import com.caliverse.admin.domain.entity.Message; +import com.caliverse.admin.domain.request.NoticeRequest; +import com.caliverse.admin.domain.response.NoticeResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.scheduler.ScheduleService; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.json.JSONObject; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + +@Slf4j +@Service +@RequiredArgsConstructor +public class NoticeService { + + private final NoticeMapper noticeMapper; + private final HistoryMapper historyMapper; + private final ScheduleService scheduleService; + private final HistoryService historyService; + + public NoticeResponse getNoticeList(){ + + List noticeList = noticeMapper.getNoticeList(); + + return NoticeResponse.builder() + .resultData(NoticeResponse.ResultData.builder() + .list(noticeList).build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + public NoticeResponse getNoticeDetail(Long id){ + + NoticeResponse.ResultData resultData = null; + log.info("getNoticeDetail id::"+id); + + InGame inGame = noticeMapper.getNoticeDetail(id); + + if(inGame != null){ + List noticeMessage = noticeMapper.getMessage(inGame.getId()); + + resultData = NoticeResponse.ResultData.builder() + .gameMessages(noticeMessage) + .inGame(inGame) + .build(); + }else{ + // 조회된 데이터가 없습니다. + return NoticeResponse.builder() + .resultData(NoticeResponse.ResultData.builder().message(SuccessCode.NULL_DATA.getMessage()).build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + return NoticeResponse.builder() + .resultData(resultData) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + //인게임 메시지 등록 + @Transactional(transactionManager = "transactionManager") + public NoticeResponse postInGameMessage(NoticeRequest noticeRequest){ + // 등록자는 메일로 넣어주자 + noticeRequest.setCreateBy(CommonUtils.getAdmin().getId()); + // notice 테이블 insert + int i = noticeMapper.postNotice(noticeRequest); + if(i > 0){ + Map map = new HashMap<>(); + noticeRequest.getGameMessages().stream() + .filter(item -> !item.getContent().isEmpty()) + .map(item -> { + map.put("id", noticeRequest.getId()); + map.put("language", item.getLanguage()); + map.put("content", item.getContent()); + //메시지 테이블 insert + noticeMapper.insertMessage(map); + return item; + }).collect(Collectors.toList()); + } + log.info("postInGameMessage notice: {}", noticeRequest); + + //로그 기록 + JSONObject jsonObject = new JSONObject(); + jsonObject.put("message_type",noticeRequest.getMessageType()); + jsonObject.put("repeat_type",noticeRequest.getRepeatType()); + jsonObject.put("repeat_cnt",noticeRequest.getRepeatCnt()); + jsonObject.put("repeat_dt",noticeRequest.getRepeatDt()); + jsonObject.put("send_dt",noticeRequest.getSendDt()); + jsonObject.put("end_dt",noticeRequest.getEndDt()); + jsonObject.put("message",noticeRequest.getGameMessages().toString()); + historyService.setLog(HISTORYTYPE.NOTICE_ADD, jsonObject); + + return NoticeResponse.builder() + .resultData(NoticeResponse.ResultData.builder().message(SuccessCode.REGISTRATION.getMessage()).build()) + .result(CommonCode.SUCCESS.getResult()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public NoticeResponse updateInGameMessage(Long id, NoticeRequest noticeRequest){ + noticeRequest.setId(id); + noticeRequest.setUpdateBy(CommonUtils.getAdmin().getId()); + int i = noticeMapper.updateNotice(noticeRequest); + // 스케줄에서 기존 등록 제거 + scheduleService.closeTask(noticeRequest.getId().toString()); + if(i > 0){ + InGame before_notice = noticeMapper.getNoticeDetail(noticeRequest.getId()); + log.info("updateInGameMessage Before notice: {}", before_notice); + + Map map = new HashMap<>(); + //선 삭제 후 insert + noticeMapper.deleteMessage(noticeRequest.getId()); + + for (Message item : noticeRequest.getGameMessages()) { + String content = item.getContent(); + + // content가 null이거나 빈 문자열인 경우 루프 건너뛰기 + if (content == null || content.isEmpty()) { + continue; + } + + map.put("id", noticeRequest.getId()); + map.put("language", item.getLanguage()); + map.put("content", content); + // 메시지 테이블 insert + noticeMapper.insertMessage(map); + } + } + log.info("updateInGameMessage After notice: {}", noticeRequest); + return NoticeResponse.builder() + .resultData(NoticeResponse.ResultData.builder().message(SuccessCode.UPDATE.getMessage()).build()) + .result(CommonCode.SUCCESS.getResult()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .build(); + } + + @Transactional(transactionManager = "transactionManager") + public NoticeResponse deleteInGameMessage(NoticeRequest noticeRequest){ + + Map map = new HashMap<>(); + noticeRequest.getList().forEach( + item->{ + + //사용자 로그 기록 (인게임 메시지 삭제) + String message = noticeMapper.getMessageById(item.getMessageId()); + + noticeMapper.deleteNotice(item.getMessageId()); + + // 스케줄에서 제거 + scheduleService.closeTask("notice-" + item.getMessageId()); + + log.info("deleteInGameMessage notice: {}", item); + + //로그 기록 + map.put("adminId", CommonUtils.getAdmin().getId()); + map.put("name", CommonUtils.getAdmin().getName()); + map.put("mail", CommonUtils.getAdmin().getEmail()); + map.put("type", HISTORYTYPE.NOTICE_DELETE); + JSONObject jsonObject = new JSONObject(); + jsonObject.put("message",message); + map.put("content",jsonObject.toString()); + historyMapper.saveLog(map); + } + ); + log.info("deleteInGameMessage notice: {}", noticeRequest); + return NoticeResponse.builder() + .resultData(NoticeResponse.ResultData.builder().message(SuccessCode.DELETE.getMessage()).build()) + .result(CommonCode.SUCCESS.getResult()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .build(); + } + + public List getScheduleNoticeList(){ + return noticeMapper.getSchesuleNoticeList(); + } + + public List getNoticeMessageList(Long id){ + return noticeMapper.getMessage(id); + } + + public void updateNoticeStatus(Long id, InGame.SENDSTATUS status){ + HashMap map = new HashMap(); + map.put("id", id); + map.put("status", status.toString()); + noticeMapper.updateStatusNotice(map); + } + + public void updateNoticeCount(Long id){ + noticeMapper.updateCountNotice(id); + } + + public void setScheduleLog(HISTORYTYPE type, String message){ + //스케줄 로그 기록 + Map logMap = new HashMap<>(); + logMap.put("adminId", 1); + logMap.put("name", "schedule"); + logMap.put("mail", "schedule"); + logMap.put("type", type); + JSONObject jsonObject = new JSONObject(); + jsonObject.put("message",message); + logMap.put("content",jsonObject.toString()); + historyMapper.saveLog(logMap); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/S3Service.java b/src/main/java/com/caliverse/admin/domain/service/S3Service.java new file mode 100644 index 0000000..b77f488 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/S3Service.java @@ -0,0 +1,41 @@ +package com.caliverse.admin.domain.service; + +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; +import org.springframework.stereotype.Service; +import software.amazon.awssdk.services.s3.S3Client; +import software.amazon.awssdk.services.s3.model.GetObjectAttributesRequest; +import software.amazon.awssdk.services.s3.model.GetObjectAttributesResponse; +import software.amazon.awssdk.services.s3.model.S3Exception; + +import java.util.Optional; + +@Slf4j +@Service +@ConditionalOnProperty(name = "amazon.s3.enabled", havingValue = "true") +@RequiredArgsConstructor +public class S3Service { + @Autowired(required = false) + private final S3Client s3Client; + + @Value("${amazon.s3.bucket-name}") + private String bucketName; + + public Optional getObjectMetadata(String key) { + try { + GetObjectAttributesRequest request = GetObjectAttributesRequest.builder() + .bucket(bucketName) + .key(key) + .build(); + + GetObjectAttributesResponse response = s3Client.getObjectAttributes(request); + return Optional.of(response); + } catch (S3Exception e) { + log.error("Error retrieving object metadata: {}", e.getMessage()); + return Optional.empty(); + } + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/UserGameSessionService.java b/src/main/java/com/caliverse/admin/domain/service/UserGameSessionService.java new file mode 100644 index 0000000..48b3766 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/UserGameSessionService.java @@ -0,0 +1,49 @@ +package com.caliverse.admin.domain.service; + + +import com.caliverse.admin.domain.RabbitMq.MessageHandlerService; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.redis.service.RedisUserInfoService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; + +@Slf4j +@Service +public class UserGameSessionService { + + private final RedisUserInfoService redisUserInfoService; + //private final RabbitMqService rabbitMqService; + + private final MessageHandlerService messageHandlerService; + + + public UserGameSessionService(RedisUserInfoService redisUserInfoService + , MessageHandlerService messageHandlerService + ) { + this.redisUserInfoService = redisUserInfoService; + this.messageHandlerService = messageHandlerService; + } + + + public void kickUserSession(String userGuid){ + + var loginSession = redisUserInfoService.getUserLoginSessionInfo(userGuid); + + //게임이 접속중 이면 kick 하고 2초 대기 + if(null != loginSession ){ + var serverName = loginSession.getCurrentServer(); + messageHandlerService.sendUserKickMessage(userGuid, serverName); + + //여기서 2초 정도 대기(게임 메모리 정리를 위해) + try{ + Thread.sleep(2000); + } + catch (InterruptedException e){ + log.error("InterruptedException message: {}, serverName: {}, e.Message : {}", userGuid, serverName, e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.EXCEPTION_INVALID_PROTOCOL_BUFFER_EXCEPTION_ERROR.getMessage()); + } + } + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/UserItemService.java b/src/main/java/com/caliverse/admin/domain/service/UserItemService.java new file mode 100644 index 0000000..97edb70 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/UserItemService.java @@ -0,0 +1,37 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import com.caliverse.admin.logs.logservice.businesslogservice.BusinessLogUserItemHistoryService; +import org.springframework.stereotype.Service; + +import com.caliverse.admin.global.common.utils.CommonUtils; + +import java.util.Map; + +@Service +public class UserItemService { + + private final BusinessLogUserItemHistoryService historyService; + + public UserItemService(BusinessLogUserItemHistoryService hstoryService){ + this.historyService = hstoryService; + } + + + public String getUserItemHistory(Map requestParams){ + + //페이징 처리 + //requestParams = + CommonUtils.pageSetting(requestParams); + + //몽고 DB 에서 호출 할수 있도록 처리 + String startDate = requestParams.get(AdminConstants.INDICATORS_KEY_START_DATE); + String endDate = requestParams.get(AdminConstants.INDICATORS_KEY_END_DATE); + String itemId = requestParams.get(AdminConstants.INDICATORS_KEY_ITEM_ID); + + //UserItemService.class 바꿔야 한다. + historyService.loadBusinessLogData(startDate, endDate, itemId, UserItemService.class); + + return ""; + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/UserReportService.java b/src/main/java/com/caliverse/admin/domain/service/UserReportService.java new file mode 100644 index 0000000..36a27f4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/UserReportService.java @@ -0,0 +1,188 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.entity.REPORTTYPE; +import com.caliverse.admin.domain.entity.SEARCHTYPE; +import com.caliverse.admin.domain.entity.STATUS; +import com.caliverse.admin.domain.request.UserReportRequest; +import com.caliverse.admin.domain.response.UserReportResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.fasterxml.jackson.core.JsonProcessingException; +import lombok.RequiredArgsConstructor; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import java.time.Instant; +import java.time.ZonedDateTime; +import java.util.ArrayList; +import java.util.Comparator; +import java.util.List; +import java.util.Map; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.stream.Collectors; + +@Service +@RequiredArgsConstructor +public class UserReportService { + private static final Logger logger = LoggerFactory.getLogger(UserReportService.class); + + private final DynamoDBService dynamoDBService; + public UserReportResponse totalCnt(Map requestParam){ + + int resolved = 0; + int unResolved = 0; + List userReportList = new ArrayList<>(); + + userReportList = dynamoDBService.getUserReportList(requestParam); + Map result = userReportList.stream() + .collect(Collectors.partitioningBy( + val -> val.getState() == STATUS.RESOLVED, + Collectors.counting() + )); + + resolved = result.get(true).intValue(); + unResolved = result.get(false).intValue(); + + int totalCnt = userReportList.size(); + return UserReportResponse.builder() + .resultData(UserReportResponse.ResultData.builder() + .totalCnt(totalCnt) + .resolve(resolved) + .unresolve(unResolved) + .rate(totalCnt == 0 ? "0%" : Math.round(resolved * 100.0 / totalCnt) + "%") + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + public UserReportResponse list(Map requestParam){ + List userReportList = new ArrayList<>(); + userReportList = dynamoDBService.getUserReportList(requestParam); + + String reportTypeFilter = CommonUtils.objectToString(requestParam.get("report_type")); + String statusFilter = CommonUtils.objectToString(requestParam.get("status")); + String searchType = CommonUtils.objectToString(requestParam.get("search_type")); + String searchKey = CommonUtils.objectToString(requestParam.get("search_key")); + String orderby = CommonUtils.objectToString(requestParam.get("orderby")); + //페이징 처리 + int page = Integer.parseInt(requestParam.get("page_no")); + int pageSize = Integer.parseInt(requestParam.get("page_size")); + + if (!reportTypeFilter.isEmpty() && !reportTypeFilter.equals("ALL")) { + userReportList = userReportList.stream() + .filter(report -> report.getReportType() == REPORTTYPE.valueOf(reportTypeFilter)) + .collect(Collectors.toList()); + } + + if (!statusFilter.isEmpty() &&!statusFilter.equals("ALL")) { + userReportList = userReportList.stream() + .filter(report -> report.getState() == STATUS.valueOf(statusFilter)) + .collect(Collectors.toList()); + } + + if (!searchType.isEmpty() && !searchKey.isEmpty()) { + userReportList = userReportList.stream() + .filter(report -> { + if (searchType.equals(SEARCHTYPE.GUID.name())) { + return report.getReporterGuid().equals(searchKey); + } else if (searchType.equals(SEARCHTYPE.EMAIL.name())) { + return report.getManagerEmail().equals(searchKey); + } + return false; + }) + .sorted(Comparator.comparing(UserReportResponse.Report::getCreateTime)) + .collect(Collectors.toList()); + } + + if(!orderby.isEmpty()){ + if(orderby.equalsIgnoreCase("desc")){ + userReportList = userReportList.stream() + .sorted(Comparator.comparing(UserReportResponse.Report::getCreateTime).reversed()) + .collect(Collectors.toList()); + }else{ + userReportList = userReportList.stream() + .sorted(Comparator.comparing(UserReportResponse.Report::getCreateTime)) + .collect(Collectors.toList()); + } + } + + int start = (page - 1) * pageSize; + int end = Math.min(start + pageSize, userReportList.size()); + + userReportList = userReportList.subList(start, end); + + // row_num 추가 + + if (orderby.equalsIgnoreCase("desc")){ + for (int i = 0; i < userReportList.size(); i++) { + userReportList.get(i).setRowNum(i + 1); + } + }else{ + int rowNum = userReportList.size(); + for (int i = 0; i < userReportList.size(); i++) { + userReportList.get(i).setRowNum(rowNum--); + } + } + return UserReportResponse.builder() + .resultData(UserReportResponse.ResultData.builder() + .list(userReportList) + .pageNo(page) + .total(userReportList.size()) + .totalAll(userReportList.size()) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + public UserReportResponse reportDetail(Map requestParam){ + + UserReportResponse.ResultData userReportDetail = dynamoDBService.getUserReportDetail(requestParam); + + return UserReportResponse.builder() + .resultData(userReportDetail) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + public UserReportResponse replyDetail(Map requestParam){ + + UserReportResponse.ResultData userReportDetail = dynamoDBService.getUserReplyDetail(requestParam); + + return UserReportResponse.builder() + .resultData(userReportDetail) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + //답변 + public UserReportResponse reportReply(UserReportRequest userReportRequest){ + + userReportRequest.setManagerEmail(CommonUtils.getAdmin().getEmail()); + dynamoDBService.reportReply(userReportRequest); + + //신고 내역 상태 및 해결일자 변경 + dynamoDBService.changeReportStatus(userReportRequest); + + + return UserReportResponse.builder() + .resultData(UserReportResponse.ResultData.builder() + .message(SuccessCode.SAVE.getMessage()) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + public void dummy(Map map){ + dynamoDBService.dummy(map); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/UsersService.java b/src/main/java/com/caliverse/admin/domain/service/UsersService.java new file mode 100644 index 0000000..b901cf0 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/UsersService.java @@ -0,0 +1,446 @@ +package com.caliverse.admin.domain.service; + +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.concurrent.atomic.AtomicInteger; + +import com.caliverse.admin.domain.entity.FriendRequest; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.domain.request.MailRequest; +import com.caliverse.admin.redis.service.RedisUserInfoService; +import lombok.extern.slf4j.Slf4j; +import org.json.JSONObject; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.caliverse.admin.domain.datacomponent.MetaDataHandler; +import com.caliverse.admin.domain.request.UsersRequest; +import com.caliverse.admin.domain.response.UsersResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; + +import lombok.RequiredArgsConstructor; + +@Service +@RequiredArgsConstructor +@Slf4j +public class UsersService { + private static final Logger logger = LoggerFactory.getLogger(UsersService.class); + + private final DynamoDBService dynamoDBService; + private final HistoryService historyService; + private final UserGameSessionService userGameSessionService; + private final RedisUserInfoService redisUserInfoService; + + //metadataHandler 어떻게 가져와야 되는가 + @Autowired + private MetaDataHandler metaDataHandler; + + // 닉네임 변경 + public UsersResponse changeNickname(UsersRequest usersRequest){ + String guid = usersRequest.getGuid(); + String nickname = usersRequest.getNickname(); + String newNickname = usersRequest.getNewNickname(); + + //신규 닉네임 유효성 체크 + ErrorCode check = CommonUtils.isValidNickname(newNickname); + if(!check.equals(ErrorCode.SUCCESS)){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), check.getMessage() ); + } + + Map serachNickname = dynamoDBService.getUsersByName(newNickname); + if(serachNickname != null){ + //변경 닉네임이 존재합니다. 다시 시도해주세요. + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NICKNAME_EXIT_ERROR.getMessage() ); + }else{ + dynamoDBService.updateNickname(guid,nickname,newNickname); + } + + return UsersResponse.builder() + .resultData(UsersResponse.ResultData.builder() + .message(SuccessCode.UPDATE.getMessage()) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + // GM 권한 변경 + public UsersResponse changeAdminLevel(UsersRequest usersRequest){ + String guid = usersRequest.getGuid(); + String type = usersRequest.getAdminLevel(); + + dynamoDBService.updateAdminLevel(guid, type); + + return UsersResponse.builder() + .resultData(UsersResponse.ResultData.builder() + .message(SuccessCode.UPDATE.getMessage()) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + // 유정 정보 조회 닉네임,GUID,Account ID + public UsersResponse findUsers(Map requestParam){ + + String searchType = requestParam.get("search_type").toString(); + String searchKey = requestParam.get("search_key").toString(); + + Map res = dynamoDBService.findUsersBykey(searchType, searchKey); + + return UsersResponse.builder() + .resultData(UsersResponse.ResultData.builder() + .result(res) + .build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + public UsersResponse getBasicInfo(String guid){ + + String account_id = dynamoDBService.getGuidByAccountId(guid); + //userInfo + Map userInfo = dynamoDBService.getAccountInfo(account_id); + + // charInfo + Map charInfo = dynamoDBService.getCharInfo(guid); + + + return UsersResponse.builder() + .resultData( + UsersResponse.ResultData.builder() + .charInfo((UsersResponse.CharInfo) charInfo.get("charInfo")) + .userInfo((UsersResponse.UserInfo) userInfo.get("userInfo")) + .build() + ) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + public UsersResponse getAvatarInfo(String guid){ + + //avatarInfo + Map charInfo = dynamoDBService.getAvatarInfo(guid); + + return UsersResponse.builder() + .resultData( + UsersResponse.ResultData.builder() + .avatarInfo((UsersResponse.AvatarInfo) charInfo.get("avatarInfo")) + .build() + ) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + public UsersResponse getClothInfo(String guid){ + + //clothInfo +// Map charInfo = dynamoDBService.getClothInfo(guid); + Map charInfo = dynamoDBService.getCloth(guid); + + return UsersResponse.builder() + .resultData( + UsersResponse.ResultData.builder() + .clothInfo((UsersResponse.ClothInfo) charInfo.get("clothInfo")) + .build() + ) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + public UsersResponse getToolSlotInfo(String guid){ + + // toolslotInfo +// List toolSlot = dynamoDBService.getToolSlot(guid); + Map toolSlot = dynamoDBService.getTools(guid); + + return UsersResponse.builder() + .resultData( + UsersResponse.ResultData.builder() + .slotInfoList((UsersResponse.SlotInfo) toolSlot.get("toolSlotInfo")) + .build() + ) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + public UsersResponse getInventoryInfo(String guid){ + +// List> inventoryList = new ArrayList<>(); +// List> item = dynamoDBService.getInvenItems(guid); +// if(item != null){ +// for (List list : item){ +// List innerList = new ArrayList<>(); +// for (String key : list){ +// Map resItem = dynamoDBService.getItemTable(key); +// +// //객체를 생성하고 값을 설정 +// UsersResponse.Inventory inventory = new UsersResponse.Inventory(); +// +// Object itemId = resItem.get("ItemId"); +// String itemIdString = CommonUtils.objectToString(itemId); +// Integer itemIdInteger = CommonUtils.objectToInteger(itemId); +// +// +// inventory.setCount(Integer.valueOf(CommonUtils.objectToString(resItem.get("Count")))); +// inventory.setItemId(itemIdString); +// inventory.setItemName(metaDataHandler.getMetaItemData(itemIdInteger).getName()); +// innerList.add(inventory); +// } +// inventoryList.add(innerList); +// } +// } + UsersResponse.InventoryInfo inventoryInfo = dynamoDBService.getInvenItems(guid); + logger.info("getInventoryInfo Inventory Items: {}", inventoryInfo); + + return UsersResponse.builder() + .resultData( + UsersResponse.ResultData.builder() + .inventoryInfo(inventoryInfo) + .build() + ) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + public UsersResponse deleteInventoryItem(Map requestParams){ + String guid = requestParams.get("guid"); + String item_guid = requestParams.get("item_guid"); + int current_cnt = Integer.parseInt(requestParams.get("current_cnt")); + int update_cnt = Integer.parseInt(requestParams.get("cnt")); + + userGameSessionService.kickUserSession(guid); + if(update_cnt >= current_cnt){ + String attrib = dynamoDBService.deleteItem(guid, item_guid); + if(!attrib.isEmpty()){ + JSONObject jsonObject = new JSONObject(); + jsonObject.put("data",attrib); + historyService.setLog(HISTORYTYPE.INVENTORY_ITEM_DELETE, jsonObject); + } + return UsersResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(UsersResponse.ResultData.builder() + .message(SuccessCode.DELETE.getMessage()) + .build()) + .build(); + }else{ + int cnt = current_cnt - update_cnt; + JSONObject json = dynamoDBService.updateItem(guid, item_guid, cnt); + if(!json.isEmpty()){ + historyService.setLog(HISTORYTYPE.INVENTORY_ITEM_UPDATE, json); + } + return UsersResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(UsersResponse.ResultData.builder() + .message(SuccessCode.UPDATE.getMessage()) + .build()) + .build(); + } + } + + public UsersResponse getMail(String guid, String type){ + + List mailList = dynamoDBService.getMail(guid, type);; + return UsersResponse.builder() + .resultData( + UsersResponse.ResultData.builder() + .mailList(mailList) + .build() + ) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + public UsersResponse deleteMail(Map requestParams){ + String guid = requestParams.get("guid"); + String mail_guid = requestParams.get("mail_guid"); + String type = requestParams.get("type"); + + userGameSessionService.kickUserSession(guid); + String attrib = dynamoDBService.deleteMail(type, guid, mail_guid); + if(!attrib.isEmpty()){ + JSONObject jsonObject = new JSONObject(); + jsonObject.put("data",attrib); + historyService.setLog(HISTORYTYPE.USER_MAIL_DELETE, jsonObject); + } + + return UsersResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(UsersResponse.ResultData.builder() + .message(SuccessCode.DELETE.getMessage()) + .build()) + .build(); + } + + public UsersResponse deleteMailItem(MailRequest.DeleteMailItem deleteMailItem){ + userGameSessionService.kickUserSession(deleteMailItem.getGuid()); + JSONObject json = dynamoDBService.updateMailItem(deleteMailItem.getType(), deleteMailItem.getGuid(), + deleteMailItem.getMailGuid(), deleteMailItem.getItemId(), deleteMailItem.getParrentCount(), deleteMailItem.getCount()); + if(!json.isEmpty()){ + historyService.setLog(HISTORYTYPE.MAIL_ITEM_UPDATE, json); + } + return UsersResponse.builder() + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .resultData(UsersResponse.ResultData.builder() + .message(SuccessCode.UPDATE.getMessage()) + .build()) + .build(); + } + + public UsersResponse getMyhome(String guid){ + + UsersResponse.Myhome myhome = dynamoDBService.getMyhome(guid); + + return UsersResponse.builder() + .resultData( + UsersResponse.ResultData.builder() + .myhomeInfo(myhome) + .build() + ) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + public UsersResponse getFriendList(String guid){ + + List friendList = dynamoDBService.getFriendList(guid); + List friendBlockList = dynamoDBService.getUserBlockList(guid); + List friendSendList = new ArrayList<>(); + List friendReceiveList = new ArrayList<>(); + + List sendRequestList = redisUserInfoService.getFriendRequestInfo("send", guid); + List receiveRequestList = redisUserInfoService.getFriendRequestInfo("receive", guid); + AtomicInteger idx = new AtomicInteger(1); + for(FriendRequest friendReq : sendRequestList){ + UsersResponse.Friend friend = new UsersResponse.Friend(); + friend.setRowNum(idx.getAndIncrement()); + String receive_guid = friendReq.getReceiverGuid(); + friend.setFriendGuid(receive_guid); + friend.setFriendName(dynamoDBService.getGuidByName(receive_guid)); + friend.setReceiveDt(friendReq.getRequestTime()); + friend.setLanguage(dynamoDBService.getUserLanguage(receive_guid)); + + friendSendList.add(friend); + } + idx = new AtomicInteger(1); + for(FriendRequest friendReq : receiveRequestList){ + UsersResponse.Friend friend = new UsersResponse.Friend(); + friend.setRowNum(idx.getAndIncrement()); + String send_guid = friendReq.getSenderGuid(); + friend.setFriendGuid(send_guid); + friend.setFriendName(dynamoDBService.getGuidByName(send_guid)); + friend.setReceiveDt(friendReq.getRequestTime()); + friend.setLanguage(dynamoDBService.getUserLanguage(send_guid)); + + friendReceiveList.add(friend); + } + + return UsersResponse.builder() + .resultData( + UsersResponse.ResultData.builder() + .friendList(friendList) + .friendSendList(friendSendList) + .friendReceiveList(friendReceiveList) + .friendBlockList(friendBlockList) + .build() + ) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + public UsersResponse getTattoo(String guid){ + List resTatto = dynamoDBService.getTattoo(guid); + + return UsersResponse.builder() + .resultData( + UsersResponse.ResultData.builder() + .tattooList(resTatto) + .build() + ) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + + public UsersResponse getQuest(String guid){ +// UsersResponse.Quest quest = new UsersResponse.Quest(); +// +// List questListQuest = new ArrayList<>(); +// +// Map>> resMap= dynamoDBService.getQuest(guid); +// +// //List> endList = resMap.get("EndList"); +// List> questList = resMap.get("QuestList"); +// +// int index = 1; +// if(questList != null){ +// for (Map val : questList){ +// if(val != null){ +// quest = new UsersResponse.Quest(); +// quest.setQuestId(Integer.valueOf(CommonUtils.objectToString(val.get("QuestId")))); +// quest.setStatus(CommonUtils.objectToString(val.get("IsComplete"))); +// quest.setRowNum((long)index); +// questListQuest.add(quest); +// index++; +// } +// } +// } + + List questList = dynamoDBService.getQuest(guid); + + return UsersResponse.builder() + .resultData( + UsersResponse.ResultData.builder() + .questList(questList) + .build() + ) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + } + /*public UsersResponse getClaim(String guid){ + + List tattoo = dynamoDBService.getTattoo(guid); + + return UsersResponse.builder() + .resultData( + UsersResponse.ResultData.builder() + .tattooList(tattoo) + .build() + ) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + + }*/ + +} diff --git a/src/main/java/com/caliverse/admin/domain/service/Web3Service.java b/src/main/java/com/caliverse/admin/domain/service/Web3Service.java new file mode 100644 index 0000000..5545fcc --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/Web3Service.java @@ -0,0 +1,137 @@ +package com.caliverse.admin.domain.service; + +import com.caliverse.admin.domain.entity.web3.ResponseErrorCode; +import com.caliverse.admin.domain.response.Web3Response; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.configuration.RestConfig; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.http.*; +import org.springframework.retry.support.RetryTemplate; +import org.springframework.stereotype.Service; +import org.springframework.web.client.RestTemplate; +import org.springframework.web.util.UriComponentsBuilder; + +import java.util.Arrays; +import java.util.Map; + +@Slf4j +@Service +@RequiredArgsConstructor +public class Web3Service { + + private final RestTemplate restTemplate; + private final RestConfig restConfig; + private final ObjectMapper objectMapper; + private final RetryTemplate retryTemplate; + + public Web3Response get(String endpoint, Map params, Class responseType){ + String urlParams = addQueryParams(endpoint, params); + return callWeb3Api(urlParams, HttpMethod.GET, null, responseType); + } + + public Web3Response post(String endpoint, Object request, Class responseType){ + return callWeb3Api(endpoint, HttpMethod.POST, request, responseType); + } + + public Web3Response callWeb3Api(String endpoint, HttpMethod method, Object requestBody, Class responseType){ + try{ + return retryTemplate.execute(context -> { + try{ + String url = UriComponentsBuilder.fromHttpUrl(restConfig.getUrl() + endpoint).build().toUriString(); + log.info("callWeb3Api Call URL: {}, Param: {}, body: {}", restConfig.getUrl(), endpoint, requestBody); + + HttpHeaders headers = new HttpHeaders(); + headers.setContentType(MediaType.APPLICATION_JSON); + + HttpEntity entity = requestBody != null ? + new HttpEntity<>(requestBody, headers) : + new HttpEntity<>(headers); + + ResponseEntity response = restTemplate.exchange(url, method, entity, JsonNode.class); + + log.info("callWeb3Api Call response: {}", response); + Web3Response web3Response = parseResponse(response.getBody(), responseType); + + if(!web3Response.isSuccess() && isRetryableError(web3Response.getCode())){ + throw new RestApiException( + CommonCode.ERROR.getHttpStatus(), + "Retriable error: " + web3Response.getCode() + ); + } + + return web3Response; + }catch (Exception e) { + log.warn("API call failed, retry {} of {}: {}", + context.getRetryCount() + 1, restConfig.getMaxRetry(), e.getMessage()); + + // RestApiException이 아닌 경우 변환 + if (!(e instanceof RestApiException)) { + throw new RestApiException( + CommonCode.ERROR.getHttpStatus(), + ErrorCode.ERROR_API_CALL.getMessage() + ); + } + throw e; + } + }, context -> { + log.error("All retry attempts failed for endpoint: {}", endpoint); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.ERROR_API_CALL.getMessage()); + }); + + }catch(Exception e){ + log.error("Web3 API Call failed: endpoint={}, method={}", endpoint, method, e); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.ERROR_API_CALL.getMessage()); + } + } + + private Web3Response parseResponse(JsonNode root, Class responseType){ + try { + Web3Response web3Response = new Web3Response<>(); + boolean success = root.has("success") && root.get("success").asBoolean(); + web3Response.setSuccess(success); + + if (root.has("code")) { + web3Response.setCode(root.get("code").asText()); + } + + if (success && root.has("data")) { + JsonNode dataNode = root.get("data"); + if (!dataNode.isNull()) { + T data = objectMapper.treeToValue(dataNode, responseType); + web3Response.setData(data); + } + } + log.info("parseResponse Set response Code: {}, Data: {}", web3Response.getCode(), web3Response.getData()); + + return web3Response; + } catch (JsonProcessingException e) { + log.error("API Response Failed to parse response", e); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.ERROR_API_CALL.getMessage()); + } + } + + private String addQueryParams(String endpoint, Map queryParams) { + if (queryParams == null || queryParams.isEmpty()) { + return endpoint; + } + + UriComponentsBuilder builder = UriComponentsBuilder.fromPath(endpoint); + queryParams.forEach(builder::queryParam); + return builder.build().toString(); + } + + private boolean isRetryableError(String errorCode) { + ResponseErrorCode responseErrorCode = ResponseErrorCode.fromCode(errorCode).get(); + // 재시도할 에러 코드 정의 + return Arrays.asList( + ResponseErrorCode.RET_PWRH_001 + ).contains(responseErrorCode); + } +} diff --git a/src/main/java/com/caliverse/admin/domain/service/WhiteListService.java b/src/main/java/com/caliverse/admin/domain/service/WhiteListService.java new file mode 100644 index 0000000..a6d91d9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/domain/service/WhiteListService.java @@ -0,0 +1,251 @@ +package com.caliverse.admin.domain.service; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import org.json.JSONObject; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.web.multipart.MultipartFile; + +import com.caliverse.admin.domain.dao.admin.HistoryMapper; +import com.caliverse.admin.domain.dao.admin.WhiteListMapper; +import com.caliverse.admin.domain.entity.Admin; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.domain.entity.WhiteList; +import com.caliverse.admin.domain.request.WhiteListRequest; +import com.caliverse.admin.domain.response.WhiteListResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.code.SuccessCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.global.common.utils.ExcelUtils; + +import jakarta.servlet.http.HttpServletResponse; +import lombok.RequiredArgsConstructor; +import software.amazon.awssdk.services.dynamodb.model.AttributeValue; + +@Service +@RequiredArgsConstructor +public class WhiteListService { + private static final Logger logger = LoggerFactory.getLogger(WhiteListService.class); + private final ExcelUtils excelUtils; + private final WhiteListMapper whiteListMapper; + private final HistoryMapper historyMapper; + private final DynamoDBService dynamoDBService; + public WhiteListResponse getWhiteList(Map requestParams){ + + List whiteList = whiteListMapper.getWhiteList(); + + return WhiteListResponse.builder() + .resultData(WhiteListResponse.ResultData.builder() + .list(whiteList).build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + public WhiteListResponse excelUpload(MultipartFile file){ + + List list = new ArrayList<>(); + // 파일 존재하지 않는 경우 + if (file.isEmpty()) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_EXIT_EXCEL.getMessage() ); //Excel 파일을 선택해주세요. + } + + List listData = excelUtils.getListData(file, 1, 0); + + // 엑셀 파일내 중복된 데이터 있는지 체크 + if(excelUtils.hasDuplicates(listData)){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DUPLICATE_EXCEL.getMessage() ); //Excel 파일을 선택해주세요. + } + + listData.forEach( + item->{ + WhiteList whiteList = new WhiteList(); + //adminDB 조회 + int cnt = whiteListMapper.getCountByGuid(item.toString()); + if(cnt == 0 ){ + whiteList.setGuid(item.toString()); + }else{ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.ADMINDB_EXIT_ERROR.getMessage()); + } + //gameDB #char isWhiteUser 값 체크 + Map whiteAttr = dynamoDBService.getItem("char#" + item, "char#" + item); + //guid 검증 + if(whiteAttr.size() == 0){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.GUID_CHECK.getMessage()); + } + //화이트리스트 확정까지 보류 +// boolean isWhiteUser = dynamoDBService.isWhiteOrBlackUser(whiteAttr.get("isWhiteUser")); +// if (isWhiteUser) { +// throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_EXIT_ERROR.getMessage()); +// } + + list.add(whiteList); + } + ); + return WhiteListResponse.builder() + .resultData(WhiteListResponse.ResultData.builder() + .list(list).message(SuccessCode.EXCEL_UPLOAD.getMessage()).build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + + // 단일 등록 + @Transactional(transactionManager = "transactionManager") + public WhiteListResponse postWhiteList(WhiteListRequest whiteListRequest){ + HashMap map = new HashMap<>(); + Admin admin = CommonUtils.getAdmin(); + map.put("status", WhiteList.STATUS.REJECT); + map.put("createBy", admin.getId()); + + int cnt = whiteListMapper.getCountByGuid(whiteListRequest.getGuid()); + if(cnt > 0 ){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.ADMINDB_EXIT_ERROR.getMessage()); + } + //gameDB #char isWhiteUser 값 체크 + Map whiteAttr = dynamoDBService.getItem("user_base#" + whiteListRequest.getGuid() + , "empty"); + + //guid 검증 + if(whiteAttr.size() == 0){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.GUID_CHECK.getMessage()); + } + //화이트리스트 확정까지 보류 +// boolean isWhiteUser = dynamoDBService.isWhiteOrBlackUser(whiteAttr.get("isWhiteUser")); +// if (isWhiteUser) { +// throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_EXIT_ERROR.getMessage()); +// } + map.put("guid",whiteListRequest.getGuid()); + map.put("nickname",dynamoDBService.getNickNameByGuid(whiteListRequest.getGuid())); + whiteListMapper.postWhiteList(map); + + //dynamoDB char# 테이블에 isWhiteUser : true 값을 insert + dynamoDBService.insertUpdateData(whiteListRequest.getGuid(),"isWhiteUser",true); + return WhiteListResponse.builder() + .resultData(WhiteListResponse.ResultData.builder() + .message(SuccessCode.REGISTRATION.getMessage()).build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + //복수 등록 + @Transactional(transactionManager = "transactionManager") + public WhiteListResponse multiPost(MultipartFile file){ + HashMap map = new HashMap<>(); + // 파일 존재하지 않는 경우 + if (file.isEmpty()) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_EXIT_EXCEL.getMessage() ); //Excel 파일을 선택해주세요. + } + + List listData = excelUtils.getListData(file, 1, 0); + + // 엑셀 파일내 중복된 데이터 있는지 체크 + if(excelUtils.hasDuplicates(listData)){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DUPLICATE_EXCEL.getMessage() ); //Excel 파일을 선택해주세요. + } + + Admin admin = CommonUtils.getAdmin(); + map.put("status", WhiteList.STATUS.REJECT); + map.put("createBy", admin.getId()); + + listData.forEach( + item->{ + map.put("guid",item.toString()); + map.put("nickname",dynamoDBService.getNickNameByGuid(item.toString())); + whiteListMapper.postWhiteList(map); + + //dynamoDB char# 테이블에 isWhiteUser : true 값을 insert + dynamoDBService.insertUpdateData(item.toString(),"isWhiteUser", true); + } + ); + + return WhiteListResponse.builder() + .resultData(WhiteListResponse.ResultData.builder() + .message(SuccessCode.REGISTRATION.getMessage()).build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + public void excelDownLoad(HttpServletResponse response){ + + // 리스트 다시 가져옴 + List whiteList = whiteListMapper.getWhiteList(); + + String sheetName = "Caliverse_whitelist"; + + String headerNames[] = new String[]{"Num","GUID","닉네임","반영상태","등록자(이메일주소)"}; + + String[][] bodyDatass = new String[whiteList.size()][5]; + for (int i = 0; i < whiteList.size(); i++) { + WhiteList entry = whiteList.get(i); + bodyDatass[i][0] = String.valueOf(entry.getRowNum()); + bodyDatass[i][1] = entry.getGuid(); + bodyDatass[i][2] = entry.getNickname(); + bodyDatass[i][3] = entry.getStatus().name(); + bodyDatass[i][4] = entry.getCreateBy(); + } + String outfileName = "Caliverse_whitelist"; + try { + excelUtils.excelDownload(sheetName, headerNames, bodyDatass ,outfileName, response); + }catch (IOException exception){ + logger.error(exception.getMessage()); + } + + } + @Transactional(transactionManager = "transactionManager") + // 승인 + public WhiteListResponse updateWhiteList(WhiteListRequest whiteListRequest){ + + whiteListRequest.getList().forEach( + item->{ + whiteListMapper.updateStatus(item.getId()); + } + ); + + return WhiteListResponse.builder() + .resultData(WhiteListResponse.ResultData.builder() + .message(SuccessCode.UPDATE.getMessage()).build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + @Transactional(transactionManager = "transactionManager") + public WhiteListResponse deleteWhiteList(WhiteListRequest whiteListRequest){ + Map map = new HashMap<>(); + whiteListRequest.getList().forEach( + item->{ + whiteListMapper.deleteWhiteList(item.getId()); + //로그 기록 + Map resMap = whiteListMapper.getGuidById(item.getId()); + map.put("adminId", CommonUtils.getAdmin().getId()); + map.put("name", CommonUtils.getAdmin().getName()); + map.put("mail", CommonUtils.getAdmin().getEmail()); + map.put("type", HISTORYTYPE.WHITELIST_DELETE); + JSONObject jsonObject = new JSONObject(); + jsonObject.put("guid",resMap.get("guid")); + jsonObject.put("name",resMap.get("nickname")); + map.put("content",jsonObject.toString()); + historyMapper.saveLog(map); + dynamoDBService.insertUpdateData(CommonUtils.objectToString(resMap.get("guid")),"isWhiteUser",false); + } + ); + + // 리스트 다시 가져옴 + List whiteList = whiteListMapper.getWhiteList(); + return WhiteListResponse.builder() + .resultData(WhiteListResponse.ResultData.builder() + .list(whiteList).message(SuccessCode.DELETE.getMessage()).build()) + .status(CommonCode.SUCCESS.getHttpStatus()) + .result(CommonCode.SUCCESS.getResult()) + .build(); + } + +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/DocAttributeHandler.java b/src/main/java/com/caliverse/admin/dynamodb/domain/DocAttributeHandler.java new file mode 100644 index 0000000..42754e5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/DocAttributeHandler.java @@ -0,0 +1,41 @@ +package com.caliverse.admin.dynamodb.domain; + +import com.caliverse.admin.dynamodb.domain.doc.DynamoDBDocBase; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; + +import java.lang.reflect.Method; + +public class DocAttributeHandler { + public static String getAttribFieldName(DynamoDBDocBase doc) { + try { + Method method = doc.getClass().getMethod("getAttribFieldName"); + return (String) method.invoke(doc); + } catch (Exception e) { + // getAttribFieldName 메서드가 없는 경우, 클래스명에서 유추 + String className = doc.getClass().getSimpleName(); + return className.replace("Doc", "Attrib"); + } + } + + public static Object getAttribValue(DynamoDBDocBase doc) { + try { + Method method = doc.getClass().getMethod("getAttribValue"); + return method.invoke(doc); + } catch (Exception e) { + return null; + } + } + + public static String findAttribAnnotationValue(DynamoDBDocBase doc) { + try { + Method method = doc.getClass().getMethod("getAttribValue"); + DynamoDbAttribute annotation = method.getAnnotation(DynamoDbAttribute.class); + if (annotation != null) { + return annotation.value(); + } + } catch (Exception e) { + // 무시 + } + return getAttribFieldName(doc); + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/AccountBaseAttrib.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/AccountBaseAttrib.java new file mode 100644 index 0000000..4461d57 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/AccountBaseAttrib.java @@ -0,0 +1,28 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import lombok.*; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@Getter +@Setter +@ToString(callSuper = true) +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public class AccountBaseAttrib extends DynamoDBAttribBase { + @JsonProperty("account_id") + private String accountId; + @JsonProperty("user_guid") + private String userGuid; + private String password; + @JsonProperty("account_type") + private String AccountType; + @JsonProperty("language_type") + private String languageType; + @JsonProperty("auth_amdin_level_type") + private String authAdminLevelType; +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/BuildingAttrib.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/BuildingAttrib.java new file mode 100644 index 0000000..4e45abb --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/BuildingAttrib.java @@ -0,0 +1,36 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import lombok.*; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@Getter +@Setter +@ToString(callSuper = true) +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public class BuildingAttrib extends DynamoDBAttribBase{ + @JsonProperty("building_guid") + private String buildingGuid; + + @JsonProperty("building_meta_id") + private Integer buildingMetaId; + + @JsonProperty("building_name") + private String buildingName; + + private String description; + + @JsonProperty("owner_user_guid") + private String ownerUserGuid; + + private String RentalCurrencyType; + + private Double RentalCurrencyAmount; + + private String IsRentalOpen; +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/CaliumStorageAttrib.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/CaliumStorageAttrib.java new file mode 100644 index 0000000..1f2162e --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/CaliumStorageAttrib.java @@ -0,0 +1,146 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import lombok.NoArgsConstructor; +import lombok.Setter; +import lombok.ToString; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@Setter +@ToString(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public class CaliumStorageAttrib { + @JsonProperty("calium_converter_storage") + private CaliumConverterStorage caliumConverterStorage; + + @JsonProperty("calium_exchanger_storage") + private CaliumExchangerStorage caliumExchangerStorage; + + @JsonProperty("calium_operator_storage") + private CaliumOperatorStorage caliumOperatorStorage; + + @JsonProperty("daily_epoch") + private Integer dailyEpoch; + + @JsonProperty("mis_epoch") + private Integer misEpoch; + + @JsonProperty("daily_pivot_date") + private String dailyPivotDate; + + @JsonProperty("daily_rollup_check_date") + private String dailyRollupCheckDate; + + @DynamoDbAttribute("calium_converter_storage") + public CaliumConverterStorage getCaliumConverterStorage() { + return caliumConverterStorage; + } + + @DynamoDbAttribute("calium_exchanger_storage") + public CaliumExchangerStorage getCaliumExchangerStorage() { + return caliumExchangerStorage; + } + + @DynamoDbAttribute("calium_operator_storage") + public CaliumOperatorStorage getCaliumOperatorStorage() { + return caliumOperatorStorage; + } + + @DynamoDbAttribute("daily_epoch") + public Integer getDailyEpoch() { + return dailyEpoch; + } + + @DynamoDbAttribute("mis_epoch") + public Integer getMisEpoch() { return misEpoch; } + + @DynamoDbAttribute("daily_pivot_date") + public String getDailyPivotDate() { return dailyPivotDate; } + + @DynamoDbAttribute("daily_rollup_check_date") + public String getDailyRollupCheckDate() { return dailyRollupCheckDate; } + + @Setter + @ToString + @NoArgsConstructor + @DynamoDbBean + @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) + public static class CaliumConverterStorage { + private Double converterCumulativeCalium; + private Double converterDailyConvertRate; + private Double converterDailyFillUpStandardCalium; + private String converterLastFillUpDate; + private Double converterTotalCalium; + + @DynamoDbAttribute("converter_cumulative_calium") + public Double getConverterCumulativeCalium() { + return converterCumulativeCalium; + } + + @DynamoDbAttribute("converter_daily_convert_rate") + public Double getConverterDailyConvertRate() { + return converterDailyConvertRate; + } + + @DynamoDbAttribute("converter_daily_fill_up_standard_calium") + public Double getConverterDailyFillUpStandardCalium() { + return converterDailyFillUpStandardCalium; + } + + @DynamoDbAttribute("converter_last_fill_up_date") + public String getConverterLastFillUpDate() { + return converterLastFillUpDate; + } + + @DynamoDbAttribute("converter_total_calium") + public Double getConverterTotalCalium() { + return converterTotalCalium; + } + } + + @Setter + @ToString + @NoArgsConstructor + @DynamoDbBean + @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) + public static class CaliumExchangerStorage { + private Integer exchangerDailyInflationRate; + + @DynamoDbAttribute("exchanger_daily_inflation_rate") + public Integer getExchangerDailyInflationRate() { + return exchangerDailyInflationRate; + } + } + + @Setter + @ToString + @NoArgsConstructor + @DynamoDbBean + @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) + public static class CaliumOperatorStorage { + private Double operatorTotalCalium; + private Double operatorCalium; + private String operatorCaliumFillUpDate; + + @DynamoDbAttribute("operator_calium") + public Double getOperatorCalium() { + return operatorCalium; + } + + @DynamoDbAttribute("operator_calium_fill_up_date") + public String getOperatorCaliumFillUpDate() { + return operatorCaliumFillUpDate; + } + + @DynamoDbAttribute("operator_total_calium") + public Double getOperatorTotalCalium() { + return operatorTotalCalium; + } + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/DynamoDBAttribBase.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/DynamoDBAttribBase.java new file mode 100644 index 0000000..35eb35e --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/DynamoDBAttribBase.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import lombok.Data; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@Data +@NoArgsConstructor +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public abstract class DynamoDBAttribBase { + //객체일때는 사용안하고 Json으로 Attrib이 생성될때만 사용(상속 안받는걸로) + @JsonProperty("attrib_type") + private String attribType; +} \ No newline at end of file diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/LandAttrib.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/LandAttrib.java new file mode 100644 index 0000000..d247aae --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/LandAttrib.java @@ -0,0 +1,27 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import lombok.*; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@Getter +@Setter +@ToString(callSuper = true) +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public class LandAttrib extends DynamoDBAttribBase{ + @JsonProperty("land_meta_id") + private Integer landMetaId; + + @JsonProperty("land_name") + private String landName; + + private String description; + + @JsonProperty("owner_user_guid") + private String ownerUserGuid; +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/LandAuctionActivityAttrib.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/LandAuctionActivityAttrib.java new file mode 100644 index 0000000..41f5a48 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/LandAuctionActivityAttrib.java @@ -0,0 +1,31 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import lombok.*; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@Setter +@ToString(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public class LandAuctionActivityAttrib { + @JsonProperty("land_meta_id") + private Integer landMetaId; + + @JsonProperty("auction_number") + private Integer auctionNumber; + + @DynamoDbAttribute("land_meta_id") + public Integer getLandMetaId() { + return landMetaId; + } + + @DynamoDbAttribute("auction_number") + public Integer getAuctionNumber() { + return auctionNumber; + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/LandAuctionHighestBidUserAttrib.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/LandAuctionHighestBidUserAttrib.java new file mode 100644 index 0000000..faf5c28 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/LandAuctionHighestBidUserAttrib.java @@ -0,0 +1,87 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import lombok.*; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@Setter +@ToString(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public class LandAuctionHighestBidUserAttrib { + @JsonProperty("land_meta_id") + private Integer landMetaId; + @JsonProperty("auction_number") + private Integer auctionNumber; + @JsonProperty("bid_currency_type") + private String bidCurrencyType; + @JsonProperty("highest_bid_price") + private Double highestBidPrice; + @JsonProperty("highest_user_guid") + private String highestBidUserGuid; + @JsonProperty("highest_user_nickname") + private String highestBidUserNickname; + @JsonProperty("normal_highest_bid_price") + private Double normalHighestBidPrice; + @JsonProperty("normal_highest_user_guid") + private String normalHighestBidUserGuid; + @JsonProperty("normal_highest_user_nickname") + private String normalHighestBidUserNickname; + @JsonProperty("highest_rank_version_time") + private String highestRankVersionTime; + + @DynamoDbAttribute("land_meta_id") + public Integer getLandMetaId() { + return landMetaId; + } + + @DynamoDbAttribute("auction_number") + public Integer getAuctionNumber() { + return auctionNumber; + } + + @DynamoDbAttribute("bid_currency_type") + public String getBidCurrencyType() { + return bidCurrencyType; + } + + @DynamoDbAttribute("highest_bid_price") + public Double getHighestBidPrice() { + return highestBidPrice; + } + + @DynamoDbAttribute("highest_user_guid") + public String getHighestBidUserGuid() { + return highestBidUserGuid; + } + + @DynamoDbAttribute("highest_user_nickname") + public String getHighestBidUserNickname() { + return highestBidUserNickname; + } + + @DynamoDbAttribute("normal_highest_bid_price") + public Double getNormalHighestBidPrice() { + return normalHighestBidPrice; + } + + @DynamoDbAttribute("normal_highest_user_guid") + public String getNormalHighestBidUserGuid() { + return normalHighestBidUserGuid; + } + + @DynamoDbAttribute("normal_highest_user_nickname") + public String getNormalHighestBidUserNickname() { + return normalHighestBidUserNickname; + } + + @DynamoDbAttribute("highest_rank_version_time") + public String getHighestRankVersionTime() { + return highestRankVersionTime; + } + +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/LandAuctionRegistryAttrib.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/LandAuctionRegistryAttrib.java new file mode 100644 index 0000000..0938822 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/LandAuctionRegistryAttrib.java @@ -0,0 +1,94 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import lombok.*; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@Setter +@ToString(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public class LandAuctionRegistryAttrib { + @JsonProperty("land_meta_id") + private Integer landMetaId; + @JsonProperty("auction_number") + private Integer auctionNumber; + @JsonProperty("auction_reservation_notice_start_time") + private String auctionReservationNoticeStartTime; + @JsonProperty("bid_currency_type") + private String bidCurrencyType; + @JsonProperty("auction_start_time") + private String auctionStartTime; + @JsonProperty("auction_end_time") + private String auctionEndTime; + @JsonProperty("bid_start_price") + private Double bidStartPrice; + @JsonProperty("is_cancel_auction") + private String isCancelAuction; + @JsonProperty("registered_version_time") + private String registeredVersionTime; + @JsonProperty("auction_state") + private String auctionState; + @JsonProperty("auction_result") + private String auctionResult; + @JsonProperty("process_version_time") + private String processVersionTime; + + @DynamoDbAttribute("land_meta_id") + public Integer getLandMetaId() { + return landMetaId; + } + + @DynamoDbAttribute("auction_number") + public Integer getAuctionNumber() { + return auctionNumber; + } + + @DynamoDbAttribute("auction_reservation_notice_start_time") + public String getAuctionReservationNoticeStartTime() { + return auctionReservationNoticeStartTime; + } + + @DynamoDbAttribute("bid_currency_type") + public String getBidCurrencyType() { return bidCurrencyType; } + + @DynamoDbAttribute("auction_start_time") + public String getAuctionStartTime() { + return auctionStartTime; + } + + @DynamoDbAttribute("auction_end_time") + public String getAuctionEndTime() { + return auctionEndTime; + } + + @DynamoDbAttribute("bid_start_price") + public Double getBidStartPrice() { + return bidStartPrice; + } + + @DynamoDbAttribute("is_cancel_auction") + public String getIsCancelAuction() { + return isCancelAuction; + } + + @DynamoDbAttribute("registered_version_time") + public String getRegisteredVersionTime() { + return registeredVersionTime; + } + + @DynamoDbAttribute("auction_state") + public String getAuctionState() { return auctionState; } + + @DynamoDbAttribute("auction_result") + public String getAuctionResult() { return auctionResult; } + + @DynamoDbAttribute("process_version_time") + public String getProcessVersionTime() { + return processVersionTime; + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/MoneyAttrib.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/MoneyAttrib.java new file mode 100644 index 0000000..0bb9dfc --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/MoneyAttrib.java @@ -0,0 +1,61 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import lombok.NoArgsConstructor; +import lombok.Setter; +import lombok.ToString; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@Setter +@ToString(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public class MoneyAttrib { + @JsonProperty("owner_guid") + private String ownerGuid; + + @JsonProperty("owner_entity_type") + private String ownerEntityType; + + private Double gold; + + private Double sapphire; + + private Double calium; + + private Double ruby; + + @DynamoDbAttribute("owner_guid") + public String getOwnerGuid() { + return ownerGuid; + } + + @DynamoDbAttribute("owner_entity_type") + public String getOwnerEntityType() { + return ownerEntityType; + } + + @DynamoDbAttribute("gold") + public Double getGold() { + return gold; + } + + @DynamoDbAttribute("sapphire") + public Double getSapphire() { + return sapphire; + } + + @DynamoDbAttribute("calium") + public Double getCalium() { + return calium; + } + + @DynamoDbAttribute("ruby") + public Double getRuby() { + return ruby; + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/OwnedBuildingAttrib.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/OwnedBuildingAttrib.java new file mode 100644 index 0000000..bbd74a2 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/OwnedBuildingAttrib.java @@ -0,0 +1,23 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import lombok.*; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@Getter +@Setter +@ToString(callSuper = true) +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public class OwnedBuildingAttrib extends DynamoDBAttribBase{ + + @JsonProperty("building_meta_id") + private Integer buildingMetaId; + + @JsonProperty("owned_type") + private Integer ownedType; +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/OwnedLandAttrib.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/OwnedLandAttrib.java new file mode 100644 index 0000000..6bf2656 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/OwnedLandAttrib.java @@ -0,0 +1,23 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import lombok.*; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@Getter +@Setter +@ToString(callSuper = true) +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public class OwnedLandAttrib extends DynamoDBAttribBase{ + + @JsonProperty("land_meta_id") + private Integer landMetaId; + + @JsonProperty("owned_type") + private Integer ownedType; +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/SystemMetaMailAttrib.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/SystemMetaMailAttrib.java new file mode 100644 index 0000000..15a00fc --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/SystemMetaMailAttrib.java @@ -0,0 +1,41 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.caliverse.admin.dynamodb.entity.MailItem; +import com.caliverse.admin.dynamodb.entity.SystemMessage; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import com.fasterxml.jackson.databind.node.ArrayNode; +import lombok.*; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +import java.util.List; + +@Getter +@Setter +@ToString(callSuper = true) +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public class SystemMetaMailAttrib extends DynamoDBAttribBase { + + @JsonProperty("mail_id") + private Integer mailId; + + @JsonProperty("sender_nickname") + private List senderNickName; + + private List title; + + private List text; + + @JsonProperty("start_time") + private String startTime; + + @JsonProperty("end_time") + private String endTime; + + @JsonProperty("item_list") + private List itemList; +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/UserNicknameRegistryAttrib.java b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/UserNicknameRegistryAttrib.java new file mode 100644 index 0000000..66f8273 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/atrrib/UserNicknameRegistryAttrib.java @@ -0,0 +1,25 @@ +package com.caliverse.admin.dynamodb.domain.atrrib; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.databind.annotation.JsonNaming; +import lombok.*; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@Getter +@Setter +@ToString(callSuper = true) +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +public class UserNicknameRegistryAttrib extends DynamoDBAttribBase { + + private String nickname; + + @JsonProperty("user_guid") + private String userGuid; + + @JsonProperty("account_id") + private String accountId; +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/BattleEventDoc.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/BattleEventDoc.java new file mode 100644 index 0000000..3a5d203 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/BattleEventDoc.java @@ -0,0 +1,29 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +public class BattleEventDoc extends DynamoDBDocBase { + private String systemMetaMailAttrib; + + public String getAttribFieldName() { + return "SystemMetaMailAttrib"; + } + + @DynamoDbAttribute("SystemMetaMailAttrib") + @JsonProperty("SystemMetaMailAttrib") + public String getAttribValue() { + return systemMetaMailAttrib; + } + + public void setAttribValue(String value) { + this.systemMetaMailAttrib = value; + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/BuildingDoc.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/BuildingDoc.java new file mode 100644 index 0000000..48da9cf --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/BuildingDoc.java @@ -0,0 +1,29 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +public class BuildingDoc extends DynamoDBDocBase { + private String buildingAttrib; + + public String getAttribFieldName() { + return "BuildingAttrib"; + } + + @DynamoDbAttribute("BuildingAttrib") + @JsonProperty("BuildingAttrib") + public String getAttribValue() { + return buildingAttrib; + } + + public void setAttribValue(String value) { + this.buildingAttrib = value; + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/CaliumStorageDoc.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/CaliumStorageDoc.java new file mode 100644 index 0000000..84026e7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/CaliumStorageDoc.java @@ -0,0 +1,30 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.caliverse.admin.dynamodb.domain.atrrib.CaliumStorageAttrib; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +public class CaliumStorageDoc extends DynamoDBDocBase { + private CaliumStorageAttrib caliumStorageAttrib; + + public String getAttribFieldName() { + return "CaliumStorageAttrib"; + } + + @DynamoDbAttribute("CaliumStorageAttrib") + @JsonProperty("CaliumStorageAttrib") + public CaliumStorageAttrib getAttribValue() { + return caliumStorageAttrib; + } + + public void setAttribValue(CaliumStorageAttrib value) { + this.caliumStorageAttrib = value; + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/DynamoDBDocBase.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/DynamoDBDocBase.java new file mode 100644 index 0000000..9f1e8e5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/DynamoDBDocBase.java @@ -0,0 +1,64 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbPartitionKey; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbSortKey; + +@Data +@NoArgsConstructor +@DynamoDbBean +public abstract class DynamoDBDocBase { + private String PK; // Partition Key + private String SK; // Sort Key + @JsonProperty("DocType") + private String docType; + @JsonProperty("CreatedDateTime") + private String createdDateTime; + @JsonProperty("UpdatedDateTime") + private String updatedDateTime; + @JsonProperty("DeletedDateTime") + private String deletedDateTime; + @JsonProperty("RestoredDateTime") + private String restoredDateTime; + + @DynamoDbPartitionKey + @DynamoDbAttribute("PK") + public String getPK() { + return PK; + } + + @DynamoDbSortKey + @DynamoDbAttribute("SK") + public String getSK() { + return SK; + } + + @DynamoDbAttribute("DocType") + public String getDocType() { + return docType; + } + + @DynamoDbAttribute("CreatedDateTime") + public String getCreatedDateTime() { + return createdDateTime; + } + + @DynamoDbAttribute("UpdatedDateTime") + public String getUpdatedDateTime() { + return updatedDateTime; + } + + @DynamoDbAttribute("DeletedDateTime") + public String getDeletedDateTime() { + return deletedDateTime; + } + + @DynamoDbAttribute("RestoredDateTime") + public String getRestoredDateTime() { + return restoredDateTime; + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/LandAuctionActivityDoc.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/LandAuctionActivityDoc.java new file mode 100644 index 0000000..34e06cc --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/LandAuctionActivityDoc.java @@ -0,0 +1,28 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionActivityAttrib; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +public class LandAuctionActivityDoc extends DynamoDBDocBase { + private LandAuctionActivityAttrib landAuctionActivityAttrib; + + public String getAttribFieldName() { + return "LandAuctionActivityAttrib"; + } + + @DynamoDbAttribute("LandAuctionActivityAttrib") + public LandAuctionActivityAttrib getAttribValue() { + return landAuctionActivityAttrib; + } + + public void setAttribValue(LandAuctionActivityAttrib value) { + this.landAuctionActivityAttrib = value; + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/LandAuctionHighestBidUserDoc.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/LandAuctionHighestBidUserDoc.java new file mode 100644 index 0000000..fcec221 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/LandAuctionHighestBidUserDoc.java @@ -0,0 +1,30 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionHighestBidUserAttrib; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +public class LandAuctionHighestBidUserDoc extends DynamoDBDocBase { + private LandAuctionHighestBidUserAttrib landAuctionHighestBidUserAttrib; + + public String getAttribFieldName() { + return "LandAuctionHighestBidUserAttrib"; + } + + @DynamoDbAttribute("LandAuctionHighestBidUserAttrib") + @JsonProperty("LandAuctionHighestBidUserAttrib") + public LandAuctionHighestBidUserAttrib getAttribValue() { + return landAuctionHighestBidUserAttrib; + } + + public void setAttribValue(LandAuctionHighestBidUserAttrib value) { + this.landAuctionHighestBidUserAttrib = value; + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/LandAuctionRegistryDoc.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/LandAuctionRegistryDoc.java new file mode 100644 index 0000000..6e9baba --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/LandAuctionRegistryDoc.java @@ -0,0 +1,30 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionRegistryAttrib; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +public class LandAuctionRegistryDoc extends DynamoDBDocBase { + private LandAuctionRegistryAttrib landAuctionRegistryAttrib; + + public String getAttribFieldName() { + return "LandAuctionRegistryAttrib"; + } + + @DynamoDbAttribute("LandAuctionRegistryAttrib") + @JsonProperty("LandAuctionRegistryAttrib") + public LandAuctionRegistryAttrib getAttribValue() { + return landAuctionRegistryAttrib; + } + + public void setAttribValue(LandAuctionRegistryAttrib value) { + this.landAuctionRegistryAttrib = value; + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/LandDoc.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/LandDoc.java new file mode 100644 index 0000000..7fa69e0 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/LandDoc.java @@ -0,0 +1,30 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.caliverse.admin.dynamodb.domain.atrrib.LandAttrib; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +public class LandDoc extends DynamoDBDocBase { + private String landAttrib; + + public String getAttribFieldName() { + return "LandAttrib"; + } + + @DynamoDbAttribute("LandAttrib") + @JsonProperty("LandAttrib") + public String getAttribValue() { + return landAttrib; + } + + public void setAttribValue(String value) { + this.landAttrib = value; + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/MoneyDoc.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/MoneyDoc.java new file mode 100644 index 0000000..899f806 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/MoneyDoc.java @@ -0,0 +1,28 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.caliverse.admin.dynamodb.domain.atrrib.MoneyAttrib; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +public class MoneyDoc extends DynamoDBDocBase { + private MoneyAttrib moneyAttrib; + + public String getAttribFieldName() { + return "MoneyAttrib"; + } + + @DynamoDbAttribute("MoneyAttrib") + public MoneyAttrib getAttribValue() { + return moneyAttrib; + } + + public void setAttribValue(MoneyAttrib value) { + this.moneyAttrib = value; + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/OwnedBuildingDoc.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/OwnedBuildingDoc.java new file mode 100644 index 0000000..219a000 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/OwnedBuildingDoc.java @@ -0,0 +1,29 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +public class OwnedBuildingDoc extends DynamoDBDocBase { + private String ownedBuildingAttrib; + + public String getAttribFieldName() { + return "OwnedBuildingAttrib"; + } + + @DynamoDbAttribute("OwnedBuildingAttrib") + @JsonProperty("OwnedBuildingAttrib") + public String getAttribValue() { + return ownedBuildingAttrib; + } + + public void setAttribValue(String value) { + this.ownedBuildingAttrib = value; + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/OwnedLandDoc.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/OwnedLandDoc.java new file mode 100644 index 0000000..71a0ef5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/OwnedLandDoc.java @@ -0,0 +1,29 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +public class OwnedLandDoc extends DynamoDBDocBase { + private String ownedLandAttrib; + + public String getAttribFieldName() { + return "OwnedLandAttrib"; + } + + @DynamoDbAttribute("OwnedLandAttrib") + @JsonProperty("OwnedLandAttrib") + public String getAttribValue() { + return ownedLandAttrib; + } + + public void setAttribValue(String value) { + this.ownedLandAttrib = value; + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/SystemMetaMailDoc.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/SystemMetaMailDoc.java new file mode 100644 index 0000000..255ff99 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/SystemMetaMailDoc.java @@ -0,0 +1,29 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +public class SystemMetaMailDoc extends DynamoDBDocBase { + private String systemMetaMailAttrib; + + public String getAttribFieldName() { + return "SystemMetaMailAttrib"; + } + + @DynamoDbAttribute("SystemMetaMailAttrib") + @JsonProperty("SystemMetaMailAttrib") + public String getAttribValue() { + return systemMetaMailAttrib; + } + + public void setAttribValue(String value) { + this.systemMetaMailAttrib = value; + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/domain/doc/UserNicknameRegistryDoc.java b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/UserNicknameRegistryDoc.java new file mode 100644 index 0000000..6cbdb4c --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/domain/doc/UserNicknameRegistryDoc.java @@ -0,0 +1,30 @@ +package com.caliverse.admin.dynamodb.domain.doc; + +import com.caliverse.admin.dynamodb.domain.atrrib.UserNicknameRegistryAttrib; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; +import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; + +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@DynamoDbBean +public class UserNicknameRegistryDoc extends DynamoDBDocBase { + private String userNicknameRegistryAttrib; + + public String getAttribFieldName() { + return "UserNicknameRegistryAttrib"; + } + + @DynamoDbAttribute("UserNicknameRegistryAttrib") + @JsonProperty("UserNicknameRegistryAttrib") + public String getAttribValue() { + return userNicknameRegistryAttrib; + } + + public void setAttribValue(String value) { + this.userNicknameRegistryAttrib = value; + } +} + diff --git a/src/main/java/com/caliverse/admin/dynamodb/entity/ELandAuctionResult.java b/src/main/java/com/caliverse/admin/dynamodb/entity/ELandAuctionResult.java new file mode 100644 index 0000000..cf90fdb --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/entity/ELandAuctionResult.java @@ -0,0 +1,35 @@ +package com.caliverse.admin.dynamodb.entity; + +import java.util.Arrays; + +public enum ELandAuctionResult { + + NONE(0, "None"), + SUCCESSED(1, "Successed"), // 낙찰 + FAILED(2, "Failed"), // 유찰 + CANCELED(3, "Canceled"); // 취소(비정상종료) + + private final int value; + private final String name; + + ELandAuctionResult(int value, String name) { + this.value = value; + this.name = name; + } + + public int getValue() { + return value; + } + + public String getName() { + return name; + } + + public static int getValueByName(String name) { + return Arrays.stream(values()) + .filter(type -> type.name.equalsIgnoreCase(name)) + .findFirst() + .map(ELandAuctionResult::getValue) + .orElse(NONE.value); + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/entity/ELandAuctionState.java b/src/main/java/com/caliverse/admin/dynamodb/entity/ELandAuctionState.java new file mode 100644 index 0000000..7cfff1d --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/entity/ELandAuctionState.java @@ -0,0 +1,36 @@ +package com.caliverse.admin.dynamodb.entity; + +import java.util.Arrays; + +public enum ELandAuctionState { + + NONE(0, "None"), + WAITING(1, "Waiting"), // 대기 + SCHEDULED(2, "Scheduled"), // 예약 + STARTED(3, "Started"), // 시작 + ENDED(4, "Ended"); // 종료 + + private final int value; + private final String name; + + ELandAuctionState(int value, String name) { + this.value = value; + this.name = name; + } + + public int getValue() { + return value; + } + + public String getName() { + return name; + } + + public static int getValueByName(String name) { + return Arrays.stream(values()) + .filter(type -> type.name.equalsIgnoreCase(name)) + .findFirst() + .map(ELandAuctionState::getValue) + .orElse(NONE.value); + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/entity/MailItem.java b/src/main/java/com/caliverse/admin/dynamodb/entity/MailItem.java new file mode 100644 index 0000000..7c70bdc --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/entity/MailItem.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.dynamodb.entity; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Builder; +import lombok.Data; + +@Data +@Builder +public class MailItem { + @JsonProperty("itemId") + private Integer itemId; + @JsonProperty("count") + private Integer count; + @JsonProperty("productId") + private Integer productId; + @JsonProperty("isRepeatProduct") + private boolean isRepeatProduct; +} \ No newline at end of file diff --git a/src/main/java/com/caliverse/admin/dynamodb/entity/SystemMessage.java b/src/main/java/com/caliverse/admin/dynamodb/entity/SystemMessage.java new file mode 100644 index 0000000..644a808 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/entity/SystemMessage.java @@ -0,0 +1,14 @@ +package com.caliverse.admin.dynamodb.entity; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Builder; +import lombok.Data; + +@Data +@Builder +public class SystemMessage { + @JsonProperty("LanguageType") + private Integer languageType; + @JsonProperty("Text") + private String text; +} \ No newline at end of file diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/BaseDynamoDBRepository.java b/src/main/java/com/caliverse/admin/dynamodb/repository/BaseDynamoDBRepository.java new file mode 100644 index 0000000..c0c3792 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/BaseDynamoDBRepository.java @@ -0,0 +1,75 @@ +package com.caliverse.admin.dynamodb.repository; + +import com.caliverse.admin.dynamodb.service.DynamoDBOperations; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.history.service.DynamodbHistoryLogService; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.RequiredArgsConstructor; +import software.amazon.awssdk.enhanced.dynamodb.Expression; +import software.amazon.awssdk.enhanced.dynamodb.Key; + +import java.util.List; + +@RequiredArgsConstructor +public abstract class BaseDynamoDBRepository implements DynamoDBRepository { + protected final DynamoDBOperations operations; + protected final Class entityClass; + protected final DynamodbHistoryLogService dynamodbHistoryLogService; + protected final ObjectMapper objectMapper; + + @Override + public void save(T item) { + operations.addPutItem(item, entityClass); + } + + @Override + public void saveWithCondition(T item, Expression condition) { + operations.addConditionPutItem(item, entityClass, condition); + } + + @Override + public void update(T item) { + operations.addUpdateItem(item, entityClass); + } + + @Override + public void updateWithCondition(T item, Expression condition) { + operations.addConditionUpdateItem(item, entityClass, condition); + } + + @Override + public void delete(Key key) { + operations.addDeleteItem(key, entityClass); + } + + @Override + public void deleteWithCondition(Key key, Expression condition) { + operations.addConditionDeleteItem(key, entityClass, condition); + } + + @Override + public T findById(Key key) { + return operations.getItem(key, entityClass); + } + + @Override + public List findAll(Key key) { + return operations.getItems(key, entityClass); + } + + protected T deepCopy(T source, Class valueType) { + try { + return objectMapper.readValue(objectMapper.writeValueAsString(source), valueType); + } catch (JsonProcessingException e) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_JSON_PARSE_ERROR.getMessage()); + } + } + + @Override + public List findByPrefix(String partitionKey, String sortKeyPrefix) { + return operations.getItemsByPrefix(partitionKey, sortKeyPrefix, entityClass); + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/BuildingRepository.java b/src/main/java/com/caliverse/admin/dynamodb/repository/BuildingRepository.java new file mode 100644 index 0000000..f94de76 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/BuildingRepository.java @@ -0,0 +1,11 @@ +package com.caliverse.admin.dynamodb.repository; + +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.dynamodb.domain.atrrib.BuildingAttrib; +import com.caliverse.admin.dynamodb.domain.doc.BuildingDoc; + +public interface BuildingRepository extends DynamoDBRepository { + BuildingAttrib findBuildingAttrib(Integer buildingId); + void insertBuilding(LandRequest landRequest); + void updateBuilding(LandRequest landRequest); +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/CaliumStorageRepository.java b/src/main/java/com/caliverse/admin/dynamodb/repository/CaliumStorageRepository.java new file mode 100644 index 0000000..0b1fed6 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/CaliumStorageRepository.java @@ -0,0 +1,8 @@ +package com.caliverse.admin.dynamodb.repository; + +import com.caliverse.admin.dynamodb.domain.doc.CaliumStorageDoc; + +public interface CaliumStorageRepository extends DynamoDBRepository { + double getTotal(); + void updateTotal(double caliumCnt); +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/DynamoDBRepository.java b/src/main/java/com/caliverse/admin/dynamodb/repository/DynamoDBRepository.java new file mode 100644 index 0000000..33cc137 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/DynamoDBRepository.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.dynamodb.repository; + +import software.amazon.awssdk.enhanced.dynamodb.Expression; +import software.amazon.awssdk.enhanced.dynamodb.Key; + +import java.util.List; + +public interface DynamoDBRepository { + void save(T item); + void saveWithCondition(T item, Expression condition); + void update(T item); + void updateWithCondition(T item, Expression condition); + void delete(Key key); + void deleteWithCondition(Key key, Expression condition); + T findById(Key key); + List findAll(Key key); + List findByPrefix(String partitionKey, String sortKeyPrefix); +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/CaliumStorageRepositoryImpl.java b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/CaliumStorageRepositoryImpl.java new file mode 100644 index 0000000..60e188e --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/CaliumStorageRepositoryImpl.java @@ -0,0 +1,98 @@ +package com.caliverse.admin.dynamodb.repository.Impl; + +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.dynamodb.domain.atrrib.CaliumStorageAttrib; +import com.caliverse.admin.dynamodb.domain.doc.CaliumStorageDoc; +import com.caliverse.admin.dynamodb.repository.BaseDynamoDBRepository; +import com.caliverse.admin.dynamodb.repository.CaliumStorageRepository; +import com.caliverse.admin.dynamodb.service.DynamoDBOperations; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.constants.DynamoDBConstants; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.history.service.DynamodbHistoryLogService; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Component; +import software.amazon.awssdk.enhanced.dynamodb.Key; + +import java.math.BigDecimal; +import java.math.RoundingMode; +import java.time.LocalDateTime; + +@Component +@Slf4j +public class CaliumStorageRepositoryImpl extends BaseDynamoDBRepository implements CaliumStorageRepository { + public CaliumStorageRepositoryImpl(DynamoDBOperations operations, DynamodbHistoryLogService dynamodbHistoryLogService, ObjectMapper objectMapper) { + super(operations, CaliumStorageDoc.class, dynamodbHistoryLogService, objectMapper); + } + + @Override + public double getTotal() { + double total = 0; + + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_CALIUM) + .sortValue(DynamoDBConstants.EMPTY) + .build(); + + CaliumStorageDoc caliumStorageDoc = findById(key); + + total = caliumStorageDoc.getAttribValue().getCaliumOperatorStorage().getOperatorTotalCalium(); + + log.info("calium total: {}", total); + return total; + } + + @Override + public void updateTotal(double caliumCnt) { + try{ + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_CALIUM) + .sortValue(DynamoDBConstants.EMPTY) + .build(); + + CaliumStorageDoc beforeDoc = findById(key); + + if (beforeDoc != null) { + CaliumStorageDoc afterDoc = deepCopy(beforeDoc, CaliumStorageDoc.class); + + CaliumStorageAttrib attrib = afterDoc.getAttribValue(); + + String now_data = CommonUtils.convertUTCDate(LocalDateTime.now()); + double currentTotal = attrib.getCaliumOperatorStorage().getOperatorTotalCalium();; + BigDecimal dclCurrentTotal = new BigDecimal(currentTotal); + BigDecimal dclCaliumCnt = new BigDecimal(caliumCnt); + BigDecimal result = dclCurrentTotal.multiply(dclCaliumCnt); +// double sumTotal = currentTotal + caliumCnt; // 부동소수점으로 오차가 발생할수 있다(..000000001) + result = result.setScale(2, RoundingMode.HALF_UP);; + log.info("updateTotal currentTotal: {}, newCaliumCnt: {}", currentTotal, caliumCnt); + + CaliumStorageAttrib.CaliumOperatorStorage caliumOperatorStorage = attrib.getCaliumOperatorStorage(); + caliumOperatorStorage.setOperatorTotalCalium(result.doubleValue()); + caliumOperatorStorage.setOperatorCaliumFillUpDate(now_data); + + attrib.setCaliumOperatorStorage(caliumOperatorStorage); + + afterDoc.setAttribValue(attrib); + afterDoc.setUpdatedDateTime(now_data); + + update(afterDoc); + + log.info("CaliumStorageDoc Calium Total Update Success: {}", objectMapper.writeValueAsString(afterDoc)); + + dynamodbHistoryLogService.updateHistoryLog( + HISTORYTYPE.CALIUM_TOTAL_UPDATE, + HISTORYTYPE.CALIUM_TOTAL_UPDATE.name(), + beforeDoc, + afterDoc, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + } + }catch (Exception e){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/LandAuctionActivityRepositoryImpl.java b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/LandAuctionActivityRepositoryImpl.java new file mode 100644 index 0000000..7638e09 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/LandAuctionActivityRepositoryImpl.java @@ -0,0 +1,118 @@ +package com.caliverse.admin.dynamodb.repository.Impl; + +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionActivityAttrib; +import com.caliverse.admin.dynamodb.domain.doc.LandAuctionActivityDoc; +import com.caliverse.admin.dynamodb.repository.BaseDynamoDBRepository; +import com.caliverse.admin.dynamodb.repository.LandAuctionActivityRepository; +import com.caliverse.admin.dynamodb.service.DynamoDBOperations; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.constants.DynamoDBConstants; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.history.service.DynamodbHistoryLogService; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Component; +import software.amazon.awssdk.enhanced.dynamodb.Key; + +import java.time.LocalDateTime; + +@Component +@Slf4j +public class LandAuctionActivityRepositoryImpl extends BaseDynamoDBRepository implements LandAuctionActivityRepository { + public LandAuctionActivityRepositoryImpl(DynamoDBOperations operations, DynamodbHistoryLogService dynamodbHistoryLogService, ObjectMapper objectMapper) { + super(operations, LandAuctionActivityDoc.class, dynamodbHistoryLogService, objectMapper); + } + + @Override + public void upsertActivity(LandRequest landRequest) { + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_LAND_AUCTION_ACTIVE) + .sortValue(landRequest.getLandId().toString()) + .build(); + + LandAuctionActivityDoc doc = findById(key); + + if (doc == null) { + insertLandAuctionActive(landRequest); + }else{ + updateLandAuctionActive(landRequest, doc); + } + } + + @Override + public int findAuctionNumber(Integer landId) { + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_LAND_AUCTION_ACTIVE) + .sortValue(landId.toString()) + .build(); + + LandAuctionActivityDoc doc = findById(key); + if(doc == null) return 0; + LandAuctionActivityAttrib attrib = doc.getAttribValue(); + + return attrib.getAuctionNumber(); + } + + private void insertLandAuctionActive(LandRequest landRequest){ + try { + LocalDateTime nowDate = LocalDateTime.now(); + + LandAuctionActivityAttrib attrib = new LandAuctionActivityAttrib(); + attrib.setLandMetaId(landRequest.getLandId()); + attrib.setAuctionNumber(landRequest.getAuctionSeq()); + + LandAuctionActivityDoc activityDoc = new LandAuctionActivityDoc(); + activityDoc.setPK(DynamoDBConstants.PK_KEY_LAND_AUCTION_ACTIVE); + activityDoc.setSK(landRequest.getLandId().toString()); + activityDoc.setDocType(DynamoDBConstants.DOC_LANDAUCTION_ACTIVE); + activityDoc.setAttribValue(attrib); + activityDoc.setCreatedDateTime(CommonUtils.convertUTCDate(nowDate)); + activityDoc.setUpdatedDateTime(CommonUtils.convertUTCDate(nowDate)); + + save(activityDoc); + + log.info("LandAuctionActivityDoc Insert Success: {}", objectMapper.writeValueAsString(activityDoc)); + + dynamodbHistoryLogService.insertHistoryLog( + HISTORYTYPE.LAND_AUCTION_ADD, + HISTORYTYPE.LAND_AUCTION_ADD.name(), + activityDoc, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + }catch (Exception e){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + private void updateLandAuctionActive(LandRequest landRequest, LandAuctionActivityDoc existingDoc){ + try { + LandAuctionActivityDoc afterDoc = deepCopy(existingDoc, LandAuctionActivityDoc.class); + + LandAuctionActivityAttrib attrib = afterDoc.getAttribValue(); + attrib.setAuctionNumber(landRequest.getAuctionSeq()); + + afterDoc.setAttribValue(attrib); + afterDoc.setUpdatedDateTime(CommonUtils.convertUTCDate(LocalDateTime.now())); + + update(afterDoc); + + log.info("LandAuctionActivityDoc Update Success: {}", objectMapper.writeValueAsString(afterDoc)); + + dynamodbHistoryLogService.updateHistoryLog( + HISTORYTYPE.LAND_AUCTION_ADD, + HISTORYTYPE.LAND_AUCTION_ADD.name(), + existingDoc, + afterDoc, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + }catch (Exception e){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/LandAuctionHighestBidUserRepositoryImpl.java b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/LandAuctionHighestBidUserRepositoryImpl.java new file mode 100644 index 0000000..82b3a60 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/LandAuctionHighestBidUserRepositoryImpl.java @@ -0,0 +1,89 @@ +package com.caliverse.admin.dynamodb.repository.Impl; + +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionHighestBidUserAttrib; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionRegistryAttrib; +import com.caliverse.admin.dynamodb.domain.doc.LandAuctionHighestBidUserDoc; +import com.caliverse.admin.dynamodb.domain.doc.LandAuctionRegistryDoc; +import com.caliverse.admin.dynamodb.repository.BaseDynamoDBRepository; +import com.caliverse.admin.dynamodb.repository.LandAuctionHighestBidUserRepository; +import com.caliverse.admin.dynamodb.service.DynamoDBOperations; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.constants.CommonConstants; +import com.caliverse.admin.global.common.constants.DynamoDBConstants; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.history.service.DynamodbHistoryLogService; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Component; +import software.amazon.awssdk.enhanced.dynamodb.Key; + +import java.time.LocalDateTime; + +@Component +@Slf4j +public class LandAuctionHighestBidUserRepositoryImpl extends BaseDynamoDBRepository implements LandAuctionHighestBidUserRepository { + public LandAuctionHighestBidUserRepositoryImpl(DynamoDBOperations operations, DynamodbHistoryLogService dynamodbHistoryLogService, ObjectMapper objectMapper) { + super(operations, LandAuctionHighestBidUserDoc.class, dynamodbHistoryLogService, objectMapper); + } + + @Override + public LandAuctionHighestBidUserAttrib findHighestBidUserAttrib(Integer landId, Integer auctionSeq) { + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_LAND_AUCTION_HIGHEST_USER) + .sortValue(String.format("%s#%s", landId, auctionSeq)) + .build(); + + LandAuctionHighestBidUserDoc doc = findById(key); + return doc != null ? doc.getAttribValue() : null; + } + + @Override + public void insertHighestBidUser(LandRequest landRequest) { + try { + LocalDateTime nowDate = LocalDateTime.now(); + + LandAuctionHighestBidUserAttrib attrib = new LandAuctionHighestBidUserAttrib(); + attrib.setLandMetaId(landRequest.getLandId()); + attrib.setAuctionNumber(landRequest.getAuctionSeq()); + attrib.setBidCurrencyType(landRequest.getCurrencyType()); + attrib.setHighestBidPrice((double) 0); + attrib.setHighestBidUserGuid(""); + attrib.setHighestBidUserNickname(""); + attrib.setNormalHighestBidPrice((double) 0); + attrib.setNormalHighestBidUserGuid(""); + attrib.setNormalHighestBidUserNickname(""); + attrib.setHighestRankVersionTime(DynamoDBConstants.MIN_DATE); + + String sk = String.format("%s#%s", landRequest.getLandId(), landRequest.getAuctionSeq()); + + LandAuctionHighestBidUserDoc registry = new LandAuctionHighestBidUserDoc(); + registry.setPK(DynamoDBConstants.PK_KEY_LAND_AUCTION_HIGHEST_USER); + registry.setSK(sk); + registry.setDocType(DynamoDBConstants.DOC_LANDAUCTION_HIGHEST_USER); + registry.setAttribValue(attrib); + registry.setCreatedDateTime(CommonUtils.convertUTCDate(nowDate)); + registry.setUpdatedDateTime(CommonUtils.convertUTCDate(nowDate)); + registry.setDeletedDateTime(DynamoDBConstants.MIN_DATE); + registry.setRestoredDateTime(DynamoDBConstants.MIN_DATE); + + log.info("LandAuctionRegistryDoc Insert Success: {}", objectMapper.writeValueAsString(registry)); + + dynamodbHistoryLogService.insertHistoryLog( + HISTORYTYPE.LAND_AUCTION_ADD, + HISTORYTYPE.LAND_AUCTION_ADD.name(), + registry, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + + save(registry); + }catch (Exception e){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/LandAuctionRegistryRepositoryImpl.java b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/LandAuctionRegistryRepositoryImpl.java new file mode 100644 index 0000000..89b43b7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/LandAuctionRegistryRepositoryImpl.java @@ -0,0 +1,191 @@ +package com.caliverse.admin.dynamodb.repository.Impl; + +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionRegistryAttrib; +import com.caliverse.admin.dynamodb.domain.doc.LandAuctionRegistryDoc; +import com.caliverse.admin.dynamodb.entity.ELandAuctionResult; +import com.caliverse.admin.dynamodb.repository.BaseDynamoDBRepository; +import com.caliverse.admin.dynamodb.repository.LandAuctionRegistryRepository; +import com.caliverse.admin.dynamodb.service.DynamoDBOperations; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.constants.CommonConstants; +import com.caliverse.admin.global.common.constants.DynamoDBConstants; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.history.service.DynamodbHistoryLogService; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Component; +import software.amazon.awssdk.enhanced.dynamodb.Key; + +import java.time.LocalDateTime; +import java.util.List; + +@Component +@Slf4j +public class LandAuctionRegistryRepositoryImpl extends BaseDynamoDBRepository implements LandAuctionRegistryRepository { + + public LandAuctionRegistryRepositoryImpl(DynamoDBOperations operations, DynamodbHistoryLogService historyLogService, ObjectMapper objectMapper) { + super(operations, LandAuctionRegistryDoc.class, historyLogService, objectMapper); + } + + @Override + public int findAuctionNumber(Integer landId) { + List docs = findByPrefix( + DynamoDBConstants.PK_KEY_LAND_AUCTION, + landId.toString() + ); + + if (docs.isEmpty()) return 0; + + LandAuctionRegistryDoc latestDoc = docs.stream().min((doc1, doc2) -> doc2.getSK().compareTo(doc1.getSK())) + .orElse(null); + + if(latestDoc == null) return 0; + + LandAuctionRegistryAttrib attrib = latestDoc.getAttribValue(); + + return attrib.getAuctionNumber(); + } + + @Override + public LandAuctionRegistryAttrib findRegistryAttrib(Integer landId, Integer auctionSeq) { + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_LAND_AUCTION) + .sortValue(String.format("%s#%s", landId, auctionSeq)) + .build(); + + LandAuctionRegistryDoc doc = findById(key); + return doc != null ? doc.getAttribValue() : null; + } + + @Override + public void insertAuction(LandRequest landRequest) { + try { + LocalDateTime nowDate = LocalDateTime.now(); + + LandAuctionRegistryAttrib attrib = new LandAuctionRegistryAttrib(); + attrib.setLandMetaId(landRequest.getLandId()); + attrib.setAuctionNumber(landRequest.getAuctionSeq()); + attrib.setAuctionReservationNoticeStartTime(CommonUtils.convertUTCDate(landRequest.getResvStartDt())); + attrib.setBidCurrencyType(landRequest.getCurrencyType()); + attrib.setAuctionStartTime(CommonUtils.convertUTCDate(landRequest.getAuctionStartDt())); + attrib.setAuctionEndTime(CommonUtils.convertUTCDate(landRequest.getAuctionEndDt())); + attrib.setBidStartPrice(landRequest.getStartPrice()); + attrib.setIsCancelAuction(CommonConstants.FALSE); + attrib.setAuctionState(CommonConstants.NONE); + attrib.setAuctionResult(CommonConstants.NONE); + attrib.setRegisteredVersionTime(CommonUtils.convertUTCDate(nowDate)); + attrib.setProcessVersionTime(DynamoDBConstants.MIN_DATE); + + String sk = String.format("%s#%s", landRequest.getLandId(), landRequest.getAuctionSeq()); + + LandAuctionRegistryDoc registry = new LandAuctionRegistryDoc(); + registry.setPK(DynamoDBConstants.PK_KEY_LAND_AUCTION); + registry.setSK(sk); + registry.setDocType(DynamoDBConstants.DOC_LANDAUCTION); + registry.setAttribValue(attrib); + registry.setCreatedDateTime(CommonUtils.convertUTCDate(nowDate)); + registry.setUpdatedDateTime(CommonUtils.convertUTCDate(nowDate)); + registry.setDeletedDateTime(DynamoDBConstants.MIN_DATE); + registry.setRestoredDateTime(DynamoDBConstants.MIN_DATE); + + log.info("LandAuctionRegistryDoc Insert Success: {}", objectMapper.writeValueAsString(registry)); + + dynamodbHistoryLogService.insertHistoryLog( + HISTORYTYPE.LAND_AUCTION_ADD, + HISTORYTYPE.LAND_AUCTION_ADD.name(), + registry, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + + save(registry); + }catch (Exception e){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + @Override + public void updateAuction(LandRequest landRequest) { + try { + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_LAND_AUCTION) + .sortValue(String.format("%s#%s", landRequest.getLandId(), landRequest.getAuctionSeq())) + .build(); + + LandAuctionRegistryDoc beforeDoc = findById(key); + + if (beforeDoc != null) { + LandAuctionRegistryDoc afterDoc = deepCopy(beforeDoc, LandAuctionRegistryDoc.class); + + LandAuctionRegistryAttrib attrib = afterDoc.getAttribValue(); + attrib.setAuctionReservationNoticeStartTime(CommonUtils.convertUTCDate(landRequest.getResvStartDt())); + attrib.setAuctionStartTime(CommonUtils.convertUTCDate(landRequest.getAuctionStartDt())); + attrib.setAuctionEndTime(CommonUtils.convertUTCDate(landRequest.getAuctionEndDt())); + attrib.setBidStartPrice(landRequest.getStartPrice()); + attrib.setRegisteredVersionTime(CommonUtils.convertUTCDate(LocalDateTime.now())); + + afterDoc.setAttribValue(attrib); + afterDoc.setUpdatedDateTime(CommonUtils.convertUTCDate(LocalDateTime.now())); + + update(afterDoc); + + log.info("LandAuctionRegistryDoc Update Success: {}", objectMapper.writeValueAsString(afterDoc)); + + dynamodbHistoryLogService.updateHistoryLog( + HISTORYTYPE.LAND_AUCTION_UPDATE, + HISTORYTYPE.LAND_AUCTION_UPDATE.name(), + beforeDoc, + afterDoc, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + } + }catch (Exception e){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + @Override + public void cancelAuction(Integer landId, Integer auctionSeq) { + try { + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_LAND_AUCTION) + .sortValue(String.format("%s#%s", landId, auctionSeq)) + .build(); + + LandAuctionRegistryDoc beforeDoc = findById(key); + + if (beforeDoc != null) { + LandAuctionRegistryDoc afterDoc = deepCopy(beforeDoc, LandAuctionRegistryDoc.class); + + LandAuctionRegistryAttrib attrib = afterDoc.getAttribValue(); + attrib.setIsCancelAuction(CommonConstants.TRUE); + attrib.setAuctionResult(ELandAuctionResult.CANCELED.getName()); + attrib.setRegisteredVersionTime(CommonUtils.convertUTCDate(LocalDateTime.now())); + + afterDoc.setAttribValue(attrib); + afterDoc.setUpdatedDateTime(CommonUtils.convertUTCDate(LocalDateTime.now())); + + update(afterDoc); + + log.info("LandAuctionRegistryDoc Update Success: {}", objectMapper.writeValueAsString(afterDoc)); + + dynamodbHistoryLogService.updateHistoryLog( + HISTORYTYPE.LAND_AUCTION_UPDATE, + HISTORYTYPE.LAND_AUCTION_UPDATE.name(), + beforeDoc, + afterDoc, + CommonUtils.getAdmin().getEmail(), + CommonUtils.getClientIp() + ); + } + }catch (Exception e){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/LandRepositoryImpl.java b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/LandRepositoryImpl.java new file mode 100644 index 0000000..8e76cae --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/LandRepositoryImpl.java @@ -0,0 +1,94 @@ +package com.caliverse.admin.dynamodb.repository.Impl; + +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAttrib; +import com.caliverse.admin.dynamodb.domain.doc.LandDoc; +import com.caliverse.admin.dynamodb.repository.BaseDynamoDBRepository; +import com.caliverse.admin.dynamodb.repository.LandRepository; +import com.caliverse.admin.dynamodb.service.DynamoDBOperations; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.constants.DynamoDBConstants; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.history.service.DynamodbHistoryLogService; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Component; +import software.amazon.awssdk.enhanced.dynamodb.Key; + +import java.time.LocalDateTime; + +@Component +@Slf4j +public class LandRepositoryImpl extends BaseDynamoDBRepository implements LandRepository { + public LandRepositoryImpl(DynamoDBOperations operations, DynamodbHistoryLogService dynamodbHistoryLogService, ObjectMapper objectMapper) { + super(operations, LandDoc.class, dynamodbHistoryLogService, objectMapper); + } + + @Override + public LandAttrib findLandAttrib(Integer landId) { + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_LAND + landId) + .sortValue(DynamoDBConstants.EMPTY) + .build(); + + LandDoc doc = findById(key); + if (doc == null) return null; + String attribJson = doc.getAttribValue(); + try { + return objectMapper.readValue(attribJson, LandAttrib.class); + } catch (JsonProcessingException e) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.DYNAMODB_JSON_PARSE_ERROR.getMessage()); + } + } + + @Override + public void insertLand(LandRequest landRequest) { + try { + LocalDateTime nowDate = LocalDateTime.now(); + +// String pk = +// +// LandAttrib attrib = new LandAttrib(); +// attrib.setLandName(); +// attrib.setMailId(event.getId().intValue()); +// attrib.setStartTime(convertUTCDate(event.getStartDt())); +// attrib.setEndTime(convertUTCDate(event.getEndDt())); +// attrib.setSenderNickName(createSystemMessages(event.getMailList(), DynamodbUtil::getSenderByLanguage)); +// attrib.setTitle(createSystemMessages(event.getMailList(), Message::getTitle)); +// attrib.setText(createSystemMessages(event.getMailList(), Message::getContent)); +// attrib.setItemList(createMailItems(event.getItemList())); +// +// LandDoc doc = new LandDoc(); +// doc.setPK(DynamoDBConstants.PK_KEY_LAND + landRequest.getLandId()); +// doc.setSK(String.valueOf(event.getId())); +// doc.setDocType(DynamoDBConstants.DOC_SYSTEMMAIL); +// doc.setAttribValue(objectMapper.writeValueAsString(attrib)); +// doc.setCreatedDateTime(convertUTCDate(nowDate)); +// doc.setUpdatedDateTime(convertUTCDate(nowDate)); +// doc.setDeletedDateTime(DynamoDBConstants.MIN_DATE); +// doc.setRestoredDateTime(DynamoDBConstants.MIN_DATE); +// +// save(doc); +// +// dynamodbHistoryLogService.insertHistoryLog( +// HISTORYTYPE.EVENT_ADD, +// HISTORYTYPE.EVENT_ADD.name(), +// doc, +// CommonUtils.getAdmin().getEmail(), +// CommonUtils.getClientIp() +// ); + + }catch (Exception e){ + log.error("insert Error: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + @Override + public void updateLand(LandRequest landRequest) { + + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/MoneyRepositoryImpl.java b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/MoneyRepositoryImpl.java new file mode 100644 index 0000000..9a876c6 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/MoneyRepositoryImpl.java @@ -0,0 +1,32 @@ +package com.caliverse.admin.dynamodb.repository.Impl; + +import com.caliverse.admin.dynamodb.domain.atrrib.MoneyAttrib; +import com.caliverse.admin.dynamodb.domain.doc.MoneyDoc; +import com.caliverse.admin.dynamodb.repository.BaseDynamoDBRepository; +import com.caliverse.admin.dynamodb.repository.MoneyRepository; +import com.caliverse.admin.dynamodb.service.DynamoDBOperations; +import com.caliverse.admin.global.common.constants.DynamoDBConstants; +import com.caliverse.admin.history.service.DynamodbHistoryLogService; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Component; +import software.amazon.awssdk.enhanced.dynamodb.Key; + +@Component +@Slf4j +public class MoneyRepositoryImpl extends BaseDynamoDBRepository implements MoneyRepository { + public MoneyRepositoryImpl(DynamoDBOperations operations, DynamodbHistoryLogService dynamodbHistoryLogService, ObjectMapper objectMapper) { + super(operations, MoneyDoc.class, dynamodbHistoryLogService, objectMapper); + } + + public MoneyAttrib findAttrib(String guid) { + Key key = Key.builder() + .partitionValue(String.format("%s%s",DynamoDBConstants.PK_KEY_MONEY, guid)) + .sortValue(DynamoDBConstants.EMPTY) + .build(); + + MoneyDoc doc = findById(key); + return doc != null ? doc.getAttribValue() : null; + } + +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/SystemMetaMailRepositoryImpl.java b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/SystemMetaMailRepositoryImpl.java new file mode 100644 index 0000000..8b27d94 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/SystemMetaMailRepositoryImpl.java @@ -0,0 +1,76 @@ +package com.caliverse.admin.dynamodb.repository.Impl; + +import com.caliverse.admin.domain.entity.Event; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.domain.entity.Message; +import com.caliverse.admin.dynamodb.domain.atrrib.SystemMetaMailAttrib; +import com.caliverse.admin.dynamodb.domain.doc.SystemMetaMailDoc; +import com.caliverse.admin.dynamodb.repository.BaseDynamoDBRepository; +import com.caliverse.admin.dynamodb.repository.SystemMetaMailRepository; +import com.caliverse.admin.dynamodb.service.DynamoDBOperations; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.constants.CommonConstants; +import com.caliverse.admin.global.common.constants.DynamoDBConstants; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.global.common.utils.DynamodbUtil; +import com.caliverse.admin.history.service.DynamodbHistoryLogService; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Component; + +import java.time.LocalDateTime; + +import static com.caliverse.admin.global.common.utils.CommonUtils.convertUTCDate; +import static com.caliverse.admin.global.common.utils.DynamodbUtil.createMailItems; +import static com.caliverse.admin.global.common.utils.DynamodbUtil.createSystemMessages; + +@Component +@Slf4j +public class SystemMetaMailRepositoryImpl extends BaseDynamoDBRepository implements SystemMetaMailRepository { + public SystemMetaMailRepositoryImpl(DynamoDBOperations operations, DynamodbHistoryLogService dynamodbHistoryLogService, ObjectMapper objectMapper) { + super(operations, SystemMetaMailDoc.class, dynamodbHistoryLogService, objectMapper); + } + + @Override + public void insert(Event event) { + try { + LocalDateTime nowDate = LocalDateTime.now(); + + SystemMetaMailAttrib attrib = new SystemMetaMailAttrib(); + attrib.setAttribType(DynamoDBConstants.ATTRIB_SYSTEMMAIL); + attrib.setMailId(event.getId().intValue()); + attrib.setStartTime(convertUTCDate(event.getStartDt())); + attrib.setEndTime(convertUTCDate(event.getEndDt())); + attrib.setSenderNickName(createSystemMessages(event.getMailList(), DynamodbUtil::getSenderByLanguage)); + attrib.setTitle(createSystemMessages(event.getMailList(), Message::getTitle)); + attrib.setText(createSystemMessages(event.getMailList(), Message::getContent)); + attrib.setItemList(createMailItems(event.getItemList())); + + SystemMetaMailDoc doc = new SystemMetaMailDoc(); + doc.setPK(DynamoDBConstants.PK_KEY_SYSTEM_MAIL); + doc.setSK(String.valueOf(event.getId())); + doc.setDocType(DynamoDBConstants.DOC_SYSTEMMAIL); + doc.setAttribValue(objectMapper.writeValueAsString(attrib)); + doc.setCreatedDateTime(convertUTCDate(nowDate)); + doc.setUpdatedDateTime(convertUTCDate(nowDate)); + doc.setDeletedDateTime(DynamoDBConstants.MIN_DATE); + doc.setRestoredDateTime(DynamoDBConstants.MIN_DATE); + + save(doc); + + dynamodbHistoryLogService.insertHistoryLog( + HISTORYTYPE.EVENT_ADD, + HISTORYTYPE.EVENT_ADD.name(), + doc, + CommonConstants.SCHEDULE, + "" + ); + + }catch (Exception e){ + log.error("insert Error: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/UserNicknameRegistryRepositoryImpl.java b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/UserNicknameRegistryRepositoryImpl.java new file mode 100644 index 0000000..a4a672c --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/Impl/UserNicknameRegistryRepositoryImpl.java @@ -0,0 +1,74 @@ +package com.caliverse.admin.dynamodb.repository.Impl; + +import com.caliverse.admin.dynamodb.domain.atrrib.UserNicknameRegistryAttrib; +import com.caliverse.admin.dynamodb.domain.doc.UserNicknameRegistryDoc; +import com.caliverse.admin.dynamodb.repository.BaseDynamoDBRepository; +import com.caliverse.admin.dynamodb.repository.UserNicknameRegistryRepository; +import com.caliverse.admin.dynamodb.service.DynamoDBOperations; +import com.caliverse.admin.global.common.constants.DynamoDBConstants; +import com.caliverse.admin.history.service.DynamodbHistoryLogService; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Component; +import software.amazon.awssdk.enhanced.dynamodb.Key; + +import java.util.List; +import java.util.Objects; +import java.util.stream.Collectors; + +@Component +@Slf4j +public class UserNicknameRegistryRepositoryImpl extends BaseDynamoDBRepository implements UserNicknameRegistryRepository { + public UserNicknameRegistryRepositoryImpl(DynamoDBOperations operations, DynamodbHistoryLogService dynamodbHistoryLogService, ObjectMapper objectMapper) { + super(operations, UserNicknameRegistryDoc.class, dynamodbHistoryLogService, objectMapper); + } + + @Override + public List findAllNicknameByGuid() { + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_USER_NICKNAME_REGISTRY) + .build(); + + List doc = findAll(key); + + return doc.stream() + .map(UserNicknameRegistryDoc::getAttribValue) + .map(attribJson -> { + try { + JsonNode jsonNode = objectMapper.readTree(attribJson); + UserNicknameRegistryAttrib attrib = objectMapper.convertValue(jsonNode, UserNicknameRegistryAttrib.class); + return attrib.getUserGuid(); + } catch (JsonProcessingException e) { + log.error("JSON parsing failed: {}", e.getMessage()); + return null; + } + }) + .filter(Objects::nonNull) + .collect(Collectors.toList()); + } + + @Override + public List findAllAttrib() { + Key key = Key.builder() + .partitionValue(DynamoDBConstants.PK_KEY_USER_NICKNAME_REGISTRY) + .build(); + + List doc = findAll(key); + + return doc.stream() + .map(UserNicknameRegistryDoc::getAttribValue) + .map(attribJson -> { + try { + JsonNode jsonNode = objectMapper.readTree(attribJson); + return objectMapper.convertValue(jsonNode, UserNicknameRegistryAttrib.class); + } catch (JsonProcessingException e) { + log.error("JSON parsing failed: {}", e.getMessage()); + return null; + } + }) + .filter(Objects::nonNull) + .collect(Collectors.toList()); + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/LandAuctionActivityRepository.java b/src/main/java/com/caliverse/admin/dynamodb/repository/LandAuctionActivityRepository.java new file mode 100644 index 0000000..a7bf02e --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/LandAuctionActivityRepository.java @@ -0,0 +1,9 @@ +package com.caliverse.admin.dynamodb.repository; + +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.dynamodb.domain.doc.LandAuctionActivityDoc; + +public interface LandAuctionActivityRepository extends DynamoDBRepository { + void upsertActivity(LandRequest landRequest); + int findAuctionNumber(Integer landId); +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/LandAuctionHighestBidUserRepository.java b/src/main/java/com/caliverse/admin/dynamodb/repository/LandAuctionHighestBidUserRepository.java new file mode 100644 index 0000000..d131150 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/LandAuctionHighestBidUserRepository.java @@ -0,0 +1,10 @@ +package com.caliverse.admin.dynamodb.repository; + +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionHighestBidUserAttrib; +import com.caliverse.admin.dynamodb.domain.doc.LandAuctionHighestBidUserDoc; + +public interface LandAuctionHighestBidUserRepository extends DynamoDBRepository { + LandAuctionHighestBidUserAttrib findHighestBidUserAttrib(Integer landId, Integer auctionSeq); + void insertHighestBidUser(LandRequest landRequest); +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/LandAuctionRegistryRepository.java b/src/main/java/com/caliverse/admin/dynamodb/repository/LandAuctionRegistryRepository.java new file mode 100644 index 0000000..2a9d5e1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/LandAuctionRegistryRepository.java @@ -0,0 +1,13 @@ +package com.caliverse.admin.dynamodb.repository; + +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionRegistryAttrib; +import com.caliverse.admin.dynamodb.domain.doc.LandAuctionRegistryDoc; + +public interface LandAuctionRegistryRepository extends DynamoDBRepository { + LandAuctionRegistryAttrib findRegistryAttrib(Integer landId, Integer auctionSeq); + void cancelAuction(Integer landId, Integer auctionSeq); + void insertAuction(LandRequest landRequest); + void updateAuction(LandRequest landRequest); + int findAuctionNumber(Integer landId); +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/LandRepository.java b/src/main/java/com/caliverse/admin/dynamodb/repository/LandRepository.java new file mode 100644 index 0000000..a51114b --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/LandRepository.java @@ -0,0 +1,11 @@ +package com.caliverse.admin.dynamodb.repository; + +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAttrib; +import com.caliverse.admin.dynamodb.domain.doc.LandDoc; + +public interface LandRepository extends DynamoDBRepository { + LandAttrib findLandAttrib(Integer landId); + void insertLand(LandRequest landRequest); + void updateLand(LandRequest landRequest); +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/MoneyRepository.java b/src/main/java/com/caliverse/admin/dynamodb/repository/MoneyRepository.java new file mode 100644 index 0000000..02bdcb5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/MoneyRepository.java @@ -0,0 +1,8 @@ +package com.caliverse.admin.dynamodb.repository; + +import com.caliverse.admin.dynamodb.domain.atrrib.MoneyAttrib; +import com.caliverse.admin.dynamodb.domain.doc.MoneyDoc; + +public interface MoneyRepository extends DynamoDBRepository { + MoneyAttrib findAttrib(String guid); +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/SystemMetaMailRepository.java b/src/main/java/com/caliverse/admin/dynamodb/repository/SystemMetaMailRepository.java new file mode 100644 index 0000000..65b5b01 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/SystemMetaMailRepository.java @@ -0,0 +1,12 @@ +package com.caliverse.admin.dynamodb.repository; + +import com.caliverse.admin.domain.entity.Event; +import com.caliverse.admin.domain.entity.Item; +import com.caliverse.admin.domain.entity.Message; +import com.caliverse.admin.dynamodb.domain.doc.SystemMetaMailDoc; + +import java.util.List; + +public interface SystemMetaMailRepository extends DynamoDBRepository { + void insert(Event event); +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/repository/UserNicknameRegistryRepository.java b/src/main/java/com/caliverse/admin/dynamodb/repository/UserNicknameRegistryRepository.java new file mode 100644 index 0000000..1d8eb23 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/repository/UserNicknameRegistryRepository.java @@ -0,0 +1,11 @@ +package com.caliverse.admin.dynamodb.repository; + +import com.caliverse.admin.dynamodb.domain.atrrib.UserNicknameRegistryAttrib; +import com.caliverse.admin.dynamodb.domain.doc.UserNicknameRegistryDoc; + +import java.util.List; + +public interface UserNicknameRegistryRepository extends DynamoDBRepository { + List findAllNicknameByGuid(); + List findAllAttrib(); +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/service/DynamoDBOperations.java b/src/main/java/com/caliverse/admin/dynamodb/service/DynamoDBOperations.java new file mode 100644 index 0000000..b8683b2 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/service/DynamoDBOperations.java @@ -0,0 +1,230 @@ +package com.caliverse.admin.dynamodb.service; + +import com.caliverse.admin.global.component.transaction.DynamoDBTransactionContext; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Component; +import software.amazon.awssdk.enhanced.dynamodb.*; +import software.amazon.awssdk.enhanced.dynamodb.model.*; +import software.amazon.awssdk.services.dynamodb.model.AttributeValue; + +import java.lang.reflect.Method; +import java.time.LocalDateTime; +import java.util.List; + +@Component +@Slf4j +@RequiredArgsConstructor +public class DynamoDBOperations { + private final DynamoDbEnhancedClient enhancedClient; + @Value("${amazon.dynamodb.metaTable}") + private String metaTable; + private final ObjectMapper objectMapper; + private final ObjectMapper mapper; + + /** + * 항목 추가 + */ + public void addPutItem(T item, Class itemClass) { + executeInTransaction(() -> { + DynamoDbTable table = getTable(itemClass); + DynamoDBTransactionContext.getTransactionBuilder() + .addPutItem(table, item); + }); + } + + /** + * 조건부 항목 추가 + */ + public void addConditionPutItem(T item, Class itemClass, Expression condition) { + executeInTransaction(() -> { + DynamoDbTable table = getTable(itemClass); + + DynamoDBTransactionContext.getTransactionBuilder() + .addPutItem(table, TransactPutItemEnhancedRequest.builder(itemClass) + .item(item) + .conditionExpression(condition) + .build()); + }); + } + + /** + * 항목 업데이트 + */ + public void addUpdateItem(T item, Class itemClass) { + executeInTransaction(() -> { + DynamoDbTable table = getTable(itemClass); + DynamoDBTransactionContext.getTransactionBuilder() + .addUpdateItem(table, item); + }); + } + + /** + * 조건부 항목 업데이트 + */ + public void addConditionUpdateItem(T item, Class itemClass, Expression condition) { + executeInTransaction(() -> { + DynamoDbTable table = getTable(itemClass); + + DynamoDBTransactionContext.getTransactionBuilder() + .addUpdateItem(table, TransactUpdateItemEnhancedRequest.builder(itemClass) + .item(item) + .conditionExpression(condition) + .build()); + }); + } + + /** + * 항목 삭제 + */ + public void addDeleteItem(Key key, Class itemClass) { + executeInTransaction(() -> { + DynamoDbTable table = getTable(itemClass); + DynamoDBTransactionContext.getTransactionBuilder() + .addDeleteItem(table, key); + }); + } + + /** + * 조건부 항목 삭제 + */ + public void addConditionDeleteItem(Key key, Class itemClass, Expression condition) { + executeInTransaction(() -> { + DynamoDbTable table = getTable(itemClass); + + DynamoDBTransactionContext.getTransactionBuilder() + .addDeleteItem(table, TransactDeleteItemEnhancedRequest.builder() + .key(key) + .conditionExpression(condition) + .build()); + }); + } + + /** + * 단일 항목 조회 (트랜잭션 외부) + */ + public T getItem(Key key, Class itemClass) { + DynamoDbTable table = getTable(itemClass); + return table.getItem(key); + } + + public List getItems(Key key, Class itemClass){ + DynamoDbTable table = getTable(itemClass); + QueryConditional queryConditional = QueryConditional.keyEqualTo(key); + + return table.query(r -> r.queryConditional(queryConditional)) + .items() + .stream() + .toList(); + } + + /** + * JSON 문자열을 객체로 변환하고 트랜잭션에 추가 + */ + public void addJsonItem(String json, Class itemClass) { + try { + T item = objectMapper.readValue(json, itemClass); + addPutItem(item, itemClass); + } catch (JsonProcessingException e) { + log.error("JSON parsing failed: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.DYNAMODB_JSON_PARSE_ERROR.getMessage()); + } + } + + /** + * 객체를 이용한 attribute 업데이트 + */ + public void addUpdateAttribute(Key key, Class docClass, A attributeValue, + Class attributeClass) { + executeInTransaction(() -> { + DynamoDbTable table = getTable(docClass); + + // 기존 아이템 조회 + T existingDoc = table.getItem(key); + if (existingDoc == null) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + + try { + // Reflection으로 attribValue getter/setter 접근 + Method getAttribValue = docClass.getMethod("getAttribValue"); + Method setAttribValue = docClass.getMethod("setAttribValue", String.class); + Method setUpdatedDateTime = docClass.getMethod("setUpdatedDateTime", String.class); + + // 새로운 attribute 값을 JSON으로 변환 + String afterJson = mapper.writeValueAsString(attributeValue); + + // 문서 업데이트 + setAttribValue.invoke(existingDoc, afterJson); + setUpdatedDateTime.invoke(existingDoc, + CommonUtils.convertUTCDate(LocalDateTime.now())); + + // 트랜잭션에 업데이트 작업 추가 + DynamoDBTransactionContext.getTransactionBuilder() + .addUpdateItem(table, existingDoc); + + } catch (Exception e) { + log.error("Failed to update attribute: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.DYNAMODB_UPDATE_ERROR.getMessage()); + } + }); + } + + /** + * 배치 작업 처리 + */ + public void addBatchWriteItems(List items, Class itemClass) { + if (items.isEmpty()) { + return; + } + + executeInTransaction(() -> { + DynamoDbTable table = getTable(itemClass); + for (T item : items) { + DynamoDBTransactionContext.getTransactionBuilder() + .addPutItem(table, item); + } + }); + } + + // Helper methods + private DynamoDbTable getTable(Class itemClass) { + return enhancedClient.table(metaTable, TableSchema.fromBean(itemClass)); + } + + private void executeInTransaction(Runnable operation) { + if (!DynamoDBTransactionContext.isInTransaction()) { + throw new IllegalStateException("Not in a DynamoDB transaction context"); + } + operation.run(); + } + + public List getItemsByPrefix(String partitionKey, String sortKeyPrefix, Class itemClass) { + DynamoDbTable table = getTable(itemClass); + + QueryConditional queryConditional = QueryConditional.keyEqualTo(b -> b + .partitionValue(partitionKey) + .sortValue(sortKeyPrefix) + .build()); + + return table.query(r -> r + .queryConditional(QueryConditional.sortBeginsWith(b -> b + .partitionValue(partitionKey) + .sortValue(sortKeyPrefix))) + ) + .items() + .stream() + .toList(); + } + +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/service/DynamodbCaliumService.java b/src/main/java/com/caliverse/admin/dynamodb/service/DynamodbCaliumService.java new file mode 100644 index 0000000..ba3f615 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/service/DynamodbCaliumService.java @@ -0,0 +1,24 @@ +package com.caliverse.admin.dynamodb.service; + +import com.caliverse.admin.global.common.annotation.DynamoDBTransaction; +import com.caliverse.admin.dynamodb.repository.CaliumStorageRepository; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; + +@Service +@RequiredArgsConstructor +@Slf4j +public class DynamodbCaliumService { + private final CaliumStorageRepository caliumStorageRepository; + + public double getCaliumTotal(){ + return caliumStorageRepository.getTotal(); + } + + @DynamoDBTransaction + public void updateCaliumTotal(double caliumCnt){ + caliumStorageRepository.updateTotal(caliumCnt); + log.info("updateCaliumCharged DynamoDB Update Complete"); + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/service/DynamodbLandAuctionService.java b/src/main/java/com/caliverse/admin/dynamodb/service/DynamodbLandAuctionService.java new file mode 100644 index 0000000..4693334 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/service/DynamodbLandAuctionService.java @@ -0,0 +1,52 @@ +package com.caliverse.admin.dynamodb.service; + +import com.caliverse.admin.domain.entity.LandAuction; +import com.caliverse.admin.domain.request.LandRequest; +import com.caliverse.admin.global.common.annotation.DynamoDBTransaction; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionHighestBidUserAttrib; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionRegistryAttrib; +import com.caliverse.admin.dynamodb.repository.LandAuctionActivityRepository; +import com.caliverse.admin.dynamodb.repository.LandAuctionHighestBidUserRepository; +import com.caliverse.admin.dynamodb.repository.LandAuctionRegistryRepository; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; + +@Service +@RequiredArgsConstructor +@Slf4j +public class DynamodbLandAuctionService { + private final LandAuctionRegistryRepository registryRepository; + private final LandAuctionActivityRepository activityRepository; + private final LandAuctionHighestBidUserRepository highestBidUserRepository; + + @DynamoDBTransaction + public void insertLandAuctionRegistryWithActivity(LandRequest landRequest) { + registryRepository.insertAuction(landRequest); + highestBidUserRepository.insertHighestBidUser(landRequest); +// activityRepository.upsertActivity(landRequest); //로직변경으로 activity는 운영툴에서 안건드는걸로한다. + } + + @DynamoDBTransaction + public void updateLandAuction(LandRequest landRequest) { + registryRepository.updateAuction(landRequest); + } + + @DynamoDBTransaction + public void cancelLandAuction(LandAuction auctionInfo) { + registryRepository.cancelAuction(auctionInfo.getLandId(), auctionInfo.getAuctionSeq()); + } + + public LandAuctionRegistryAttrib getLandAuctionRegistry(Integer land_id, Integer auction_seq){ + return registryRepository.findRegistryAttrib(land_id, auction_seq); + } + + public LandAuctionHighestBidUserAttrib getLandAuctionHighestUser(Integer land_id, Integer auction_seq){ + return highestBidUserRepository.findHighestBidUserAttrib(land_id, auction_seq); + } + + public int getLandAuctionNumber(Integer landId){ +// return activityRepository.findAuctionNumber(landId); + return registryRepository.findAuctionNumber(landId); + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/service/DynamodbLandService.java b/src/main/java/com/caliverse/admin/dynamodb/service/DynamodbLandService.java new file mode 100644 index 0000000..890d2ce --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/service/DynamodbLandService.java @@ -0,0 +1,22 @@ +package com.caliverse.admin.dynamodb.service; + +import com.caliverse.admin.dynamodb.domain.atrrib.LandAttrib; +import com.caliverse.admin.dynamodb.repository.LandRepository; +import com.caliverse.admin.global.common.constants.DynamoDBConstants; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; + +@Service +@RequiredArgsConstructor +@Slf4j +public class DynamodbLandService { + private final LandRepository landRepository; + + public boolean isLandOwner(Integer landId){ + LandAttrib attrib = landRepository.findLandAttrib(landId); + if(attrib == null) return false; + + return !attrib.getOwnerUserGuid().isEmpty() && !attrib.getOwnerUserGuid().equals(DynamoDBConstants.EMPTY); + } +} diff --git a/src/main/java/com/caliverse/admin/dynamodb/service/DynamodbService.java b/src/main/java/com/caliverse/admin/dynamodb/service/DynamodbService.java new file mode 100644 index 0000000..31621a0 --- /dev/null +++ b/src/main/java/com/caliverse/admin/dynamodb/service/DynamodbService.java @@ -0,0 +1,61 @@ +package com.caliverse.admin.dynamodb.service; + +import com.caliverse.admin.Indicators.entity.MoneyLogInfo; +import com.caliverse.admin.domain.entity.Event; +import com.caliverse.admin.domain.entity.Item; +import com.caliverse.admin.domain.entity.Message; +import com.caliverse.admin.dynamodb.domain.atrrib.MoneyAttrib; +import com.caliverse.admin.dynamodb.domain.atrrib.UserNicknameRegistryAttrib; +import com.caliverse.admin.dynamodb.repository.MoneyRepository; +import com.caliverse.admin.dynamodb.repository.SystemMetaMailRepository; +import com.caliverse.admin.dynamodb.repository.UserNicknameRegistryRepository; +import com.caliverse.admin.global.common.annotation.DynamoDBTransaction; +import com.caliverse.admin.global.common.constants.AdminConstants; +import com.caliverse.admin.logs.Indicatordomain.StartEndTime; +import com.caliverse.admin.logs.logservice.LogServiceHelper; +import com.caliverse.admin.logs.logservice.indicators.IndicatorsMoneyService; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.ArrayNode; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; + +import java.time.LocalDateTime; +import java.util.List; + +@Slf4j +@Service +@RequiredArgsConstructor +public class DynamodbService { + private final DynamoDBOperations DynamoDBOperations; + private final UserNicknameRegistryRepository userNicknameRegistryRepository; + private final MoneyRepository moneyRepository; + private final SystemMetaMailRepository systemMetaMailRepository; + + private final IndicatorsMoneyService moneyService; + + private final ObjectMapper mapper = new ObjectMapper(); + + public void saveUserMoney(){ + try { + List userList = userNicknameRegistryRepository.findAllAttrib(); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + String logTime = startEndTime.getStartTime().substring(0, 10); + + userList.forEach(user -> { + log.info(String.valueOf(user)); + String guid = user.getUserGuid(); + MoneyAttrib money = moneyRepository.findAttrib(guid); + MoneyLogInfo moneyInfo = new MoneyLogInfo(logTime, guid, user.getNickname(),money.getGold(), money.getSapphire(), money.getCalium(), money.getRuby()); + moneyService.saveStatLogData(moneyInfo); + }); + }catch(Exception e){ + log.error(e.getMessage()); + } + } + + @DynamoDBTransaction + public void insertSystemMail(Event event){ + systemMetaMailRepository.insert(event); + } +} diff --git a/src/main/java/com/caliverse/admin/global/common/annotation/DynamoDBTransaction.java b/src/main/java/com/caliverse/admin/global/common/annotation/DynamoDBTransaction.java new file mode 100644 index 0000000..f71793e --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/annotation/DynamoDBTransaction.java @@ -0,0 +1,19 @@ +package com.caliverse.admin.global.common.annotation; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Target(ElementType.METHOD) +@Retention(RetentionPolicy.RUNTIME) +public @interface DynamoDBTransaction { + // 트랜잭션 타임아웃 설정 + long timeout() default 10000; + + // 트랜잭션 실패 시 재시도 횟수 + int retryCount() default 1; + + // 작업 설명 (로깅용) + String description() default ""; +} diff --git a/src/main/java/com/caliverse/admin/global/common/aspect/DynamoDBTransactionAspect.java b/src/main/java/com/caliverse/admin/global/common/aspect/DynamoDBTransactionAspect.java new file mode 100644 index 0000000..1ad17cd --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/aspect/DynamoDBTransactionAspect.java @@ -0,0 +1,59 @@ +package com.caliverse.admin.global.common.aspect; + +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.caliverse.admin.global.component.transaction.DynamoDBTransactionContext; +import lombok.extern.slf4j.Slf4j; +import org.aspectj.lang.ProceedingJoinPoint; +import org.aspectj.lang.annotation.Around; +import org.aspectj.lang.annotation.Aspect; +import org.springframework.stereotype.Component; +import software.amazon.awssdk.enhanced.dynamodb.DynamoDbEnhancedClient; +import software.amazon.awssdk.services.dynamodb.model.DynamoDbException; +import software.amazon.awssdk.enhanced.dynamodb.model.TransactWriteItemsEnhancedRequest; + +@Aspect +@Component +@Slf4j +public class DynamoDBTransactionAspect { + private final DynamoDbEnhancedClient enhancedClient; + + public DynamoDBTransactionAspect(DynamoDbEnhancedClient enhancedClient) { + this.enhancedClient = enhancedClient; + } + + @Around("@annotation(com.caliverse.admin.global.common.annotation.DynamoDBTransaction)") + public Object executeInTransaction(ProceedingJoinPoint joinPoint) throws Throwable { + TransactWriteItemsEnhancedRequest.Builder transactionBuilder = + TransactWriteItemsEnhancedRequest.builder(); + + try { + // 메서드 실행 전 트랜잭션 컨텍스트 설정 + DynamoDBTransactionContext.setTransactionBuilder(transactionBuilder); + + // 실제 메서드 실행 + Object result = joinPoint.proceed(); + + // 트랜잭션 커밋 + TransactWriteItemsEnhancedRequest transactionRequest = + DynamoDBTransactionContext.getTransactionBuilder().build(); + if (!transactionRequest.transactWriteItems().isEmpty()) { + enhancedClient.transactWriteItems(transactionRequest); + } + + return result; + } catch (DynamoDbException e) { + log.error("DynamoDB transaction failed: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.DYNAMODB_PROCESS_ERROR.getMessage()); + } catch (Exception e) { + log.error("DynamoDB operation error: {}", e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), + ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } finally { + // 트랜잭션 컨텍스트 정리 + DynamoDBTransactionContext.clear(); + } + } +} diff --git a/src/main/java/com/caliverse/admin/global/common/aspect/LoggingAspect.java b/src/main/java/com/caliverse/admin/global/common/aspect/LoggingAspect.java new file mode 100644 index 0000000..c4ff584 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/aspect/LoggingAspect.java @@ -0,0 +1,52 @@ +package com.caliverse.admin.global.common.aspect; + +import lombok.extern.slf4j.Slf4j; +import org.aspectj.lang.ProceedingJoinPoint; +import org.aspectj.lang.annotation.Around; +import org.aspectj.lang.annotation.Aspect; +import org.aspectj.lang.annotation.Pointcut; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.slf4j.MDC; +import org.springframework.stereotype.Component; + +@Aspect +@Component +@Slf4j +public class LoggingAspect { +// private static final Logger log = LoggerFactory.getLogger("METHOD_LOGGER"); + + @Pointcut("@within(org.springframework.stereotype.Component) || " + + "@within(org.springframework.stereotype.Service) || " + + "@within(org.springframework.stereotype.Repository) || " + + "@within(org.springframework.stereotype.Controller)") + public void pointcut() {} + + @Pointcut("within(com.caliverse.admin.domain.api..*) || " + + "within(com.caliverse.admin.domain.service..*) || " + + "within(com.caliverse.admin.scheduler..*) || " + + "within(com.caliverse.admin.dynamodb.repository..*) || " + + "within(com.caliverse.admin.dynamodb.service..*)") + public void specificPackages() {} + + @Around("pointcut() && specificPackages()") + public Object logging(ProceedingJoinPoint pjp) throws Throwable { + String methodName = pjp.getSignature().getName(); + String className = pjp.getSignature().getDeclaringTypeName(); + + String format = String.format("%s.%s",className,methodName); + MDC.put("method", methodName); + + try { + log.info("{} method start", format); + Object result = pjp.proceed(); + log.info("{} method end", format); + return result; + } catch (Exception e) { + log.error("[{}] method error: {}", methodName, e.getMessage()); + throw e; + } finally { + MDC.remove("method"); + } + } +} diff --git a/src/main/java/com/caliverse/admin/global/common/aspect/TransactionIdAspect.java b/src/main/java/com/caliverse/admin/global/common/aspect/TransactionIdAspect.java new file mode 100644 index 0000000..7acaa15 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/aspect/TransactionIdAspect.java @@ -0,0 +1,34 @@ +package com.caliverse.admin.global.common.aspect; + +import com.caliverse.admin.global.component.transaction.TransactionIdManager; +import lombok.RequiredArgsConstructor; +import org.aspectj.lang.ProceedingJoinPoint; +import org.aspectj.lang.annotation.Around; +import org.aspectj.lang.annotation.Aspect; +import org.springframework.stereotype.Component; +import org.springframework.transaction.support.TransactionSynchronizationManager; + +@Aspect +@Component +@RequiredArgsConstructor +public class TransactionIdAspect { + private final TransactionIdManager transactionIdManager; + private static final String TRANSACTION_ID_KEY = "TRANSACTION_ID"; + + @Around("@annotation(org.springframework.transaction.annotation.Transactional)") + public Object setTransactionId(ProceedingJoinPoint joinPoint) throws Throwable { + boolean isNewTransaction = !TransactionSynchronizationManager.hasResource(TRANSACTION_ID_KEY); + + if (isNewTransaction) { + transactionIdManager.getCurrentTransactionId(); // 새로운 트랜잭션 ID 생성 + } + + try { + return joinPoint.proceed(); + } finally { + if (isNewTransaction) { + TransactionSynchronizationManager.unbindResource(TRANSACTION_ID_KEY); + } + } + } +} diff --git a/src/main/java/com/caliverse/admin/global/common/code/CommonCode.java b/src/main/java/com/caliverse/admin/global/common/code/CommonCode.java new file mode 100644 index 0000000..c356ec6 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/code/CommonCode.java @@ -0,0 +1,19 @@ +package com.caliverse.admin.global.common.code; + +import jakarta.servlet.http.HttpServletResponse; +import lombok.Getter; +import lombok.RequiredArgsConstructor; + +@Getter +@RequiredArgsConstructor +public enum CommonCode{ + + SUCCESS(HttpServletResponse.SC_OK,"SUCCESS"), + ERROR(-1, "ERROR") + ; + + private final int httpStatus; + private final String result; + +} + diff --git a/src/main/java/com/caliverse/admin/global/common/code/ErrorCode.java b/src/main/java/com/caliverse/admin/global/common/code/ErrorCode.java new file mode 100644 index 0000000..74e17f2 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/code/ErrorCode.java @@ -0,0 +1,98 @@ +package com.caliverse.admin.global.common.code; + +import lombok.Getter; +import lombok.RequiredArgsConstructor; + +@Getter +@RequiredArgsConstructor +public enum ErrorCode { + SUCCESS("성공"), + + //------------------------------------------------------------------------------------------------------------------------------ + // json + //------------------------------------------------------------------------------------------------------------------------------ + USER_GAME_LOGIN_JSON_MAPPER_PARSE_ERROR("유저 게임세션 데이터 파싱하는 도중 에러가 발생했습니다."), + + + WRONG_TYPE_TOKEN("잘못된 타입의 토큰입니다."), + EXPIRED_TOKEN("만료된 토큰입니다."), + PWD_EXPIRATION("비밀번호 기간 만료"), + UNSUPPORTED_TOKEN("지원하지않는 토큰입니다."), + WRONG_TOKEN( "잘못된 토큰입니다."), + DOFILTER_ERROR( "doFilterInternal() 오류"), + AUTHENTICATION_FAILED("인증에 실패했습니다."), + BAD_REQUEST("잘못된 요청입니다."), + SIGNATURE_ERROR("잘못된 서명의 토큰입니다."), + + INACTIVE_USER("User is inactive"), + + PASSWORD_INCLUDE("기존 사용 이력이 있는 비밀번호는 재사용할 수 없습니다."), + PASSWORD_ERROR("입력된 현재 비밀번호가 틀립니다."), + + NOT_FOUNT_TEAM("입력한 팀을 찾지 못했습니다."), + NOT_FOUNT_POSITION( "입력한 직급을 찾지 못했습니다."), + NOT_MATCH_USER("이메일 또는 비밀번호가 일치하지않습니다."), + DUPLICATED_EMAIL("동일한 이메일이 존재합니다."), + NOT_PERMITTED("로그인 권한이 없습니다. 계정 관련 관리자에게 문의하세요."), + NOT_FOUND_USER("ID또는 비밀번호가 일치하지 않습니다."), + DUPLICATED_GROUPNAME("동일한 관리자 그룹명이 존재합니다."), + + //meta data + NOT_ITEM("존재하지 않는 아이템코드입니다."), + + //excel upload + ERROR_EXCEL_UPLOAD("엑셀 업로드중 오류 발생하였습니다."), + ERROR_EXCEL_DOWN("엑셀 다운로드중 오류 발생하였습니다."), + NOT_EXIT_EXCEL("Excel 파일을 선택해주세요."), + DUPLICATE_EXCEL("중복된 유저 정보가 있습니다."), + USERTYPE_CHECK_EXCEL("타입을 확인해주세요."), + + ERROR_API_CALL("API 호출에 실패하였습니다."), + + //calium + ERROR_CALIUM_FINISH("충전 완료된 칼리움입니다."), + + //Land + ERROR_LAND_AUCTION_IMPOSSIBLE("경매를 진행할 수 없는 랜드입니다."), + ERROR_AUCTION_STATUS_IMPOSSIBLE("수정할 수 없는 경매상태입니다."), + ERROR_AUCTION_LAND_OWNER("해당 랜드는 소유자가 존재하여 경매를 진행할 수 없습니다."), + + //Battle + ERROR_BATTLE_EVENT_TIME_OVER("해당 시간에 속하는 이벤트가 존재합니다."), + + //------------------------------------------------------------------------------------------------------------------------------ + // DyanamoDB + //------------------------------------------------------------------------------------------------------------------------------ + GUID_CHECK("Guid를 확인해주세요."), + EMAIL_CHECK("Email을 확인해주세요"), + GUID_LENGTH_CHECK("guid(32자)를 확인해주세요."), + DYNOMODB_CHECK("gameDB에 닉네임이 없습니다."), + DYNAMODB_CONNECTION_ERROR("dynamoDB_connection_error"), + DYNAMODB_CONDITION_CHECK_ERROR("dynamoDB_Conditional_Check_error"), + DYNAMODB_PROCESS_ERROR("dynamoDB 처리 중 에러발생"), + DYNAMODB_INSERT_ERROR("dynamoDB_Insert_error"), + DYNAMODB_UPDATE_ERROR("dynamoDB_Update_error"), + DYNAMODB_DELETE_ERROR("dynamoDB_Delete_error"), + DYNAMODB_EXIT_ERROR("dynamodb_exit_error"), + DYNAMODB_ITEM_DELETE_FAIL("아이템 삭제에 실패하였습니다."), + DYNAMODB_CONVERT_ERROR("형변환 도중 에러가 발생하였습니다."), + DYNAMODB_JSON_PARSE_ERROR("dynamoDB Json 변환 중 에러 발생"), + + + ADMINDB_EXIT_ERROR("admindb_exit_error"), + + NICKNAME_EXIT_ERROR("변경 닉네임이 존재합니다. 다시 시도해주세요."), + NICKNAME_NUMBER_ERROR("닉네임은 첫번째 글자에 숫자를 허용하지 않습니다. 다시 시도해주세요."), + NICKNAME_SPECIALCHAR_ERROR("닉네임은 특수문자를 사용할 수 없습니다. 다시 시도해주세요."), + NICKNAME_LANGTH_ERROR("닉네임은 최소 2글자에서 최대 12글자까지 허용 합니다. 다시 시도해주세요."), + + + SENDMAIL_ERROR("메일 발송중 오류가 발생하였습니다. 관리자에게 문의주세요."), + + EXCEPTION_INVALID_PROTOCOL_BUFFER_EXCEPTION_ERROR("InvalidProtocolBufferException"), + EXCEPTION_IO_EXCEPTION_ERROR("IOException"), + EXCEPTION_INTERRUMPTED_EXCEPTION_ERROR("InterruptedException"), + ; + + private final String message; +} diff --git a/src/main/java/com/caliverse/admin/global/common/code/SuccessCode.java b/src/main/java/com/caliverse/admin/global/common/code/SuccessCode.java new file mode 100644 index 0000000..c522e48 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/code/SuccessCode.java @@ -0,0 +1,28 @@ +package com.caliverse.admin.global.common.code; + +import lombok.Getter; +import lombok.RequiredArgsConstructor; + +@Getter +@RequiredArgsConstructor +public enum SuccessCode { + SAVE("저장 하였습니다."), + UPDATE("수정 하였습니다."), + DELETE("삭제 하였습니다."), + INIT("비밀번호 초기화 하였습니다."), + NULL_DATA("조회된 데이터가 없습니다."), + EXCEL_UPLOAD("파일 업로드 하였습니다."), + REGISTRATION("등록 하였습니다."), + ITEM_EXIST("아이템이 존재합니다"), + + + //------------------------------------------------------------------------------------------------------------------------------ + // DyanamoDB + //------------------------------------------------------------------------------------------------------------------------------ + DYNAMODB_ITEM_DELETE_SUCCESS("아이템 삭제에 성공하였습니다."), + + ; + + private final String message; + +} diff --git a/src/main/java/com/caliverse/admin/global/common/constants/AdminConstants.java b/src/main/java/com/caliverse/admin/global/common/constants/AdminConstants.java new file mode 100644 index 0000000..6e32d3b --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/constants/AdminConstants.java @@ -0,0 +1,61 @@ +package com.caliverse.admin.global.common.constants; + +public class AdminConstants { + public static final String MONGO_DB_COLLECTION_AU = "au"; + public static final String MONGO_DB_COLLECTION_DAU = "dau"; + public static final String MONGO_DB_COLLECTION_MAU = "mau"; + public static final String MONGO_DB_COLLECTION_MCU = "mcu"; + public static final String MONGO_DB_COLLECTION_WAU = "wau"; + public static final String MONGO_DB_COLLECTION_DGLC = "dglc"; + public static final String MONGO_DB_COLLECTION_NRU = "nru"; + public static final String MONGO_DB_COLLECTION_PLAYTIME = "playtime"; + public static final String MONGO_DB_COLLECTION_CAPACITY = "capacity"; + public static final String MONGO_DB_COLLECTION_UGQ_CREATE = "ugqcreate"; + public static final String MONGO_DB_COLLECTION_METAVER_SERVER = "metaverseserver"; + public static final String MONGO_DB_COLLECTION_LOG = "Log"; + + public static final String MONGO_DB_KEY_LOGTIME = "logTime"; + public static final String MONGO_DB_KEY_LOGMONTH = "logMonth"; + public static final String MONGO_DB_KEY_LOGDAY = "logDay"; + public static final String MONGO_DB_KEY_LOGHOUR = "logHour"; + public static final String MONGO_DB_KEY_LOGMINUTE = "logMinute"; + + public static final String MONGO_DB_KEY_MESSAGE = "message"; + + public static final String MONGO_DB_KEY_USER_GUID = "userGuid"; + public static final String MONGO_DB_KEY_ACCOUNT_ID = "accountId"; + public static final String MONGO_DB_KEY_ACCOUNT_IDS_COUNT = "accountIdListCount"; + public static final String MONGO_DB_KEY_LANGUAGE_TYPE = "languageType"; + public static final String MONGO_DB_KEY_LOGIN_TIME = "loginTime"; + public static final String MONGO_DB_KEY_LOGOUT_TIME = "logoutTime"; + public static final String MONGO_DB_KEY_TRAN_ID = "tranId"; + public static final String MONGO_DB_KEY_ACTION = "action"; + public static final String MONGO_DB_KEY_SERVER_TYPE = "serverType"; + + public static final String MONGO_DB_KEY_USER_GUID_LIST = "userGuidList"; + public static final String MONGO_DB_KEY_USER_GUID_LIST_COUNT = "userGuidListCount"; + public static final String MONGO_DB_KEY_MAX_COUNT_USER = "maxCountUser"; + public static final String MONGO_DB_KEY_TOTAL_PLAY_TIME_COUNT = "totalPlayTimeCount"; + public static final String MONGO_DB_KEY_CHARACTER_CREATE_COUNT = "characterCreateCount"; + public static final String MONGO_DB_KEY_CAPACITY_READ_TOTAL = "consumeReadTotal"; + public static final String MONGO_DB_KEY_CAPACITY_WRITE_TOTAL = "consumeWriteTotal"; + public static final String MONGO_DB_KEY_UGQ_CREATE_COUNT = "ugqCrateCount"; + public static final String MONGO_DB_KEY_SERVER_COUNT = "serverCount"; + + public static final String REGEX_MSG_LOGIN_TO_USER_AUTH = "\"Action\":\"LoginToUserAuth\""; + public static final String REGEX_MSG_LOGIN_TO_GAME = "\"Action\":\"LoginToGame\""; + public static final String REGEX_MSG_USER_LOGOUT = "\"Action\":\"UserLogout\""; + public static final String REGEX_MSG_CHARACTER_CREATE = "\"Action\":\"CharacterCreate\""; + public static final String REGEX_MSG_PLAY_TIME = "\"Action\":\"UserLogout\""; + public static final String REGEX_MSG_UGQ_CREATE = "\"Action\":\"UgqApiQuestCraete\""; + + public static final int STAT_DAY_NUM = 1; + public static final int STAT_WEEK_NUM = 7; + public static final int STAT_MONTH_NUM = 30; + + + public static final String INDICATORS_KEY_DAU_BY_LANG = "dauByLang"; + public static final String INDICATORS_KEY_START_DATE = "startDate"; + public static final String INDICATORS_KEY_END_DATE = "endDate"; + public static final String INDICATORS_KEY_ITEM_ID = "itemId"; +} diff --git a/src/main/java/com/caliverse/admin/global/common/constants/CommonConstants.java b/src/main/java/com/caliverse/admin/global/common/constants/CommonConstants.java new file mode 100644 index 0000000..a050ffd --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/constants/CommonConstants.java @@ -0,0 +1,9 @@ +package com.caliverse.admin.global.common.constants; + +public class CommonConstants { + public static final String TRUE = "True"; + public static final String FALSE = "False"; + public static final String NONE = "None"; + public static final int BATTLE_SERVER_WAIT_TIME = 600; // (seconds) 이벤트 홍보시간이 300초인데 여유있게 처리하게 하기위해 600으로 준다. + public static final String SCHEDULE = "Schedule"; +} diff --git a/src/main/java/com/caliverse/admin/global/common/constants/DynamoDBConstants.java b/src/main/java/com/caliverse/admin/global/common/constants/DynamoDBConstants.java new file mode 100644 index 0000000..217c71b --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/constants/DynamoDBConstants.java @@ -0,0 +1,44 @@ +package com.caliverse.admin.global.common.constants; + +public class DynamoDBConstants { + public static final String NAMESPACE = "AWS/DynamoDB"; + public static final String CONSUMED_READ_CAPACITY = "ConsumedReadCapacityUnits"; + public static final String CONSUMED_WRITE_CAPACITY = "ConsumedWriteCapacityUnits"; + + //PK + public static final String PK_KEY_CALIUM = "calium#storage"; + public static final String PK_KEY_SYSTEM_MAIL = "management_system_meta_mail#global"; + public static final String PK_KEY_LAND_AUCTION = "land_auction_registry#global"; + public static final String PK_KEY_LAND_AUCTION_ACTIVE = "land_auction_activity#global"; + public static final String PK_KEY_LAND_AUCTION_HIGHEST_USER = "land_auction_highest_bid_user#global"; + public static final String PK_KEY_USER_NICKNAME_REGISTRY = "user_nickname_registry#global"; + public static final String PK_KEY_MONEY = "money#"; + public static final String PK_KEY_LAND = "land#"; + public static final String PK_KEY_OWNED_LAND = "owned_land#"; + public static final String PK_KEY_BUILDING = "building#"; + public static final String PK_KEY_OWNED_BUILDING = "owned_building#"; + //SK + + //Attribute + public static final String ATTRIB_CALIUM = "CaliumStorageAttrib"; + public static final String ATTRIB_SYSTEMMAIL = "SystemMetaMailAttrib"; + public static final String ATTRIB_LANDAUCTION = "LandAuctionRegistryAttrib"; + public static final String ATTRIB_LANDAUCTION_ACTIVE = "LandAuctionActivityAttrib"; + public static final String ATTRIB_LANDAUCTION_HIGHEST_USER = "LandAuctionHighestBidUserAttrib"; + public static final String ATTRIB_USER_NICKNAME_REGISTRY = "UserNicknameRegistryAttrib"; + + //DOC + public static final String DOC_SYSTEMMAIL = "SystemMetaMailDoc"; + public static final String DOC_LANDAUCTION = "LandAuctionRegistryDoc"; + public static final String DOC_LANDAUCTION_ACTIVE = "LandAuctionActivityDoc"; + public static final String DOC_LANDAUCTION_HIGHEST_USER = "LandAuctionHighestBidUserDoc"; + public static final String DOC_USER_NICKNAME_REGISTRY = "UserNicknameRegistryDoc"; + + //SCHEMA + public static final String SCHEMA_UPDATE_TIME = "UpdatedDateTime"; + + //ETC + public static final String EMPTY = "empty"; + public static final String MIN_DATE = "1970-01-01T00:00:00.000Z"; + public static final String DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSS"; +} diff --git a/src/main/java/com/caliverse/admin/global/common/constants/MetadataConstants.java b/src/main/java/com/caliverse/admin/global/common/constants/MetadataConstants.java new file mode 100644 index 0000000..d8fd324 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/constants/MetadataConstants.java @@ -0,0 +1,14 @@ +package com.caliverse.admin.global.common.constants; + +public class MetadataConstants { + public static final String JSON_LIST_TEXT_STRING = "TextStringMetaDataList"; + public static final String JSON_LIST_ITEM = "ItemMetaDataList"; + public static final String JSON_LIST_CLOTH_TYPE = "ClothEquipTypeDataList"; + public static final String JSON_LIST_TOOL = "ToolMetaDataList"; + public static final String JSON_LIST_BAN_WORD = "BanWordMetaDataList"; + public static final String JSON_LIST_QUEST = "QuestMetaDataList"; + public static final String JSON_LIST_BUILDING = "BuildingMetaDataList"; + public static final String JSON_LIST_LAND = "LandMetaDataList"; + public static final String JSON_LIST_BATTLE_CONFIG = "BattleFFAConfigMetaDataList"; + public static final String JSON_LIST_BATTLE_REWARD = "BattleFFARewardMetaDataList"; +} diff --git a/src/main/java/com/caliverse/admin/global/common/constants/MysqlConstants.java b/src/main/java/com/caliverse/admin/global/common/constants/MysqlConstants.java new file mode 100644 index 0000000..1fca22a --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/constants/MysqlConstants.java @@ -0,0 +1,10 @@ +package com.caliverse.admin.global.common.constants; + +public class MysqlConstants { + public static String TABLE_NAME_LAND_AUCTION = "land_auction"; + public static String TABLE_NAME_CALIUM_REQUEST = "calium_request"; + public static String TABLE_NAME_EVENT = "event"; + public static String TABLE_NAME_MAIL = "mail"; + public static String TABLE_NAME_NOTICE = "notice"; + public static String TABLE_NAME_BATTLE_EVENT = "battle_event"; +} diff --git a/src/main/java/com/caliverse/admin/global/common/constants/Web3Constants.java b/src/main/java/com/caliverse/admin/global/common/constants/Web3Constants.java new file mode 100644 index 0000000..551cfce --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/constants/Web3Constants.java @@ -0,0 +1,10 @@ +package com.caliverse.admin.global.common.constants; + +public class Web3Constants { + public static final String DB_NAME = "calium#storage"; + public static final String SERVER_NAME = "caliverse"; + public static final String URL_SERVER_TYPE = "/web/v3/repo_history/server_type/" + SERVER_NAME; + public static final String URL_REQUEST = "/web/v3/repo_history/request"; + public static final String URL_REQUEST_CONFIRM = "/web/v3/repo_history/request/"; + public static final String URL_REQUEST_LIST = "/web/v3/repo_history/list"; +} diff --git a/src/main/java/com/caliverse/admin/global/common/exception/GlobalException.java b/src/main/java/com/caliverse/admin/global/common/exception/GlobalException.java new file mode 100644 index 0000000..6c792c8 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/exception/GlobalException.java @@ -0,0 +1,50 @@ +package com.caliverse.admin.global.common.exception; + +import com.caliverse.admin.domain.response.ExceptionResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import jakarta.servlet.http.HttpServletResponse; +import org.springframework.http.ResponseEntity; +import org.springframework.security.core.AuthenticationException; +import org.springframework.web.bind.annotation.ControllerAdvice; +import org.springframework.web.bind.annotation.ExceptionHandler; +import org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler; + +//전체 서비스단의 exception을 캐치 +@ControllerAdvice +public class GlobalException extends ResponseEntityExceptionHandler { + @ExceptionHandler + public ResponseEntity handleException(RestApiException restApiException){ + return ResponseEntity.ok().body( + ExceptionResponse.builder() + .result(CommonCode.ERROR.getResult()) + .status(restApiException.getStatusCode()) + .data(ExceptionResponse.ExceptionData.builder().message(restApiException.getMessage()).build()) + .build() + ); + } + + // 토큰 없을경우 exception 캐치하여 응답한다 + @ExceptionHandler(AuthenticationException.class) + public ResponseEntity authenticationException(AuthenticationException authenticationException){ + return ResponseEntity.ok().body( + ExceptionResponse.builder() + .result(CommonCode.ERROR.getResult()) + .status(HttpServletResponse.SC_UNAUTHORIZED) + .data(ExceptionResponse.ExceptionData.builder().message(ErrorCode.WRONG_TYPE_TOKEN.getMessage()).build()) + .build() + ); + } + + //전체 exception 처리 + @ExceptionHandler(Exception.class) + public ResponseEntity exceptionAll(Exception exception){ + return ResponseEntity.ok().body( + ExceptionResponse.builder() + .result(CommonCode.ERROR.getResult()) + .status(CommonCode.ERROR.getHttpStatus()) + .data(ExceptionResponse.ExceptionData.builder().message(exception.getMessage()).build()) + .build() + ); + } +} diff --git a/src/main/java/com/caliverse/admin/global/common/exception/MetaDataException.java b/src/main/java/com/caliverse/admin/global/common/exception/MetaDataException.java new file mode 100644 index 0000000..d748578 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/exception/MetaDataException.java @@ -0,0 +1,11 @@ +package com.caliverse.admin.global.common.exception; + +public class MetaDataException extends RuntimeException{ + public MetaDataException(String message) { + super(message); + } + + public MetaDataException(String message, Throwable cause) { + super(message, cause); + } +} diff --git a/src/main/java/com/caliverse/admin/global/common/exception/RestApiException.java b/src/main/java/com/caliverse/admin/global/common/exception/RestApiException.java new file mode 100644 index 0000000..f95d98b --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/exception/RestApiException.java @@ -0,0 +1,21 @@ +package com.caliverse.admin.global.common.exception; + +import lombok.Getter; + +@Getter +public class RestApiException extends RuntimeException { + @Getter + private final int statusCode; + private final String message; + + public RestApiException(int statusCode, String message) { + super(message); + this.statusCode = statusCode; + this.message = message; + } + + @Override + public String getMessage() { + return message; + } +} diff --git a/src/main/java/com/caliverse/admin/global/common/utils/CommonUtils.java b/src/main/java/com/caliverse/admin/global/common/utils/CommonUtils.java new file mode 100644 index 0000000..975256a --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/utils/CommonUtils.java @@ -0,0 +1,320 @@ +package com.caliverse.admin.global.common.utils; + +import java.nio.charset.StandardCharsets; +import java.time.*; +import java.time.format.DateTimeFormatter; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import java.util.regex.*; + +import com.caliverse.admin.domain.entity.DiffStatus; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.ObjectMapper; +import jakarta.servlet.http.HttpServletRequest; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.security.core.Authentication; +import org.springframework.security.core.context.SecurityContextHolder; +import org.springframework.security.core.userdetails.UserDetails; +import org.springframework.stereotype.Component; + +import com.caliverse.admin.domain.dao.admin.AdminMapper; +import com.caliverse.admin.domain.entity.Admin; +import com.caliverse.admin.global.common.code.ErrorCode; + +import lombok.RequiredArgsConstructor; + +import com.google.protobuf.ByteString; +import org.springframework.web.context.request.RequestContextHolder; +import org.springframework.web.context.request.ServletRequestAttributes; + +import java.util.Base64; + +@Component +@RequiredArgsConstructor +public class CommonUtils { + private static final Logger logger = LoggerFactory.getLogger(CommonUtils.class); + private static UserDetails userDetails; + private static AdminMapper adminMapper; + + public static Admin getAdmin(){ + Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); + if (authentication != null && authentication.getPrincipal() instanceof UserDetails) { + UserDetails userDetails = (UserDetails) authentication.getPrincipal(); + return (Admin) userDetails; + } + return null; + } + + public static String getClientIp() { + ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes(); + if (attributes != null) { + HttpServletRequest request = attributes.getRequest(); + String ip = request.getHeader("X-Forwarded-For"); + if (ip == null || ip.isEmpty() || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("Proxy-Client-IP"); + } + if (ip == null || ip.isEmpty() || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("WL-Proxy-Client-IP"); + } + if (ip == null || ip.isEmpty() || "unknown".equalsIgnoreCase(ip)) { + ip = request.getRemoteAddr(); + } + if ("0:0:0:0:0:0:0:1".equals(ip)) { + return "127.0.0.1"; + } + return ip; + } + return null; + } + + public static String objectToString(Object object){ + if (object == null) { + return ""; + } else if (object instanceof Integer) { + return Integer.toString((Integer) object); + } else if (object instanceof Boolean) { + return Boolean.toString((boolean)object); + } else { + return object.toString(); + } + } + + public static Integer objectToInteger(Object object){ + if (object == null) { + return 0; + } else if (object instanceof Integer) { + return (Integer)object; + } else if (object instanceof Boolean) { + return (Integer)object; + } else { + return 0; + } + } + + public static Long objectToLong(Object object) { + if (object == null) { + return 0L; + } else if (object instanceof Long) { + return (Long) object; + } else if (object instanceof Boolean) { + return (Boolean) object ? 1L : 0L; + } else if (object instanceof String) { + try { + return Long.parseLong((String) object); + } catch (NumberFormatException e) { + return 0L; + } + } else if (object instanceof Integer) { + return ((Integer) object).longValue(); + } else { + return 0L; + } + } + + public static int[] objectToIntArray(Object object){ + if (object == null) { + return new int[0]; + } else if (object instanceof List) { + List list = (List) object; + int[] intArray = list.stream().mapToInt(i -> i).toArray(); + return intArray; + } else { + return new int[0]; + } + } + + public static String[] objectToStringArray(Object object){ + if (object == null) { + return new String[0]; + } else if (object instanceof List) { + List list = (List) object; + String[] stringArray = list.toArray(new String[0]); + return stringArray; + } else { + return new String[0]; + } + } + + public static Map pageSetting(Map map){ + if(map.get("page_no") != null && map.get("page_size")!=null){ + int pageNo = Integer.parseInt(map.get("page_no")); + int pageSize = Integer.parseInt(map.get("page_size")); + + int offset = (pageNo - 1) * pageSize; + + map.put("pageSize", Integer.valueOf(pageSize).toString()); + map.put("offset", Integer.valueOf(offset).toString()); + } + return map; + } + + public static String setFileName(String fileName){ + LocalDateTime now = LocalDateTime.now(); + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyyMMddHHmmssSSS"); + String timestamp = now.format(formatter); + + // 파일 확장자 추출 + String fileExtension = fileName.substring(fileName.lastIndexOf(".")); + + String newFileName = fileName.replace(fileExtension, "_" + timestamp + fileExtension); + return newFileName; + } + + public static LocalDateTime stringToDateTime(String str){ + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss"); + return LocalDateTime.parse(str, formatter); + } + + public static String convertIsoByDatetime(String isoDate){ + Instant instant = Instant.parse(isoDate); + LocalDateTime localDateTime = instant.atZone(ZoneOffset.UTC).toLocalDateTime(); + + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); + return localDateTime.format(formatter); + } + + public static List dateRange(String startDt, String endDt){ + // 시작 날짜와 종료 날짜를 LocalDate로 변환 + LocalDate startDate = LocalDate.parse(startDt); + LocalDate endDate = LocalDate.parse(endDt); + // 날짜 범위를 얻기 위한 리스트 생성 + List dateRange = new ArrayList<>(); + + // 시작 날짜부터 종료 날짜까지 날짜를 리스트에 추가 + LocalDate currentDate = startDate; + while (!currentDate.isAfter(endDate)) { + dateRange.add(currentDate); + currentDate = currentDate.plusDays(1); + } + return dateRange; + } + + /** + * input : 2023-09-03 + * output: "2023-09-03 00:00:00" + */ + public static String startOfDay(LocalDate localDate){ + LocalDateTime startOfDay = localDate.atStartOfDay(); + String formattedDateTime = startOfDay.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); + return formattedDateTime; + } + /** + * input : 2023-09-03 + * output: "2023-09-03 23:59:59" + */ + public static String endOfDay(LocalDate localDate){ + LocalDateTime endOfDay = localDate.atTime(LocalTime.MAX); + String formattedDateTime = endOfDay.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); + return formattedDateTime; + } + + public static int calculateMonths(LocalDateTime startDt, LocalDateTime endDt) { + int startYear = startDt.getYear(); + int endYear = endDt.getYear(); + int startMonth = startDt.getMonthValue(); + int endMonth = endDt.getMonthValue(); + + return (endYear - startYear) * 12 + (endMonth - startMonth) + 1; + } + + public static ErrorCode isValidNickname(String nickname){ + // 첫번째 글자가 숫자인지 체크 한다. + if (Pattern.matches("[0-9]", Character.toString(nickname.charAt(0)))) { + return ErrorCode.NICKNAME_NUMBER_ERROR; + } + + // 특수문자가 포함되어 있는지 체크 한다. + if (isContainSpecialChars(nickname)) { + return ErrorCode.NICKNAME_SPECIALCHAR_ERROR; + } + + // 길이 체크 + if(nickname.length() < 2 || nickname.length() > 12){ + return ErrorCode.NICKNAME_LANGTH_ERROR; + } + + // 금지어 여부 체크 추후 + + return ErrorCode.SUCCESS; + } + + public static boolean isContainSpecialChars(String values) { + Pattern pattern = Pattern.compile("[^a-zA-Z0-9ㄱ-ㅎ가-힣\u3040-\u30ff\u3400-\u4dbf\u4e00-\u9fff\uf900-\ufaff\uff66-\uff9f]"); + Matcher matcher = pattern.matcher(values); + + return matcher.find(); + } + + public static Map stringByObject(String string) { + try { + ObjectMapper objectMapper = new ObjectMapper(); + return objectMapper.readValue(string, new TypeReference<>() {}); + } catch (JsonProcessingException e) { + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage()); + } + } + + public static Integer stringToInt(String string) { + try{ + return Integer.parseInt(string); + }catch (NumberFormatException e){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.SENDMAIL_ERROR.getMessage()); + } + } + + public static long intervalToMillis(String interval) { + String[] parts = interval.split(":"); + long hour = Long.parseLong(parts[0]); + long minute = Long.parseLong(parts[1]); + long second = Long.parseLong(parts[2]); + + return TimeUnit.HOURS.toMillis(hour) + TimeUnit.MINUTES.toMillis(minute) + TimeUnit.SECONDS.toMillis(second); + } + + public static ByteString stringEncoding(String text){ + return ByteString.copyFrom(text.getBytes(StandardCharsets.UTF_8)); + } + public static String stringToByte(String text){ + return Base64.getEncoder().encodeToString(text.getBytes(StandardCharsets.UTF_8)); + } + + public static String convertUTCDate(LocalDateTime date){ + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"); + return date.atOffset(ZoneOffset.UTC).format(formatter); + } + + public static LocalTime stringToTime(String time){ + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("HH:mm:ss"); + return LocalTime.parse(time, formatter); + } + + public static String getDiffStatus(int cnt, int pre_cnt){ + return cnt - pre_cnt > 0 ? DiffStatus.UP.getStatus() : + cnt - pre_cnt < 0 ? DiffStatus.DOWN.getStatus() : + DiffStatus.EQUAL.getStatus(); + } + + public static String getDiffRate(int cnt, int pre_cnt){ + // 이전 값이 0인 경우 + if (pre_cnt == 0) { + if (cnt == 0) { + return "0"; + } + return String.valueOf(cnt * 100); + } + + double changeRate = Math.abs((double) (cnt - pre_cnt) / pre_cnt * 100); + return String.valueOf((int) Math.round(changeRate)); + } + + public static int getLengthOfLastMonth(LocalDate date){ + LocalDate localDate = date.minusMonths(1); + return localDate.lengthOfMonth(); + } +} diff --git a/src/main/java/com/caliverse/admin/global/common/utils/DateUtils.java b/src/main/java/com/caliverse/admin/global/common/utils/DateUtils.java new file mode 100644 index 0000000..57f801a --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/utils/DateUtils.java @@ -0,0 +1,16 @@ +package com.caliverse.admin.global.common.utils; + +import java.time.LocalDateTime; +import java.time.format.DateTimeFormatter; + +public class DateUtils { + public static String dateToString(LocalDateTime date) { + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); + return date.format(formatter); + } + + public static String nowDateTime(){ + LocalDateTime now = LocalDateTime.now(); + return dateToString(now); + } +} diff --git a/src/main/java/com/caliverse/admin/global/common/utils/DynamodbUtil.java b/src/main/java/com/caliverse/admin/global/common/utils/DynamodbUtil.java new file mode 100644 index 0000000..7ad25dd --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/utils/DynamodbUtil.java @@ -0,0 +1,62 @@ +package com.caliverse.admin.global.common.utils; + +import com.caliverse.admin.domain.RabbitMq.message.LanguageType; +import com.caliverse.admin.domain.entity.Item; +import com.caliverse.admin.domain.entity.LANGUAGETYPE; +import com.caliverse.admin.domain.entity.Message; +import com.caliverse.admin.dynamodb.entity.MailItem; +import com.caliverse.admin.dynamodb.entity.SystemMessage; + +import java.util.List; +import java.util.function.Function; +import java.util.stream.Collectors; + +public class DynamodbUtil { + public static String getSenderByLanguage(Message msg) { + LANGUAGETYPE langType = LANGUAGETYPE.valueOf(msg.getLanguage()); + switch (langType) { + case EN: + return "CALIVERSE"; + case JA: + return "カリバース"; + case KO: + return "칼리버스"; + default: + return null; + } + } + + public static Integer getLanguageType(String language) { + LANGUAGETYPE langType = LANGUAGETYPE.valueOf(language); + switch (langType) { + case EN: + return LanguageType.LanguageType_en.getNumber(); + case JA: + return LanguageType.LanguageType_ja.getNumber(); + case KO: + return LanguageType.LanguageType_ko.getNumber(); + default: + return null; + } + } + + public static List createSystemMessages(List messages, Function textExtractor) { + return messages.stream() + .map(msg -> SystemMessage.builder() + .languageType(getLanguageType(msg.getLanguage())) + .text(textExtractor.apply(msg)) + .build()) + .collect(Collectors.toList()); + } + + public static List createMailItems(List items) { + return items.stream() + .map(item -> MailItem.builder() + .itemId(CommonUtils.stringToInt(item.getItem())) + .count(item.getItemCnt()) + .isRepeatProduct(false) + .productId(0) + .build()) + .collect(Collectors.toList()); + } +} diff --git a/src/main/java/com/caliverse/admin/global/common/utils/ExcelUtils.java b/src/main/java/com/caliverse/admin/global/common/utils/ExcelUtils.java new file mode 100644 index 0000000..008c470 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/utils/ExcelUtils.java @@ -0,0 +1,561 @@ +package com.caliverse.admin.global.common.utils; + +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.StandardCopyOption; +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import lombok.extern.slf4j.Slf4j; +import org.apache.commons.io.FilenameUtils; +import org.apache.poi.hssf.usermodel.HSSFWorkbook; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.usermodel.*; +import org.apache.poi.ss.util.CellRangeAddress; +import org.apache.poi.xssf.usermodel.XSSFCellStyle; +import org.apache.poi.xssf.usermodel.XSSFColor; +import org.apache.poi.xssf.usermodel.XSSFFont; +import org.apache.poi.xssf.usermodel.XSSFWorkbook; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Component; +import org.springframework.web.multipart.MultipartFile; + +import com.caliverse.admin.domain.entity.Currencys; +import com.caliverse.admin.domain.entity.ROUTE; +import com.caliverse.admin.domain.entity.Excel; +import com.caliverse.admin.domain.response.IndicatorsResponse; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.fasterxml.jackson.databind.exc.InvalidFormatException; + +import jakarta.servlet.ServletOutputStream; +import jakarta.servlet.http.HttpServletResponse; + +@Slf4j +@Component +public class ExcelUtils { + + @Value("${excel.file-path}") + private String filePath; + // 각 셀의 데이터타입에 맞게 값 가져오기 + public String getCellValue(Cell cell) { + + String value = ""; + + if(cell == null){ + return value; + } + + switch (cell.getCellType()) { + case STRING: // getRichStringCellValue() 메소드를 사용하여 컨텐츠를 읽음 + value = cell.getRichStringCellValue().getString(); + break; + case NUMERIC: // 날짜 또는 숫자를 포함 할 수 있으며 아래와 같이 읽음 + if (DateUtil.isCellDateFormatted(cell)) + value = cell.getLocalDateTimeCellValue().toString(); + else + value = String.valueOf(cell.getNumericCellValue()); + if (value.endsWith(".0")) + value = value.substring(0, value.length() - 2); + break; + case BOOLEAN: + value = String.valueOf(cell.getBooleanCellValue()); + break; + case FORMULA: + value = String.valueOf(cell.getCellFormula()); + break; + case ERROR: + value = ErrorEval.getText(cell.getErrorCellValue()); + break; + case BLANK: + case _NONE: + default: + value = ""; + } + return value; + } + + public Workbook loadExcel(String fileName){ + String fullPath = filePath + fileName; + + try (FileInputStream fis = new FileInputStream(new File(fullPath))) { + return WorkbookFactory.create(fis); + }catch(Exception e){ + log.error(e.getMessage()); + } + return null; + } + + // 엑셀파일의 데이터 목록 가져오기 (파일명기준) + public List getExcelListData(String fileName){ + + List excelList = new ArrayList<>(); + + try { + Workbook workbook = loadExcel(fileName); + + // 첫번째 시트 + Sheet sheet = workbook.getSheetAt(0); + + int rowIndex = 0; + + // 첫번째 행(0)은 컬럼 명이기 때문에 두번째 행(1) 부터 검색 + for (rowIndex = 1; rowIndex < sheet.getLastRowNum() + 1; rowIndex++) { + Row row = sheet.getRow(rowIndex); + + // 빈 행은 Skip + if (row != null && row.getCell(0) != null && !row.getCell(0).toString().isBlank()) { + + Cell cell = row.getCell(0); + Cell cell2 = row.getCell(1); + + Excel excel = Excel.builder().user(getCellValue(cell)).type(getCellValue(cell2)).build(); + excelList.add(excel); + } + } + + } catch (Exception e) { + log.error("Exception Excel Format:" + e.getMessage()); + } + + return excelList; + } + + // 엑셀파일의 데이터 목록 가져오기 (파라미터들은 위에서 설명함) + public List getListData(MultipartFile file, int startRowNum, int columnLength){ + + List excelList = new ArrayList(); + + try { + Workbook workbook = null; + + String ext = FilenameUtils.getExtension(file.getOriginalFilename()).toLowerCase(); + if(!ext.equals("xlsx") && !ext.equals("xls")){ + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_EXIT_EXCEL.getMessage() ); //Excel 파일을 선택해주세요. + } + if (ext.equals("xls")){ + workbook = new HSSFWorkbook(file.getInputStream()); + }else{ + workbook = new XSSFWorkbook(file.getInputStream()); + } + + // 첫번째 시트 + Sheet sheet = workbook.getSheetAt(0); + + int rowIndex = 0; + int columnIndex = 0; + + // 첫번째 행(0)은 컬럼 명이기 때문에 두번째 행(1) 부터 검색 + for (rowIndex = startRowNum; rowIndex < sheet.getLastRowNum() + 1; rowIndex++) { + Row row = sheet.getRow(rowIndex); + + // 빈 행은 Skip + if (row != null && row.getCell(0) != null && !row.getCell(0).toString().isBlank()) { + + Map map = new HashMap(); + + int cells = columnLength; + + for (columnIndex = 0; columnIndex <= cells; columnIndex++) { + Cell cell = row.getCell(columnIndex); + Cell cell2 = row.getCell(columnIndex+1); + if(getCellValue(cell2).equals("GUID")){ + if(isString32Characters(getCellValue(cell))){ + excelList.add(getCellValue(cell)); + }else{ + log.error("getListData : Excel Upload Guid Check Fail type {}, user {}", cell2, cell); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.GUID_LENGTH_CHECK.getMessage() ); //guid 32자 체크 + } + }else if(getCellValue(cell2).equals("NICKNAME")){ + excelList.add(getCellValue(cell)); + }else if(getCellValue(cell2).equals("EMAIL")){ + excelList.add(getCellValue(cell)); + }else{ + log.error("getListData : Excel Upload Type Error type {}, user {}", cell2, cell); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.USERTYPE_CHECK_EXCEL.getMessage() ); + } + /*map.put(String.valueOf(columnIndex), getCellValue(cell)); + log.info(rowIndex + " 행 : " + columnIndex+ " 열 = " + getCellValue(cell));*/ + } + + //excelList.add(map); + } + } + + } catch (InvalidFormatException e) { + log.info("getListData Invalid Excel Format:" + e.getMessage()); + } catch (IOException e) { + log.info("getListData IOException Excel Format:" + e.getMessage()); + } + + return excelList; + } + + public void excelDownload(String sheetName, String headerNames[], String bodyDatass[][],String outfileName + , HttpServletResponse res) throws IOException { + + Workbook workbook = new XSSFWorkbook(); + ServletOutputStream servletOutputStream = res.getOutputStream(); + try { + + Sheet sheet = workbook.createSheet(sheetName); // 엑셀 sheet 이름 + + /** + * header font style + */ + XSSFFont headerXSSFFont = (XSSFFont) workbook.createFont(); + headerXSSFFont.setColor(new XSSFColor(new byte[]{(byte) 255, (byte) 255, (byte) 255})); + + /** + * header cell style + */ + XSSFCellStyle headerXssfCellStyle = (XSSFCellStyle) workbook.createCellStyle(); + + // 테두리 설정 + headerXssfCellStyle.setBorderLeft(BorderStyle.THIN); + headerXssfCellStyle.setBorderRight(BorderStyle.THIN); + headerXssfCellStyle.setBorderTop(BorderStyle.THIN); + headerXssfCellStyle.setBorderBottom(BorderStyle.THIN); + + // 배경 설정 + /*headerXssfCellStyle.setFillForegroundColor(new XSSFColor(new byte[]{(byte) 34, (byte) 37, (byte) 41})); + headerXssfCellStyle.setFillPattern(FillPatternType.SOLID_FOREGROUND); + headerXssfCellStyle.setFont(headerXSSFFont);*/ + + /** + * body cell style + */ + XSSFCellStyle bodyXssfCellStyle = (XSSFCellStyle) workbook.createCellStyle(); + + // 테두리 설정 + bodyXssfCellStyle.setBorderLeft(BorderStyle.THIN); + bodyXssfCellStyle.setBorderRight(BorderStyle.THIN); + bodyXssfCellStyle.setBorderTop(BorderStyle.THIN); + bodyXssfCellStyle.setBorderBottom(BorderStyle.THIN); + + /** + * header data + */ + int rowCount = 0; // 데이터가 저장될 행 + + Row headerRow = null; + Cell headerCell = null; + + headerRow = sheet.createRow(rowCount++); + for(int i=0; i dataList) { + Set uniqueValues = new HashSet<>(); + + for (String value : dataList) { + if (uniqueValues.contains(value)) { + return true; + } + uniqueValues.add(value); + } + + return false; + } + + public static boolean isString32Characters(String input) { + if (input == null) { + return false; + } + return input.length() == 32; + } + + //재화 지표 엑셀 다운 샘플 + public static void exportToExcelByDailyGoods(List dailyGoodsList + ,HttpServletResponse res) throws IOException { + ServletOutputStream servletOutputStream = res.getOutputStream(); + try (Workbook workbook = new XSSFWorkbook()) { + // 엑셀 시트 생성 + Sheet sheet = workbook.createSheet("DailyGoodsData"); + + // 첫 번째 라인 - 일자 + Row dateRow = sheet.createRow(0); + dateRow.createCell(0).setCellValue("일자"); + sheet.autoSizeColumn(0); + sheet.setColumnWidth((0), (sheet.getColumnWidth(0))+1024*2); //너비 더 넓게 + for (int i = 0; i < dailyGoodsList.size(); i++) { + dateRow.createCell((i+1) + 1).setCellValue(dailyGoodsList.get(i).getDate().toString()); + //sheet 넓이 auto + sheet.autoSizeColumn((i+2)); + } + + // 두 번째 라인 - ACQUIRE 총량 + Row acquireRow = sheet.createRow(1); + acquireRow.createCell(0).setCellValue("(Total)생산량"); + + for (int i = 0; i < dailyGoodsList.size(); i++) { + List totals = dailyGoodsList.get(i).getTotal(); + for (int j = 0; j < totals.size(); j++) { + if ("ACQUIRE".equals(totals.get(j).getDeltaType())) { + acquireRow.createCell((i+1) + 1).setCellValue(totals.get(j).getQuantity()); + } + } + } + // 세번째 라인 - CONSUME 총량 + Row consumeRow = sheet.createRow(2); + consumeRow.createCell(0).setCellValue("(Total)소진량"); + + for (int i = 0; i < dailyGoodsList.size(); i++) { + List totals = dailyGoodsList.get(i).getTotal(); + for (int j = 0; j < totals.size(); j++) { + if ("CONSUME".equals(totals.get(j).getDeltaType())) { + consumeRow.createCell((i+1) + 1).setCellValue(totals.get(j).getQuantity()); + } + } + } + + + // 나머지 라인 - Route 별 quantity + List acquireRoutes = Arrays.asList( + ROUTE.QUEST_REWARD, ROUTE.SEASON_PASS, ROUTE.FROM_PROP, + ROUTE.CLAIM_REWARD, ROUTE.USE_ITEM, ROUTE.TATTOO_ENHANCE, + ROUTE.TATTOO_CONVERSION, ROUTE.SHOP_BUY, ROUTE.SHOP_SELL, + ROUTE.PAID_PRODUCT, ROUTE.TRADE_ADD, ROUTE.NFT_LOCKIN + ); + int rowIndex = 3; // 시작 행 인덱스 + + for (ROUTE route : acquireRoutes) { + Row routeRow = sheet.createRow(rowIndex++); + routeRow.createCell(0).setCellValue("GET"); + routeRow.createCell(1).setCellValue(route.getDescription()); + + for (int i = 0; i < dailyGoodsList.size(); i++) { + List dailyDataList = dailyGoodsList.get(i).getDailyData(); + for (IndicatorsResponse.DailyData dailyData : dailyDataList) { + if(dailyData.getDeltaType().equals("ACQUIRE")){ + List data = dailyData.getData(); + for (Currencys currencys : data) { + if (route.getDescription().equals(currencys.getRoute())) { + routeRow.createCell((i+1) + 1).setCellValue(currencys.getQuantity()); + } + } + } + } + } + } + List consumeRoutes = Arrays.asList( + ROUTE.SHOP_BUY, ROUTE.SHOP_SELL, ROUTE.USE_PROP, + ROUTE.USE_TAXI, ROUTE.TATTOO_ENHANCE, ROUTE.TATTOO_CONVERSION, + ROUTE.SHOUT, ROUTE.SUMMON, ROUTE.CREATE_PARTYROOM, + ROUTE.INVENTORY_EXPAND, ROUTE.TRADE_REMOVE, ROUTE.NFT_UNLOCK + ); + for (ROUTE route : consumeRoutes) { + Row routeRow = sheet.createRow(rowIndex++); + routeRow.createCell(0).setCellValue("USE"); + routeRow.createCell(1).setCellValue(route.getDescription()); + + for (int i = 0; i < dailyGoodsList.size(); i++) { + List dailyDataList = dailyGoodsList.get(i).getDailyData(); + for (IndicatorsResponse.DailyData dailyData : dailyDataList) { + if(dailyData.getDeltaType().equals("CONSUME")){ + List data = dailyData.getData(); + for (Currencys currencys : data) { + if (route.getDescription().equals(currencys.getRoute())) { + routeRow.createCell((i+1) + 1).setCellValue(currencys.getQuantity()); + } + } + } + } + } + } + //cell 머지 + sheet.addMergedRegion(CellRangeAddress.valueOf("A1:B1")); + sheet.addMergedRegion(CellRangeAddress.valueOf("A2:B2")); + sheet.addMergedRegion(CellRangeAddress.valueOf("A3:B3")); + sheet.addMergedRegion(CellRangeAddress.valueOf("A4:A15")); + sheet.addMergedRegion(CellRangeAddress.valueOf("A16:A27")); + /** + * download + */ + res.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"); + res.setHeader("Content-Disposition", "attachment;filename=DailyGoodsData_" + LocalDateTime.now().getNano() + + ".xlsx"); + + workbook.write(servletOutputStream); + workbook.close(); + servletOutputStream.flush(); + servletOutputStream.close(); + } catch (IOException e) { + log.error("exportToExcelByDailyGoods IOException: {}", e.getMessage()); + } + } + //유저 지표 Retention 엑셀 다운 샘플 + public static void exportToExcelByRentention(List list + ,HttpServletResponse res) throws IOException { + ServletOutputStream servletOutputStream = res.getOutputStream(); + try (Workbook workbook = new XSSFWorkbook()) { + // 엑셀 시트 생성 + Sheet sheet = workbook.createSheet("Retention"); + + // 첫 번째 라인 - 일자 + Row dateRow = sheet.createRow(0); + dateRow.createCell(0).setCellValue("국가"); + dateRow.createCell(1).setCellValue("일자"); + dateRow.createCell(2).setCellValue("NRU"); + + for (int i = 1; i < list.size(); i++) { + dateRow.createCell(i+2).setCellValue("D+"+i); + //sheet 넓이 auto + sheet.autoSizeColumn(i+2); + } + + int rowIndex = 1; // 시작 행 인덱스 + // 두 번째 라인 + for (IndicatorsResponse.Retention retention : list){ + Row row = sheet.createRow(rowIndex++); + row.createCell(0).setCellValue("ALL"); + List dDay = retention.getDDay(); + row.createCell(1).setCellValue(retention.getDate().toString()); + for (int j = 0; j < dDay.size(); j++) { + row.createCell(j+2).setCellValue(dDay.get(j).getDif()); + } + + } + + //cell 머지 + sheet.addMergedRegion(CellRangeAddress.valueOf("A2:A"+(list.size()+1))); + /*sheet.addMergedRegion(CellRangeAddress.valueOf("A1:B1")); + sheet.addMergedRegion(CellRangeAddress.valueOf("A2:B2")); + sheet.addMergedRegion(CellRangeAddress.valueOf("A3:B3")); + sheet.addMergedRegion(CellRangeAddress.valueOf("A4:A15")); + sheet.addMergedRegion(CellRangeAddress.valueOf("A16:A27"));*/ + /** + * download + */ + res.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"); + res.setHeader("Content-Disposition", "attachment;filename=Retention_" + LocalDateTime.now().getNano() + + ".xlsx"); + + workbook.write(servletOutputStream); + workbook.close(); + servletOutputStream.flush(); + servletOutputStream.close(); + } catch (IOException e) { + log.error("exportToExcelByRentention IOException: {}", e.getMessage()); + } + } + //유저 지표 Retention 엑셀 다운 샘플 + public static void exportToExcelBySegment(List list,LocalDate startDt, + LocalDate endDt,HttpServletResponse res) throws IOException { + ServletOutputStream servletOutputStream = res.getOutputStream(); + try (Workbook workbook = new XSSFWorkbook()) { + // 엑셀 시트 생성 + Sheet sheet = workbook.createSheet("Segment"); + sheet.autoSizeColumn(0); + sheet.autoSizeColumn(1); + sheet.autoSizeColumn(2); + sheet.addMergedRegion(CellRangeAddress.valueOf("B1:C1")); + sheet.setColumnWidth(0,sheet.getColumnWidth(0)+1024*4); + + + int rowIndex = 0; + // 첫 번째 라인 - 일자 + Row headerRow = sheet.createRow(rowIndex++); + headerRow.createCell(0).setCellValue(startDt.toString()+"~"+endDt.toString()); + headerRow.createCell(1).setCellValue("KIP"); + + Row subHeaderRow = sheet.createRow(rowIndex++); + subHeaderRow.createCell(0).setCellValue("세그먼트 분류"); + subHeaderRow.createCell(1).setCellValue("AU"); + subHeaderRow.createCell(2).setCellValue("AU Percentage by User Segment (%)"); + + Row dataRow = null; + for (int i = 0; i < list.size(); i++) { + dataRow = sheet.createRow(i+rowIndex); + dataRow.createCell(0).setCellValue(list.get(i).getType()); + dataRow.createCell(1).setCellValue(list.get(i).getAu()); + dataRow.createCell(2).setCellValue(list.get(i).getDif()); + } + + //cell 머지 + /*sheet.addMergedRegion(CellRangeAddress.valueOf("A1:B1")); + sheet.addMergedRegion(CellRangeAddress.valueOf("A2:B2")); + sheet.addMergedRegion(CellRangeAddress.valueOf("A3:B3")); + sheet.addMergedRegion(CellRangeAddress.valueOf("A4:A15")); + sheet.addMergedRegion(CellRangeAddress.valueOf("A16:A27"));*/ + /** + * download + */ + res.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"); + res.setHeader("Content-Disposition", "attachment;filename=Segment_" + LocalDateTime.now().getNano() + + ".xlsx"); + + workbook.write(servletOutputStream); + workbook.close(); + servletOutputStream.flush(); + servletOutputStream.close(); + } catch (IOException e) { + log.error("exportToExcelBySegment IOException: {}", e.getMessage()); + } + } + + +} diff --git a/src/main/java/com/caliverse/admin/global/common/utils/JsonUtils.java b/src/main/java/com/caliverse/admin/global/common/utils/JsonUtils.java new file mode 100644 index 0000000..360abf4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/common/utils/JsonUtils.java @@ -0,0 +1,33 @@ +package com.caliverse.admin.global.common.utils; + +import com.caliverse.admin.domain.RabbitMq.message.MailItem; +import com.caliverse.admin.dynamodb.entity.SystemMessage; +import lombok.RequiredArgsConstructor; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Component; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.ObjectNode; + +@Component +@RequiredArgsConstructor +public class JsonUtils { + private static final Logger logger = LoggerFactory.getLogger(CommonUtils.class); + private static final ObjectMapper objectMapper = new ObjectMapper(); + + public static ObjectNode createSystemMessage(SystemMessage message) { + ObjectNode node = objectMapper.createObjectNode(); + node.put("LanguageType", message.getLanguageType()); + node.put("Text", message.getText()); + return node; + } + + public static ObjectNode createMAilItem(MailItem mailItem) { + ObjectNode node = objectMapper.createObjectNode(); + node.put("ItemId", mailItem.getItemId()); + node.put("Count", mailItem.getCount()); + node.put("ProductId", 0); + node.put("isRepeatProduct", false); + return node; + } +} diff --git a/src/main/java/com/caliverse/admin/global/component/AdminApplicationContextProvider.java b/src/main/java/com/caliverse/admin/global/component/AdminApplicationContextProvider.java new file mode 100644 index 0000000..3bb92e7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/component/AdminApplicationContextProvider.java @@ -0,0 +1,20 @@ +package com.caliverse.admin.global.component; + + +import lombok.Getter; +import org.springframework.context.ApplicationContext; +import org.springframework.context.ApplicationContextAware; +import org.springframework.stereotype.Component; + +@Component +public class AdminApplicationContextProvider implements ApplicationContextAware { + + @Getter + private static ApplicationContext context; + + @Override + public void setApplicationContext(ApplicationContext applicationContext) { + context = applicationContext; + } + +} \ No newline at end of file diff --git a/src/main/java/com/caliverse/admin/global/component/transaction/DynamoDBTransactionContext.java b/src/main/java/com/caliverse/admin/global/component/transaction/DynamoDBTransactionContext.java new file mode 100644 index 0000000..60b9154 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/component/transaction/DynamoDBTransactionContext.java @@ -0,0 +1,24 @@ +package com.caliverse.admin.global.component.transaction; + +import software.amazon.awssdk.enhanced.dynamodb.model.TransactWriteItemsEnhancedRequest; + +public class DynamoDBTransactionContext { + private static final ThreadLocal currentTransaction = new ThreadLocal<>(); + + public static void setTransactionBuilder( + TransactWriteItemsEnhancedRequest.Builder builder) { + currentTransaction.set(builder); + } + + public static TransactWriteItemsEnhancedRequest.Builder getTransactionBuilder() { + return currentTransaction.get(); + } + + public static void clear() { + currentTransaction.remove(); + } + + public static boolean isInTransaction() { + return currentTransaction.get() != null; + } +} diff --git a/src/main/java/com/caliverse/admin/global/component/transaction/TransactionIdManager.java b/src/main/java/com/caliverse/admin/global/component/transaction/TransactionIdManager.java new file mode 100644 index 0000000..5cc6dc4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/component/transaction/TransactionIdManager.java @@ -0,0 +1,24 @@ +package com.caliverse.admin.global.component.transaction; + +import org.springframework.stereotype.Component; +import org.springframework.transaction.support.TransactionSynchronizationManager; + +import java.util.UUID; + +@Component +public class TransactionIdManager { + private static final String TRANSACTION_ID_KEY = "TRANSACTION_ID"; + + public String getCurrentTransactionId() { + String currentId = (String) TransactionSynchronizationManager.getResource(TRANSACTION_ID_KEY); + if (currentId == null) { + currentId = generateTransactionId(); + TransactionSynchronizationManager.bindResource(TRANSACTION_ID_KEY, currentId); + } + return currentId; + } + + private String generateTransactionId() { + return UUID.randomUUID().toString(); + } +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/ApplicationConfig.java b/src/main/java/com/caliverse/admin/global/configuration/ApplicationConfig.java new file mode 100644 index 0000000..65768d7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/ApplicationConfig.java @@ -0,0 +1,52 @@ +package com.caliverse.admin.global.configuration; + +import lombok.RequiredArgsConstructor; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Lazy; +import org.springframework.security.authentication.AuthenticationManager; +import org.springframework.security.authentication.AuthenticationProvider; +import org.springframework.security.authentication.dao.DaoAuthenticationProvider; +import org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration; +import org.springframework.security.core.userdetails.UserDetailsService; +import org.springframework.security.core.userdetails.UsernameNotFoundException; +import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; +import org.springframework.security.crypto.password.PasswordEncoder; + +import com.caliverse.admin.domain.dao.admin.AdminMapper; + +@Configuration +@RequiredArgsConstructor +public class ApplicationConfig { + + private final AdminMapper userMapper; + + @Bean + public UserDetailsService userDetailsService(){ + + return email -> userMapper.findByEmail(email) + .orElseThrow(() -> new UsernameNotFoundException("User not found")); + } + + @Bean + public AuthenticationProvider authenticationProvider(){ + DaoAuthenticationProvider authProvider = new DaoAuthenticationProvider(); + authProvider.setUserDetailsService(userDetailsService()); + authProvider.setPasswordEncoder(passwordEncoder()); + return authProvider; + } + + + @Lazy + @Bean + public AuthenticationManager authenticationManager(AuthenticationConfiguration config) throws Exception{ + return config.getAuthenticationManager(); + } + + @Bean + public PasswordEncoder passwordEncoder() { + return new BCryptPasswordEncoder(); + } + +} + diff --git a/src/main/java/com/caliverse/admin/global/configuration/AuthenticationConfig.java b/src/main/java/com/caliverse/admin/global/configuration/AuthenticationConfig.java new file mode 100644 index 0000000..3775071 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/AuthenticationConfig.java @@ -0,0 +1,67 @@ +package com.caliverse.admin.global.configuration; + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.http.HttpMethod; +import org.springframework.security.authentication.AuthenticationProvider; +import org.springframework.security.config.annotation.web.builders.HttpSecurity; +import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; +import org.springframework.security.config.http.SessionCreationPolicy; +import org.springframework.security.core.context.SecurityContextHolder; +import org.springframework.security.web.SecurityFilterChain; +import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter; +import org.springframework.security.web.authentication.logout.LogoutHandler; + +import lombok.RequiredArgsConstructor; +import org.springframework.web.cors.CorsConfiguration; + +import java.util.List; + +@Configuration +@EnableWebSecurity +@RequiredArgsConstructor +public class AuthenticationConfig { + private final JwtAuthenticationFilter jwtAuthFilter; + private final AuthenticationProvider authenticationProvider; + private final LogoutHandler logoutHandler; + private final JwtAuthenticationEntryPoint jwtAuthenticationEntryPoint; + + @Bean + public SecurityFilterChain securityFilterChain(HttpSecurity httpSecurity) throws Exception { + + return httpSecurity + .httpBasic().disable() + .csrf().disable() // jwt사용하기 때문에 사용안한다. + .cors(cors -> cors.configurationSource(request -> { + CorsConfiguration corsConfiguration = new CorsConfiguration(); + corsConfiguration.setAllowedOrigins(List.of( + "http://localhost:3000", + "http://10.20.20.23:8080", + "http://qa-admintool.caliverse.io:8080", + "http://stage-admintool.caliverse.io:8080", + "http://live-admintool.caliverse.io:8080" + )); + corsConfiguration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH")); + corsConfiguration.setAllowedHeaders(List.of("Authorization","Content-Type")); + corsConfiguration.setAllowCredentials(true); + return corsConfiguration; + })) + .authorizeHttpRequests() + .requestMatchers("/api/v1/auth/login","/api/v1/auth/register","/v3/api-docs/**","/swagger-ui/**","swagger-ui.html", "/dev-test/**").permitAll() // login,register은 언제나 가능 + .requestMatchers(HttpMethod.POST,"/api/v1/**").authenticated() + .anyRequest() + .authenticated() + .and() + .sessionManagement(session -> session .sessionCreationPolicy(SessionCreationPolicy.STATELESS)) //jwt 사용하는 경우 씀 + .addFilterBefore(jwtAuthFilter, UsernamePasswordAuthenticationFilter.class) + .exceptionHandling(handler -> handler.authenticationEntryPoint(jwtAuthenticationEntryPoint)) + .authenticationProvider(authenticationProvider) + .logout() + .logoutUrl("/api/v1/auth/logout") + .addLogoutHandler(logoutHandler) + .logoutSuccessHandler(((request, response, authentication) -> SecurityContextHolder.clearContext())) + .and() + .build(); + } +} + diff --git a/src/main/java/com/caliverse/admin/global/configuration/BatchConfiguration.java b/src/main/java/com/caliverse/admin/global/configuration/BatchConfiguration.java new file mode 100644 index 0000000..b5d31a5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/BatchConfiguration.java @@ -0,0 +1,163 @@ +package com.caliverse.admin.global.configuration; + +import com.caliverse.admin.domain.batch.CustomProcessor; +import com.caliverse.admin.domain.batch.CustomReader; +import com.caliverse.admin.domain.batch.CustomWriter; +import org.springframework.batch.core.Job; +import org.springframework.batch.core.Step; +import org.springframework.batch.core.configuration.support.DefaultBatchConfiguration; +import org.springframework.batch.core.job.builder.JobBuilder; +import org.springframework.batch.core.repository.JobRepository; +import org.springframework.batch.core.step.builder.StepBuilder; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.transaction.PlatformTransactionManager; + +import javax.sql.DataSource; + +@Configuration +public class BatchConfiguration { +//public class BatchConfiguration extends DefaultBatchConfiguration { + +// @Autowired +// @Qualifier("dataSource") +// private DataSource dataSource; +// +// @Autowired +// @Qualifier("batchTransactionManager") +// private PlatformTransactionManager transactionManger; +// +// @Override +// public DataSource getDataSource() { +// return dataSource; +// } +// +// @Override +// public PlatformTransactionManager getTransactionManager() { +// return transactionManger; +// +// } +// +// +// @Bean +// public Job createJob(JobRepository jobRepository, PlatformTransactionManager transactionManager) { +// return new JobBuilder("testJob", jobRepository) +// .flow(createStep(jobRepository, transactionManager)).end().build(); +// } +// +// @Bean +// Step createStep(JobRepository jobRepository, PlatformTransactionManager transactionManager) { +// return new StepBuilder("testStep", jobRepository) +// . chunk(3, transactionManager) +// .allowStartIfComplete(true) +// .reader(new CustomReader()) +// .processor(new CustomProcessor()) +// .writer(new CustomWriter()) +// .build(); +// } + + + // @Bean + // public org.springframework.batch.core.Job testJob(JobRepository jobRepository,PlatformTransactionManager transactionManager) throws DuplicateJobException { + // org.springframework.batch.core.Job job = new JobBuilder("testJob",jobRepository) + // .start(testStep(jobRepository,transactionManager)) + // .build(); + // return job; + // } + + // public Step testStep(JobRepository jobRepository,PlatformTransactionManager transactionManager){ + // Step step = new StepBuilder("testStep",jobRepository) + // .tasklet(testTasklet(),transactionManager) + // .build(); + // return step; + // } + + // public Tasklet testTasklet(){ + // return ((contribution, chunkContext) -> { + // System.out.println("***** hello batch! *****"); + // // 원하는 비지니스 로직 작성 + // return RepeatStatus.FINISHED; + // }); + // } + + + // @Bean + // public JobRepository jobRepository() { + // JobRepositoryFactoryBean factory = new JobRepositoryFactoryBean(); + // factory.setDataSource(dataSource); + // factory.setTransactionManager(transactionManager); + // try { + // return factory.getObject(); + // } catch (Exception e) { + // // TODO Auto-generated catch block + // e.printStackTrace(); + // } + // return null; + // } + + // @Bean + // public JobLauncher jobLauncher() { + // TaskExecutorJobLauncher jobLauncher = new TaskExecutorJobLauncher(); + // jobLauncher.setJobRepository(jobRepository()); + // jobLauncher.setTaskExecutor(new SyncTaskExecutor()); // Optional: You can use a different TaskExecutor + // return jobLauncher; + // } + + // @Bean + // public JobLauncher jobLauncher() { + // JobLauncherFactoryBean factory = new JobLauncherFactoryBean(); + // factory.setJobRepository(jobRepository()); + // return factory.getObject(); + // } + + // tag::readerwriterprocessor[] + // @Bean + // public FlatFileItemReader reader() { + // return new FlatFileItemReaderBuilder() + // .name("personItemReader") + // .resource(new ClassPathResource("sample-data.csv")) + // .delimited() + // .names("firstName", "lastName") + // .targetType(Person.class) + // .build(); + // } + + // @Bean + // public PersonItemProcessor processor() { + // return new PersonItemProcessor(); + // } + + // @Bean + // public JdbcBatchItemWriter writer(DataSource dataSource) { + // return new JdbcBatchItemWriterBuilder() + // .sql("INSERT INTO people (first_name, last_name) VALUES (:firstName, :lastName)") + // .dataSource(dataSource) + // .beanMapped() + // .build(); + // } + // // end::readerwriterprocessor[] + + // // tag::jobstep[] + // @Bean + // public Job importUserJob(JobRepository jobRepository,Step step1, JobCompletionNotificationListener listener) { + // return new JobBuilder("importUserJob", jobRepository) + // .listener(listener) + // .start(step1) + // .build(); + // } + + // @Bean + // public Step step1(JobRepository jobRepository, DataSourceTransactionManager transactionManager, + // FlatFileItemReader reader, PersonItemProcessor processor, JdbcBatchItemWriter writer) { + // return new StepBuilder("step1", jobRepository) + // . chunk(3, transactionManager) + // .reader(reader) + // .processor(processor) + // .writer(writer) + // .build(); + + // end::jobstep[] + +} \ No newline at end of file diff --git a/src/main/java/com/caliverse/admin/global/configuration/DynamoDBConfig.java b/src/main/java/com/caliverse/admin/global/configuration/DynamoDBConfig.java new file mode 100644 index 0000000..5a81a58 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/DynamoDBConfig.java @@ -0,0 +1,61 @@ +package com.caliverse.admin.global.configuration; + +import com.caliverse.admin.domain.entity.CLOTHSMALLTYPE; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import software.amazon.awssdk.auth.credentials.*; +import software.amazon.awssdk.enhanced.dynamodb.DynamoDbEnhancedClient; +import software.amazon.awssdk.regions.Region; +import software.amazon.awssdk.services.cloudwatch.CloudWatchClient; +import software.amazon.awssdk.services.dynamodb.DynamoDbClient; + +@Configuration +public class DynamoDBConfig { + @Value("${amazon.dynamodb.endpoint}") + private String amazonDynamoDBEndpoint; + + @Value("${amazon.aws.accesskey}") + private String amazonAWSAccessKey; + + @Value("${amazon.aws.secretkey}") + private String amazonAWSSecretKey; + + @Value("${amazon.aws.region}") + private String amazonAWSRegion; + + @Bean + public DynamoDbClient dynamoDbClient() { + var builder = DynamoDbClient.builder() + .region(Region.US_WEST_2) + .credentialsProvider(awsCredentialsProvider()); + + if (amazonDynamoDBEndpoint != null && !amazonDynamoDBEndpoint.isEmpty()) { + builder.endpointOverride(java.net.URI.create(amazonDynamoDBEndpoint)); + } + return builder.build(); + } + + @Bean + public AwsCredentialsProvider awsCredentialsProvider() { + if (amazonAWSAccessKey == null || amazonAWSAccessKey.isEmpty() ||amazonAWSSecretKey == null || amazonAWSSecretKey.isEmpty()) { + return StaticCredentialsProvider.create(AwsBasicCredentials.create("fakeAccesskey", "fakeSecretKey")); + } + return StaticCredentialsProvider.create(AwsBasicCredentials.create(amazonAWSAccessKey, amazonAWSSecretKey)); + } + + @Bean + public CloudWatchClient cloudWatchClient() { + return CloudWatchClient.builder() + .region(Region.US_WEST_2) + .credentialsProvider(awsCredentialsProvider()) + .build(); + } + + @Bean + public DynamoDbEnhancedClient dynamoDbEnhancedClient(DynamoDbClient dynamoDbClient) { + return DynamoDbEnhancedClient.builder() + .dynamoDbClient(dynamoDbClient) + .build(); + } +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/JwtAuthenticationEntryPoint.java b/src/main/java/com/caliverse/admin/global/configuration/JwtAuthenticationEntryPoint.java new file mode 100644 index 0000000..bb0659a --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/JwtAuthenticationEntryPoint.java @@ -0,0 +1,24 @@ +package com.caliverse.admin.global.configuration; + +import jakarta.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.security.core.AuthenticationException; +import org.springframework.security.web.AuthenticationEntryPoint; +import org.springframework.stereotype.Component; +import org.springframework.web.servlet.HandlerExceptionResolver; + +@Component +public class JwtAuthenticationEntryPoint implements AuthenticationEntryPoint { + private final HandlerExceptionResolver resolver; + + public JwtAuthenticationEntryPoint(@Qualifier("handlerExceptionResolver") HandlerExceptionResolver resolver) { + this.resolver = resolver; + } + + @Override + public void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException authException) { + + resolver.resolveException(request, response, null, authException); + } +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/JwtAuthenticationFilter.java b/src/main/java/com/caliverse/admin/global/configuration/JwtAuthenticationFilter.java new file mode 100644 index 0000000..a2a8da5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/JwtAuthenticationFilter.java @@ -0,0 +1,78 @@ +package com.caliverse.admin.global.configuration; + +import java.io.IOException; + +import org.springframework.lang.NonNull; +import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; +import org.springframework.security.core.context.SecurityContextHolder; +import org.springframework.security.core.userdetails.UserDetails; +import org.springframework.security.core.userdetails.UserDetailsService; +import org.springframework.security.web.authentication.WebAuthenticationDetailsSource; +import org.springframework.stereotype.Component; +import org.springframework.web.filter.OncePerRequestFilter; + +import com.caliverse.admin.domain.dao.admin.TokenMapper; + +import jakarta.servlet.FilterChain; +import jakarta.servlet.ServletException; +import jakarta.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletResponse; +import lombok.RequiredArgsConstructor; + +@Component +@RequiredArgsConstructor +public class JwtAuthenticationFilter extends OncePerRequestFilter { + + private final JwtService jwtService; + private final UserDetailsService userDetailsService; + private final TokenMapper tokenMapper; + + @Override + protected void doFilterInternal( + @NonNull HttpServletRequest request, + @NonNull HttpServletResponse response, + @NonNull FilterChain filterChain + ) throws ServletException, IOException { + + if (request.getServletPath().contains("/api/v1/auth") || request.getServletPath().contains("/api-docs") || request.getServletPath().contains("/swagger-ui") || request.getServletPath().equals("/favicon.ico")) { + filterChain.doFilter(request, response); + return; + } + final String authHeader = request.getHeader("Authorization"); + if (authHeader == null ||!authHeader.startsWith("Bearer ")) { + filterChain.doFilter(request, response); + return; + } + + final String jwt = authHeader.substring(7); + String userEmail = null; + + try{ + userEmail = jwtService.extractUseremail(jwt); + } catch (Exception e){ + request.setAttribute("exception", e); + } + + + if (userEmail != null && SecurityContextHolder.getContext().getAuthentication() == null) { + UserDetails userDetails = this.userDetailsService.loadUserByUsername(userEmail); + var isTokenValid = tokenMapper.findByToken(jwt) + .map(t -> !t.isExpired() && !t.isRevoked()) + .orElse(false); + if (jwtService.isTokenValid(jwt, userDetails) && isTokenValid) { + UsernamePasswordAuthenticationToken authToken = new UsernamePasswordAuthenticationToken( + userDetails, + null, + userDetails.getAuthorities() + ); + authToken.setDetails( + new WebAuthenticationDetailsSource().buildDetails(request) + ); + SecurityContextHolder.getContext().setAuthentication(authToken); + } + } + + filterChain.doFilter(request, response); + + } +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/JwtService.java b/src/main/java/com/caliverse/admin/global/configuration/JwtService.java new file mode 100644 index 0000000..4a2ff4d --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/JwtService.java @@ -0,0 +1,113 @@ +package com.caliverse.admin.global.configuration; + +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import io.jsonwebtoken.*; +import io.jsonwebtoken.io.Decoders; +import io.jsonwebtoken.security.Keys; +import io.jsonwebtoken.security.SignatureException; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.security.core.userdetails.UserDetails; +import org.springframework.stereotype.Service; + +import java.security.Key; +import java.util.Date; +import java.util.HashMap; +import java.util.Map; +import java.util.function.Function; + +@Service +public class JwtService { + + @Value("${spring.jwt.secret_key}") + private String secretKey; + @Value("${spring.jwt.expiration}") + private long jwtExpiration; + @Value("${spring.jwt.refresh-token.expiration}") + private long refreshExpiration; + + + + public String extractUseremail(String token) { + return extractClaim(token, Claims::getSubject); + } + + public T extractClaim(String token, Function claimsResolver){ + final Claims claims = extractAllClaims(token); + return claimsResolver.apply(claims); + } + + public String generateToken(UserDetails userDetails){ + return generateToken(new HashMap<>(), userDetails); + } + + public String generateToken( + Map extraClaims, + UserDetails userDetails + ){ + return buildToken(extraClaims, userDetails, jwtExpiration); + } + + public String generateRefreshToken( + UserDetails userDetails + ){ + return buildToken(new HashMap<>(), userDetails, refreshExpiration); + } + + private String buildToken( + Map extraClaims, + UserDetails userDetails, + long expiration + ){ + return Jwts + .builder() + .setClaims(extraClaims) + .setSubject(userDetails.getUsername()) + .setIssuedAt(new Date(System.currentTimeMillis())) + .setExpiration(new Date(System.currentTimeMillis() + expiration)) + .signWith(getSignInKey(), SignatureAlgorithm.HS256) + .compact(); + } + + public Boolean isTokenValid(String token, UserDetails userDetails){ + final String username = extractUseremail(token); + return (username.equals(userDetails.getUsername())) && !isTokenExpired(token); + } + + public Boolean isTokenExpired(String token){ + return extractExpiration(token).before(new Date()); + } + + private Date extractExpiration(String token) { + return extractClaim(token, Claims::getExpiration); + } + + private Claims extractAllClaims(String token){ + try{ + return Jwts + .parserBuilder() + .setSigningKey(getSignInKey()) + .build() + .parseClaimsJws(token) + .getBody(); + }catch (SecurityException | MalformedJwtException e){ + throw new RestApiException(-1 , ErrorCode.WRONG_TYPE_TOKEN.getMessage()); + } catch (ExpiredJwtException e) { + throw new RestApiException(-1 , ErrorCode.EXPIRED_TOKEN.getMessage()); + } catch (UnsupportedJwtException e) { + throw new RestApiException(-1 , ErrorCode.UNSUPPORTED_TOKEN.getMessage()); + } catch (IllegalArgumentException e) { + throw new RestApiException(-1 , ErrorCode.WRONG_TOKEN.getMessage()); + } catch (SignatureException e){ + throw new RestApiException(-1 , ErrorCode.SIGNATURE_ERROR.getMessage()); + } catch (Exception e){ + throw new RestApiException(-1 , ErrorCode.AUTHENTICATION_FAILED.getMessage()); + } + + } + + private Key getSignInKey() { + byte[] keyBytes = Decoders.BASE64.decode(secretKey); + return Keys.hmacShaKeyFor(keyBytes); + } +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/MongoAdminConfig.java b/src/main/java/com/caliverse/admin/global/configuration/MongoAdminConfig.java new file mode 100644 index 0000000..83e5d88 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/MongoAdminConfig.java @@ -0,0 +1,51 @@ +package com.caliverse.admin.global.configuration; + + +import com.caliverse.admin.history.repository.MongoAdminRepository; +import com.mongodb.client.MongoClient; +import com.mongodb.client.MongoClients; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.data.mongodb.MongoDatabaseFactory; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory; +import org.springframework.data.mongodb.repository.config.EnableMongoRepositories; + +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; + + +@Configuration +@EnableMongoRepositories(basePackages = "com.caliverse.admin.history.repository", mongoTemplateRef = "mongoAdminTemplate") +public class MongoAdminConfig { + + @Value("${mongodb.host}") + String businessLogHost; + @Value("${mongodb.admin.username}") + String username; + @Value("${mongodb.admin.password}") + String password; + @Value("${mongodb.admin.db}") + String db; + + @Bean(name = "mongoAdminClient") + public MongoClient mongoStatClient() { + String encodePassword = URLEncoder.encode(password, StandardCharsets.UTF_8); + String auth = username.isEmpty() ? "" : String.format("%s:%s@",username, encodePassword); + String connection = String.format("mongodb://%s%s/?authSource=%s", auth, businessLogHost, db); + return MongoClients.create(connection); + } + + @Bean(name = "mongoAdminFactory") + public MongoDatabaseFactory mongoIndicatorFactory(@Qualifier("mongoAdminClient") MongoClient mongoIndicatorClient) { + return new SimpleMongoClientDatabaseFactory(mongoIndicatorClient, db); + } + + @Bean(name = "mongoAdminTemplate") + public MongoTemplate mongoIndicatorTemplate(@Qualifier("mongoAdminFactory") MongoDatabaseFactory mongoIndicatorFactory) { + return new MongoTemplate(mongoIndicatorFactory); + } + +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/MongoBusinessLogConfig.java b/src/main/java/com/caliverse/admin/global/configuration/MongoBusinessLogConfig.java new file mode 100644 index 0000000..92d4527 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/MongoBusinessLogConfig.java @@ -0,0 +1,53 @@ +package com.caliverse.admin.global.configuration; + + +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.data.mongodb.MongoDatabaseFactory; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory; +import org.springframework.data.mongodb.repository.config.EnableMongoRepositories; + +import com.caliverse.admin.logs.logrepository.mongobusinesslogrepository.MongoBusinessLogRepository; +import com.mongodb.client.MongoClient; +import com.mongodb.client.MongoClients; + +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; + + +@Configuration +@EnableMongoRepositories(basePackageClasses = MongoBusinessLogRepository.class, mongoTemplateRef = "mongoBusinessLogTemplate") +public class MongoBusinessLogConfig { + + @Value("${mongodb.host}") + String businessLogHost; + @Value("${mongodb.business-log.username}") + String username; + @Value("${mongodb.business-log.password}") + String password; + @Value("${mongodb.business-log.db}") + String businessLogdb; + + + @Bean(name = "mongoBusinessLogClient") + public MongoClient mongoBusinessLogClient() { + String encodePassword = URLEncoder.encode(password, StandardCharsets.UTF_8); + String auth = username.isEmpty() ? "" : String.format("%s:%s@",username, encodePassword); + String connection = String.format("mongodb://%s%s/?authSource=%s", auth, businessLogHost, businessLogdb); + return MongoClients.create(connection); + } + + @Bean(name = "mongoBusinessLogFactory") + public MongoDatabaseFactory mongoBusinessLogFactory(@Qualifier("mongoBusinessLogClient") MongoClient mongoClient) { + return new SimpleMongoClientDatabaseFactory(mongoClient, businessLogdb); + } + + @Bean(name = "mongoBusinessLogTemplate") + public MongoTemplate mongoBusinessLogTemplate(@Qualifier("mongoBusinessLogFactory") MongoDatabaseFactory mongoFactory) { + return new MongoTemplate(mongoFactory); + } + +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/MongoIndicatorConfig.java b/src/main/java/com/caliverse/admin/global/configuration/MongoIndicatorConfig.java new file mode 100644 index 0000000..1b109ec --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/MongoIndicatorConfig.java @@ -0,0 +1,53 @@ +package com.caliverse.admin.global.configuration; + + +import com.caliverse.admin.Indicators.indicatorrepository.MongoIndicatorRepository; +import com.mongodb.client.MongoClient; +import com.mongodb.client.MongoClients; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.data.mongodb.MongoDatabaseFactory; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory; +import org.springframework.data.mongodb.repository.config.EnableMongoRepositories; + +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; + + +@Configuration +@EnableMongoRepositories(basePackageClasses = MongoIndicatorRepository.class, mongoTemplateRef = "mongoIndicatorTemplate") +public class MongoIndicatorConfig { + +// @Value("${mongodb.indicator.uri}") +// String uri; + @Value("${mongodb.host}") + String businessLogHost; + @Value("${mongodb.indicator.username}") + String username; + @Value("${mongodb.indicator.password}") + String password; + @Value("${mongodb.indicator.db}") + String db; + + @Bean(name = "mongoIndicatorClient") + public MongoClient mongoStatClient() { + String encodePassword = URLEncoder.encode(password, StandardCharsets.UTF_8); + String auth = username.isEmpty() ? "" : String.format("%s:%s@",username, encodePassword); + String connection = String.format("mongodb://%s%s/?authSource=%s", auth, businessLogHost, db); + return MongoClients.create(connection); + } + + @Bean(name = "mongoIndicatorFactory") + public MongoDatabaseFactory mongoIndicatorFactory(@Qualifier("mongoIndicatorClient") MongoClient mongoIndicatorClient) { + return new SimpleMongoClientDatabaseFactory(mongoIndicatorClient, db); + } + + @Bean(name = "mongoIndicatorTemplate") + public MongoTemplate mongoIndicatorTemplate(@Qualifier("mongoIndicatorFactory") MongoDatabaseFactory mongoIndicatorFactory) { + return new MongoTemplate(mongoIndicatorFactory); + } + +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/MybatisConfig.java b/src/main/java/com/caliverse/admin/global/configuration/MybatisConfig.java new file mode 100644 index 0000000..637032d --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/MybatisConfig.java @@ -0,0 +1,52 @@ +package com.caliverse.admin.global.configuration; + +import org.apache.ibatis.session.SqlSessionFactory; +import org.mybatis.spring.SqlSessionFactoryBean; +import org.mybatis.spring.SqlSessionTemplate; +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.boot.jdbc.DataSourceBuilder; +import org.springframework.context.ApplicationContext; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.jdbc.datasource.DataSourceTransactionManager; +import org.springframework.transaction.PlatformTransactionManager; +import org.springframework.transaction.annotation.EnableTransactionManagement; + +import javax.sql.DataSource; + +@Configuration +@MapperScan(value = "com.caliverse.admin.domain.dao.admin", sqlSessionFactoryRef = "SqlSessionFactory") +@EnableTransactionManagement +public class MybatisConfig { + @Value("${spring.mybatis.mapper-locations}") + String mPath; + + @Bean(name = "dataSource") + @ConfigurationProperties(prefix = "spring.datasource") + public DataSource DataSource() { + return DataSourceBuilder.create().build(); + } + + + @Bean(name = "SqlSessionFactory") + public SqlSessionFactory SqlSessionFactory(@Qualifier("dataSource") DataSource DataSource, ApplicationContext applicationContext) throws Exception { + SqlSessionFactoryBean sqlSessionFactoryBean = new SqlSessionFactoryBean(); + sqlSessionFactoryBean.setDataSource(DataSource); + sqlSessionFactoryBean.setMapperLocations(applicationContext.getResources(mPath)); + return sqlSessionFactoryBean.getObject(); + } + + @Bean(name = "SessionTemplate") + public SqlSessionTemplate SqlSessionTemplate(@Qualifier("SqlSessionFactory") SqlSessionFactory firstSqlSessionFactory) { + return new SqlSessionTemplate(firstSqlSessionFactory); + } + + @Bean(name = "transactionManager") + public DataSourceTransactionManager transactionManager(@Qualifier("dataSource") DataSource dataSource) { + return new DataSourceTransactionManager(dataSource); + } +} + diff --git a/src/main/java/com/caliverse/admin/global/configuration/ObjectMapperConfig.java b/src/main/java/com/caliverse/admin/global/configuration/ObjectMapperConfig.java new file mode 100644 index 0000000..c94ea59 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/ObjectMapperConfig.java @@ -0,0 +1,22 @@ +package com.caliverse.admin.global.configuration; + +import com.fasterxml.jackson.databind.DeserializationFeature; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.SerializationFeature; +import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +import java.text.SimpleDateFormat; + +@Configuration +public class ObjectMapperConfig { + @Bean + public ObjectMapper objectMapper() { + return new ObjectMapper() + .registerModule(new JavaTimeModule()) + .configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false) + .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false) + .setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")); + } +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/RabbitMqConfig.java b/src/main/java/com/caliverse/admin/global/configuration/RabbitMqConfig.java new file mode 100644 index 0000000..b0a169a --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/RabbitMqConfig.java @@ -0,0 +1,69 @@ +package com.caliverse.admin.global.configuration; + +import com.rabbitmq.client.Connection; +import com.rabbitmq.client.ConnectionFactory; +import com.rabbitmq.client.SslContextFactory; +import lombok.SneakyThrows; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +import javax.net.ssl.SSLContext; +import javax.net.ssl.TrustManagerFactory; +import java.io.IOException; +import java.security.*; +import java.util.concurrent.TimeoutException; + +@Slf4j +@Configuration +public class RabbitMqConfig +{ + @Value("${rabbitmq.url}") + String m_rabbitmq_host; + @Value("${rabbitmq.port}") + int m_rabbitmq_port; + @Value("${rabbitmq.username}") + String m_rabbitmq_username; + @Value("${rabbitmq.password}") + String m_rabbitmq_password; + @Value("${rabbitmq.ssl}") + boolean m_rabbitmq_ssl; + + @Bean + public Connection rabbitMqClient() throws IOException, TimeoutException, NoSuchAlgorithmException, KeyManagementException { + var factory = new ConnectionFactory(); + setConnectionInfo(factory); + + if(m_rabbitmq_ssl) + { + // SSLContext 초기화 + SSLContext sslContext = SSLContext.getInstance("TLSv1.2"); + // 기본 TrustManager 로드 + TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()); + try{ + tmf.init((KeyStore) null); // 기본 Trust Store로 초기화 + } + catch(KeyStoreException e){ + log.error(e.getMessage()); + return null; + } + // SSLContext를 기본 TrustManager와 SecureRandom으로 초기화 + sslContext.init(null, tmf.getTrustManagers(), new SecureRandom()); + // SSLContext를 사용하도록 ConnectionFactory 설정 + factory.useSslProtocol(sslContext); + } + + return factory.newConnection(); + } + + private void setConnectionInfo(ConnectionFactory factory){ + factory.setHost(m_rabbitmq_host); + factory.setPort(m_rabbitmq_port); + factory.setUsername(m_rabbitmq_username); + factory.setPassword(m_rabbitmq_password); + factory.setAutomaticRecoveryEnabled(true); + factory.setRequestedHeartbeat(60); + + } +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/RedisConfig.java b/src/main/java/com/caliverse/admin/global/configuration/RedisConfig.java new file mode 100644 index 0000000..d3513f3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/RedisConfig.java @@ -0,0 +1,133 @@ +package com.caliverse.admin.global.configuration; + +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.data.redis.cache.RedisCacheConfiguration; +import org.springframework.data.redis.cache.RedisCacheManager; +import org.springframework.data.redis.connection.RedisClusterConfiguration; +import org.springframework.data.redis.connection.RedisStandaloneConfiguration; +import org.springframework.data.redis.connection.jedis.JedisClientConfiguration; +import org.springframework.data.redis.connection.jedis.JedisConnectionFactory; +import org.springframework.data.redis.core.RedisTemplate; +import org.springframework.data.redis.serializer.StringRedisSerializer; +import redis.clients.jedis.JedisPoolConfig; + +import java.time.Duration; + +@Slf4j +@Configuration +public class RedisConfig { + + @Value("${redis.host}") + private String host; + + @Value("${redis.port}") + private int port; + + @Value("${redis.password}") + private String password; + + @Value("${redis.async-timeout}") + private int asyncTimeout; + + @Value("${redis.sync-timeout}") + private int syncTimeout; + + @Value("${redis.ssl}") + private boolean ssl; + + @Value("${redis.abort-connect}") + private boolean abortConnect; + + @Value("${spring.profiles.active}") + private String activeProfile; + + @Bean + public JedisConnectionFactory jedisConnectionFactory() { +// String activeProfile = System.getProperty("active.profile", "local"); + log.info("RedisConfig Active profile: {}", activeProfile); + + if(activeProfile.equals("local") || activeProfile.equals("dev")){ + log.info("RedisConfig local config Set"); + /// Redis Standalone 설정 + RedisStandaloneConfiguration standaloneConfig = new RedisStandaloneConfiguration(); + standaloneConfig.setHostName(host); + standaloneConfig.setPort(port); + if (password != null && !password.isEmpty()) { + standaloneConfig.setPassword(password); + } + + JedisClientConfiguration.JedisClientConfigurationBuilder jedisClientConfig = JedisClientConfiguration.builder(); + jedisClientConfig.connectTimeout(java.time.Duration.ofMillis(asyncTimeout)); // AsyncTimeout + jedisClientConfig.readTimeout(java.time.Duration.ofMillis(syncTimeout)); // SyncTimeout + if (ssl) { + jedisClientConfig.useSsl(); + } + //if (!abortConnect) { jedisClientConfig.blockOnReconnect(false);} + + return new JedisConnectionFactory(standaloneConfig, jedisClientConfig.build()); + } + + log.info("RedisConfig deploy config Set"); + //cluster로 변경 수정 + JedisPoolConfig poolConfig = new JedisPoolConfig(); + poolConfig.setMaxTotal(128); // 연결 풀 설정 + + // Redis 클러스터 진입점 노드만 지정 + RedisClusterConfiguration clusterConfig = new RedisClusterConfiguration(); + clusterConfig.clusterNode(host, port); + clusterConfig.setPassword(password); // 패스워드 설정 + clusterConfig.setMaxRedirects(5); + var builder = JedisClientConfiguration.builder(); + builder.usePooling().poolConfig(poolConfig); + if(ssl){ + builder.useSsl(); + } + JedisClientConfiguration clientConfig = builder.build(); + + JedisConnectionFactory factory = new JedisConnectionFactory(clusterConfig, clientConfig); + + factory.afterPropertiesSet(); + + try { + factory.getConnection().ping(); // Redis 서버에 Ping 명령어를 전송해 응답을 확인 + log.info("Successfully connected to Redis server: {}", factory.getHostName()); + } catch (Exception e) { + log.error("Failed to connect to Redis server: {}", e.getMessage()); + } + + return factory; + } + + @Bean + public RedisTemplate redisTemplate() { + RedisTemplate template = new RedisTemplate<>(); + template.setConnectionFactory(jedisConnectionFactory()); + template.setKeySerializer(new StringRedisSerializer()); + template.setValueSerializer(new StringRedisSerializer()); + template.setHashKeySerializer(new StringRedisSerializer()); + template.setHashValueSerializer(new StringRedisSerializer()); + + try { + template.getConnectionFactory().getConnection().ping(); + log.info("redisTemplate Successfully connected to Redis server"); + } catch (Exception e) { + log.error("redisTemplate Failed to connect to Redis server: {}", e.getMessage()); + } + + return template; + } + + @Bean + public RedisCacheManager cacheManager(JedisConnectionFactory jedisConnectionFactory) { + RedisCacheConfiguration cacheConfig = RedisCacheConfiguration.defaultCacheConfig() + .entryTtl(Duration.ofMinutes(60)) // 캐시 TTL 설정 + .disableCachingNullValues(); // null 값 캐싱 금지 + + return RedisCacheManager.builder(jedisConnectionFactory) + .cacheDefaults(cacheConfig) + .build(); + } +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/RestConfig.java b/src/main/java/com/caliverse/admin/global/configuration/RestConfig.java new file mode 100644 index 0000000..e0d2bac --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/RestConfig.java @@ -0,0 +1,72 @@ +package com.caliverse.admin.global.configuration; + +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.Getter; +import lombok.RequiredArgsConstructor; +import lombok.Setter; + +import org.springframework.beans.factory.annotation.Value; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.http.client.HttpComponentsClientHttpRequestFactory; +import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; +import org.springframework.retry.backoff.FixedBackOffPolicy; +import org.springframework.retry.policy.SimpleRetryPolicy; +import org.springframework.retry.support.RetryTemplate; +import org.springframework.web.client.RestTemplate; + +import java.util.Collections; + + +@Configuration +@RequiredArgsConstructor +@Getter +@Setter +public class RestConfig { + @Value("${web3.timeout}") + private int timeout; + @Value("${web3.url}") + private String url; + @Value("${web3.delay}") + private long delay; + @Value("${web3.max-retry}") + private int maxRetry; + + private final ObjectMapper objectMapper; + + @Bean + public RestTemplate restTemplate() { + RestTemplate restTemplate = new RestTemplate(); + + // Timeout 설정 + HttpComponentsClientHttpRequestFactory factory = + new HttpComponentsClientHttpRequestFactory(); + factory.setConnectTimeout(timeout); + factory.setConnectionRequestTimeout(timeout); + restTemplate.setRequestFactory(factory); + + // MessageConverter 설정 + MappingJackson2HttpMessageConverter converter = + new MappingJackson2HttpMessageConverter(objectMapper); + restTemplate.setMessageConverters(Collections.singletonList(converter)); + + return restTemplate; + } + + @Bean + public RetryTemplate retryTemplate() { + RetryTemplate retryTemplate = new RetryTemplate(); + + //retry 2초간격 3회 + FixedBackOffPolicy backOffPolicy = new FixedBackOffPolicy(); + backOffPolicy.setBackOffPeriod(delay); + + SimpleRetryPolicy retryPolicy = new SimpleRetryPolicy(); + retryPolicy.setMaxAttempts(maxRetry); + + retryTemplate.setBackOffPolicy(backOffPolicy); + retryTemplate.setRetryPolicy(retryPolicy); + + return retryTemplate; + } +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/S3Config.java b/src/main/java/com/caliverse/admin/global/configuration/S3Config.java new file mode 100644 index 0000000..fcd030c --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/S3Config.java @@ -0,0 +1,35 @@ +package com.caliverse.admin.global.configuration; + +import lombok.RequiredArgsConstructor; +import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; +import org.springframework.context.annotation.Configuration; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.context.annotation.Bean; + +import software.amazon.awssdk.auth.credentials.AwsBasicCredentials; +import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider; +import software.amazon.awssdk.regions.Region; +import software.amazon.awssdk.services.s3.S3Client; + +@Configuration +@RequiredArgsConstructor +public class S3Config { + @Value("${amazon.aws.accesskey}") + private String accessKey; + + @Value("${amazon.aws.secretkey}") + private String secretKey; + + @Value("${amazon.aws.region}") + private String region; + + @Bean + @ConditionalOnProperty(name = "amazon.s3.enabled", havingValue = "true") + public S3Client s3Client() { + AwsBasicCredentials credentials = AwsBasicCredentials.create(accessKey, secretKey); + return S3Client.builder() + .credentialsProvider(StaticCredentialsProvider.create(credentials)) + .region(Region.of(region)) + .build(); + } +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/SwaggerConfig.java b/src/main/java/com/caliverse/admin/global/configuration/SwaggerConfig.java new file mode 100644 index 0000000..1c5215c --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/SwaggerConfig.java @@ -0,0 +1,25 @@ +package com.caliverse.admin.global.configuration; + +import io.swagger.v3.oas.models.Components; +import io.swagger.v3.oas.models.OpenAPI; +import io.swagger.v3.oas.models.info.Info; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +@Configuration +public class SwaggerConfig { + + @Bean + public OpenAPI openAPI() { + return new OpenAPI() + .components(new Components()) + .info(apiInfo()); + } + + private Info apiInfo() { + return new Info() + .title("칼리버스 API 명세서") + .description("칼리버스 어드민 툴 스웨거 ") + .version("v1"); + } +} diff --git a/src/main/java/com/caliverse/admin/global/configuration/TestBatchConfiguration.java b/src/main/java/com/caliverse/admin/global/configuration/TestBatchConfiguration.java new file mode 100644 index 0000000..5dc8611 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/TestBatchConfiguration.java @@ -0,0 +1,162 @@ +package com.caliverse.admin.global.configuration; + +import javax.sql.DataSource; + +import org.springframework.batch.core.Job; +import org.springframework.batch.core.Step; +import org.springframework.batch.core.configuration.support.DefaultBatchConfiguration; +import org.springframework.batch.core.job.builder.JobBuilder; +import org.springframework.batch.core.repository.JobRepository; +import org.springframework.batch.core.step.builder.StepBuilder; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.transaction.PlatformTransactionManager; +import com.caliverse.admin.domain.batch.CustomProcessor; +import com.caliverse.admin.domain.batch.CustomReader; +import com.caliverse.admin.domain.batch.CustomWriter; + +@Configuration +//public class TestBatchConfiguration extends DefaultBatchConfiguration { +public class TestBatchConfiguration { +// @Autowired +// @Qualifier("dataSource-normal") +// private DataSource dataSource; +// +// @Autowired +// @Qualifier("batchTransactionManager") +// private PlatformTransactionManager transactionManger; +// +// @Override +// public DataSource getDataSource() { +// return dataSource; +// } +// +// @Override +// public PlatformTransactionManager getTransactionManager() { +// return transactionManger; +// +// } +// +// +// @Bean +// public Job createJob(JobRepository jobRepository, PlatformTransactionManager transactionManager) { +// return new JobBuilder("testJob", jobRepository) +// .flow(createStep(jobRepository, transactionManager)).end().build(); +// } +// +// @Bean +// Step createStep(JobRepository jobRepository, PlatformTransactionManager transactionManager) { +// return new StepBuilder("testStep", jobRepository) +// . chunk(3, transactionManager) +// .allowStartIfComplete(true) +// .reader(new CustomReader()) +// .processor(new CustomProcessor()) +// .writer(new CustomWriter()) +// .build(); +// } + + + // @Bean + // public org.springframework.batch.core.Job testJob(JobRepository jobRepository,PlatformTransactionManager transactionManager) throws DuplicateJobException { + // org.springframework.batch.core.Job job = new JobBuilder("testJob",jobRepository) + // .start(testStep(jobRepository,transactionManager)) + // .build(); + // return job; + // } + + // public Step testStep(JobRepository jobRepository,PlatformTransactionManager transactionManager){ + // Step step = new StepBuilder("testStep",jobRepository) + // .tasklet(testTasklet(),transactionManager) + // .build(); + // return step; + // } + + // public Tasklet testTasklet(){ + // return ((contribution, chunkContext) -> { + // System.out.println("***** hello batch! *****"); + // // 원하는 비지니스 로직 작성 + // return RepeatStatus.FINISHED; + // }); + // } + + + // @Bean + // public JobRepository jobRepository() { + // JobRepositoryFactoryBean factory = new JobRepositoryFactoryBean(); + // factory.setDataSource(dataSource); + // factory.setTransactionManager(transactionManager); + // try { + // return factory.getObject(); + // } catch (Exception e) { + // // TODO Auto-generated catch block + // e.printStackTrace(); + // } + // return null; + // } + + // @Bean + // public JobLauncher jobLauncher() { + // TaskExecutorJobLauncher jobLauncher = new TaskExecutorJobLauncher(); + // jobLauncher.setJobRepository(jobRepository()); + // jobLauncher.setTaskExecutor(new SyncTaskExecutor()); // Optional: You can use a different TaskExecutor + // return jobLauncher; + // } + + // @Bean + // public JobLauncher jobLauncher() { + // JobLauncherFactoryBean factory = new JobLauncherFactoryBean(); + // factory.setJobRepository(jobRepository()); + // return factory.getObject(); + // } + + // tag::readerwriterprocessor[] + // @Bean + // public FlatFileItemReader reader() { + // return new FlatFileItemReaderBuilder() + // .name("personItemReader") + // .resource(new ClassPathResource("sample-data.csv")) + // .delimited() + // .names("firstName", "lastName") + // .targetType(Person.class) + // .build(); + // } + + // @Bean + // public PersonItemProcessor processor() { + // return new PersonItemProcessor(); + // } + + // @Bean + // public JdbcBatchItemWriter writer(DataSource dataSource) { + // return new JdbcBatchItemWriterBuilder() + // .sql("INSERT INTO people (first_name, last_name) VALUES (:firstName, :lastName)") + // .dataSource(dataSource) + // .beanMapped() + // .build(); + // } + // // end::readerwriterprocessor[] + + // // tag::jobstep[] + // @Bean + // public Job importUserJob(JobRepository jobRepository,Step step1, JobCompletionNotificationListener listener) { + // return new JobBuilder("importUserJob", jobRepository) + // .listener(listener) + // .start(step1) + // .build(); + // } + + // @Bean + // public Step step1(JobRepository jobRepository, DataSourceTransactionManager transactionManager, + // FlatFileItemReader reader, PersonItemProcessor processor, JdbcBatchItemWriter writer) { + // return new StepBuilder("step1", jobRepository) + // . chunk(3, transactionManager) + // .reader(reader) + // .processor(processor) + // .writer(writer) + // .build(); + + // end::jobstep[] + +} \ No newline at end of file diff --git a/src/main/java/com/caliverse/admin/global/configuration/TotalMybatisConfig.java b/src/main/java/com/caliverse/admin/global/configuration/TotalMybatisConfig.java new file mode 100644 index 0000000..149a671 --- /dev/null +++ b/src/main/java/com/caliverse/admin/global/configuration/TotalMybatisConfig.java @@ -0,0 +1,49 @@ +package com.caliverse.admin.global.configuration; + +import org.apache.ibatis.session.SqlSessionFactory; +import org.mybatis.spring.SqlSessionFactoryBean; +import org.mybatis.spring.SqlSessionTemplate; +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.boot.jdbc.DataSourceBuilder; +import org.springframework.context.ApplicationContext; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.jdbc.datasource.DataSourceTransactionManager; +import org.springframework.transaction.annotation.EnableTransactionManagement; + +import javax.sql.DataSource; + +@Configuration +@MapperScan(value = "com.caliverse.admin.domain.dao.total", sqlSessionFactoryRef = "TotalSqlSessionFactory") +@EnableTransactionManagement +public class TotalMybatisConfig{ + @Value("${spring.mybatis.mapper-locations}") + String mPath; + + @Bean(name = "totalDataSource") + @ConfigurationProperties(prefix = "spring.total-datasource") + public DataSource DataSource() { + return DataSourceBuilder.create().build(); + } + + @Bean(name = "TotalSqlSessionFactory") + public SqlSessionFactory TotalSqlSessionFactory(@Qualifier("totalDataSource") DataSource DataSource, ApplicationContext applicationContext) throws Exception { + SqlSessionFactoryBean sqlSessionFactoryBean = new SqlSessionFactoryBean(); + sqlSessionFactoryBean.setDataSource(DataSource); + sqlSessionFactoryBean.setMapperLocations(applicationContext.getResources(mPath)); + return sqlSessionFactoryBean.getObject(); + } + + @Bean(name = "TotalSessionTemplate") + public SqlSessionTemplate SqlSessionTemplate(@Qualifier("TotalSqlSessionFactory") SqlSessionFactory firstSqlSessionFactory) { + return new SqlSessionTemplate(firstSqlSessionFactory); + } + + @Bean(name = "totalTransactionManager") + public DataSourceTransactionManager totalTransactionManager(@Qualifier("totalDataSource") DataSource dataSource) { + return new DataSourceTransactionManager(dataSource); + } +} diff --git a/src/main/java/com/caliverse/admin/history/ChangeDetector.java b/src/main/java/com/caliverse/admin/history/ChangeDetector.java new file mode 100644 index 0000000..92e140d --- /dev/null +++ b/src/main/java/com/caliverse/admin/history/ChangeDetector.java @@ -0,0 +1,356 @@ +package com.caliverse.admin.history; + +import com.caliverse.admin.domain.adminlog.FieldChange; +import com.caliverse.admin.dynamodb.domain.DocAttributeHandler; +import com.caliverse.admin.dynamodb.domain.doc.DynamoDBDocBase; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; + +import java.text.SimpleDateFormat; +import java.util.*; + +public class ChangeDetector { + private static final ObjectMapper objectMapper = new ObjectMapper() + .setPropertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE) + .registerModule(new JavaTimeModule()) + .setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")); + + // 제외할 필드 목록 + private static final Set EXCLUDED_FIELDS = new HashSet<>(Arrays.asList( + "update_dt", + "update_by", + "created_dt", + "created_by" + )); + + @SuppressWarnings("unchecked") + public static List detectInsertChanges(DynamoDBDocBase newDoc) { + Object attrib = DocAttributeHandler.getAttribValue(newDoc); + if (attrib == null) { + return new ArrayList<>(); + } + + return (attrib instanceof String) + ? detectChangesFromJsonString((String) attrib) + : detectChangesFromObject(attrib); + } + + private static List detectChangesFromJsonString(String jsonString) { + try { + Map attribMap = objectMapper.readValue(jsonString, + new TypeReference>() {}); + return createFieldChanges(attribMap); + } catch (JsonProcessingException e) { + throw new RuntimeException("Error processing JSON string changes", e); + } + } + + private static List detectChangesFromObject(Object attrib) { + Map attribMap = objectMapper.convertValue(attrib, + new TypeReference>() {}); + return createFieldChanges(attribMap); + } + +// @SuppressWarnings("unchecked") +// public static List detectInsertChanges(DynamoDBDocBase newDoc) { +// List changes = new ArrayList<>(); +// Object attrib = DocAttributeHandler.getAttribValue(newDoc); +// +// if (attrib == null) { +// return changes; +// } +// +// Map attribMap = objectMapper.convertValue(attrib, Map.class); +// +// for (Map.Entry entry : attribMap.entrySet()) { +// changes.add(new FieldChange( +// entry.getKey(), +// null, +// entry.getValue() +// )); +// } +// +// return changes; +// } + + public static List detectInsertChanges(T newObj) { + List changes = new ArrayList<>(); + + if (newObj == null) { + return changes; + } + + Map newObjMap = objectMapper.convertValue(newObj, Map.class); + + for (Map.Entry entry : newObjMap.entrySet()) { + String fieldName = entry.getKey(); + Object newValue = entry.getValue(); + if (isExcludedField(fieldName)) { + continue; + } + if (newValue instanceof String && isDateTimeString((String) newValue)) { + newValue = ((String) newValue).replace('T', ' '); + } + changes.add(new FieldChange( + fieldName, + null, + newValue + )); + } + + return changes; + } + + @SuppressWarnings("unchecked") + public static List detectChanges(DynamoDBDocBase beforeDoc, DynamoDBDocBase afterDoc) { + List changes = new ArrayList<>(); + + if (beforeDoc == null || afterDoc == null) { + return changes; + } + + Object beforeAttrib = DocAttributeHandler.getAttribValue(beforeDoc); + Object afterAttrib = DocAttributeHandler.getAttribValue(afterDoc); + + if (beforeAttrib == null || afterAttrib == null) { + return changes; + } + + try { + Map oldAttribMap = convertToMap(beforeAttrib); + Map newAttribMap = convertToMap(afterAttrib); + + for (Map.Entry entry : newAttribMap.entrySet()) { + String fieldName = entry.getKey(); + Object newValue = entry.getValue(); + Object oldValue = oldAttribMap.get(fieldName); + + if (!isEqual(oldValue, newValue)) { + changes.add(new FieldChange(fieldName, oldValue, newValue)); + } + } + + for (String fieldName : oldAttribMap.keySet()) { + if (!newAttribMap.containsKey(fieldName)) { + changes.add(new FieldChange(fieldName, oldAttribMap.get(fieldName), null)); + } + } + + return changes; + } catch (JsonProcessingException e) { + throw new RuntimeException("Error processing document changes", e); + } + } + +// @SuppressWarnings("unchecked") +// public static List detectChanges(DynamoDBDocBase beforeDoc, DynamoDBDocBase afterDoc) { +// List changes = new ArrayList<>(); +// +// if (beforeDoc == null || afterDoc == null) { +// return changes; +// } +// +// Object beforeAttrib = DocAttributeHandler.getAttribValue(beforeDoc); +// Object afterAttrib = DocAttributeHandler.getAttribValue(afterDoc); +// +// if (beforeAttrib == null || afterAttrib == null) { +// return changes; +// } +// +// Map oldAttribMap = objectMapper.convertValue(beforeAttrib, Map.class); +// Map newAttribMap = objectMapper.convertValue(afterAttrib, Map.class); +// +// for (Map.Entry entry : newAttribMap.entrySet()) { +// String fieldName = entry.getKey(); +// Object newValue = entry.getValue(); +// Object oldValue = oldAttribMap.get(fieldName); +// +// if (!isEqual(oldValue, newValue)) { +// changes.add(new FieldChange(fieldName, oldValue, newValue)); +// } +// } +// +// for (String fieldName : oldAttribMap.keySet()) { +// if (!newAttribMap.containsKey(fieldName)) { +// changes.add(new FieldChange(fieldName, oldAttribMap.get(fieldName), null)); +// } +// } +// +// return changes; +// } + + public static List detectChanges(T beforeObj, T afterObj) { + List changes = new ArrayList<>(); + + if (beforeObj == null || afterObj == null) { + return changes; + } + + Map oldObjMap = objectMapper.convertValue(beforeObj, Map.class); + Map newObjMap = objectMapper.convertValue(afterObj, Map.class); + + // 새로운 값의 모든 필드 확인 + for (Map.Entry entry : newObjMap.entrySet()) { + String fieldName = entry.getKey(); + if (isExcludedField(fieldName)) { + continue; + } + Object newValue = entry.getValue(); + Object oldValue = oldObjMap.get(fieldName); + + if (newValue instanceof String && isDateTimeString((String) newValue)) { + newValue = ((String) newValue).replace('T', ' '); + } + if (oldValue instanceof String && isDateTimeString((String) oldValue)) { + oldValue = ((String) oldValue).replace('T', ' '); + } + + if (!isEqual(oldValue, newValue)) { + changes.add(new FieldChange(fieldName, oldValue, newValue)); + } + } + + // 삭제된 필드 확인 + for (String fieldName : oldObjMap.keySet()) { + if (!newObjMap.containsKey(fieldName)) { + changes.add(new FieldChange(fieldName, oldObjMap.get(fieldName), null)); + } + } + + return changes; + } + + @SuppressWarnings("unchecked") + public static List detectDeleteChanges(DynamoDBDocBase deletedDoc) { + Object attrib = DocAttributeHandler.getAttribValue(deletedDoc); + if (attrib == null) { + return new ArrayList<>(); + } + + return (attrib instanceof String) + ? detectDeleteChangesFromJsonString((String) attrib) + : detectDeleteChangesFromObject(attrib); + } + + private static List detectDeleteChangesFromJsonString(String jsonString) { + try { + Map attribMap = objectMapper.readValue(jsonString, + new TypeReference>() {}); + return createFieldChanges(attribMap); + } catch (JsonProcessingException e) { + throw new RuntimeException("Error processing JSON string changes for delete", e); + } + } + + private static List detectDeleteChangesFromObject(Object attrib) { + Map attribMap = objectMapper.convertValue(attrib, + new TypeReference>() {}); + return createFieldChanges(attribMap); + } + +// @SuppressWarnings("unchecked") +// public static List detectDeleteChanges(DynamoDBDocBase deletedDoc) { +// List changes = new ArrayList<>(); +// Object attrib = DocAttributeHandler.getAttribValue(deletedDoc); +// +// if (attrib == null) { +// return changes; +// } +// +// Map attribMap = objectMapper.convertValue(attrib, Map.class); +// +// for (Map.Entry entry : attribMap.entrySet()) { +// changes.add(new FieldChange( +// entry.getKey(), +// entry.getValue(), +// null +// )); +// } +// +// return changes; +// } + + public static List detectDeleteChanges(T deletedObj) { + List changes = new ArrayList<>(); + + if (deletedObj == null) { + return changes; + } + + Map objMap = objectMapper.convertValue(deletedObj, Map.class); + + for (Map.Entry entry : objMap.entrySet()) { + String fieldName = entry.getKey(); + if (isExcludedField(fieldName)) { + continue; + } + Object oldValue = entry.getValue(); + if (oldValue instanceof String && isDateTimeString((String) oldValue)) { + oldValue = ((String) oldValue).replace('T', ' '); + } + changes.add(new FieldChange( + fieldName, + oldValue, + null + )); + } + + return changes; + } + + private static boolean isExcludedField(String fieldName) { + return EXCLUDED_FIELDS.contains(fieldName) || + EXCLUDED_FIELDS.contains(toSnakeCase(fieldName)) || + EXCLUDED_FIELDS.contains(toCamelCase(fieldName)); + } + + private static String toSnakeCase(String str) { + return str.replaceAll("([a-z])([A-Z])", "$1_$2").toLowerCase(); + } + + private static String toCamelCase(String str) { + String[] words = str.split("[\\W_]+"); + StringBuilder builder = new StringBuilder(); + builder.append(words[0].toLowerCase()); + for (int i = 1; i < words.length; i++) { + builder.append(words[i].substring(0, 1).toUpperCase()); + builder.append(words[i].substring(1).toLowerCase()); + } + return builder.toString(); + } + + private static boolean isDateTimeString(String value) { + return value != null && value.matches("\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.*"); + } + + + private static boolean isEqual(Object obj1, Object obj2) { + if (obj1 == null && obj2 == null) return true; + if (obj1 == null || obj2 == null) return false; + return obj1.equals(obj2); + } + + private static List createFieldChanges(Map attribMap) { + List changes = new ArrayList<>(); + for (Map.Entry entry : attribMap.entrySet()) { + changes.add(new FieldChange( + entry.getKey(), + null, + entry.getValue() + )); + } + return changes; + } + + private static Map convertToMap(Object attrib) throws JsonProcessingException { + if (attrib instanceof String) { + return objectMapper.readValue((String) attrib, + new TypeReference>() {}); + } + return objectMapper.convertValue(attrib, + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/caliverse/admin/history/domain/DynamodbHistoryLogInfo.java b/src/main/java/com/caliverse/admin/history/domain/DynamodbHistoryLogInfo.java new file mode 100644 index 0000000..4e728a9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/history/domain/DynamodbHistoryLogInfo.java @@ -0,0 +1,27 @@ +package com.caliverse.admin.history.domain; + +import com.caliverse.admin.domain.adminlog.FieldChange; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.dynamodb.domain.doc.DynamoDBDocBase; +import com.caliverse.admin.global.common.utils.DateUtils; +import com.caliverse.admin.history.entity.DBType; +import com.caliverse.admin.history.entity.EDBOperationType; +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +import java.util.List; + +@Getter +@Setter +@Document(collection = "historyLog") +public class DynamodbHistoryLogInfo extends HistoryLogInfoBase { + + private DynamoDBDocBase data; + + public DynamodbHistoryLogInfo(EDBOperationType operationType, HISTORYTYPE historytype, String tableName, String message, String tranId, List changed, String userId, String userIP, DynamoDBDocBase data) { + super(DBType.DYNAMODB, DateUtils.nowDateTime(), operationType, historytype, tableName, message, tranId,changed, userId, userIP); + + this.data = data; + } +} diff --git a/src/main/java/com/caliverse/admin/history/domain/HistoryLogInfoBase.java b/src/main/java/com/caliverse/admin/history/domain/HistoryLogInfoBase.java new file mode 100644 index 0000000..debd4b6 --- /dev/null +++ b/src/main/java/com/caliverse/admin/history/domain/HistoryLogInfoBase.java @@ -0,0 +1,49 @@ +package com.caliverse.admin.history.domain; + +import com.caliverse.admin.domain.adminlog.FieldChange; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.history.entity.DBType; +import com.caliverse.admin.history.entity.EDBOperationType; +import lombok.Getter; +import lombok.Setter; + +import java.util.List; + +@Getter +@Setter +public class HistoryLogInfoBase implements historyLog { + + private DBType dbType; + private String timestamp; + private EDBOperationType operationType; + private HISTORYTYPE historyType; + private String tableName; + private String message; + private String TranId; + private List changed; + private String userId; + private String userIP; + + public HistoryLogInfoBase(DBType dbType, + String timestamp, + EDBOperationType operationType, + HISTORYTYPE historyType, + String tableName, + String message, + String TranId, + List changed, + String userId, + String userIP + ) { + this.dbType = dbType; + this.timestamp = timestamp; + this.operationType = operationType; + this.historyType = historyType; + this.tableName = tableName; + this.message = message; + this.TranId = TranId; + this.changed = changed; + this.userId = userId; + this.userIP = userIP; + } +} diff --git a/src/main/java/com/caliverse/admin/history/domain/MysqlHistoryLogInfo.java b/src/main/java/com/caliverse/admin/history/domain/MysqlHistoryLogInfo.java new file mode 100644 index 0000000..f7c4a00 --- /dev/null +++ b/src/main/java/com/caliverse/admin/history/domain/MysqlHistoryLogInfo.java @@ -0,0 +1,27 @@ +package com.caliverse.admin.history.domain; + +import com.caliverse.admin.domain.adminlog.FieldChange; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.global.common.utils.DateUtils; +import com.caliverse.admin.history.entity.DBType; +import com.caliverse.admin.history.entity.EDBOperationType; +import lombok.Getter; +import lombok.Setter; +import org.apache.poi.ss.formula.functions.T; +import org.springframework.data.mongodb.core.mapping.Document; + +import java.util.List; + +@Getter +@Setter +@Document(collection = "historyLog") +public class MysqlHistoryLogInfo extends HistoryLogInfoBase { + + private Object data; + + public MysqlHistoryLogInfo(EDBOperationType operationType, HISTORYTYPE historytype, String tableName, String message, String tranId, List changed, String userId, String userIP, Object data) { + super(DBType.MYSQL, DateUtils.nowDateTime(), operationType, historytype, tableName, message, tranId, changed, userId, userIP); + + this.data = data; + } +} diff --git a/src/main/java/com/caliverse/admin/history/domain/historyLog.java b/src/main/java/com/caliverse/admin/history/domain/historyLog.java new file mode 100644 index 0000000..30870c8 --- /dev/null +++ b/src/main/java/com/caliverse/admin/history/domain/historyLog.java @@ -0,0 +1,5 @@ +package com.caliverse.admin.history.domain; + +public interface historyLog { + +} diff --git a/src/main/java/com/caliverse/admin/history/entity/DBType.java b/src/main/java/com/caliverse/admin/history/entity/DBType.java new file mode 100644 index 0000000..6b785c9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/history/entity/DBType.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.history.entity; + +public enum DBType { + + DYNAMODB, + MYSQL, + MONGODB + ; + + public static DBType getHistoryType(String type) { + for (DBType historyType : DBType.values()) { + if (historyType.name().equals(type)) { + return historyType; + } + } + return null; + } +} diff --git a/src/main/java/com/caliverse/admin/history/entity/EDBOperationType.java b/src/main/java/com/caliverse/admin/history/entity/EDBOperationType.java new file mode 100644 index 0000000..90791cd --- /dev/null +++ b/src/main/java/com/caliverse/admin/history/entity/EDBOperationType.java @@ -0,0 +1,13 @@ +package com.caliverse.admin.history.entity; + +public enum EDBOperationType { + + INSERT("등록"), + UPDATE("수정"), + DELETE("삭제"); + + private String operationType; + EDBOperationType(String type) { + this.operationType = type; + } +} diff --git a/src/main/java/com/caliverse/admin/history/repository/DynamodbHistoryLogRepository.java b/src/main/java/com/caliverse/admin/history/repository/DynamodbHistoryLogRepository.java new file mode 100644 index 0000000..64a7631 --- /dev/null +++ b/src/main/java/com/caliverse/admin/history/repository/DynamodbHistoryLogRepository.java @@ -0,0 +1,7 @@ +package com.caliverse.admin.history.repository; + +import com.caliverse.admin.history.domain.DynamodbHistoryLogInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +public interface DynamodbHistoryLogRepository extends MongoRepository { +} diff --git a/src/main/java/com/caliverse/admin/history/repository/MongoAdminRepository.java b/src/main/java/com/caliverse/admin/history/repository/MongoAdminRepository.java new file mode 100644 index 0000000..0dab5da --- /dev/null +++ b/src/main/java/com/caliverse/admin/history/repository/MongoAdminRepository.java @@ -0,0 +1,6 @@ +package com.caliverse.admin.history.repository; + + + +public interface MongoAdminRepository { +} diff --git a/src/main/java/com/caliverse/admin/history/repository/MysqlHistoryLogRepository.java b/src/main/java/com/caliverse/admin/history/repository/MysqlHistoryLogRepository.java new file mode 100644 index 0000000..59e7b92 --- /dev/null +++ b/src/main/java/com/caliverse/admin/history/repository/MysqlHistoryLogRepository.java @@ -0,0 +1,7 @@ +package com.caliverse.admin.history.repository; + +import com.caliverse.admin.history.domain.MysqlHistoryLogInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +public interface MysqlHistoryLogRepository extends MongoRepository { +} diff --git a/src/main/java/com/caliverse/admin/history/service/DynamodbHistoryLogService.java b/src/main/java/com/caliverse/admin/history/service/DynamodbHistoryLogService.java new file mode 100644 index 0000000..82ccf93 --- /dev/null +++ b/src/main/java/com/caliverse/admin/history/service/DynamodbHistoryLogService.java @@ -0,0 +1,109 @@ +package com.caliverse.admin.history.service; + +import com.caliverse.admin.domain.adminlog.FieldChange; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.dynamodb.domain.doc.DynamoDBDocBase; +import com.caliverse.admin.global.component.transaction.TransactionIdManager; +import com.caliverse.admin.history.ChangeDetector; +import com.caliverse.admin.history.domain.DynamodbHistoryLogInfo; +import com.caliverse.admin.history.entity.EDBOperationType; +import com.caliverse.admin.history.repository.DynamodbHistoryLogRepository; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Service; + +import java.util.List; +import java.util.Optional; + +@Service +@RequiredArgsConstructor +public class DynamodbHistoryLogService { + @Value("${amazon.dynamodb.metaTable}") + private String tableName; + + private final TransactionIdManager transactionIdManager; + private final DynamodbHistoryLogRepository dynamodbHistoryLogRepository; + + public DynamodbHistoryLogInfo insertHistoryLog(HISTORYTYPE historyType, + String message, + DynamoDBDocBase metadata, + String userId, + String userIP + ){ + + List changes = ChangeDetector.detectInsertChanges(metadata); + + DynamodbHistoryLogInfo historyLog = new DynamodbHistoryLogInfo( + EDBOperationType.INSERT, + historyType, + tableName, + message, + transactionIdManager.getCurrentTransactionId(), + changes, + userId, + userIP, + metadata + ); + + return dynamodbHistoryLogRepository.save(historyLog); + } + + public DynamodbHistoryLogInfo updateHistoryLog(HISTORYTYPE historyType, + String message, + DynamoDBDocBase beforeMetadata, + DynamoDBDocBase afterMetadata, + String userId, + String userIP + ){ + List changes = ChangeDetector.detectChanges( + beforeMetadata, + afterMetadata + ); + + DynamodbHistoryLogInfo historyLog = new DynamodbHistoryLogInfo( + EDBOperationType.UPDATE, + historyType, + tableName, + message, + transactionIdManager.getCurrentTransactionId(), + changes, + userId, + userIP, + afterMetadata + ); + + return dynamodbHistoryLogRepository.save(historyLog); + } + + public DynamodbHistoryLogInfo deleteHistoryLog(HISTORYTYPE historyType, + String message, + DynamoDBDocBase metadata, + String userId, + String userIP + ){ + + List changes = ChangeDetector.detectDeleteChanges(metadata); + + DynamodbHistoryLogInfo historyLog = new DynamodbHistoryLogInfo( + EDBOperationType.DELETE, + historyType, + tableName, + message, + transactionIdManager.getCurrentTransactionId(), + changes, + userId, + userIP, + metadata + ); + + return dynamodbHistoryLogRepository.save(historyLog); + } + + public List getAllHistoryLogs() { + return dynamodbHistoryLogRepository.findAll(); + } + + public Optional getHistoryLogById(String id) { + return dynamodbHistoryLogRepository.findById(id); + } +} diff --git a/src/main/java/com/caliverse/admin/history/service/MysqlHistoryLogService.java b/src/main/java/com/caliverse/admin/history/service/MysqlHistoryLogService.java new file mode 100644 index 0000000..79ba439 --- /dev/null +++ b/src/main/java/com/caliverse/admin/history/service/MysqlHistoryLogService.java @@ -0,0 +1,108 @@ +package com.caliverse.admin.history.service; + +import com.caliverse.admin.domain.adminlog.FieldChange; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.global.component.transaction.TransactionIdManager; +import com.caliverse.admin.history.ChangeDetector; +import com.caliverse.admin.history.domain.MysqlHistoryLogInfo; +import com.caliverse.admin.history.entity.EDBOperationType; +import com.caliverse.admin.history.repository.MysqlHistoryLogRepository; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; + +import java.util.List; +import java.util.Optional; + +@Service +@RequiredArgsConstructor +public class MysqlHistoryLogService { + + private final TransactionIdManager transactionIdManager; + private final MysqlHistoryLogRepository mysqlHistoryLogRepository; + + public void insertHistoryLog(HISTORYTYPE historyType, + String tableName, + String message, + T data, + String userId, + String userIP + ){ + + List changes = ChangeDetector.detectInsertChanges(data); + + MysqlHistoryLogInfo historyLog = new MysqlHistoryLogInfo( + EDBOperationType.INSERT, + historyType, + tableName, + message, + transactionIdManager.getCurrentTransactionId(), + changes, + userId, + userIP, + data + ); + + mysqlHistoryLogRepository.save(historyLog); + } + + public void updateHistoryLog(HISTORYTYPE historyType, + String tableName, + String message, + T beforeData, + T afterData, + String userId, + String userIP + ){ + List changes = ChangeDetector.detectChanges( + beforeData, + afterData + ); + + MysqlHistoryLogInfo historyLog = new MysqlHistoryLogInfo( + EDBOperationType.UPDATE, + historyType, + tableName, + message, + transactionIdManager.getCurrentTransactionId(), + changes, + userId, + userIP, + afterData + ); + + mysqlHistoryLogRepository.save(historyLog); + } + + public void deleteHistoryLog(HISTORYTYPE historyType, + String tableName, + String message, + T data, + String userId, + String userIP + ){ + + List changes = ChangeDetector.detectDeleteChanges(data); + + MysqlHistoryLogInfo historyLog = new MysqlHistoryLogInfo( + EDBOperationType.DELETE, + historyType, + tableName, + message, + transactionIdManager.getCurrentTransactionId(), + changes, + userId, + userIP, + data + ); + + mysqlHistoryLogRepository.save(historyLog); + } + + public List getAllHistoryLogs() { + return mysqlHistoryLogRepository.findAll(); + } + + public Optional getHistoryLogById(String id) { + return mysqlHistoryLogRepository.findById(id); + } +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/AuMongoLog.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/AuMongoLog.java new file mode 100644 index 0000000..59c5c27 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/AuMongoLog.java @@ -0,0 +1,19 @@ +package com.caliverse.admin.logs.Indicatordomain; + +import java.util.List; + +import org.springframework.data.mongodb.core.mapping.Document; + +import com.caliverse.admin.global.common.constants.AdminConstants; + +import lombok.Getter; +import lombok.Setter; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class AuMongoLog extends MongoLogSearchBase{ + + private List userGuidList; + private int userGuidListCount; +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/CuByLangMongoLog.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/CuByLangMongoLog.java new file mode 100644 index 0000000..bd69b42 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/CuByLangMongoLog.java @@ -0,0 +1,17 @@ +package com.caliverse.admin.logs.Indicatordomain; + +import org.springframework.data.mongodb.core.mapping.Document; + +import com.caliverse.admin.global.common.constants.AdminConstants; + +import lombok.Getter; +import lombok.Setter; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class CuByLangMongoLog extends MongoLogSearchBase{ + + private int maxCountUser; + +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/CuMongoLog.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/CuMongoLog.java new file mode 100644 index 0000000..22471d2 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/CuMongoLog.java @@ -0,0 +1,17 @@ +package com.caliverse.admin.logs.Indicatordomain; + +import org.springframework.data.mongodb.core.mapping.Document; +import java.util.List; +import com.caliverse.admin.global.common.constants.AdminConstants; + +import lombok.Getter; +import lombok.Setter; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class CuMongoLog extends MongoLogSearchBase{ + + private int maxCountUser; + private List userGuidList; +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/DauMongoLog.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/DauMongoLog.java new file mode 100644 index 0000000..11eb630 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/DauMongoLog.java @@ -0,0 +1,17 @@ +package com.caliverse.admin.logs.Indicatordomain; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +import java.util.List; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class DauMongoLog extends MongoLogSearchBase{ + + //private List userAccountIdList; + private int accountIdListCount; +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/DglcMongoLog.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/DglcMongoLog.java new file mode 100644 index 0000000..d3ed5a1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/DglcMongoLog.java @@ -0,0 +1,13 @@ +package com.caliverse.admin.logs.Indicatordomain; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class DglcMongoLog extends MongoLogSearchBase{ + private int totalCount; +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/MauMongoLog.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/MauMongoLog.java new file mode 100644 index 0000000..1157aa9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/MauMongoLog.java @@ -0,0 +1,13 @@ +package com.caliverse.admin.logs.Indicatordomain; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class MauMongoLog extends MongoLogSearchBase{ + private int accountIdListCount; +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/McuMongoLog.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/McuMongoLog.java new file mode 100644 index 0000000..2923457 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/McuMongoLog.java @@ -0,0 +1,13 @@ +package com.caliverse.admin.logs.Indicatordomain; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class McuMongoLog extends MongoLogSearchBase{ + private int maxCountUser; +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/MongoLogSearchBase.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/MongoLogSearchBase.java new file mode 100644 index 0000000..cbd774f --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/MongoLogSearchBase.java @@ -0,0 +1,22 @@ +package com.caliverse.admin.logs.Indicatordomain; + +import org.springframework.data.annotation.Id; + +import lombok.Getter; + + +@Getter +public abstract class MongoLogSearchBase { + @Id + private String id; + private String logTime; + private String logMonth; + private String logDay; + private String logHour; + private String logMinute; + private String message; + private String languageType; + private String userGuid; + private String accountId; + +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/NruMongoLog.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/NruMongoLog.java new file mode 100644 index 0000000..51674fd --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/NruMongoLog.java @@ -0,0 +1,13 @@ +package com.caliverse.admin.logs.Indicatordomain; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class NruMongoLog extends MongoLogSearchBase{ + private int nru; +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/PlayTimeMongoLog.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/PlayTimeMongoLog.java new file mode 100644 index 0000000..b5be442 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/PlayTimeMongoLog.java @@ -0,0 +1,13 @@ +package com.caliverse.admin.logs.Indicatordomain; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class PlayTimeMongoLog extends MongoLogSearchBase{ + private Long totalPlayTimeCount; +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/StartEndTime.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/StartEndTime.java new file mode 100644 index 0000000..e7c7139 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/StartEndTime.java @@ -0,0 +1,14 @@ +package com.caliverse.admin.logs.Indicatordomain; + + +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor +public class StartEndTime { + private String startTime; + private String endTime; +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/UgqCreateMongoLog.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/UgqCreateMongoLog.java new file mode 100644 index 0000000..e913ca1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/UgqCreateMongoLog.java @@ -0,0 +1,13 @@ +package com.caliverse.admin.logs.Indicatordomain; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class UgqCreateMongoLog extends MongoLogSearchBase{ + private int ugqCrateCount; +} diff --git a/src/main/java/com/caliverse/admin/logs/Indicatordomain/WauMongoLog.java b/src/main/java/com/caliverse/admin/logs/Indicatordomain/WauMongoLog.java new file mode 100644 index 0000000..ba331b8 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/Indicatordomain/WauMongoLog.java @@ -0,0 +1,14 @@ +package com.caliverse.admin.logs.Indicatordomain; + + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.Getter; +import lombok.Setter; +import org.springframework.data.mongodb.core.mapping.Document; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class WauMongoLog extends MongoLogSearchBase { + private int accountIdListCount; +} diff --git a/src/main/java/com/caliverse/admin/logs/businesslogdomain/AuByLangMongoLog.java b/src/main/java/com/caliverse/admin/logs/businesslogdomain/AuByLangMongoLog.java new file mode 100644 index 0000000..397d54c --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/businesslogdomain/AuByLangMongoLog.java @@ -0,0 +1,21 @@ +package com.caliverse.admin.logs.businesslogdomain; + +import org.springframework.data.mongodb.core.mapping.Document; + +import com.caliverse.admin.global.common.constants.AdminConstants; + +import java.util.List; + +import lombok.Getter; +import lombok.Setter; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class AuByLangMongoLog extends MongoLogSearchBase{ + + private List userGuidList; + private int userGuidListCount; + + +} diff --git a/src/main/java/com/caliverse/admin/logs/businesslogdomain/AuMongoLog.java b/src/main/java/com/caliverse/admin/logs/businesslogdomain/AuMongoLog.java new file mode 100644 index 0000000..e86f4e1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/businesslogdomain/AuMongoLog.java @@ -0,0 +1,17 @@ +package com.caliverse.admin.logs.businesslogdomain; + +import org.springframework.data.mongodb.core.mapping.Document; + +import com.caliverse.admin.global.common.constants.AdminConstants; + +import lombok.Getter; +import lombok.Setter; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class AuMongoLog extends MongoLogSearchBase{ + + private int userGuidListCount; + +} diff --git a/src/main/java/com/caliverse/admin/logs/businesslogdomain/CuByLangMongoLog.java b/src/main/java/com/caliverse/admin/logs/businesslogdomain/CuByLangMongoLog.java new file mode 100644 index 0000000..54c66c2 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/businesslogdomain/CuByLangMongoLog.java @@ -0,0 +1,17 @@ +package com.caliverse.admin.logs.businesslogdomain; + +import org.springframework.data.mongodb.core.mapping.Document; + +import com.caliverse.admin.global.common.constants.AdminConstants; + +import lombok.Getter; +import lombok.Setter; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class CuByLangMongoLog extends MongoLogSearchBase{ + + private int maxCountUser; + +} diff --git a/src/main/java/com/caliverse/admin/logs/businesslogdomain/CuMongoLog.java b/src/main/java/com/caliverse/admin/logs/businesslogdomain/CuMongoLog.java new file mode 100644 index 0000000..8abc2ae --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/businesslogdomain/CuMongoLog.java @@ -0,0 +1,17 @@ +package com.caliverse.admin.logs.businesslogdomain; + +import org.springframework.data.mongodb.core.mapping.Document; +import java.util.List; +import com.caliverse.admin.global.common.constants.AdminConstants; + +import lombok.Getter; +import lombok.Setter; + +@Document(collection = AdminConstants.MONGO_DB_COLLECTION_LOG) +@Getter +@Setter +public class CuMongoLog extends MongoLogSearchBase{ + + private int maxCountUser; + private List userGuidList; +} diff --git a/src/main/java/com/caliverse/admin/logs/businesslogdomain/IMongoLogSearch.java b/src/main/java/com/caliverse/admin/logs/businesslogdomain/IMongoLogSearch.java new file mode 100644 index 0000000..917a7fd --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/businesslogdomain/IMongoLogSearch.java @@ -0,0 +1,5 @@ +package com.caliverse.admin.logs.businesslogdomain; + +public interface IMongoLogSearch { + +} diff --git a/src/main/java/com/caliverse/admin/logs/businesslogdomain/MongoLogSearchBase.java b/src/main/java/com/caliverse/admin/logs/businesslogdomain/MongoLogSearchBase.java new file mode 100644 index 0000000..c6f4e4e --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/businesslogdomain/MongoLogSearchBase.java @@ -0,0 +1,21 @@ +package com.caliverse.admin.logs.businesslogdomain; + +import org.springframework.data.annotation.Id; + +import lombok.Getter; + + +@Getter +public abstract class MongoLogSearchBase implements IMongoLogSearch{ + @Id + private String id; + private String logTime; + private String logDay; + private String logHour; + private String logMinute; + private String message; + private String languageType; + private String userGuid; + private String accountId; + +} diff --git a/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/IndicatorsAuRepository.java b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/IndicatorsAuRepository.java new file mode 100644 index 0000000..a524b02 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/IndicatorsAuRepository.java @@ -0,0 +1,9 @@ +package com.caliverse.admin.logs.logrepository.indicatorsrepository; + +import org.springframework.data.mongodb.repository.MongoRepository; + +import com.caliverse.admin.Indicators.entity.DauLogInfo; + +public interface IndicatorsAuRepository extends MongoRepository { + +} diff --git a/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/MongoStatRepository.java b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/MongoStatRepository.java new file mode 100644 index 0000000..f261930 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/MongoStatRepository.java @@ -0,0 +1,10 @@ +package com.caliverse.admin.logs.logrepository.indicatorsrepository; + + + +public interface MongoStatRepository{ +} +// public interface MongoStatRepository extends MongoRepository { + +// } + diff --git a/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatAuPerMinRepository.java b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatAuPerMinRepository.java new file mode 100644 index 0000000..60ae70a --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatAuPerMinRepository.java @@ -0,0 +1,9 @@ +package com.caliverse.admin.logs.logrepository.indicatorsrepository; + +import org.springframework.data.mongodb.repository.MongoRepository; + +import com.caliverse.admin.Indicators.entity.AuPerMinLogInfo; + +public interface StatAuPerMinRepository extends MongoRepository { + +} diff --git a/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatMauRepository.java b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatMauRepository.java new file mode 100644 index 0000000..16acacf --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatMauRepository.java @@ -0,0 +1,9 @@ +package com.caliverse.admin.logs.logrepository.indicatorsrepository; + +import org.springframework.data.mongodb.repository.MongoRepository; + +import com.caliverse.admin.Indicators.entity.MauLogInfo; + +public interface StatMauRepository extends MongoRepository { + +} diff --git a/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatMcuRepository.java b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatMcuRepository.java new file mode 100644 index 0000000..97bed3f --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatMcuRepository.java @@ -0,0 +1,9 @@ +package com.caliverse.admin.logs.logrepository.indicatorsrepository; + +import org.springframework.data.mongodb.repository.MongoRepository; + +import com.caliverse.admin.Indicators.entity.McuLogInfo; + +public interface StatMcuRepository extends MongoRepository { + +} diff --git a/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatNruRepository.java b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatNruRepository.java new file mode 100644 index 0000000..5983021 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatNruRepository.java @@ -0,0 +1,8 @@ +package com.caliverse.admin.logs.logrepository.indicatorsrepository; + +import com.caliverse.admin.Indicators.entity.NruLogInfo; +import org.springframework.data.mongodb.repository.MongoRepository; + +public interface StatNruRepository extends MongoRepository { + +} diff --git a/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatWauRepository.java b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatWauRepository.java new file mode 100644 index 0000000..f9d2763 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logrepository/indicatorsrepository/StatWauRepository.java @@ -0,0 +1,9 @@ +package com.caliverse.admin.logs.logrepository.indicatorsrepository; + +import org.springframework.data.mongodb.repository.MongoRepository; + +import com.caliverse.admin.Indicators.entity.WauLogInfo; + +public interface StatWauRepository extends MongoRepository { + +} diff --git a/src/main/java/com/caliverse/admin/logs/logrepository/mongobusinesslogrepository/MongoBusinessLogRepository.java b/src/main/java/com/caliverse/admin/logs/logrepository/mongobusinesslogrepository/MongoBusinessLogRepository.java new file mode 100644 index 0000000..8da922d --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logrepository/mongobusinesslogrepository/MongoBusinessLogRepository.java @@ -0,0 +1,13 @@ +package com.caliverse.admin.logs.logrepository.mongobusinesslogrepository; + + +import org.springframework.data.mongodb.repository.MongoRepository; + +import com.caliverse.admin.logs.businesslogdomain.IMongoLogSearch; + + + + +public interface MongoBusinessLogRepository extends MongoRepository { + +} diff --git a/src/main/java/com/caliverse/admin/logs/logrepository/mongostatrepository/MongoStatRepository.java b/src/main/java/com/caliverse/admin/logs/logrepository/mongostatrepository/MongoStatRepository.java new file mode 100644 index 0000000..95d6176 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logrepository/mongostatrepository/MongoStatRepository.java @@ -0,0 +1,10 @@ +package com.caliverse.admin.logs.logrepository.mongostatrepository; + + + +public interface MongoStatRepository{ +} +// public interface MongoStatRepository extends MongoRepository { + +// } + diff --git a/src/main/java/com/caliverse/admin/logs/logservice/LogServiceHelper.java b/src/main/java/com/caliverse/admin/logs/logservice/LogServiceHelper.java new file mode 100644 index 0000000..8f1f820 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/LogServiceHelper.java @@ -0,0 +1,48 @@ +package com.caliverse.admin.logs.logservice; + + + +import java.time.LocalDate; +import java.time.ZoneId; +import java.time.ZonedDateTime; +import java.time.format.DateTimeFormatter; + +import com.caliverse.admin.logs.Indicatordomain.StartEndTime; + +public class LogServiceHelper { + + + public static StartEndTime getCurrentLogSearchEndTime(int minusDay){ + + StartEndTime startEndTime = new StartEndTime(); + ZonedDateTime now = ZonedDateTime.now(ZoneId.of("UTC")); + + ZonedDateTime end = now.toLocalDate().atStartOfDay(ZoneId.of("UTC")); + String endTimeStr = end.format(DateTimeFormatter.ISO_INSTANT); + startEndTime.setEndTime(endTimeStr); + + // 전 날 00시 UTC 시간 설정 + ZonedDateTime start = end.minusDays(minusDay); + String startTimeStr = start.format(DateTimeFormatter.ISO_INSTANT); + startEndTime.setStartTime(startTimeStr); + //System.out.println("전 날의 00시 UTC: " + startTimeStr); + //System.out.println("오늘 날짜의 00시 UTC: " + endTimeStr); + + return startEndTime; + } + + public static StartEndTime getCurrentLogSearchEndTime(LocalDate endDate, int minusDay) { + StartEndTime startEndTime = new StartEndTime(); + + // LocalDate를 UTC ZonedDateTime으로 변환 + ZonedDateTime end = endDate.atStartOfDay(ZoneId.of("UTC")); + startEndTime.setEndTime(end.format(DateTimeFormatter.ISO_INSTANT)); + + // startTime 계산 + ZonedDateTime start = end.minusDays(minusDay); + startEndTime.setStartTime(start.format(DateTimeFormatter.ISO_INSTANT)); + + return startEndTime; + } + +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogAuByLangService.java b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogAuByLangService.java new file mode 100644 index 0000000..f7a2486 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogAuByLangService.java @@ -0,0 +1,72 @@ +package com.caliverse.admin.logs.logservice.businesslogservice; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.*; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; +import java.util.List; + + +@Service +public class BusinessLogAuByLangService extends BusinessLogServiceBase { + + public BusinessLogAuByLangService(@Qualifier("mongoBusinessLogTemplate") MongoTemplate mongoTemplate) { + super(mongoTemplate); + } + /* + * 집계시 유의 사항 + * 언어별 카운팅 시 한 유저가 en, ko 동시에 로그가 남을수 있다. (게임에서 언어변경시) + * */ + public List loadBusinessLogData(String startTime, String endTime, Class class1) { + + //CriteriaParamByItemHistory + Criteria criteria = makeCriteria(startTime, endTime); + List operations = setDefaultOperation(criteria); + + GroupOperation groupByUserGuid = Aggregation.group(AdminConstants.MONGO_DB_KEY_LANGUAGE_TYPE, AdminConstants.MONGO_DB_KEY_LOGMINUTE) + .addToSet(AdminConstants.MONGO_DB_KEY_USER_GUID).as(AdminConstants.MONGO_DB_KEY_USER_GUID_LIST) + .first(AdminConstants.MONGO_DB_KEY_LANGUAGE_TYPE).as(AdminConstants.MONGO_DB_KEY_LANGUAGE_TYPE) + .first(AdminConstants.MONGO_DB_KEY_LOGTIME).as(AdminConstants.MONGO_DB_KEY_LOGTIME) + .first(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + .first(AdminConstants.MONGO_DB_KEY_LOGHOUR).as(AdminConstants.MONGO_DB_KEY_LOGHOUR) + .first(AdminConstants.MONGO_DB_KEY_LOGMINUTE).as(AdminConstants.MONGO_DB_KEY_LOGMINUTE) + ; + + ProjectionOperation projectWithUserGuidListCount = Aggregation.project() + .and(AdminConstants.MONGO_DB_KEY_USER_GUID_LIST).size().as(AdminConstants.MONGO_DB_KEY_USER_GUID_LIST_COUNT) + .and(AdminConstants.MONGO_DB_KEY_USER_GUID_LIST).as(AdminConstants.MONGO_DB_KEY_USER_GUID_LIST) + .and(AdminConstants.MONGO_DB_KEY_LANGUAGE_TYPE).as(AdminConstants.MONGO_DB_KEY_LANGUAGE_TYPE) + .and(AdminConstants.MONGO_DB_KEY_LOGTIME).as(AdminConstants.MONGO_DB_KEY_LOGTIME) + .and(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(AdminConstants.MONGO_DB_KEY_LOGHOUR).as(AdminConstants.MONGO_DB_KEY_LOGHOUR) + .and(AdminConstants.MONGO_DB_KEY_LOGMINUTE).as(AdminConstants.MONGO_DB_KEY_LOGMINUTE) + ; + + operations.add(groupByUserGuid); + operations.add(projectWithUserGuidListCount); + + + Aggregation aggregation = Aggregation.newAggregation(operations); + AggregationResults results = getMongoTemplate().aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, class1); + + return results.getMappedResults(); + } + + protected Criteria makeCriteria(String startTime, String endTime) { + + return new Criteria() + .andOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).gte(startTime) + ,Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).lt(endTime) + , new Criteria() + .orOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(AdminConstants.REGEX_MSG_LOGIN_TO_USER_AUTH) + ,Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(AdminConstants.REGEX_MSG_LOGIN_TO_GAME) + ,Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(AdminConstants.REGEX_MSG_USER_LOGOUT) + ) + ); + } + +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogDauService.java b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogDauService.java new file mode 100644 index 0000000..500f9c9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogDauService.java @@ -0,0 +1,57 @@ +package com.caliverse.admin.logs.logservice.businesslogservice; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.*; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Slf4j +@Service +public class BusinessLogDauService extends BusinessLogServiceBase { + + public BusinessLogDauService(@Qualifier("mongoBusinessLogTemplate") MongoTemplate mongoTemplate) { + super(mongoTemplate); + } + + public List loadBusinessLogData(String startTime, String endTime, Class class1) { + + Criteria criteria = makeCriteria(startTime, endTime); + List operations = setDefaultOperation(criteria); + + GroupOperation groupByUserAccountId = Aggregation.group() + .addToSet(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID).as(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID) + .first(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + ; + ProjectionOperation projectWithAccountIdistCount = Aggregation.project() + .and(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID).size().as(AdminConstants.MONGO_DB_KEY_ACCOUNT_IDS_COUNT) + .and(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + ; + operations.add(groupByUserAccountId); + operations.add(projectWithAccountIdistCount); + + Aggregation aggregation = Aggregation.newAggregation(operations); + log.info("loadBusinessLogData DAU Query: {}", aggregation); + AggregationResults results = getMongoTemplate().aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, class1); + + return results.getMappedResults(); + } + + + protected Criteria makeCriteria(String startTime, String endTime) { + return new Criteria() + .andOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).gte(startTime) + ,Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).lt(endTime) + , new Criteria() + .orOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(AdminConstants.REGEX_MSG_LOGIN_TO_GAME) + ) + ); + } + +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogDglcService.java b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogDglcService.java new file mode 100644 index 0000000..3e175ce --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogDglcService.java @@ -0,0 +1,58 @@ +package com.caliverse.admin.logs.logservice.businesslogservice; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.extern.slf4j.Slf4j; +import org.bson.Document; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.AggregationResults; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Slf4j +@Service +public class BusinessLogDglcService extends BusinessLogServiceBase { + + public BusinessLogDglcService(@Qualifier("mongoBusinessLogTemplate") MongoTemplate mongoTemplate) { + super(mongoTemplate); + } + + public List loadBusinessLogData(String startTime, String endTime, Class class1) { + + Criteria criteria = makeCriteria(startTime, endTime); + List operations = setDefaultOperation(criteria); + + //그룹화 + operations.add(context -> + new Document("$group", + new Document("_id", "$logDay") + .append("logDay", new Document("$first", "$logDay")) + .append("totalCount", + new Document("$sum", 1) + ) + )); + + Aggregation aggregation = Aggregation.newAggregation(operations); + log.info("loadBusinessLogData DGLC Query: {}", aggregation); + AggregationResults results = getMongoTemplate() + .aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, class1); + + return results.getMappedResults(); + } + + protected Criteria makeCriteria(String startTime, String endTime) { + return new Criteria() + .andOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).gte(startTime) + ,Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).lt(endTime) + , new Criteria() + .orOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(AdminConstants.REGEX_MSG_LOGIN_TO_GAME) + ) + ); + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogMauService.java b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogMauService.java new file mode 100644 index 0000000..7b2a936 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogMauService.java @@ -0,0 +1,56 @@ +package com.caliverse.admin.logs.logservice.businesslogservice; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.*; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Slf4j +@Service +public class BusinessLogMauService extends BusinessLogServiceBase { + + public BusinessLogMauService(@Qualifier("mongoBusinessLogTemplate") MongoTemplate mongoTemplate) { + super(mongoTemplate); + } + + public List loadBusinessLogData(String startTime, String endTime, Class class1) { + + Criteria criteria = makeCriteria(startTime, endTime); + List operations = setDefaultOperation(criteria); + + GroupOperation groupByUserAccountId = Aggregation.group() + .addToSet(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID).as(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID) + .first(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + ; + ProjectionOperation projectWithAccountIdistCount = Aggregation.project() + .and(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID).size().as(AdminConstants.MONGO_DB_KEY_ACCOUNT_IDS_COUNT) + .and(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + ; + operations.add(groupByUserAccountId); + operations.add(projectWithAccountIdistCount); + + Aggregation aggregation = Aggregation.newAggregation(operations); + log.info("loadBusinessLogData MAU Query: {}", aggregation); + AggregationResults results = getMongoTemplate().aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, class1); + + return results.getMappedResults(); + } + + + protected Criteria makeCriteria(String startTime, String endTime) { + return new Criteria() + .andOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).gte(startTime) + ,Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).lt(endTime) + , new Criteria() + .orOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(AdminConstants.REGEX_MSG_LOGIN_TO_GAME) + ) + ); + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogMcuService.java b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogMcuService.java new file mode 100644 index 0000000..617aa68 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogMcuService.java @@ -0,0 +1,73 @@ +package com.caliverse.admin.logs.logservice.businesslogservice; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.extern.slf4j.Slf4j; +import org.bson.Document; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.*; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Slf4j +@Service +public class BusinessLogMcuService extends BusinessLogServiceBase { + + public BusinessLogMcuService(@Qualifier("mongoBusinessLogTemplate") MongoTemplate mongoTemplate) { + super(mongoTemplate); + } + + public List loadBusinessLogData(String startTime, String endTime, Class class1) { + + Criteria criteria = makeCriteria(startTime, endTime); + List operations = setDefaultOperation(criteria); + + GroupOperation groupByLogHour = Aggregation.group(AdminConstants.MONGO_DB_KEY_LOGHOUR) + .addToSet(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID).as(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID) + .first(AdminConstants.MONGO_DB_KEY_LOGHOUR).as(AdminConstants.MONGO_DB_KEY_LOGHOUR) + .first(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + ; + ProjectionOperation projection1 = Aggregation.project() + .and(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID).size().as(AdminConstants.MONGO_DB_KEY_ACCOUNT_IDS_COUNT) + .and(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(AdminConstants.MONGO_DB_KEY_LOGHOUR).as(AdminConstants.MONGO_DB_KEY_LOGHOUR) + ; + + GroupOperation groupBy = Aggregation.group() + .max(AdminConstants.MONGO_DB_KEY_ACCOUNT_IDS_COUNT).as(AdminConstants.MONGO_DB_KEY_MAX_COUNT_USER) + .first(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + //.first(AdminConstants.MONGO_DB_KEY_LOGHOUR).as(AdminConstants.MONGO_DB_KEY_LOGHOUR) + ; + + + ProjectionOperation projectMcu = Aggregation.project() + .and(AdminConstants.MONGO_DB_KEY_MAX_COUNT_USER).as(AdminConstants.MONGO_DB_KEY_MAX_COUNT_USER) + .and(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + ; + operations.add(groupByLogHour); + operations.add(projection1); + operations.add(groupBy); + operations.add(projectMcu); + + Aggregation aggregation = Aggregation.newAggregation(operations); + log.info("loadBusinessLogData MCU Query: {}", aggregation); + AggregationResults results = getMongoTemplate().aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, class1); + + return results.getMappedResults(); + } + + + protected Criteria makeCriteria(String startTime, String endTime) { + return new Criteria() + .andOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).gte(startTime) + ,Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).lt(endTime) + , new Criteria() + .orOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(AdminConstants.REGEX_MSG_LOGIN_TO_GAME) + ) + ); + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogNruService.java b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogNruService.java new file mode 100644 index 0000000..278b484 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogNruService.java @@ -0,0 +1,78 @@ +package com.caliverse.admin.logs.logservice.businesslogservice; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.extern.slf4j.Slf4j; +import org.bson.Document; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.*; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Slf4j +@Service +public class BusinessLogNruService extends BusinessLogServiceBase { + + + public BusinessLogNruService(@Qualifier("mongoBusinessLogTemplate") MongoTemplate mongoTemplate) { + super(mongoTemplate); + } + + + public List loadBusinessLogData(String startTime, String endTime, Class class1) { + + Criteria criteria = makeCriteria(startTime, endTime); + List operations = setDefaultOperation(criteria); + + operations.add(context -> + new Document("$group", + new Document("_id", + new Document("logDay", "$logDay") + .append("tranId", "$tranId") + ) + .append("logDay", + new Document("$first", "$logDay") + ) + ) + ); + + // logDay별 카운트 집계 + operations.add(context -> + new Document("$group", + new Document("_id", "$_id.logDay") + .append("nru", + new Document("$sum", 1) + ) + ) + ); + + // 최종 출력 형식 + operations.add(context -> + new Document("$project", + new Document("_id", 0) + .append("logDay", "$_id") + .append("nru", 1) + ) + ); + + Aggregation aggregation = Aggregation.newAggregation(operations); + log.info("loadBusinessLogData CharacterCreate Query: {}", aggregation); + AggregationResults results = getMongoTemplate().aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, class1); + + return results.getMappedResults(); + } + + protected Criteria makeCriteria(String startTime, String endTime) { + return new Criteria() + .andOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).gte(startTime) + ,Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).lt(endTime) + , new Criteria() + .orOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(AdminConstants.REGEX_MSG_CHARACTER_CREATE) + ) + ); + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogPlayTimeService.java b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogPlayTimeService.java new file mode 100644 index 0000000..7d8c36a --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogPlayTimeService.java @@ -0,0 +1,348 @@ +package com.caliverse.admin.logs.logservice.businesslogservice; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.extern.slf4j.Slf4j; +import org.bson.Document; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.*; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.Arrays; +import java.util.List; + +@Slf4j +@Service +public class BusinessLogPlayTimeService extends BusinessLogServiceBase { + + public BusinessLogPlayTimeService(@Qualifier("mongoBusinessLogTemplate") MongoTemplate mongoTemplate) { + super(mongoTemplate); + } + + public List loadBusinessLogData(String startTime, String endTime, Class class1) { + try { + + Criteria criteria = makeCriteria(startTime, endTime); + List operations = setDefaultOperation(criteria); + + operations.add(Aggregation.match(Criteria.where(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID).ne(null))); + + //3000이라는 값이 들어있는 경우가 있어서 예외처리 + operations.add(context -> + new Document("$match", + new Document(AdminConstants.MONGO_DB_KEY_LOGIN_TIME, + new Document("$not", + new Document("$regex", "^3000") + ) + ) + ) + ); + + // 로그인서버는 제외 + operations.add(context -> + new Document("$match", + new Document(AdminConstants.MONGO_DB_KEY_SERVER_TYPE, + new Document("$ne", "Login") + ) + ) + ); + + // 유저, 시간순으로 정렬 + operations.add(context -> + new Document("$sort", + new Document(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID, 1) + .append(AdminConstants.MONGO_DB_KEY_LOGTIME, 1) + ) + ); + + operations.add(context -> + new Document("$project", + new Document("accountId", 1) + .append("logTime", 1) + .append("loginTime", 1) + .append("logoutTime", 1) + .append("action", 1) + .append("message", 1) + .append("logDay", 1) + ) + ); + + operations.add(context -> + new Document("$group", + new Document("_id", + new Document(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID, "$accountId") + .append("logDay", "$logDay") + ) + .append("actions", + new Document("$push", + new Document(AdminConstants.MONGO_DB_KEY_ACTION, "$action") + .append(AdminConstants.MONGO_DB_KEY_LOGTIME, "$logTime") + .append(AdminConstants.MONGO_DB_KEY_LOGIN_TIME, "$loginTime") + .append(AdminConstants.MONGO_DB_KEY_LOGOUT_TIME, "$logoutTime") + ) + ) + )); + + // + operations.add(context -> + new Document("$project", + new Document("_id", 1) + .append("sessions", + new Document("$map", + new Document("input", "$actions") + .append("as", "action") + .append("in", + new Document("$cond", new Document() + .append("if", new Document("$eq", Arrays.asList("$$action.action", "UserLogout"))) + .append("then", + new Document("$let", new Document() + .append("vars", + new Document("prevIndex", + new Document("$subtract", Arrays.asList( + new Document("$indexOfArray", Arrays.asList("$actions", "$$action")), + 1 + )) + ) + ) + .append("in", + new Document("$cond", new Document() + .append("if", + new Document("$and", Arrays.asList( + new Document("$gte", Arrays.asList("$$prevIndex", 0)), + new Document("$eq", Arrays.asList( + new Document("$arrayElemAt", Arrays.asList("$actions.action", "$$prevIndex")), + "LoginToGame" + )) + )) + ) + .append("then", + new Document() + .append("type", "paired") + .append("login", new Document("$arrayElemAt", Arrays.asList("$actions", "$$prevIndex"))) + .append("logout", "$$action") + ) + .append("else", + new Document() + .append("type", "single") + .append("logout", "$$action") + ) + ) + ) + ) + ) + .append("else", null) + ) + ) + ) + ) + ) + ); + + operations.add(context -> + new Document("$unwind", "$sessions") + ); + + operations.add(context -> + new Document("$match", + new Document("$and", Arrays.asList( + new Document("sessions", new Document("$ne", null)), + new Document("$or", Arrays.asList( + new Document("sessions.type", "paired"), + new Document("$and", Arrays.asList( + new Document("sessions.type", "single"), + new Document("sessions.logout.loginTime", + new Document("$not", + new Document("$regex", "^0001") + ) + ) + )) + )) + )) + ) + ); + + operations.add(context -> + new Document("$project", + new Document(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID, "$_id") + .append("logDay", 1) + .append("sessionType", "$sessions.type") + .append("loginTime", + new Document("$cond", + new Document("if", new Document("$eq", Arrays.asList("$sessions.type", "paired"))) + .append("then", "$sessions.login.loginTime") + .append("else", "$sessions.logout.loginTime") + ) + ) + .append("logoutTime", + new Document("$cond", + new Document("if", new Document("$eq", Arrays.asList("$sessions.type", "paired"))) + .append("then", "$sessions.logout.logoutTime") + .append("else", "$sessions.logout.logoutTime") + ) + ) + .append("logTime", + new Document("$cond", + new Document("if", new Document("$eq", Arrays.asList("$sessions.type", "paired"))) + .append("then", "$sessions.logout.logTime") + .append("else", "$sessions.logout.logTime") + ) + ) + ) + ); + + operations.add(context -> + new Document("$addFields", + new Document("playTimeSeconds", + new Document("$divide", Arrays.asList( + new Document("$dateDiff", + new Document("startDate", + new Document("$dateFromString", + new Document("dateString", + new Document("$substr", Arrays.asList("$loginTime", 0, 19)) + ) + .append("format", "%Y-%m-%dT%H:%M:%S") + ) + ) + .append("endDate", + new Document("$dateFromString", + new Document("dateString", + new Document("$substr", Arrays.asList("$logoutTime", 0, 19)) + ) + .append("format", "%Y-%m-%dT%H:%M:%S") + ) + ) + .append("unit", "millisecond") + ), + 1000 + )) + ) + ) + ); + + operations.add(context -> + new Document("$group", + new Document("_id", "$_id.logDay") + .append("logDay", + new Document("$first", "$_id.logDay") + ) + .append("totalPlayTimeCount", + new Document("$sum", "$playTimeSeconds") + ) + )); + + Aggregation aggregation = Aggregation.newAggregation(operations); + log.info("loadBusinessLogData PlayTime Query: {}", aggregation); + AggregationResults results = getMongoTemplate() + .aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, class1); + + return results.getMappedResults(); + }catch (Exception e) { + log.error("loadBusinessLogData Error Message: {}", e.getMessage()); + return null; + } + } + +// public List loadBusinessLogData(String startTime, String endTime, Class class1) { +// try { +// +// Criteria criteria = makeCriteria(startTime, endTime); +// List operations = setDefaultOperation(criteria); +// +// operations.add(Aggregation.match(Criteria.where(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID).ne(null))); +// +// //3000이라는 값이 들어있는 경우가 있어서 예외처리 +// operations.add(context -> +// new Document("$match", +// new Document(AdminConstants.MONGO_DB_KEY_LOGIN_TIME, +// new Document("$not", +// new Document("$regex", "^3000") +// ) +// ) +// ) +// ); +// +// //playtime 포맷 +// operations.add(context -> +// new Document("$addFields", +// new Document("LoginTimeDate", +// new Document("$dateFromString", +// new Document("dateString", +// new Document("$substr", List.of("$loginTime", 0, 19)) +// ).append("format", "%Y-%m-%dT%H:%M:%S") +// ) +// ) +// .append("LogoutTimeDate", +// new Document("$dateFromString", +// new Document("dateString", +// new Document("$substr", List.of("$logoutTime", 0, 19)) +// ).append("format", "%Y-%m-%dT%H:%M:%S") +// ) +// ) +// )); +// +// operations.add(context -> +// new Document("$addFields", +// new Document("PlayTimeInSeconds", +// new Document("$floor", // 소수점 버림 +// new Document("$divide", List.of( +// new Document("$subtract", List.of("$LogoutTimeDate", "$LoginTimeDate")), +// 1000 +// )) +// ) +// ) +// )); +// +// //그룹화 +// operations.add(context -> +// new Document("$group", +// new Document("_id", +// new Document("accountId", "$accountId") +// .append("logDay", "$logDay") +// ) +// .append("totalPlayTimeInSeconds", +// new Document("$max", "$PlayTimeInSeconds") +// ) +// )); +// +// operations.add(context -> +// new Document("$group", +// new Document("_id", "$_id.logDay") +// .append("totalPlayTimeAcrossAccountsInSeconds", +// new Document("$sum", "$totalPlayTimeInSeconds") +// ) +// )); +// operations.add(context -> +// new Document("$project", +// new Document("_id", 0) +// .append(AdminConstants.MONGO_DB_KEY_LOGDAY, "$_id") +// .append("totalPlayTimeCount", +// new Document("$toString", "$totalPlayTimeAcrossAccountsInSeconds") +// ) +// )); +// +// Aggregation aggregation = Aggregation.newAggregation(operations); +// log.info("loadBusinessLogData PlayTime Query: {}", aggregation); +// AggregationResults results = getMongoTemplate() +// .aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, class1); +// +// return results.getMappedResults(); +// }catch (Exception e) { +// log.error("loadBusinessLogData Error Message: {}", e.getMessage()); +// return null; +// } +// } + + protected Criteria makeCriteria(String startTime, String endTime) { + return new Criteria() + .andOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).gte(startTime) + ,Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).lt(endTime) + , new Criteria() + .orOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(AdminConstants.REGEX_MSG_PLAY_TIME), + Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(AdminConstants.REGEX_MSG_LOGIN_TO_GAME) + ) + ); + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogServiceBase.java b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogServiceBase.java new file mode 100644 index 0000000..7651d34 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogServiceBase.java @@ -0,0 +1,224 @@ +package com.caliverse.admin.logs.logservice.businesslogservice; + +import java.util.List; +import java.util.ArrayList; + +import lombok.Getter; +import org.bson.Document; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; +import org.springframework.data.mongodb.core.query.Criteria; + +import com.caliverse.admin.global.common.constants.AdminConstants; + + +@Getter +public abstract class BusinessLogServiceBase implements IBusinessLogService { + + private MongoTemplate mongoTemplate; + + public BusinessLogServiceBase(MongoTemplate mongoTemplate){ + this.mongoTemplate = mongoTemplate; + } + + //protected abstract Criteria makeCriteria(String startTime, String endTime); + + + protected AggregationOperation getDefaultProjectOperationRegex(){ + AggregationOperation projectOperation1 = context -> + new Document("$project", + new Document(AdminConstants.MONGO_DB_KEY_LANGUAGE_TYPE, + new Document("$regexFind", + new Document("input", "$message") + .append("regex", "\"LanguageType\":\"([^\"]+)\"") + ) + ) + .append(AdminConstants.MONGO_DB_KEY_MESSAGE, "$message") + .append(AdminConstants.MONGO_DB_KEY_LOGTIME, "$logTime") + .append(AdminConstants.MONGO_DB_KEY_USER_GUID, + new Document("$regexFind", + new Document("input", "$message") + .append("regex", "\"UserGuid\":\"([^\"]+)\"") + ) + ) + .append(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID, + new Document("$regexFind", + new Document("input", "$message") + .append("regex", "\"AccountId\":\"([^\"]+)\"") + ) + ) + .append(AdminConstants.MONGO_DB_KEY_LOGIN_TIME, + new Document("$regexFind", + new Document("input", "$message") + .append("regex", "\"LoginTime\":\"([^\"]+)\"") + ) + ) + .append(AdminConstants.MONGO_DB_KEY_LOGOUT_TIME, + new Document("$regexFind", + new Document("input", "$message") + .append("regex", "\"LogoutTime\":\"([^\"]+)\"") + ) + ) + .append(AdminConstants.MONGO_DB_KEY_TRAN_ID, + new Document("$regexFind", + new Document("input", "$message") + .append("regex", "\"TranId\":\"([^\"]+)\"") + ) + ) + .append(AdminConstants.MONGO_DB_KEY_ACTION, + new Document("$regexFind", + new Document("input", "$message") + .append("regex", "\"Action\":\"([^\"]+)\"") + ) + ) + .append(AdminConstants.MONGO_DB_KEY_SERVER_TYPE, + new Document("$regexFind", + new Document("input", "$message") + .append("regex", "\"ServerType\":\"([^\"]+)\"") + ) + ) + ); + + return projectOperation1; + } + + + protected AggregationOperation getDefaultProjectOperationCapture(){ + AggregationOperation projectOperation2 = context -> + new Document("$project", + new Document(AdminConstants.MONGO_DB_KEY_LANGUAGE_TYPE, + new Document("$ifNull", List.of( + new Document("$toString", + new Document("$arrayElemAt", List.of("$languageType.captures", 0)) + ), + "Ko" + ) + ) + ) + .append(AdminConstants.MONGO_DB_KEY_USER_GUID, + new Document() + .append("$ifNull", List.of( + new Document("$toString", + new Document("$arrayElemAt", List.of("$userGuid.captures", 0)) + ), + "None" + ) + ) + ) + .append(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID, + new Document() + .append("$ifNull", List.of( + new Document("$toString", + new Document("$arrayElemAt", List.of("$accountId.captures", 0)) + ), + "None" + ) + ) + ) + .append(AdminConstants.MONGO_DB_KEY_LOGIN_TIME, + new Document() + .append("$ifNull", List.of( + new Document("$toString", + new Document("$arrayElemAt", List.of("$loginTime.captures", 0)) + ), + "" + ) + ) + ) + .append(AdminConstants.MONGO_DB_KEY_LOGOUT_TIME, + new Document() + .append("$ifNull", List.of( + new Document("$toString", + new Document("$arrayElemAt", List.of("$logoutTime.captures", 0)) + ), + "" + ) + ) + ) + .append(AdminConstants.MONGO_DB_KEY_TRAN_ID, + new Document() + .append("$ifNull", List.of( + new Document("$toString", + new Document("$arrayElemAt", List.of("$tranId.captures", 0)) + ), + "" + ) + ) + ) + .append(AdminConstants.MONGO_DB_KEY_ACTION, + new Document() + .append("$ifNull", List.of( + new Document("$toString", + new Document("$arrayElemAt", List.of("$action.captures", 0)) + ), + "" + ) + ) + ) + .append(AdminConstants.MONGO_DB_KEY_SERVER_TYPE, + new Document() + .append("$ifNull", List.of( + new Document("$toString", + new Document("$arrayElemAt", List.of("$serverType.captures", 0)) + ), + "" + ) + ) + ) + .append(AdminConstants.MONGO_DB_KEY_LOGTIME, "$logTime") + .append(AdminConstants.MONGO_DB_KEY_LOGMONTH, + new Document("$substr" , List.of("$logTime", 0, 7)) //0000-00 + ) + .append(AdminConstants.MONGO_DB_KEY_LOGDAY, + new Document("$substr" , List.of("$logTime", 0, 10)) //0000-00-00 + ) + .append(AdminConstants.MONGO_DB_KEY_LOGHOUR, + new Document("$substr" , List.of("$logTime", 0, 13)) + ) + .append(AdminConstants.MONGO_DB_KEY_LOGMINUTE, + new Document("$substr" , List.of("$logTime", 0, 16)) + ) + .append("message", "$message") + ); + + return projectOperation2; + } + private AggregationOperation getDefaultProjectOperationName(){ + ProjectionOperation projectOperation = Aggregation.project() + .and(AdminConstants.MONGO_DB_KEY_LOGTIME).as(AdminConstants.MONGO_DB_KEY_LOGTIME) + .and(AdminConstants.MONGO_DB_KEY_LOGMONTH).as(AdminConstants.MONGO_DB_KEY_LOGMONTH) + .and(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + .and(AdminConstants.MONGO_DB_KEY_LOGHOUR).as(AdminConstants.MONGO_DB_KEY_LOGHOUR) + .and(AdminConstants.MONGO_DB_KEY_LOGMINUTE).as(AdminConstants.MONGO_DB_KEY_LOGMINUTE) + .and(AdminConstants.MONGO_DB_KEY_MESSAGE).as(AdminConstants.MONGO_DB_KEY_MESSAGE) + .and(AdminConstants.MONGO_DB_KEY_LANGUAGE_TYPE).as(AdminConstants.MONGO_DB_KEY_LANGUAGE_TYPE) + .and(AdminConstants.MONGO_DB_KEY_USER_GUID).as(AdminConstants.MONGO_DB_KEY_USER_GUID) + .and(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID).as(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID) + .and(AdminConstants.MONGO_DB_KEY_LOGIN_TIME).as(AdminConstants.MONGO_DB_KEY_LOGIN_TIME) + .and(AdminConstants.MONGO_DB_KEY_LOGOUT_TIME).as(AdminConstants.MONGO_DB_KEY_LOGOUT_TIME) + .and(AdminConstants.MONGO_DB_KEY_TRAN_ID).as(AdminConstants.MONGO_DB_KEY_TRAN_ID) + .and(AdminConstants.MONGO_DB_KEY_ACTION).as(AdminConstants.MONGO_DB_KEY_ACTION) + .and(AdminConstants.MONGO_DB_KEY_SERVER_TYPE).as(AdminConstants.MONGO_DB_KEY_SERVER_TYPE) + .and("message").as("message") + ; + return projectOperation; + + } + + + protected List setDefaultOperation(Criteria criteria){ + + List operations = new ArrayList<>(); + + operations.add(Aggregation.match(criteria)); + operations.add(getDefaultProjectOperationRegex()); + operations.add(getDefaultProjectOperationCapture()); + operations.add(getDefaultProjectOperationName()); + + return operations; + } + +} + diff --git a/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogUgqCreateService.java b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogUgqCreateService.java new file mode 100644 index 0000000..4003661 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogUgqCreateService.java @@ -0,0 +1,58 @@ +package com.caliverse.admin.logs.logservice.businesslogservice; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.extern.slf4j.Slf4j; +import org.bson.Document; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.Aggregation; +import org.springframework.data.mongodb.core.aggregation.AggregationOperation; +import org.springframework.data.mongodb.core.aggregation.AggregationResults; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Slf4j +@Service +public class BusinessLogUgqCreateService extends BusinessLogServiceBase { + + public BusinessLogUgqCreateService(@Qualifier("mongoBusinessLogTemplate") MongoTemplate mongoTemplate) { + super(mongoTemplate); + } + + public List loadBusinessLogData(String startTime, String endTime, Class class1) { + + Criteria criteria = makeCriteria(startTime, endTime); + List operations = setDefaultOperation(criteria); + + //그룹화 + operations.add(context -> + new Document("$group", + new Document("_id", "$logDay") + .append("logDay", new Document("$first", "$logDay")) + .append("ugqCrateCount", + new Document("$sum", 1) + ) + )); + + Aggregation aggregation = Aggregation.newAggregation(operations); + log.info("loadBusinessLogData UGQ Create Query: {}", aggregation); + AggregationResults results = getMongoTemplate() + .aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, class1); + + return results.getMappedResults(); + } + + protected Criteria makeCriteria(String startTime, String endTime) { + return new Criteria() + .andOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).gte(startTime) + ,Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).lt(endTime) + , new Criteria() + .orOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(AdminConstants.REGEX_MSG_UGQ_CREATE) + ) + ); + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogUserItemHistoryService.java b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogUserItemHistoryService.java new file mode 100644 index 0000000..23ba77b --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogUserItemHistoryService.java @@ -0,0 +1,57 @@ +package com.caliverse.admin.logs.logservice.businesslogservice; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.*; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class BusinessLogUserItemHistoryService extends BusinessLogServiceBase { + + public BusinessLogUserItemHistoryService(@Qualifier("mongoBusinessLogTemplate") MongoTemplate mongoTemplate){ + super(mongoTemplate); + + } + + public List loadBusinessLogData(String startTime, String endTime, String userGuid, Class clazz) { + + + Criteria criteria = makeCriteria(startTime, endTime, userGuid); + List operations = setDefaultOperation(criteria); + + //여기서 stackCount랑, 로그 타입이랑 같이 가져와야 된다... 나중에 준비되명 하자..... + + + + ProjectionOperation pjt = Aggregation.project() + .and(AdminConstants.MONGO_DB_KEY_USER_GUID).as(AdminConstants.MONGO_DB_KEY_USER_GUID) + .and(AdminConstants.MONGO_DB_KEY_LOGTIME).as(AdminConstants.MONGO_DB_KEY_LOGTIME) + ; + operations.add(pjt); + + + Aggregation aggregation = Aggregation.newAggregation(operations); + AggregationResults results = getMongoTemplate().aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, clazz); + return results.getMappedResults(); + } + + + protected Criteria makeCriteria(String startTime, String endTime, String userGuid) { + String regex = "\"UserGuid\":\"" + userGuid + "\""; + return new Criteria() + .andOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).gte(startTime) + ,Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).lt(endTime) + , new Criteria() + .orOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(regex) + ) + ); + } + + +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogWauService.java b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogWauService.java new file mode 100644 index 0000000..1e3446b --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/BusinessLogWauService.java @@ -0,0 +1,58 @@ +package com.caliverse.admin.logs.logservice.businesslogservice; + +import com.caliverse.admin.global.common.constants.AdminConstants; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.aggregation.*; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Slf4j +@Service +public class BusinessLogWauService extends BusinessLogServiceBase { + + public BusinessLogWauService(@Qualifier("mongoBusinessLogTemplate") MongoTemplate mongoTemplate) { + super(mongoTemplate); + } + + public List loadBusinessLogData(String startTime, String endTime, Class class1) { + + Criteria criteria = makeCriteria(startTime, endTime); + List operations = setDefaultOperation(criteria); + + GroupOperation groupByUserAccountId = Aggregation.group() + .addToSet(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID).as(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID) + .max(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + ; + ProjectionOperation projectWithAccountIdistCount = Aggregation.project() + .and(AdminConstants.MONGO_DB_KEY_ACCOUNT_ID).size().as(AdminConstants.MONGO_DB_KEY_ACCOUNT_IDS_COUNT) + .and(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY) + ; + operations.add(groupByUserAccountId); + operations.add(projectWithAccountIdistCount); + + Aggregation aggregation = Aggregation.newAggregation(operations); + log.info("loadBusinessLogData WAU Query: {}", aggregation); + AggregationResults results = getMongoTemplate().aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, class1); + + return results.getMappedResults(); + } + + + protected Criteria makeCriteria(String startTime, String endTime) { + return new Criteria() + .andOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).gte(startTime) + ,Criteria.where(AdminConstants.MONGO_DB_KEY_LOGTIME).lt(endTime) + , new Criteria() + .orOperator( + Criteria.where(AdminConstants.MONGO_DB_KEY_MESSAGE).regex(AdminConstants.REGEX_MSG_LOGIN_TO_GAME) + ) + ); + } + + +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/IBusinessLogService.java b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/IBusinessLogService.java new file mode 100644 index 0000000..f14b097 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/businesslogservice/IBusinessLogService.java @@ -0,0 +1,9 @@ +package com.caliverse.admin.logs.logservice.businesslogservice; + +import java.util.List; + +public interface IBusinessLogService { + + // List loadBusinessLogData(String startTime, String endTime, Class clazz); + +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorAuServiceBase.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorAuServiceBase.java new file mode 100644 index 0000000..d146a66 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorAuServiceBase.java @@ -0,0 +1,23 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import java.util.List; + +import com.caliverse.admin.logs.logservice.businesslogservice.BusinessLogAuByLangService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.entity.AuPerMinLogInfo; +import com.caliverse.admin.logs.Indicatordomain.AuMongoLog; + + +@Service +public abstract class IndicatorAuServiceBase { + + //이 클래스 사용할지 말지 나중에 생각해볼것 + + + + + //protected abstract void saveStatLogData(String logTimeStr, IndicatorsLog log); +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsAuService.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsAuService.java new file mode 100644 index 0000000..9c4b41d --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsAuService.java @@ -0,0 +1,56 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import com.caliverse.admin.logs.Indicatordomain.AuMongoLog; +import com.caliverse.admin.logs.logservice.businesslogservice.BusinessLogAuByLangService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.entity.AuPerMinLogInfo; +import com.caliverse.admin.Indicators.indicatorrepository.IndicatorAuPerMinRepository; + +import lombok.extern.slf4j.Slf4j; + +import java.util.List; + + +@Slf4j +@Service +public class IndicatorsAuService extends IndicatorAuServiceBase { + + @Autowired private IndicatorAuPerMinRepository indicatorAuPerMinRepository; + @Autowired private BusinessLogAuByLangService businessLogAuByLangService; + + public void collectActiveUser(String startTime, String endTime) + { + List auByLanglogs = businessLogAuByLangService.loadBusinessLogData(startTime, endTime, AuMongoLog.class); + + for(AuMongoLog log : auByLanglogs) { + String logMin = log.getLogMinute(); + + AuPerMinLogInfo indicatorLog = new AuPerMinLogInfo(logMin, log.getLanguageType(), log.getUserGuidList(), log.getUserGuidListCount()); + + saveStatLogData(logMin, indicatorLog); + } + + } + + protected void saveStatLogData(String logMin, IndicatorsLog indicatorsLog) { + + + if (indicatorsLog instanceof AuPerMinLogInfo) { + AuPerMinLogInfo auLogInfo = (AuPerMinLogInfo) indicatorsLog; + try { + indicatorAuPerMinRepository.save(auLogInfo); + } catch (Exception e) { + e.printStackTrace(); + } + } else { + log.error("Not instanceof AuPerMinLogInfo"); + } + + + } + + +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsDBCapacityService.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsDBCapacityService.java new file mode 100644 index 0000000..cc85975 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsDBCapacityService.java @@ -0,0 +1,73 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.entity.DBCapacityInfo; +import com.caliverse.admin.Indicators.indicatorrepository.IndicatorDBCapacityRepository; +import com.caliverse.admin.domain.service.DynamoDBMetricsService; +import com.caliverse.admin.global.common.constants.DynamoDBConstants; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import software.amazon.awssdk.services.cloudwatch.model.GetMetricDataResponse; +import software.amazon.awssdk.services.cloudwatch.model.MetricDataResult; + +import java.time.Instant; +import java.time.ZoneId; +import java.util.HashMap; +import java.util.Map; + +@Slf4j +@Service +public class IndicatorsDBCapacityService { + + @Autowired private IndicatorDBCapacityRepository capacityRepository; + @Autowired private DynamoDBMetricsService dynamoDBMetricsService; + + public void collectDBCapacity(String startTime, String endTime){ + GetMetricDataResponse response = dynamoDBMetricsService.getConsumedCapacityData(Instant.parse(startTime), Instant.parse(endTime)); + + try { + Map dailyReadCapacity = new HashMap<>(); + Map dailyWriteCapacity = new HashMap<>(); + + for (MetricDataResult result : response.metricDataResults()) { + for (int i = 0; i < result.timestamps().size(); i++) { + String date = result.timestamps().get(i) + .atZone(ZoneId.systemDefault()) + .toLocalDate() + .toString(); + + double value = result.values().get(i); + + if (result.id().equals("readCapacity")) { + dailyReadCapacity.merge(date, Math.round(value), Long::sum); + } else if (result.id().equals("writeCapacity")) { + dailyWriteCapacity.merge(date, Math.round(value), Long::sum); + } + } + } + + dailyReadCapacity.forEach((date, readTotal) -> { + var writeTotal = dailyWriteCapacity.getOrDefault(date, 0L); + var capacityInfo = new DBCapacityInfo(date, DynamoDBConstants.NAMESPACE, readTotal, writeTotal); + log.info("collectDBCapacity DBCapacity Log Save info: {}", capacityInfo); + saveStatLogData(capacityInfo); + }); + }catch (Exception e){ + log.error("collectUserPlayTime Error Message: {}", e.getMessage()); + } + } + + public void saveStatLogData(IndicatorsLog indicatorsLog) { + + if (indicatorsLog instanceof DBCapacityInfo capacityInfo) { + try { + capacityRepository.save(capacityInfo); + } catch (Exception e) { + log.error("saveStatLogData: {}", e.getMessage()); + } + } else { + log.error("Not instanceof IndicatorsLog"); + } + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsDauService.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsDauService.java new file mode 100644 index 0000000..9e982a4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsDauService.java @@ -0,0 +1,77 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.entity.DauLogInfo; +import com.caliverse.admin.Indicators.indicatorrepository.IndicatorDauRepository; +import com.caliverse.admin.logs.Indicatordomain.DauMongoLog; +import com.caliverse.admin.logs.logservice.businesslogservice.BusinessLogDauService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.time.LocalDate; +import java.time.format.DateTimeFormatter; +import java.util.List; + +@Slf4j +@Service +public class IndicatorsDauService{ + + @Autowired private BusinessLogDauService businessLogDauService; + @Autowired private IndicatorDauRepository dauRepository; + + public void collectDailyActiveUser(String startTime, String endTime){ + String logTimeStr = startTime.substring(0, 10); + List indicatorLog = businessLogDauService.loadBusinessLogData(startTime, endTime, DauMongoLog.class); + + if (indicatorLog == null || indicatorLog.isEmpty()) { + DauLogInfo dauLog = new DauLogInfo(logTimeStr, 0); + log.info("collectDailyActiveUser DAU Log Save logDay: {}, Dau: {}", logTimeStr, dauLog.getDau()); + saveStatLogData(dauLog); + return; + } + + for(DauMongoLog mongo_log : indicatorLog){ + String logDay = mongo_log.getLogDay(); + + DauLogInfo dauLog = new DauLogInfo(logDay, mongo_log.getAccountIdListCount()); + log.info("collectDailyActiveUser DAU Log Save logDay: {}, Dau: {}", logDay, dauLog.getDau()); + saveStatLogData(dauLog); + } + } + + public void saveStatLogData(IndicatorsLog indicatorsLog) { + + if (indicatorsLog instanceof DauLogInfo) { + DauLogInfo dau_log_info = (DauLogInfo) indicatorsLog; + try { + dauRepository.save(dau_log_info); + } catch (Exception e) { + log.error("Error Repository Write DAUInfo: {}, Message: {}", dau_log_info, e.getMessage()); + } + } else { + log.error("Not instanceof DauLogInfo"); + } + } + + /** + * 특정 날짜의 DAU 정보를 조회합니다. + * @param date 조회할 날짜 (형식: "YYYY-MM-DD") + * @return 해당 날짜의 DAU 정보, 없을 경우 null + */ +// public DauLogInfo getDauLogData(LocalDate date) { +// try { +// DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); +// String logDay = date.format(formatter); +// List dauLogInfo = dauRepository.findByLogDay(logDay); +// if (dauLogInfo == null) { +// log.info("No DAU data found for date: {}", logDay); +// return null; +// } +// return dauLogInfo.isEmpty() ? null : dauLogInfo.get(0); +// } catch (Exception e) { +// log.error("Error while fetching DAU for date: {}", date, e); +// throw e; +// } +// } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsDglcService.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsDglcService.java new file mode 100644 index 0000000..9b79d30 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsDglcService.java @@ -0,0 +1,54 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.entity.DglcLogInfo; +import com.caliverse.admin.Indicators.indicatorrepository.IndicatorDglcRepository; +import com.caliverse.admin.logs.Indicatordomain.DglcMongoLog; +import com.caliverse.admin.logs.logservice.businesslogservice.BusinessLogDglcService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Slf4j +@Service +public class IndicatorsDglcService{ + + @Autowired private BusinessLogDglcService businessLogDglcService; + @Autowired private IndicatorDglcRepository dglcRepository; + + + public void collectDailyGameLoginCount(String startTime, String endTime){ + String logTimeStr = startTime.substring(0, 10); + List indicatorsLog = businessLogDglcService.loadBusinessLogData(startTime, endTime, DglcMongoLog.class); + + if (indicatorsLog == null || indicatorsLog.isEmpty()) { + DglcLogInfo dglcLog = new DglcLogInfo(logTimeStr, 0); + log.info("collectDailyGameLoginCount DGLC Log Save logDay: {}, TotalCount: {}", logTimeStr, dglcLog.getDglc()); + saveStatLogData(dglcLog); + return; + } + + for(DglcMongoLog mongo_log : indicatorsLog){ + String logDay = mongo_log.getLogDay(); + + DglcLogInfo dglcLog = new DglcLogInfo(logDay, mongo_log.getTotalCount()); + log.info("collectDailyGameLoginCount DGLC Log Save logDay: {}, TotalCount: {}", logDay, dglcLog.getDglc()); + saveStatLogData(dglcLog); + } + } + + public void saveStatLogData(IndicatorsLog indicatorsLog) { + + if (indicatorsLog instanceof DglcLogInfo dglcLogInfo) { + try { + dglcRepository.save(dglcLogInfo); + } catch (Exception e) { + log.error("Error Repository Write DGLCInfo: {}, Message: {}", dglcLogInfo, e.getMessage()); + } + } else { + log.error("Not instanceof DglcLogiInfo"); + } + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsLogHelper.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsLogHelper.java new file mode 100644 index 0000000..8a090c3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsLogHelper.java @@ -0,0 +1,37 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import java.util.HashMap; +import java.util.Map; + +import com.caliverse.admin.domain.entity.LANGUAGETYPE; +import com.caliverse.admin.logs.Indicatordomain.AuMongoLog; + + +public class IndicatorsLogHelper { + + public static Map createLanguageMap() + { + Map map = new HashMap(); + + for(LANGUAGETYPE lang : LANGUAGETYPE.getAllLanguages()){ + map.put(lang.toString(), new AuMongoLog()); + } + return map; + } + + // public static Class getClassByAuDayNumber(int dayNumber){ + // switch(dayNumber){ + // case AdmiinConstants.STAT_DAY_NUM: + // return DauLogInfo.class; + // case AdmiinConstants.STAT_WEEK_NUM: + // return WauLogInfo.class; + // case AdmiinConstants.STAT_MONTH_NUM: + // return MauLogInfo.class; + // default: + // return DauLogInfo.class; + // } + + + // } + +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsMauService.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsMauService.java new file mode 100644 index 0000000..984fce5 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsMauService.java @@ -0,0 +1,47 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.entity.MauLogInfo; +import com.caliverse.admin.Indicators.indicatorrepository.IndicatorMauRepository; +import com.caliverse.admin.logs.Indicatordomain.MauMongoLog; +import com.caliverse.admin.logs.logservice.businesslogservice.BusinessLogMauService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + + +@Slf4j +@Service +public class IndicatorsMauService{ + + @Autowired private IndicatorMauRepository mauRepository; + @Autowired private BusinessLogMauService businessLogMauService; + + public void collectMonthlyActiveUser(String startTime, String endTime){ + String logTimeStr = startTime.substring(0, 10); + List indicatorLog = businessLogMauService.loadBusinessLogData(startTime, endTime, MauMongoLog.class); + + for(MauMongoLog mongo_log : indicatorLog){ + String logDay = mongo_log.getLogDay(); + + MauLogInfo mauLog = new MauLogInfo(logDay, mongo_log.getAccountIdListCount()); + log.info("collectMonthlyActiveUser MAU Log Save logDay: {}, mau: {}", logDay, mauLog.getMau()); + saveStatLogData(mauLog); + } + } + + + protected void saveStatLogData(IndicatorsLog indicatorsLog) { + if (indicatorsLog instanceof MauLogInfo mau_log_info) { + try { + mauRepository.save(mau_log_info); + } catch (Exception e) { + log.error("Error Repository Write MAUInfo: {}, Message: {}", mau_log_info, e.getMessage()); + } + } else { + log.error("Not instanceof DauLogInfo"); + } + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsMcuService.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsMcuService.java new file mode 100644 index 0000000..267cb12 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsMcuService.java @@ -0,0 +1,76 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import java.time.LocalDate; +import java.time.format.DateTimeFormatter; +import java.util.List; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.indicatorrepository.IndicatorMcuRepository; +import com.caliverse.admin.logs.Indicatordomain.McuMongoLog; +import com.caliverse.admin.logs.logservice.businesslogservice.BusinessLogMcuService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.caliverse.admin.Indicators.entity.McuLogInfo; + +@Slf4j +@Service +public class IndicatorsMcuService { + + @Autowired private IndicatorMcuRepository mcuRepository; + @Autowired private BusinessLogMcuService businessLogMcuService; + + public void collectMaxCountUser(String startTime, String endTime) + { + String logTimeStr = startTime.substring(0, 10); + List indicatorsLog = businessLogMcuService.loadBusinessLogData(startTime, endTime, McuMongoLog.class); + + if (indicatorsLog == null || indicatorsLog.isEmpty()) { + McuLogInfo mcuLog = new McuLogInfo(logTimeStr, 0); + log.info("collectMaxCountUser MCU Log Save logDay: {}, MaxCountUser: {}", logTimeStr, mcuLog.getMaxCountUser()); + saveStatLogData(mcuLog); + return; + } + + for(McuMongoLog mongo_log : indicatorsLog){ + String logDay = mongo_log.getLogDay(); + + McuLogInfo mcuLog = new McuLogInfo(logDay, mongo_log.getMaxCountUser()); + log.info("collectMaxCountUser MCU Log Save logDay: {}, MaxCountUser: {}", logDay, mcuLog.getMaxCountUser()); + saveStatLogData(mcuLog); + } + + } + + private void saveStatLogData(IndicatorsLog indicatorsLog) { + + if (indicatorsLog instanceof McuLogInfo) { + McuLogInfo mcuLogInfo = (McuLogInfo) indicatorsLog; + try { + mcuRepository.save(mcuLogInfo); + } catch (Exception e) { + log.error("Error Repository Write MCUInfo: {}, Message: {}", mcuLogInfo, e.getMessage()); + } + } else { + log.error("Not instanceof McuLogInfo"); + } + + } + +// public McuLogInfo getMcuLogData(LocalDate date) { +// try { +// DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); +// String logDay = date.format(formatter); +// List mcuLogInfo = mcuRepository.findByLogDay(logDay); +// if (mcuLogInfo == null) { +// log.info("No MCU data found for date: {}", logDay); +// return null; +// } +// return mcuLogInfo.isEmpty() ? null : mcuLogInfo.get(0); +// } catch (Exception e) { +// log.error("Error while fetching MCU for date: {}", date, e); +// throw e; +// } +// } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsMetaverseServerService.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsMetaverseServerService.java new file mode 100644 index 0000000..1dc5d55 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsMetaverseServerService.java @@ -0,0 +1,36 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.entity.MetaverseServerInfo; +import com.caliverse.admin.Indicators.indicatorrepository.IndicatorMetaverServerRepository; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +@Slf4j +@Service +public class IndicatorsMetaverseServerService { + + @Autowired private IndicatorMetaverServerRepository metaverServerRepository; + + public void collectMetaverseServerCount(String startTime, String endTime, int count){ + String logTimeStr = startTime.substring(0, 10); + + MetaverseServerInfo metaverseServerLog = new MetaverseServerInfo(logTimeStr, count); + log.info("collectMetaverseServerCount MetaverseServer Log Save logDay: {}, ServerCount: {}", logTimeStr, metaverseServerLog.getServerCount()); + saveStatLogData(metaverseServerLog); + } + + public void saveStatLogData(IndicatorsLog indicatorsLog) { + + if (indicatorsLog instanceof MetaverseServerInfo metaverseServerInfo) { + try { + metaverServerRepository.save(metaverseServerInfo); + } catch (Exception e) { + log.error("Error Repository Write MetaverseServerInfo: {}, Message: {}", metaverseServerInfo, e.getMessage()); + } + } else { + log.error("Not instanceof MetaverseServerInfo"); + } + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsMoneyService.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsMoneyService.java new file mode 100644 index 0000000..54810c4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsMoneyService.java @@ -0,0 +1,43 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.entity.MoneyLogInfo; +import com.caliverse.admin.Indicators.indicatorrepository.IndicatorMoneyRepository; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + + +@Slf4j +@Service +public class IndicatorsMoneyService { + + @Autowired private IndicatorMoneyRepository moneyRepository; +// @Autowired private BusinessLogMauService businessLogMauService; +// +// public void collectMonthlyActiveUser(String startTime, String endTime){ +// String logTimeStr = startTime.substring(0, 10); +// List indicatorLog = businessLogMauService.loadBusinessLogData(startTime, endTime, MauMongoLog.class); +// +// for(MauMongoLog mongo_log : indicatorLog){ +// String logDay = mongo_log.getLogDay(); +// +// MauLogInfo mauLog = new MauLogInfo(logDay, mongo_log.getAccountIdListCount()); +// log.info("collectMonthlyActiveUser MAU Log Save logDay: {}, mau: {}", logDay, mauLog.getMau()); +// saveStatLogData(mauLog); +// } +// } + + + public void saveStatLogData(IndicatorsLog indicatorsLog) { + if (indicatorsLog instanceof MoneyLogInfo money_log_info) { + try { + moneyRepository.save(money_log_info); + } catch (Exception e) { + log.error("Error Repository Write MoneyInfo: {}, Message: {}", money_log_info, e.getMessage()); + } + } else { + log.error("Not instanceof MoneyLogInfo"); + } + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsNruService.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsNruService.java new file mode 100644 index 0000000..9e325b0 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsNruService.java @@ -0,0 +1,71 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.entity.NruLogInfo; +import com.caliverse.admin.Indicators.indicatorrepository.IndicatorNruRepository; +import com.caliverse.admin.logs.Indicatordomain.NruMongoLog; +import com.caliverse.admin.logs.logservice.businesslogservice.BusinessLogNruService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.time.LocalDate; +import java.time.format.DateTimeFormatter; +import java.util.List; + +@Slf4j +@Service +public class IndicatorsNruService { + + @Autowired private IndicatorNruRepository indicatorNruRepository; + @Autowired private BusinessLogNruService businessLogNruService; + + public void collectCharacterCreateCount(String startTime, String endTime){ + String logTimeStr = startTime.substring(0, 10); + List indicatorsLog = businessLogNruService.loadBusinessLogData(startTime, endTime, NruMongoLog.class); + + if (indicatorsLog == null || indicatorsLog.isEmpty()) { + NruLogInfo nruLog = new NruLogInfo(logTimeStr, 0); + log.info("collectCharacterCreateCount CharacterCreate Log Save logDay: {}, CharacterCreateCount: {}", logTimeStr, nruLog.getNru()); + saveStatLogData(nruLog); + return; + } + + for(NruMongoLog mongo_log : indicatorsLog){ + String logDay = mongo_log.getLogDay(); + + NruLogInfo nruLog = new NruLogInfo(logDay, mongo_log.getNru()); + log.info("collectCharacterCreateCount CharacterCreate Log Save logDay: {}, CharacterCreateCount: {}", logDay, nruLog.getNru()); + saveStatLogData(nruLog); + } + } + + public void saveStatLogData(IndicatorsLog indicatorsLog) { + + if (indicatorsLog instanceof NruLogInfo nruLogInfo) { + try { + indicatorNruRepository.save(nruLogInfo); + } catch (Exception e) { + log.error("Error Repository Write nruInfo: {}, Message: {}", nruLogInfo, e.getMessage()); + } + } else { + log.error("Not instanceof NruLogInfo"); + } + } + +// public NruLogInfo getNruLogData(LocalDate date) { +// try { +// DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); +// String logDay = date.format(formatter); +// List nruLogInfo = indicatorNruRepository.findByLogDay(logDay); +// if (nruLogInfo == null) { +// log.info("No NRU data found for date: {}", logDay); +// return null; +// } +// return nruLogInfo.isEmpty() ? null : nruLogInfo.get(0); +// } catch (Exception e) { +// log.error("Error while fetching NRU for date: {}", date, e); +// throw e; +// } +// } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsPlayTimeService.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsPlayTimeService.java new file mode 100644 index 0000000..4ceb5cd --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsPlayTimeService.java @@ -0,0 +1,57 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.entity.PlayTimeLogInfo; +import com.caliverse.admin.Indicators.indicatorrepository.IndicatorPlayTimRepository; +import com.caliverse.admin.logs.Indicatordomain.PlayTimeMongoLog; +import com.caliverse.admin.logs.logservice.businesslogservice.BusinessLogPlayTimeService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Slf4j +@Service +public class IndicatorsPlayTimeService{ + + @Autowired private BusinessLogPlayTimeService businessLogPlayTimeService; + @Autowired private IndicatorPlayTimRepository playTimeRepository; + + public void collectUserPlayTime(String startTime, String endTime){ + String logTimeStr = startTime.substring(0, 10); + List indicatorsLog = businessLogPlayTimeService.loadBusinessLogData(startTime, endTime, PlayTimeMongoLog.class); + + try { + if (indicatorsLog == null || indicatorsLog.isEmpty()) { + PlayTimeLogInfo playTimeLog = new PlayTimeLogInfo(logTimeStr, 0L); + log.info("collectUserPlayTime PlayTime Log Save logDay: {}, TotalPlayTimeCount: {}", logTimeStr, playTimeLog.getTotalPlayTimeCount()); + saveStatLogData(playTimeLog); + return; + } + + for (PlayTimeMongoLog mongoLog : indicatorsLog) { + String logDay = mongoLog.getLogDay(); + + PlayTimeLogInfo playTimeLog = new PlayTimeLogInfo(logDay, mongoLog.getTotalPlayTimeCount()); + log.info("collectUserPlayTime PlayTime Log Save logDay: {}, TotalPlayTimeCount: {}", logDay, playTimeLog.getTotalPlayTimeCount()); + saveStatLogData(playTimeLog); + } + }catch (Exception e){ + log.error("collectUserPlayTime Error Message: {}", e.getMessage()); + } + } + + public void saveStatLogData(IndicatorsLog indicatorsLog) { + + if (indicatorsLog instanceof PlayTimeLogInfo playTimeLogInfo) { + try { + playTimeRepository.save(playTimeLogInfo); + } catch (Exception e) { + log.error("saveStatLogData: {}", e.getMessage()); + } + } else { + log.error("Not instanceof PlayTimeLogiInfo"); + } + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsUgqCreateService.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsUgqCreateService.java new file mode 100644 index 0000000..0960615 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsUgqCreateService.java @@ -0,0 +1,54 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.entity.UgqCreateLogInfo; +import com.caliverse.admin.Indicators.indicatorrepository.IndicatorUgqCreateRepository; +import com.caliverse.admin.logs.Indicatordomain.UgqCreateMongoLog; +import com.caliverse.admin.logs.logservice.businesslogservice.BusinessLogUgqCreateService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Slf4j +@Service +public class IndicatorsUgqCreateService { + + @Autowired private BusinessLogUgqCreateService businessLogUgqCreateService; + @Autowired private IndicatorUgqCreateRepository ugqCreateRepository; + + + public void collectUGQCreateCount(String startTime, String endTime){ + String logTimeStr = startTime.substring(0, 10); + List indicatorsLog = businessLogUgqCreateService.loadBusinessLogData(startTime, endTime, UgqCreateMongoLog.class); + + if (indicatorsLog == null || indicatorsLog.isEmpty()) { + UgqCreateLogInfo ugqCreateLog = new UgqCreateLogInfo(logTimeStr, 0); + log.info("collectUGQCreateCount ugqCreateLog Log Save logDay: {}, UGQCreateCount: {}", logTimeStr, ugqCreateLog.getUgqCrateCount()); + saveStatLogData(ugqCreateLog); + return; + } + + for(UgqCreateMongoLog mongo_log : indicatorsLog){ + String logDay = mongo_log.getLogDay(); + + UgqCreateLogInfo ugqCreateLog = new UgqCreateLogInfo(logDay, mongo_log.getUgqCrateCount()); + log.info("collectUGQCreateCount ugqCreateLog Log Save logDay: {}, UGQCreateCount: {}", logDay, ugqCreateLog.getUgqCrateCount()); + saveStatLogData(ugqCreateLog); + } + } + + public void saveStatLogData(IndicatorsLog indicatorsLog) { + + if (indicatorsLog instanceof UgqCreateLogInfo ugqCreateLogInfo) { + try { + ugqCreateRepository.save(ugqCreateLogInfo); + } catch (Exception e) { + log.error("Error Repository Write UgqCreateLogInfo: {}, Message: {}", ugqCreateLogInfo, e.getMessage()); + } + } else { + log.error("Not instanceof UgqCreateLogInfo"); + } + } +} diff --git a/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsWauService.java b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsWauService.java new file mode 100644 index 0000000..9ff70e1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/logs/logservice/indicators/IndicatorsWauService.java @@ -0,0 +1,58 @@ +package com.caliverse.admin.logs.logservice.indicators; + +import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog; +import com.caliverse.admin.Indicators.entity.WauLogInfo; +import com.caliverse.admin.Indicators.indicatorrepository.IndicatorWauRepository; +import com.caliverse.admin.logs.Indicatordomain.WauMongoLog; +import com.caliverse.admin.logs.logservice.businesslogservice.BusinessLogWauService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import java.util.List; + + +@Slf4j +@Service +public class IndicatorsWauService{ + + @Autowired private IndicatorWauRepository wauRepository; + @Autowired private BusinessLogWauService businessLogWauService; + + public void collectWeeklyActiveUser(String startTime, String endTime){ + String logTimeStr = startTime.substring(0, 10); + List indicatorLog = businessLogWauService.loadBusinessLogData(startTime, endTime, WauMongoLog.class); + + try { + if (indicatorLog == null || indicatorLog.isEmpty()) { + WauLogInfo wauLog = new WauLogInfo(logTimeStr, 0); + log.info("collectWeeklyActiveUser WAU Log Save logDay: {}, Wau: {}", logTimeStr, wauLog.getWau()); + saveStatLogData(wauLog); + return; + } + + for(WauMongoLog mongo_log : indicatorLog){ + String logDay = mongo_log.getLogDay(); + + WauLogInfo wauLog = new WauLogInfo(logDay, mongo_log.getAccountIdListCount()); + log.info("collectWeeklyActiveUser WAU Log Save logDay: {}, Wau: {}", logDay, wauLog.getWau()); + saveStatLogData(wauLog); + } + }catch (Exception e){ + log.error("collectWeeklyActiveUser Error Message: {}", e.getMessage()); + } + } + + public void saveStatLogData(IndicatorsLog indicatorsLog) { + + if (indicatorsLog instanceof WauLogInfo) { + WauLogInfo wauLogInfo = (WauLogInfo) indicatorsLog; + try { + wauRepository.save(wauLogInfo); + } catch (Exception e) { + log.error("Error Repository Write WAUInfo: {}, Message: {}", wauLogInfo, e.getMessage()); + } + } else { + log.error("Not instanceof WauLogInfo"); + } + } +} diff --git a/src/main/java/com/caliverse/admin/redis/entity/RedisLoginInfo.java b/src/main/java/com/caliverse/admin/redis/entity/RedisLoginInfo.java new file mode 100644 index 0000000..5283ca3 --- /dev/null +++ b/src/main/java/com/caliverse/admin/redis/entity/RedisLoginInfo.java @@ -0,0 +1,23 @@ +package com.caliverse.admin.redis.entity; + +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter +@JsonIgnoreProperties(ignoreUnknown = true) +public class RedisLoginInfo { + + @JsonProperty("UserGuid") + String userGuid; + + @JsonProperty("AccountId") + String accountId; + + @JsonProperty("CurrentServer") + String currentServer; + + +} diff --git a/src/main/java/com/caliverse/admin/redis/service/RedisUserInfoService.java b/src/main/java/com/caliverse/admin/redis/service/RedisUserInfoService.java new file mode 100644 index 0000000..dfba339 --- /dev/null +++ b/src/main/java/com/caliverse/admin/redis/service/RedisUserInfoService.java @@ -0,0 +1,155 @@ +package com.caliverse.admin.redis.service; + + +import com.caliverse.admin.domain.entity.FriendRequest; +import com.caliverse.admin.domain.entity.redis.RedisLoginInfo; +import com.caliverse.admin.global.common.code.CommonCode; +import com.caliverse.admin.global.common.code.ErrorCode; +import com.caliverse.admin.global.common.exception.RestApiException; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.data.redis.core.RedisTemplate; +import org.springframework.stereotype.Service; + +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.stream.Collectors; + +@Slf4j +@Service +public class RedisUserInfoService { + + private final RedisTemplate redisTemplate; + + private final ObjectMapper objectMapper = new ObjectMapper(); + + public RedisUserInfoService(RedisTemplate redisTemplate) { + this.redisTemplate = redisTemplate; + } + + public RedisLoginInfo getUserLoginSessionInfo(String userGuid) { + String prefix = "login:"; + String key = prefix + userGuid; + + String infoString = (String) redisTemplate.opsForValue().get(key); + + if(infoString == null) return null; + + RedisLoginInfo info = null; + try{ + info = objectMapper.readValue(infoString, RedisLoginInfo.class); + } + catch (JsonProcessingException e) { + log.error(e.getMessage()); + throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.USER_GAME_LOGIN_JSON_MAPPER_PARSE_ERROR.getMessage()); + } + log.info("getUserLoginSessionInfo userInfo : {}", info); + return info; + } + + // 전체 채널,인던 정보 + public List getAllServerList(){ + String worldKey_a = "serverinfo:Keys:ChannelKey:001"; + String worldKey_b = "serverinfo:Keys:ChannelKey:002"; + String worldKey_c = "serverinfo:Keys:ChannelKey:003"; + String indunKey = "serverinfo:Keys:IndunKey"; + + List keys_a = getKeys(worldKey_a); + List keys_b = getKeys(worldKey_b); + List keys_c = getKeys(worldKey_c); + List keys_d = getKeys(indunKey); + + List channels_a = getValueList(keys_a); + List channels_b = getValueList(keys_b); + List channels_c = getValueList(keys_c); + List channels_d = getValueList(keys_d); + + List allChannels = new ArrayList<>(); + allChannels.addAll(channels_a); + allChannels.addAll(channels_b); + allChannels.addAll(channels_c); + allChannels.addAll(channels_d); + + log.info("noticeJob getAllServerList serverList : {}", allChannels); + + return allChannels; + } + + // 첫번째 채널 정보 + public String getFirstChannel(){ + String worldKey_a = "serverinfo:Keys:ChannelKey:001"; + String worldKey_b = "serverinfo:Keys:ChannelKey:002"; + String worldKey_c = "serverinfo:Keys:ChannelKey:003"; + + List keys_a = getKeys(worldKey_a); + List keys_b = getKeys(worldKey_b); + List keys_c = getKeys(worldKey_c); + + List channels_a = getValueList(keys_a); + List channels_b = getValueList(keys_b); + List channels_c = getValueList(keys_c); + + List allChannels = new ArrayList<>(); + allChannels.addAll(channels_a); + allChannels.addAll(channels_b); + allChannels.addAll(channels_c); + + String server_name = allChannels.stream().findFirst().get(); + log.info("noticeJob DynamicScheduler.getFirstChannel serverList : {}", allChannels); + return server_name; + } + + //친구 요청 정보 + public List getFriendRequestInfo(String type, String guid){ + String key = type.equals("receive") ? "receivedfriendrequest:" + guid : "sendedfriendrequest:" + guid; + Map entries = redisTemplate.opsForHash().entries(key); + List friendList = entries.values().stream() + .map(value -> { + try { + return objectMapper.readValue(value.toString(), FriendRequest.class); + } catch (JsonProcessingException e) { + throw new RuntimeException("Failed to parse JSON to FriendRequest", e); + } + }) + .collect(Collectors.toList()); + + log.info("getFriendRequestInfo type: {}, list: {}", type, friendList); + return friendList; + } + + private List getKeys(String worldKey){ + Set setMember = redisTemplate.opsForSet().members(worldKey); + + if(setMember == null || setMember.isEmpty()) return new ArrayList<>(); + + return setMember.stream().map(Object::toString).toList(); + } + + private List getValueList(List keys){ + List namesList = new ArrayList<>(); + + for (String key : keys) { + String infoString = (String) redisTemplate.opsForValue().get(key); + + if (infoString != null) { + try { + Map map = objectMapper.readValue(infoString, new TypeReference>(){}); + + String name = map.get("Name").toString(); + + if (name != null && !name.isEmpty()) { + namesList.add(name); + } + } catch (Exception e) { + log.error(e.getMessage()); + } + } + } + + return namesList; + } +} diff --git a/src/main/java/com/caliverse/admin/scheduler/DynamicScheduler.java b/src/main/java/com/caliverse/admin/scheduler/DynamicScheduler.java new file mode 100644 index 0000000..10c9303 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/DynamicScheduler.java @@ -0,0 +1,580 @@ +package com.caliverse.admin.scheduler; + +import com.caliverse.admin.domain.RabbitMq.MessageHandlerService; +import com.caliverse.admin.domain.RabbitMq.message.LanguageType; +import com.caliverse.admin.domain.RabbitMq.message.MailItem; +import com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage; +import com.caliverse.admin.domain.entity.*; +import com.caliverse.admin.dynamodb.entity.ELandAuctionResult; +import com.caliverse.admin.dynamodb.entity.ELandAuctionState; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionHighestBidUserAttrib; +import com.caliverse.admin.dynamodb.domain.atrrib.LandAuctionRegistryAttrib; +import com.caliverse.admin.domain.entity.redis.RedisLoginInfo; +import com.caliverse.admin.domain.service.*; +import com.caliverse.admin.dynamodb.entity.SystemMessage; +import com.caliverse.admin.dynamodb.service.DynamodbService; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.global.common.utils.ExcelUtils; +import com.caliverse.admin.global.common.utils.JsonUtils; +import com.caliverse.admin.redis.service.RedisUserInfoService; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.ArrayNode; +import lombok.*; +import org.springframework.stereotype.Service; + +import lombok.extern.slf4j.Slf4j; + +import java.time.Duration; +import java.time.LocalDateTime; +import java.time.LocalTime; +import java.util.*; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledFuture; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; +import java.util.stream.Collectors; + +import static com.caliverse.admin.global.common.utils.DynamodbUtil.getLanguageType; + +@Service +@AllArgsConstructor +@Slf4j +public class DynamicScheduler { + + private final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1); + + private final MailService mailService; + private final NoticeService noticeService; + private final BlackListService blackListService; + private final EventService eventService; + private final LandService landService; + private final UserGameSessionService userGameSessionService; + private final ScheduleService schedulerService; + private final RedisUserInfoService redisUserInfoService; + private final MessageHandlerService messageHandlerService; + private final HistoryService historyService; + + private final DynamodbService dynamodbService; + + private final ExcelUtils excelUtils; + private final ObjectMapper objectMapper; + + public void landAuctionSchedule(){ + List auctionList = landService.getScheduleLandAuctionList(); + + try{ + auctionList.forEach(auction -> { + LocalDateTime nowDate = LocalDateTime.now(); + LocalDateTime reservationDate = auction.getResvStartDt(); + LocalDateTime auctionStartDate = auction.getAuctionStartDt(); + LocalDateTime auctionEndDate = auction.getAuctionEndDt(); + + LandAuction.AUCTION_STATUS auction_status = auction.getStatus(); + + //예약 시작시간이 되지않으면 체크하지 않는다 + if(nowDate.isBefore(reservationDate)){ + return; + } + + //예약일때 경매 시작시간이 되지않았다면 체크하지 않는다 + if(auction_status.equals(LandAuction.AUCTION_STATUS.RESV_START) && nowDate.isBefore(auctionStartDate)){ + return; + } + + // 경매중일때 경매 종료시간이 되지않았다면 체크하지 않는다 + if(auction_status.equals(LandAuction.AUCTION_STATUS.AUCTION_START) && nowDate.isBefore(auctionEndDate)){ + return; + } + + Map map = new HashMap<>(); + map.put("id", auction.getId()); + + LandAuctionRegistryAttrib attrib = landService.getLandAuctionRegistryAttrib(auction.getLandId(), auction.getAuctionSeq()); + String dynamodb_auction_state = attrib.getAuctionState(); + LandAuction.AUCTION_STATUS change_status = null; + if(dynamodb_auction_state.equals(ELandAuctionState.SCHEDULED.getName())){ + change_status = LandAuction.AUCTION_STATUS.RESV_START; + map.put("status", change_status); + landService.updateLandAuctionStatus(map); + log.info("land_auction id: {} Status Schedule Changed", auction.getId()); + }else if(dynamodb_auction_state.equals(ELandAuctionState.STARTED.getName())){ + change_status = LandAuction.AUCTION_STATUS.AUCTION_START; + map.put("status", change_status); + landService.updateLandAuctionStatus(map); + log.info("land_auction id: {} Status Auction Start Changed", auction.getId()); + }else if(dynamodb_auction_state.equals(ELandAuctionState.ENDED.getName())){ + String result = attrib.getAuctionResult(); + + if(result.equals(ELandAuctionResult.SUCCESSED.getName())){ + LandAuctionHighestBidUserAttrib bidUser = landService.getLandAuctionHighestUserAttrib(auction.getLandId(), auction.getAuctionSeq()); + if(bidUser == null) return; + log.info("land_auction id: {} Status SUCCESS Changed. bidUser: {}", auction.getId(), bidUser); + String close_dt = CommonUtils.convertIsoByDatetime(attrib.getProcessVersionTime()); + change_status = LandAuction.AUCTION_STATUS.AUCTION_END; + map.put("status", change_status); + map.put("closeEndDt", close_dt); + map.put("bidderGuid", bidUser.getHighestBidUserGuid()); + map.put("bidderNickname", bidUser.getHighestBidUserNickname()); + map.put("closePrice", bidUser.getHighestBidPrice()); + landService.updateLandAuctionStatus(map); + }else{ + if(result.equals(ELandAuctionResult.CANCELED.getName())){ + change_status = LandAuction.AUCTION_STATUS.CANCEL; + map.put("status", change_status); + }else{ + change_status = LandAuction.AUCTION_STATUS.FAIL; + map.put("status", change_status); + } + log.info("land_auction id: {} Status {} Changed.", auction.getId(), change_status); + landService.updateLandAuctionStatus(map); + } + } + }); + } catch (Exception e){ + log.error("landAuctionSchedule Exception: {}", e.getMessage()); + } + } + + public void eventSchedule(){ + List eventList = eventService.getScheduleMailList(); + + try{ + eventList.forEach(event -> { + LocalDateTime nowDate = LocalDateTime.now(); + LocalDateTime startTime = event.getStartDt(); + LocalDateTime endTime = event.getEndDt(); + + if(nowDate.isAfter(endTime) && event.getStatus().equals(Event.EVENTSTATUS.WAIT)){ + eventService.updateEventStatus(event.getId(), Event.EVENTSTATUS.FAIL); + log.error("eventJob eventSchedule timeOut : {}", event); + return; + } + + // 시작시간이 30분 남았을때 게임DB에 insert 해준다 + if (event.getStatus().equals(Event.EVENTSTATUS.WAIT) && Duration.between(nowDate, startTime).abs().toMinutes() <= 30 && !event.isAddFlag()) { +// systemMailInsert(event); + eventService.insertSystemMail(event); +// eventService.updateEventStatus(event.getId(), Event.EVENTSTATUS.RUNNING); + log.info("eventJob eventSchedule dynamoDB Insert & Start: {}", event); + } + +// if(!nowDate.isBefore(startTime) && event.getStatus().equals(Event.EVENTSTATUS.WAIT)){ +// eventService.updateEventStatus(event.getId(), Event.EVENTSTATUS.RUNNING); +// log.info("eventJob eventSchedule block start : {}", event); +// } + + if(!nowDate.isBefore(endTime) && event.getStatus().equals(Event.EVENTSTATUS.RUNNING)){ + eventService.updateEventStatus(event.getId(), Event.EVENTSTATUS.FINISH); + log.info("eventJob eventSchedule block end : {}", event); + } + }); + }catch (Exception e){ + log.error("eventSchedule Exception: {}", e.getMessage()); + } + } + + public void blackListSchedule(){ + List blackList = blackListService.getScheduleBlackList(); + + try{ + blackList.forEach(blockUser -> { + LocalDateTime nowDate = LocalDateTime.now(); + LocalDateTime startTime = blockUser.getStartDt(); + LocalDateTime endTime = blockUser.getEndDt(); + + // 이미 지난시간이면 fail 처리 + if(nowDate.isAfter(endTime) && blockUser.getStatus().equals(BlackList.STATUSTYPE.WAIT)){ + blackListService.updateBlackListStatus(blockUser.getId(), BlackList.STATUSTYPE.FAIL); + log.error("blackListJob blackListSchedule timeOut : {}", blockUser); + return; + } + + // 시작시간 지났으면 정지 처리 + if(!nowDate.isBefore(startTime) && blockUser.getStatus().equals(BlackList.STATUSTYPE.WAIT)){ + // user kick 처리 + userGameSessionService.kickUserSession(blockUser.getGuid()); + blackListService.updateScheduleBlockUser(blockUser, "start"); + blackListService.updateBlackListStatus(blockUser.getId(), BlackList.STATUSTYPE.INPROGRESS); + log.info("blackListJob blackListSchedule block start : {}", blockUser); + } + + if(!nowDate.isBefore(endTime) && blockUser.getStatus().equals(BlackList.STATUSTYPE.INPROGRESS)){ + blackListService.updateScheduleBlockUser(blockUser, "end"); + blackListService.updateBlackListStatus(blockUser.getId(), BlackList.STATUSTYPE.EXPIRATION); + log.info("blackListJob blackListSchedule block end : {}", blockUser); + } + }); + }catch (Exception e){ + log.error("blackListSchedule Exception: {}", e.getMessage()); + } + + } + + public void mailSchedule() { + List mailList = mailService.getScheduleMailList(); + + try{ + mailList.forEach(mail -> { + if(mail.getSendStatus().equals(Mail.SENDSTATUS.WAIT)){ + if(mail.getSendType() == Mail.SENDTYPE.DIRECT_SEND){ + log.info("mailJob mailSchedule direct run : {}", mail); + mailTypeProcess(mail); + }else { + String key = "mail-" + mail.getId(); + if (!schedulerService.isTaskExist(key)) { + Runnable taskRunner = () -> { + log.info("mailJob mailSchedule schedule run : {}", mail); + mailTypeProcess(mail); + // 스케줄 해제 + schedulerService.closeTask(key); + }; + + // 시작일자 - 현재일자 + LocalDateTime startDate = mail.getSendDt(); + long initialDelay = Duration.between(LocalDateTime.now(), startDate).toMillis(); + + log.info("mailJob mailSchedule schedule add : {}", mail); + ScheduledFuture schedule = scheduler.schedule(taskRunner, initialDelay, TimeUnit.MILLISECONDS); + schedulerService.addTask(key, schedule); + } + } + } + }); + }catch (Exception e){ + log.error("mailSchedule Exception: {}", e.getMessage()); + mailService.setScheduleLog(HISTORYTYPE.SCHEDULE_MAIL_FAIL, e.getMessage()); + } + } + + public void noticeSchedule() { + List noticeList = noticeService.getScheduleNoticeList(); + + try{ + noticeList.forEach(notice -> { + String key = "notice-" + notice.getId(); + if (!schedulerService.isTaskExist(key)) { + Runnable taskRunner = new Runnable() { + private int count = notice.getSendCnt().intValue(); + private final int repeat_cnt = notice.getRepeatCnt().intValue(); + private final boolean isRepeat = notice.getIsRepeat(); + private final long id = notice.getId(); + private final String runKey = key; + private final InGame.REPEATTYPE repeatType = notice.getRepeatType(); + private final LocalDateTime endDate = notice.getEndDt(); + + @Override + public void run() { + log.info("noticeJob noticeSchedule schedule run : {}", notice); + + boolean is_send = noticeSend(notice); + if(!is_send) return; + noticeService.updateNoticeCount(id); + + // 반복여부 + if(isRepeat){ + // 반복타입 + switch(repeatType){ + // 횟수 + case COUNT -> { + count++; + // 정해진 횟수만큼 돌았으면 종료 + if(count >= repeat_cnt){ + noticeService.updateNoticeStatus(id, InGame.SENDSTATUS.FINISH); + schedulerService.closeTask(runKey); + log.info("Notice Schedule End RepeatType: Count, id: {}", id); + } + } + // 일자 + case DATE -> { + if (LocalDateTime.now().isAfter(endDate)) { + noticeService.updateNoticeStatus(id, InGame.SENDSTATUS.FINISH); + schedulerService.closeTask(runKey); + log.info("Notice Schedule End RepeatType: Date, id: {}", id); + } + } + } + }else{ + // 스케줄 해제 및 상태 변경 + noticeService.updateNoticeStatus(id, InGame.SENDSTATUS.FINISH); + schedulerService.closeTask(runKey); + log.info("Notice One Time Schedule End id: {}", id); + } + } + }; + + // 반복여부 체크 + if(notice.getIsRepeat()){ + // 반복타입 + switch(notice.getRepeatType()){ + // 횟수 + case COUNT ->{ + // 시작일자 - 현재일자 + LocalDateTime startDate = notice.getSendDt(); + long initialDelay = Duration.between(LocalDateTime.now(), startDate).toMillis(); // 시작시간 + long period = LocalTime.parse(notice.getRepeatDt()).toSecondOfDay(); // 반복주기 + + ScheduledFuture schedule = scheduler.scheduleAtFixedRate(taskRunner, initialDelay, period, TimeUnit.MILLISECONDS); + schedulerService.addTask(key, schedule); + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.RUNNING); + } + // 일자 + case DATE -> { + LocalDateTime startDate = notice.getSendDt(); + long initialDelay = Duration.between(LocalDateTime.now(), startDate).toMillis(); // 시작시간 + long period = CommonUtils.intervalToMillis(notice.getRepeatDt()); // 반복주기 + + ScheduledFuture schedule = scheduler.scheduleAtFixedRate(taskRunner, initialDelay, period, TimeUnit.MILLISECONDS); + schedulerService.addTask(key, schedule); + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.RUNNING); + } + // 특정시간 + case TIME -> { + LocalDateTime now_date = LocalDateTime.now(); + LocalDateTime start_date = notice.getSendDt(); + + if(now_date.isAfter(start_date)) { + LocalTime now_time = LocalTime.now(); + LocalTime repeat_time = CommonUtils.stringToTime(notice.getRepeatDt()); + LocalDateTime end_date = notice.getEndDt(); + InGame.SENDSTATUS status = notice.getSendStatus(); + Long id = notice.getId(); + + if(status.equals(InGame.SENDSTATUS.WAIT)) noticeService.updateNoticeStatus(id, InGame.SENDSTATUS.RUNNING); + + if (now_time.equals(repeat_time)) { + log.info("noticeJob noticeSchedule RepeatType: Time run : {}", notice); + boolean is_send = noticeSend(notice); + if (!is_send) { + log.error("Notice Schedule Fail RepeatType: Time, id: {}", id); + } + } + + if(status.equals(InGame.SENDSTATUS.RUNNING) && (now_date.isBefore(end_date) || now_date.isEqual(end_date))){ + noticeService.updateNoticeStatus(id, InGame.SENDSTATUS.FINISH); + log.info("Notice Schedule End RepeatType: Time, id: {}", id); + } + } + } + } + + }else{ + // 시작일자 - 현재일자 + LocalDateTime startDate = notice.getSendDt(); + long initialDelay = Duration.between(LocalDateTime.now(), startDate).toMillis(); + + if(initialDelay < 0) { + log.error("noticeJob noticeSchedule schedule add fail time over"); + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.FAIL); + mailService.setScheduleLog(HISTORYTYPE.SCHEDULE_NOTICE_FAIL, "시작일자가 현재일자보다 이전으로 송출 중단."); + return; + } + + log.info("noticeJob noticeSchedule schedule add : {}", notice); + ScheduledFuture schedule = scheduler.schedule(taskRunner, initialDelay, TimeUnit.MILLISECONDS); + schedulerService.addTask(key, schedule); + } + } + }); + }catch (Exception e){ + log.error("noticeSchedule Exception: {}", e.getMessage()); + noticeService.setScheduleLog(HISTORYTYPE.SCHEDULE_NOTICE_FAIL, e.getMessage()); + } + } + + private void mailTypeProcess(Mail mail){ + if(mail.getReceiveType().equals(Mail.RECEIVETYPE.SINGLE)){ + boolean is_send = mainSend(mail); + if(is_send) mailService.updateMailStatus(mail.getId(), Mail.SENDSTATUS.FINISH); + } + else{ + List excelList = excelUtils.getExcelListData(mail.getTarget()); + log.info("mailJob mailSchedule schedule run ExcelList : {}", excelList); + boolean is_send; + mailService.updateMailStatus(mail.getId(), Mail.SENDSTATUS.RUNNING); + for(Excel excel : excelList){ + String guid = mailService.getGuid(excel.getUser(), excel.getType()); + mail.setTarget(guid); + is_send = mainSend(mail); + if(!is_send){ + log.error("mailJob mailSchedule Excel fail user : {}", excel.getUser()); + mailService.setScheduleLog(HISTORYTYPE.SCHEDULE_MAIL_FAIL, "mail schedule id: " + mail.getId() + " Excel Send Fail User: " + excel.getUser()); + } + else log.info("mailJob mailSchedule Excel send user : {}", excel.getUser()); + } + mailService.updateMailStatus(mail.getId(), Mail.SENDSTATUS.FINISH); + } + } + + // 우편 전송 + private boolean mainSend(Mail mail){ + // 서버정보 가져오기 + try{ + RedisLoginInfo info = redisUserInfoService.getUserLoginSessionInfo(mail.getTarget()); + String server_name = null; + if(info == null){ + server_name = redisUserInfoService.getFirstChannel(); + if(server_name == null){ + log.error("mailJob mainSend serverName is empty"); + mailService.updateMailStatus(mail.getId(), Mail.SENDSTATUS.FAIL); + mailService.setScheduleLog(HISTORYTYPE.MAIL_SEND_FAIL, "is null server name"); + return false; + } + }else{ + server_name = info.getCurrentServer(); + } + + // 메시지 처리 + List msgList = mailService.getMailMessageList(mail.getId()); + List titleList = new ArrayList<>(); + List contentList = new ArrayList<>(); + List senderList = new ArrayList<>(); + for(Message msg : msgList){ + LanguageType lang = null; + String langText = msg.getLanguage(); + String sender = null; + + if(langText.equals(LANGUAGETYPE.EN.toString())){ + lang = LanguageType.LanguageType_en; + sender = "Administrator"; + }else if(langText.equals(LANGUAGETYPE.JA.toString())){ + lang = LanguageType.LanguageType_ja; + sender = "アドミニストレーター"; + }else{ + lang = LanguageType.LanguageType_ko; + sender = "시스템 관리자"; + } + titleList.add(OperationSystemMessage.newBuilder() + .setLanguageType(lang) + .setText(CommonUtils.stringToByte(msg.getTitle())).build()); + contentList.add(OperationSystemMessage.newBuilder() + .setLanguageType(lang) + .setText(CommonUtils.stringToByte(msg.getContent())).build()); + senderList.add(OperationSystemMessage.newBuilder() + .setLanguageType(lang) + .setText(CommonUtils.stringToByte(sender)).build()); + } + + // 아이템 처리 + List itemList = mailService.getMailItemList(mail.getId()); + List mailItemList = new ArrayList<>(); + for(Item item : itemList){ + mailItemList.add(MailItem.newBuilder() + .setItemId(CommonUtils.stringToInt(item.getItem())) + .setCount(item.getItemCnt()).build()); + } + + log.info("Send Mail Message : {}, target : {}, type :{}", contentList, mail.getTarget(), mail.getMailType()); + messageHandlerService.sendMailMessage(server_name, mail.getTarget(), mail.getMailType().toString(), titleList, contentList, mailItemList, senderList); + log.info("mailJob mailSend completed"); + return true; + }catch(Exception e){ + log.error("mailSend Exception: {}", e.getMessage()); + mailService.updateMailStatus(mail.getId(), Mail.SENDSTATUS.FAIL); + mailService.setScheduleLog(HISTORYTYPE.MAIL_SEND_FAIL, e.getMessage()); + } + return false; + } + + // 공지사항 전송 + private boolean noticeSend(InGame notice){ + try{ + //redis 채널 및 인던 정보 가져오기 + List serverList = redisUserInfoService.getAllServerList(); + if(serverList.isEmpty()){ + log.error("noticeJob noticeSend serverList is empty"); + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.FAIL); + noticeService.setScheduleLog(HISTORYTYPE.NOTICE_SEND_FAIL, "is null server name"); + return false; + } + + //메시지 처리 + List msgList = noticeService.getNoticeMessageList(notice.getId()); + List contentList = new ArrayList<>(); + List senderList = new ArrayList<>(); + for(Message msg : Collections.unmodifiableList(msgList)){ + LanguageType lang = null; + String langText = msg.getLanguage(); + String sender = null; + + if(langText.equals(LANGUAGETYPE.EN.toString())){ + lang = LanguageType.LanguageType_en; + sender = "Administrator"; + }else if(langText.equals(LANGUAGETYPE.JA.toString())){ + lang = LanguageType.LanguageType_ja; + sender = "アドミニストレーター"; + }else{ + lang = LanguageType.LanguageType_ko; + sender = "시스템 관리자"; + } + contentList.add(OperationSystemMessage.newBuilder() + .setLanguageType(lang) + .setText(CommonUtils.stringToByte(msg.getContent())).build()); + senderList.add(OperationSystemMessage.newBuilder() + .setLanguageType(lang) + .setText(CommonUtils.stringToByte(sender)).build()); + } + + log.info("Send Notice Message: {}, type: {}", contentList, notice.getMessageType()); + messageHandlerService.sendNoticeMessage(serverList, notice.getMessageType().toString(), contentList, senderList); + log.info("noticeJob noticeSend completed"); + return true; + }catch (Exception e){ + log.error("noticeSend Exception: {}", e.getMessage()); + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.FAIL); + noticeService.setScheduleLog(HISTORYTYPE.NOTICE_SEND_FAIL, e.getMessage()); + } + return false; + } + + // 시스템 우편 등록 +// private void systemMailInsert(Event event){ +// try { +// log.info("systemMailInsert Info: {}", event); +// ObjectMapper objectMapper = new ObjectMapper(); +// ArrayNode mailTitleArray = objectMapper.createArrayNode(); +// ArrayNode mailTextArray = objectMapper.createArrayNode(); +// ArrayNode mailSenderArray = objectMapper.createArrayNode(); +// ArrayNode mailItemArray = objectMapper.createArrayNode(); +// +// List msgList = eventService.getMessageList(event.getId()); +// List itemList = eventService.getItemList(event.getId()); +// for (Message msg : msgList) { +// String langText = msg.getLanguage(); +// int lang; +// String sender; +// +// if (langText.equals(LANGUAGETYPE.EN.toString())) { +// lang = LanguageType.LanguageType_en.getNumber(); +// sender = "CALIVERSE"; +// } else if (langText.equals(LANGUAGETYPE.JA.toString())) { +// lang = LanguageType.LanguageType_ja.getNumber(); +// sender = "カリバース"; +// } else { +// lang = LanguageType.LanguageType_ko.getNumber(); +// sender = "칼리버스"; +// } +// SystemMessage titleMessage = SystemMessage.builder().LanguageType(lang).Text(msg.getTitle()).build(); +// SystemMessage textMessage = SystemMessage.builder().LanguageType(lang).Text(msg.getContent()).build(); +// SystemMessage senderMessage = SystemMessage.builder().LanguageType(lang).Text(sender).build(); +// +// mailTitleArray.add(JsonUtils.createSystemMessage(titleMessage)); +// mailTextArray.add(JsonUtils.createSystemMessage(textMessage)); +// mailSenderArray.add(JsonUtils.createSystemMessage(senderMessage)); +// } +// for (Item item : itemList) { +// MailItem mailItem = MailItem.newBuilder().setItemId(CommonUtils.stringToInt(item.getItem())).setCount(item.getItemCnt()).build(); +// mailItemArray.add(JsonUtils.createMAilItem(mailItem)); +// } +// +// eventService.insertSystemMail(event, mailTitleArray, mailTextArray, mailSenderArray, mailItemArray); +// +// }catch (Exception e){ +// log.error("systemMailInsert Exception: {}", e.getMessage()); +// eventService.updateEventStatus(event.getId(), Event.EVENTSTATUS.FAIL); +// historyService.setScheduleLog(HISTORYTYPE.SCHEDULE_EVENT_FAIL, e.getMessage()); +// } +// } + +} diff --git a/src/main/java/com/caliverse/admin/scheduler/OneTimeSchedule.java b/src/main/java/com/caliverse/admin/scheduler/OneTimeSchedule.java new file mode 100644 index 0000000..853e1b4 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/OneTimeSchedule.java @@ -0,0 +1,66 @@ +package com.caliverse.admin.scheduler; + +import com.caliverse.admin.dynamodb.service.DynamodbService; +import com.caliverse.admin.global.common.constants.AdminConstants; +import com.caliverse.admin.logs.Indicatordomain.StartEndTime; +import com.caliverse.admin.logs.logservice.LogServiceHelper; +import com.caliverse.admin.logs.logservice.indicators.*; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.CommandLineRunner; +import org.springframework.core.annotation.Order; +import org.springframework.stereotype.Component; + +import java.time.LocalDate; + +@Component +@Order(1) +@RequiredArgsConstructor +@Slf4j +public class OneTimeSchedule implements CommandLineRunner { + @Autowired private IndicatorsDauService dauService; + @Autowired private IndicatorsWauService wauService; + @Autowired private IndicatorsMauService mauService; + @Autowired private IndicatorsMcuService mcuService; + @Autowired private IndicatorsNruService nruService; + @Autowired private IndicatorsPlayTimeService playTimeService; + @Autowired private IndicatorsDglcService dglcService; + @Autowired private IndicatorsDBCapacityService capacityService; + @Autowired private IndicatorsUgqCreateService ugqCreateService; + @Autowired private IndicatorsMetaverseServerService metaverseServerService; + @Autowired private DynamodbService dynamodbService; + + @Override + public void run(String... args) throws Exception { + try{ + log.info("Starting OneTimeSchedule"); +// dynamodbService.saveUserMoney(); //유저별 재화 데이터 저장 + +// LocalDate startDate = LocalDate.of(2024, 11, 8); +//// LocalDate currentDate = LocalDate.of(2024, 9, 10); +// LocalDate currentDate = LocalDate.now(); +// +// for (LocalDate date = startDate; !date.isAfter(currentDate); date = date.plusDays(1)) { +// StartEndTime dayStartEndTime = LogServiceHelper.getCurrentLogSearchEndTime(date, AdminConstants.STAT_DAY_NUM); +// StartEndTime weekStartEndTime = LogServiceHelper.getCurrentLogSearchEndTime(date, AdminConstants.STAT_WEEK_NUM); +// StartEndTime monthStartEndTime = LogServiceHelper.getCurrentLogSearchEndTime(date, AdminConstants.STAT_MONTH_NUM); +// +// metaverseServerService.collectMetaverseServerCount(dayStartEndTime.getStartTime(), dayStartEndTime.getEndTime(), 13); +// capacityService.collectDBCapacity(dayStartEndTime.getStartTime(), dayStartEndTime.getEndTime()); //체크 +// dauService.collectDailyActiveUser(dayStartEndTime.getStartTime(), dayStartEndTime.getEndTime()); //체크 +// wauService.collectWeeklyActiveUser(weekStartEndTime.getStartTime(), weekStartEndTime.getEndTime()); //체크 +// mauService.collectMonthlyActiveUser(monthStartEndTime.getStartTime(), monthStartEndTime.getEndTime()); //체크 +// mcuService.collectMaxCountUser(dayStartEndTime.getStartTime(), dayStartEndTime.getEndTime()); //체크 +// nruService.collectCharacterCreateCount(dayStartEndTime.getStartTime(), dayStartEndTime.getEndTime()); //체크 +// playTimeService.collectUserPlayTime(dayStartEndTime.getStartTime(), dayStartEndTime.getEndTime()); //체크 +// dglcService.collectDailyGameLoginCount(dayStartEndTime.getStartTime(), dayStartEndTime.getEndTime()); //체크 +// ugqCreateService.collectUGQCreateCount(dayStartEndTime.getStartTime(), dayStartEndTime.getEndTime()); //체크 +// } + + + }catch (Exception e){ + log.error(e.getMessage()); + } + } +} diff --git a/src/main/java/com/caliverse/admin/scheduler/ScheduleRunner.java b/src/main/java/com/caliverse/admin/scheduler/ScheduleRunner.java new file mode 100644 index 0000000..5768a23 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/ScheduleRunner.java @@ -0,0 +1,185 @@ +package com.caliverse.admin.scheduler; + +import com.caliverse.admin.domain.RabbitMq.MessageHandlerService; +import com.caliverse.admin.domain.entity.BlackList; +import com.caliverse.admin.domain.entity.Event; +import com.caliverse.admin.domain.entity.InGame; +import com.caliverse.admin.domain.entity.Mail; +import com.caliverse.admin.domain.service.*; +import com.caliverse.admin.global.common.utils.ExcelUtils; +import com.caliverse.admin.logs.logservice.indicators.*; +import com.caliverse.admin.redis.service.RedisUserInfoService; +import com.caliverse.admin.scheduler.service.BlackListScheduler; +import com.caliverse.admin.scheduler.service.EventScheduler; +import com.caliverse.admin.scheduler.service.MailScheduler; +import com.caliverse.admin.scheduler.service.NoticeScheduler; +import org.springframework.beans.factory.annotation.Autowired; +// import org.springframework.batch.core.JobParameters; +// import org.springframework.batch.core.JobParametersBuilder; +// import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.scheduling.annotation.EnableScheduling; +import org.springframework.scheduling.annotation.Scheduled; +import org.springframework.stereotype.Component; + + +import com.caliverse.admin.global.common.constants.AdminConstants; +import com.caliverse.admin.logs.Indicatordomain.StartEndTime; +import com.caliverse.admin.logs.logservice.LogServiceHelper; + +import lombok.extern.slf4j.Slf4j; + +import java.util.List; + +@Component +@Slf4j +@EnableScheduling +public class ScheduleRunner { + @Autowired private IndicatorsAuService auService; + @Autowired private IndicatorsDauService dauService; + @Autowired private IndicatorsWauService wauService; + @Autowired private IndicatorsMauService mauService; + @Autowired private IndicatorsMcuService mcuService; + @Autowired private IndicatorsNruService statNruService; + + @Autowired private RedisUserInfoService userInfoService; + @Autowired private SchedulerManager schedulerManager; + @Autowired private DynamicScheduler dynamicScheduler; + @Autowired private MailService mailService; + @Autowired private NoticeService noticeService; + @Autowired private BlackListService blackListService; + @Autowired private EventService eventService; + @Autowired + private RedisUserInfoService redisUserInfoService; + @Autowired + private MessageHandlerService messageHandlerService; + @Autowired + private ExcelUtils excelUtils; + + /* + 매일 UTC 기준 00시 50분 00초에 실행, (한국 시간 9시 50분) 30분에 돌릴경우 데이터가 다 넘어 오지 않는 경우 있어서 수정처리 + 이게 가장 먼저 실행 되어야 한다. + 로그가 많을 경우 성능 이슈 있을 수 있음 + */ + @Scheduled(cron = "0 50 0 * * *") + public void auScheduler() { + //이걸 나중에 어떻게 활용할지 생각해보자. + log.info("run auScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + auService.collectActiveUser(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end auScheduler"); + } + +// @Scheduled(cron = "00 55 0 * * *") // 매일 UTC 기준 00시 56분 00초에 실행 + @Scheduled(cron = "1 * * * * *") // 매일 UTC 기준 00시 56분 00초에 실행 + public void dauScheduler() { + log.info("run dauScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + dauService.collectDailyActiveUser(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end dauScheduler"); + } + + @Scheduled(cron = "00 56 0 * * *") // 매일 UTC 기준 00시 56분 00초에 실행 + public void wauScheduler() { + log.info("run wauScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_WEEK_NUM); + wauService.collectWeeklyActiveUser(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end wauScheduler"); + } + + @Scheduled(cron = "00 57 0 * * *") // 매일 UTC 기준 00시 57분 00초에 실행 + public void mauScheduler() { + log.info("run mauScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_MONTH_NUM); + mauService.collectMonthlyActiveUser(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end mauScheduler"); + } + + @Scheduled(cron = "00 58 0 * * *") // 매일 UTC 기준 00시 58분 00초에 실행 + public void mcuScheduler() { + log.info("run mcuScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + mcuService.collectMaxCountUser(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end mcuScheduler"); + } + + @Scheduled(cron = "00 59 0 * * *") // 매일 UTC 기준 00시 59분 00초에 실행 + public void nruScheduler() { + log.info("run mcuScheduler"); + //StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + //statNruService.collectStatLogs(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end mcuScheduler"); + } + + @Scheduled(cron = "1 * * * * *") + public void noticeJob(){ + log.info("run noticeJob"); + List noticeList = noticeService.getScheduleNoticeList(); + noticeList.forEach(notice -> { + if (notice.getIsRepeat() && + notice.getRepeatType() == InGame.REPEATTYPE.COUNT && + notice.getSendCnt() >= notice.getRepeatCnt()) { + log.info("Skipping notice - already reached max count. NoticeId: {}", notice.getId()); + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.FINISH); + return; + } + + NoticeScheduler task = NoticeScheduler.builder() + .notice(notice) + .noticeService(noticeService) + .redisUserInfoService(redisUserInfoService) + .messageHandlerService(messageHandlerService) + .build(); + schedulerManager.scheduleTask(task); + }); + log.info("end noticeJob"); + } + + @Scheduled(cron = "2 * * * * *") + public void mailJob(){ + log.info("run mailJob"); + List mailList = mailService.getScheduleMailList(); + mailList.stream() + .filter(mail -> mail.getSendStatus().equals(Mail.SENDSTATUS.WAIT)) + .forEach(mail -> { + MailScheduler task = MailScheduler.builder() + .mail(mail) + .mailService(mailService) + .redisUserInfoService(redisUserInfoService) + .messageHandlerService(messageHandlerService) + .excelUtils(excelUtils) + .build(); + schedulerManager.scheduleTask(task); + }); + log.info("end mailJob"); + } + + @Scheduled(cron = "3 * * * * *") + public void blackListJob(){ + log.info("run blackListJob"); + List blackList = blackListService.getScheduleBlackList(); + blackList.forEach(blockUser -> { + BlackListScheduler task = BlackListScheduler.builder() + .blackList(blockUser) + .blackListService(blackListService) + .build(); + schedulerManager.scheduleTask(task); + }); + log.info("end blackListJob"); + } + + @Scheduled(cron = "4 * * * * *") + public void eventJob(){ + log.info("run eventJob"); + List eventList = eventService.getScheduleMailList(); + eventList.forEach(event -> { + EventScheduler task = EventScheduler.builder() + .event(event) + .eventService(eventService) + .redisUserInfoService(redisUserInfoService) + .messageHandlerService(messageHandlerService) + .build(); + schedulerManager.scheduleTask(task); + }); + log.info("end eventJob"); + } +} diff --git a/src/main/java/com/caliverse/admin/scheduler/ScheduleService.java b/src/main/java/com/caliverse/admin/scheduler/ScheduleService.java new file mode 100644 index 0000000..6f0fd34 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/ScheduleService.java @@ -0,0 +1,56 @@ +package com.caliverse.admin.scheduler; + +import com.caliverse.admin.domain.entity.InGame; +import com.caliverse.admin.domain.entity.Mail; +import org.springframework.scheduling.annotation.Scheduled; +import org.springframework.scheduling.config.ScheduledTask; +import org.springframework.stereotype.Service; + +import java.time.LocalDateTime; +import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ScheduledFuture; + +@Service +public class ScheduleService { + + private final Map> scheduledTasks = new ConcurrentHashMap<>(); + + private final Map mailTask = new ConcurrentHashMap<>(); + private final Map noticeTask = new ConcurrentHashMap<>(); + + public boolean isTaskExist(String key){ + return scheduledTasks.containsKey(key); + } + + public void addTask(String key, ScheduledFuture schdule){ + scheduledTasks.put(key, schdule); + } + + public void closeTask(String key) { + ScheduledFuture scheduledFuture = scheduledTasks.get(key); + if (scheduledFuture != null) { + scheduledFuture.cancel(true); + scheduledTasks.remove(key); + } + } + +// public boolean isTaskExist(String type, Long id) { +// switch (type) { +// case "mail" -> { +// return mailTask.containsKey(id); +// } +// case "notice" -> { +// return noticeTask.containsKey(id); +// } +// default -> { +// return false; +// } +// } +// } +// +// public void createTask(Mail mail) { +// mailTask.put(mail.getId(), mail); +// } + +} diff --git a/src/main/java/com/caliverse/admin/scheduler/ScheduleSetter.java b/src/main/java/com/caliverse/admin/scheduler/ScheduleSetter.java new file mode 100644 index 0000000..f616090 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/ScheduleSetter.java @@ -0,0 +1,197 @@ +package com.caliverse.admin.scheduler; + +import com.caliverse.admin.domain.service.CaliumService; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.logs.logservice.indicators.*; +import com.caliverse.admin.scheduler.service.LogCompressService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.scheduling.annotation.EnableScheduling; +import org.springframework.scheduling.annotation.Scheduled; +import org.springframework.stereotype.Component; + + +import com.caliverse.admin.global.common.constants.AdminConstants; +import com.caliverse.admin.logs.Indicatordomain.StartEndTime; +import com.caliverse.admin.logs.logservice.LogServiceHelper; +import com.caliverse.admin.redis.service.RedisUserInfoService; + +import lombok.extern.slf4j.Slf4j; + +import java.time.LocalDate; + +@Component +@Slf4j +@EnableScheduling +public class ScheduleSetter { + + @Autowired private IndicatorsAuService auService; + @Autowired private IndicatorsDauService dauService; + @Autowired private IndicatorsWauService wauService; + @Autowired private IndicatorsMauService mauService; + @Autowired private IndicatorsMcuService mcuService; + @Autowired private IndicatorsNruService nruService; + @Autowired private IndicatorsPlayTimeService playTimeService; + @Autowired private IndicatorsDglcService dglcService; + @Autowired private IndicatorsDBCapacityService capacityService; + @Autowired private IndicatorsUgqCreateService ugqCreateService; + @Autowired private IndicatorsMetaverseServerService metaverseServerService; + + @Autowired private IndicatorsNruService statNruService; + @Autowired private RedisUserInfoService userInfoService; + @Autowired private DynamicScheduler dynamicScheduler; + + @Autowired private CaliumService caliumService; + @Autowired private LogCompressService logService; + + @Scheduled(cron = "0 01 0 * * *") // 매일 UTC 기준 00시 01분 00초에 실행 + public void capacityScheduler() { +// log.info("run capacityScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + capacityService.collectDBCapacity(startEndTime.getStartTime(), startEndTime.getEndTime()); +// log.info("end capacityScheduler"); + } + + @Scheduled(cron = "0 02 0 * * *") // 매일 UTC 기준 00시 02분 00초에 실행 + public void metaverServerScheduler() { +// log.info("run metaverServerScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + int serverCount = 13; + metaverseServerService.collectMetaverseServerCount(startEndTime.getStartTime(), startEndTime.getEndTime(), serverCount); +// log.info("end metaverServerScheduler"); + } + + /* + 매일 UTC 기준 00시 50분 00초에 실행, (한국 시간 9시 50분) 30분에 돌릴경우 데이터가 다 넘어 오지 않는 경우 있어서 수정처리 + 이게 가장 먼저 실행 되어야 한다. + 로그가 많을 경우 성능 이슈 있을 수 있음 + */ + @Scheduled(cron = "0 50 0 * * *") + public void auScheduler() { + //이걸 나중에 어떻게 활용할지 생각해보자. +// log.info("run auScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + auService.collectActiveUser(startEndTime.getStartTime(), startEndTime.getEndTime()); +// log.info("end auScheduler"); + } + + @Scheduled(cron = "00 55 0 * * *") // 매일 UTC 기준 00시 55분 00초에 실행 + public void dauScheduler() { +// log.info("run dauScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + dauService.collectDailyActiveUser(startEndTime.getStartTime(), startEndTime.getEndTime()); +// log.info("end dauScheduler"); + } + + @Scheduled(cron = "00 56 0 * * *") // 매일 UTC 기준 00시 56분 00초에 실행 + public void wauScheduler() { +// log.info("run wauScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_WEEK_NUM); + wauService.collectWeeklyActiveUser(startEndTime.getStartTime(), startEndTime.getEndTime()); +// log.info("end wauScheduler"); + } + +// @Scheduled(cron = "00 57 0 * * *") // 매일 UTC 기준 00시 57분 00초에 실행 + @Scheduled(cron = "00 57 0 1 * ?") // 매월 1일 UTC 기준 00시 57분 00초에 실행 + public void mauScheduler() { +// log.info("run mauScheduler"); + int monthLength = CommonUtils.getLengthOfLastMonth(LocalDate.now()); // 지난달 총일수 가져오기 + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(monthLength); + mauService.collectMonthlyActiveUser(startEndTime.getStartTime(), startEndTime.getEndTime()); +// log.info("end mauScheduler"); + } + + @Scheduled(cron = "00 58 0 * * *") // 매일 UTC 기준 00시 58분 00초에 실행 + public void mcuScheduler() { +// log.info("run mcuScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + mcuService.collectMaxCountUser(startEndTime.getStartTime(), startEndTime.getEndTime()); +// log.info("end mcuScheduler"); + } + + @Scheduled(cron = "00 59 0 * * *") // 매일 UTC 기준 00시 59분 00초에 실행 + public void nruScheduler() { +// log.info("run nruScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + nruService.collectCharacterCreateCount(startEndTime.getStartTime(), startEndTime.getEndTime()); +// log.info("end nruScheduler"); + } + + @Scheduled(cron = "00 00 1 * * *") // 매일 UTC 기준 1시 00분 00초에 실행 + public void playTimeScheduler() { +// log.info("run playTimeScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + playTimeService.collectUserPlayTime(startEndTime.getStartTime(), startEndTime.getEndTime()); +// log.info("end playTimeScheduler"); + } + + @Scheduled(cron = "00 01 1 * * *") // 매일 UTC 기준 01시 01분 00초에 실행 + public void dglcScheduler() { +// log.info("run dglcScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + dglcService.collectDailyGameLoginCount(startEndTime.getStartTime(), startEndTime.getEndTime()); +// log.info("end dglcScheduler"); + } + + @Scheduled(cron = "00 00 2 * * *") // 매일 UTC 기준 02시 00분 00초에 실행 (Log 데이터가 늦게 넘어올때가 있기때문에 나중에 실행) + public void ugqCreateScheduler() { +// log.info("run ugqCreateScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + ugqCreateService.collectUGQCreateCount(startEndTime.getStartTime(), startEndTime.getEndTime()); +// log.info("end ugqCreateScheduler"); + } + + + @Scheduled(cron = "0 * * * * *") // 매 분 00초에 실행 + public void runJob() { + //log.info("run runJob"); + } + + @Scheduled(cron = "1 * * * * *") + public void noticeJob(){ +// log.info("run noticeJob"); + dynamicScheduler.noticeSchedule(); +// log.info("end noticeJob"); + } + + @Scheduled(cron = "2 * * * * *") + public void mailJob(){ +// log.info("run mailJob"); + dynamicScheduler.mailSchedule(); +// log.info("end mailJob"); + } + + @Scheduled(cron = "3 * * * * *") + public void blackListJob(){ +// log.info("run blackListJob"); + dynamicScheduler.blackListSchedule(); +// log.info("end blackListJob"); + } + + @Scheduled(cron = "4 * * * * *") + public void eventJob(){ +// log.info("run eventJob"); + dynamicScheduler.eventSchedule(); +// log.info("end eventJob"); + } + + @Scheduled(cron = "5 * * * * *") + public void landAuctionJob(){ +// log.info("run landAuctionJob"); + dynamicScheduler.landAuctionSchedule(); +// log.info("end landAuctionJob"); + } + + //web3 + @Scheduled(cron = "1 * * * * *") + public void web3Job(){ +// log.info("run web3Job"); + caliumService.getScheduleCaliumRequestList(); +// log.info("end web3Job"); + } + + //log + @Scheduled(cron = "00 00 00 1 * ?") // 매월 1일에 실행 + public void logJob(){ + logService.compressLastMonthLogs(); + } +} diff --git a/src/main/java/com/caliverse/admin/scheduler/ScheduleSetter.java.bak b/src/main/java/com/caliverse/admin/scheduler/ScheduleSetter.java.bak new file mode 100644 index 0000000..cff644c --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/ScheduleSetter.java.bak @@ -0,0 +1,178 @@ +package com.caliverse.admin.scheduler; + +import com.caliverse.admin.domain.service.CaliumService; +import com.caliverse.admin.logs.logservice.indicators.*; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.scheduling.annotation.EnableScheduling; +import org.springframework.scheduling.annotation.Scheduled; +import org.springframework.stereotype.Component; + + +import com.caliverse.admin.global.common.constants.AdminConstants; +import com.caliverse.admin.logs.Indicatordomain.StartEndTime; +import com.caliverse.admin.logs.logservice.LogServiceHelper; +import com.caliverse.admin.redis.service.RedisUserInfoService; + +import lombok.extern.slf4j.Slf4j; + +@Component +@Slf4j +@EnableScheduling +public class ScheduleSetter { + + @Autowired private IndicatorsAuService auService; + @Autowired private IndicatorsDauService dauService; + @Autowired private IndicatorsWauService wauService; + @Autowired private IndicatorsMauService mauService; + @Autowired private IndicatorsMcuService mcuService; + @Autowired private IndicatorsNruService nruService; + @Autowired private IndicatorsPlayTimeService playTimeService; + @Autowired private IndicatorsDglcService dglcService; + @Autowired private IndicatorsDBCapacityService capacityService; + @Autowired private IndicatorsUgqCreateService ugqCreateService; + @Autowired private IndicatorsMetaverseServerService metaverseServerService; + + @Autowired private IndicatorsNruService statNruService; + @Autowired private RedisUserInfoService userInfoService; + @Autowired private DynamicScheduler dynamicScheduler; + + @Autowired private CaliumService caliumService; + + @Scheduled(cron = "0 01 0 * * *") // 매일 UTC 기준 00시 01분 00초에 실행 + public void capacityScheduler() { + log.info("run capacityScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + capacityService.collectDBCapacity(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end capacityScheduler"); + } + + @Scheduled(cron = "0 02 0 * * *") // 매일 UTC 기준 00시 01분 00초에 실행 + public void metaverServerScheduler() { + log.info("run metaverServerScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + int serverCount = 13; + metaverseServerService.collectMetaverseServerCount(startEndTime.getStartTime(), startEndTime.getEndTime(), serverCount); + log.info("end metaverServerScheduler"); + } + + /* + 매일 UTC 기준 00시 50분 00초에 실행, (한국 시간 9시 50분) 30분에 돌릴경우 데이터가 다 넘어 오지 않는 경우 있어서 수정처리 + 이게 가장 먼저 실행 되어야 한다. + 로그가 많을 경우 성능 이슈 있을 수 있음 + */ + @Scheduled(cron = "0 50 0 * * *") + public void auScheduler() { + //이걸 나중에 어떻게 활용할지 생각해보자. + log.info("run auScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + auService.collectActiveUser(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end auScheduler"); + } + + @Scheduled(cron = "00 55 0 * * *") // 매일 UTC 기준 00시 55분 00초에 실행 + public void dauScheduler() { + log.info("run dauScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + dauService.collectDailyActiveUser(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end dauScheduler"); + } + + @Scheduled(cron = "00 56 0 * * *") // 매일 UTC 기준 00시 56분 00초에 실행 + public void wauScheduler() { + log.info("run wauScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_WEEK_NUM); + wauService.collectWeeklyActiveUser(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end wauScheduler"); + } + + @Scheduled(cron = "00 57 0 * * *") // 매일 UTC 기준 00시 57분 00초에 실행 + public void mauScheduler() { + log.info("run mauScheduler"); +// int monthLength = CommonUtils.getLengthOfLastMonth(LocalDate.now()); // 지난달 총일수 가져오기 + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_MONTH_NUM); + mauService.collectMonthlyActiveUser(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end mauScheduler"); + } + + @Scheduled(cron = "00 58 0 * * *") // 매일 UTC 기준 00시 58분 00초에 실행 + public void mcuScheduler() { + log.info("run mcuScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + mcuService.collectMaxCountUser(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end mcuScheduler"); + } + + @Scheduled(cron = "00 59 0 * * *") // 매일 UTC 기준 00시 59분 00초에 실행 + public void nruScheduler() { + log.info("run nruScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + nruService.collectCharacterCreateCount(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end nruScheduler"); + } + + @Scheduled(cron = "00 00 1 * * *") // 매일 UTC 기준 1시 00분 00초에 실행 + public void playTimeScheduler() { + log.info("run playTimeScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + playTimeService.collectUserPlayTime(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end playTimeScheduler"); + } + + @Scheduled(cron = "00 01 1 * * *") // 매일 UTC 기준 01시 01분 00초에 실행 + public void dglcScheduler() { + log.info("run dglcScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + dglcService.collectDailyGameLoginCount(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end dglcScheduler"); + } + + @Scheduled(cron = "00 00 2 * * *") // 매일 UTC 기준 02시 00분 00초에 실행 (Log 데이터가 늦게 넘어올때가 있기때문에 나중에 실행) + public void ugqCreateScheduler() { + log.info("run ugqCreateScheduler"); + StartEndTime startEndTime = LogServiceHelper.getCurrentLogSearchEndTime(AdminConstants.STAT_DAY_NUM); + ugqCreateService.collectUGQCreateCount(startEndTime.getStartTime(), startEndTime.getEndTime()); + log.info("end ugqCreateScheduler"); + } + + + @Scheduled(cron = "0 * * * * *") // 매 분 00초에 실행 + public void runJob() { + //log.info("run runJob"); + } + + @Scheduled(cron = "1 * * * * *") + public void noticeJob(){ + log.info("run noticeJob"); + dynamicScheduler.noticeSchedule(); + log.info("end noticeJob"); + } + + @Scheduled(cron = "2 * * * * *") + public void mailJob(){ + log.info("run mailJob"); + dynamicScheduler.mailSchedule(); + log.info("end mailJob"); + } + + @Scheduled(cron = "3 * * * * *") + public void blackListJob(){ + log.info("run blackListJob"); + dynamicScheduler.blackListSchedule(); + log.info("end blackListJob"); + } + + @Scheduled(cron = "4 * * * * *") + public void eventJob(){ + log.info("run eventJob"); + dynamicScheduler.eventSchedule(); + log.info("end eventJob"); + } + + //web3 + @Scheduled(cron = "1 * * * * *") + public void web3Job(){ + log.info("run web3Job"); + caliumService.getScheduleCaliumRequestList(); + log.info("end web3Job"); + } +} diff --git a/src/main/java/com/caliverse/admin/scheduler/ScheduleType.java b/src/main/java/com/caliverse/admin/scheduler/ScheduleType.java new file mode 100644 index 0000000..de3dbed --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/ScheduleType.java @@ -0,0 +1,8 @@ +package com.caliverse.admin.scheduler; + +public enum ScheduleType { + IMMEDIATE, //즉시 실행 + DELAYED, //지연 실행 + RECURRING, //반복 실행 + PERIODIC //특정 시간 +} diff --git a/src/main/java/com/caliverse/admin/scheduler/Scheduler.java b/src/main/java/com/caliverse/admin/scheduler/Scheduler.java new file mode 100644 index 0000000..e742460 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/Scheduler.java @@ -0,0 +1,10 @@ +package com.caliverse.admin.scheduler; + +import com.caliverse.admin.scheduler.config.ScheduleExecutionConfig; + +public interface Scheduler { + void execute(); + boolean isRepeatable(); + ScheduleType getScheduleType(); + ScheduleExecutionConfig getSchedulerConfig(); +} diff --git a/src/main/java/com/caliverse/admin/scheduler/SchedulerConfig.java b/src/main/java/com/caliverse/admin/scheduler/SchedulerConfig.java new file mode 100644 index 0000000..96d79be --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/SchedulerConfig.java @@ -0,0 +1,17 @@ +package com.caliverse.admin.scheduler; + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; + +@Configuration +public class SchedulerConfig { + + @Bean + public ThreadPoolTaskScheduler taskScheduler() { + ThreadPoolTaskScheduler scheduler = new ThreadPoolTaskScheduler(); + scheduler.setPoolSize(5); // 스레드 풀 크기 설정 + scheduler.setThreadNamePrefix("ScheduledTask-"); + return scheduler; + } +} diff --git a/src/main/java/com/caliverse/admin/scheduler/SchedulerManager.java b/src/main/java/com/caliverse/admin/scheduler/SchedulerManager.java new file mode 100644 index 0000000..310b7d7 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/SchedulerManager.java @@ -0,0 +1,433 @@ +package com.caliverse.admin.scheduler; + +import com.caliverse.admin.scheduler.config.MissedExecutionConfig; +import com.caliverse.admin.scheduler.config.ScheduleExecutionConfig; +import com.caliverse.admin.scheduler.service.NoticeScheduler; +import jakarta.annotation.PreDestroy; +import lombok.*; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; + +import java.time.Duration; +import java.time.LocalDateTime; +import java.time.LocalTime; +import java.util.Map; +import java.util.concurrent.*; + +@Service +@Slf4j +@RequiredArgsConstructor +public class SchedulerManager { + private final ScheduledExecutorService scheduler; + + // 실행 중인 작업 추적을 위한 Map + private final Map scheduledTasks = new ConcurrentHashMap<>(); + + // 재시도 설정 + private static final int MAX_RETRY_COUNT = 3; + private static final long RETRY_DELAY_MS = 1000; + + @Data + @Builder + //스케줄 프로세스 관리 + private static class ScheduledTaskInfo { + private final Scheduler task; + private final ScheduledFuture future; + private final LocalDateTime startTime; + private int retryCount; + private ScheduleStatus status; + + public static ScheduledTaskInfo of(Scheduler task, ScheduledFuture future) { + return ScheduledTaskInfo.builder() + .task(task) + .future(future) + .startTime(LocalDateTime.now()) + .retryCount(0) + .status(ScheduleStatus.SCHEDULED) + .build(); + } + } + + @Getter + @AllArgsConstructor + public enum ScheduleStatus { + SCHEDULED("예약됨"), + RUNNING("실행 중"), + COMPLETED("완료됨"), + FAILED("실패"), + CANCELLED("취소됨"); + + private final String description; + } + + //스케줄 실행 + public void scheduleTask(Scheduler task) { + String taskId = task.getSchedulerConfig().getTaskId(); + + // 이미 존재하는 작업 체크 + if (scheduledTasks.containsKey(taskId)) { + ScheduledTaskInfo existingTask = scheduledTasks.get(taskId); + if (shouldReplaceExisting(existingTask)) { + log.info("Replacing existing task: {}", taskId); + cancelTask(taskId); + } else { + log.warn("Task {} is already scheduled and running", taskId); + return; + } + } + + try { + //타입별 스케줄러 등록 + ScheduledFuture future = scheduleTaskByType(task); + if (future != null) { + ScheduledTaskInfo taskInfo = ScheduledTaskInfo.of(task, future); + scheduledTasks.put(taskId, taskInfo); + log.info("Successfully scheduled task: {}", taskId); + } + } catch (Exception e) { + log.error("Failed to schedule task: {}", taskId, e); + throw new SchedulerException("Failed to schedule task: " + taskId, e); + } + } + + //스케줄 상태 체크 + private boolean shouldReplaceExisting(ScheduledTaskInfo taskInfo) { + return taskInfo.getStatus() == ScheduleStatus.FAILED || + taskInfo.getStatus() == ScheduleStatus.COMPLETED || + taskInfo.getFuture().isDone(); + } + + //스케줄 타입 별 처리 + private ScheduledFuture scheduleTaskByType(Scheduler task) { + return switch (task.getScheduleType()) { + case IMMEDIATE -> scheduleImmediate(task); + case DELAYED -> scheduleDelayed(task); + case RECURRING -> scheduleRecurring(task); + case PERIODIC -> schedulePeriodic(task); + }; + } + + //즉시 실행 + private ScheduledFuture scheduleImmediate(Scheduler task) { + return (ScheduledFuture) scheduler.submit(() -> executeTaskWithRetry(task)); + } + + //지연 실행 + private ScheduledFuture scheduleDelayed(Scheduler task) { + ScheduleExecutionConfig config = task.getSchedulerConfig(); + long delay = calculateDelay(config.getStartTime()); + + if (delay < 0) { + log.error("Task {} scheduled for past time", config.getTaskId()); + return null; + } + + return scheduler.schedule( + () -> executeTaskWithRetry(task), + delay, + TimeUnit.MILLISECONDS + ); + } + + //반복 실행 + private ScheduledFuture scheduleRecurring(Scheduler task) { + ScheduleExecutionConfig config = task.getSchedulerConfig(); + long initialDelay = calculateDelay(config.getStartTime()); + + if (initialDelay < 0) { + Duration timeSinceStart = Duration.between(config.getStartTime(), LocalDateTime.now()); + + // 종료 시간 체크 + if (config.getEndTime() != null && LocalDateTime.now().isAfter(config.getEndTime())) { + log.warn("Task {} scheduled end time has passed", config.getTaskId()); + return null; + } + + // 다음 실행 시간 계산 + long interval = config.getInterval().toMillis(); + long missedExecutions = timeSinceStart.toMillis() / interval; + initialDelay = interval - (timeSinceStart.toMillis() % interval); + + log.info("Task {} was scheduled to start {} ago. Missed {} executions. " + + "Next execution in {} ms", + config.getTaskId(), + timeSinceStart, + missedExecutions, + initialDelay); + + if (shouldProcessMissedExecutions(task)) { + processMissedExecutions(task, (int) missedExecutions); + } + } + + return scheduler.scheduleAtFixedRate( + () -> { + String taskId = config.getTaskId(); + ScheduledTaskInfo taskInfo = scheduledTasks.get(taskId); + + try { + // NoticeSchedule 경우 추가 검증 + if (task instanceof NoticeScheduler noticeTask) { + if (noticeTask.hasReachedMaxExecutions()) { + cancelTask(taskId); + log.info("Cancelling notice task - reached max executions. TaskId: {}", taskId); + return; + } + + if (!noticeTask.isValidExecutionCount()) { + log.error("Invalid execution count detected. TaskId: {}", taskId); + cancelTask(taskId); + return; + } + } + + if (shouldStopRecurring(task)) { + cancelTask(taskId); + return; + } + + taskInfo.setStatus(ScheduleStatus.RUNNING); + task.execute(); + taskInfo.setStatus(ScheduleStatus.SCHEDULED); + + } catch (Exception e) { + handleTaskExecutionFailure(task, taskInfo, e); + } + }, + initialDelay, + config.getInterval().toMillis(), + TimeUnit.MILLISECONDS + ); + } + + //주기적 실행 + private ScheduledFuture schedulePeriodic(Scheduler task){ + ScheduleExecutionConfig config = task.getSchedulerConfig(); + LocalTime executionTime = config.getDailyExecutionTime(); + + if (executionTime == null) { + log.error("Daily execution time is not set for task: {}", config.getTaskId()); + return null; + } + + // 현재 시간 + LocalDateTime now = LocalDateTime.now(); + + // 시작일이 미래인 경우, 시작일의 지정 시간을 첫 실행 시간으로 설정 + // 시작일이 과거인 경우, 오늘 또는 다음 날의 지정 시간을 첫 실행 시간으로 설정 + LocalDateTime firstExecution = calculateFirstExecution(now, config.getStartTime(), executionTime); + + // 종료 시간 확인 + if (config.getEndTime() != null && firstExecution.isAfter(config.getEndTime())) { + log.warn("Task {} end time has already passed", config.getTaskId()); + return null; + } + + // 첫 실행까지의 지연 시간 계산 + long initialDelay = Duration.between(now, firstExecution).toMillis(); + + // 24시간을 밀리초로 변환 + long dailyInterval = Duration.ofDays(1).toMillis(); + + return scheduler.scheduleAtFixedRate( + () -> executeDaily(task), + initialDelay, + dailyInterval, + TimeUnit.MILLISECONDS + ); + } + + private LocalDateTime calculateFirstExecution( + LocalDateTime now, + LocalDateTime startTime, + LocalTime executionTime + ) { + LocalDateTime candidateTime = now.with(executionTime); + + // 시작 시간이 미래인 경우 + if (startTime.isAfter(now)) { + candidateTime = startTime.with(executionTime); + } + + // 만약 오늘의 실행 시간이 이미 지났다면 다음 날로 설정 + if (candidateTime.isBefore(now)) { + candidateTime = candidateTime.plusDays(1); + } + + return candidateTime; + } + + private void executeDaily(Scheduler task) { + String taskId = task.getSchedulerConfig().getTaskId(); + ScheduledTaskInfo taskInfo = scheduledTasks.get(taskId); + + try { + // 현재 시간이 종료 시간을 지났는지 확인 + if (shouldStopDaily(task)) { + cancelTask(taskId); + return; + } + + // 지정된 시간에만 실행 + LocalTime currentTime = LocalTime.now(); + LocalTime executionTime = task.getSchedulerConfig().getDailyExecutionTime(); + + if (currentTime.getHour() == executionTime.getHour() && + currentTime.getMinute() == executionTime.getMinute()) { + + taskInfo.setStatus(ScheduleStatus.RUNNING); + task.execute(); + taskInfo.setStatus(ScheduleStatus.SCHEDULED); + + log.info("Daily task {} executed at scheduled time: {}", + taskId, executionTime); + } + + } catch (Exception e) { + handleTaskExecutionFailure(task, taskInfo, e); + } + } + + //종료일자 체크 + private boolean shouldStopDaily(Scheduler task) { + ScheduleExecutionConfig config = task.getSchedulerConfig(); + if (config.getEndTime() == null) { + return false; + } + return LocalDateTime.now().isAfter(config.getEndTime()); + } + + private boolean shouldProcessMissedExecutions(Scheduler task) { + // 작업 유형에 따라 누락된 실행 처리 여부 결정 + return task.getSchedulerConfig().isProcessMissedExecutions(); + } + + private void processMissedExecutions(Scheduler task, int missedCount) { + // 누락된 실행 처리를 위한 설정 가져오기 + MissedExecutionConfig missedConfig = task.getSchedulerConfig().getMissedExecutionConfig(); + if (missedConfig == null) { + return; + } + + int executionsToProcess = Math.min( + missedCount, + missedConfig.getMaxMissedExecutionsToProcess() + ); + + if (executionsToProcess <= 0) { + return; + } + + CompletableFuture.runAsync(() -> { + try { + log.info("Processing {} missed executions for task {}", executionsToProcess, task.getSchedulerConfig().getTaskId()); + + for (int i = 0; i < executionsToProcess; i++) { + if (missedConfig.isSequentialProcessing()) { + task.execute(); + } else { + // 마지막 실행만 처리 + if (i == executionsToProcess - 1) { + task.execute(); + } + } + } + } catch (Exception e) { + log.error("Error processing missed executions for task {}", + task.getSchedulerConfig().getTaskId(), e); + } + }, scheduler); + } + + private void executeTaskWithRetry(Scheduler task) { + String taskId = task.getSchedulerConfig().getTaskId(); + ScheduledTaskInfo taskInfo = scheduledTasks.get(taskId); + + try { + taskInfo.setStatus(ScheduleStatus.RUNNING); + task.execute(); + taskInfo.setStatus(ScheduleStatus.COMPLETED); + log.info("Task {} completed successfully", taskId); + + } catch (Exception e) { + handleTaskExecutionFailure(task, taskInfo, e); + } + } + + private void handleTaskExecutionFailure(Scheduler task, ScheduledTaskInfo taskInfo, Exception e) { + String taskId = task.getSchedulerConfig().getTaskId(); + taskInfo.setRetryCount(taskInfo.getRetryCount() + 1); + + if (taskInfo.getRetryCount() < MAX_RETRY_COUNT) { + log.warn("Task {} failed, attempting retry {}/{}", + taskId, taskInfo.getRetryCount(), MAX_RETRY_COUNT, e); + + scheduler.schedule( + () -> executeTaskWithRetry(task), + RETRY_DELAY_MS, + TimeUnit.MILLISECONDS + ); + } else { + log.error("Task {} failed after {} retries", taskId, MAX_RETRY_COUNT, e); + taskInfo.setStatus(ScheduleStatus.FAILED); + cancelTask(taskId); + } + } + + private boolean shouldStopRecurring(Scheduler task) { + ScheduleExecutionConfig config = task.getSchedulerConfig(); + + // 종료 시간 체크 + if (config.getEndTime() != null && LocalDateTime.now().isAfter(config.getEndTime())) { + return true; + } + + // 반복 횟수 체크 + if (config.getRepeatCount() != null) { + String taskId = config.getTaskId(); + ScheduledTaskInfo taskInfo = scheduledTasks.get(taskId); + return taskInfo.getRetryCount() >= config.getRepeatCount(); + } + + return false; + } + + public void cancelTask(String taskId) { + ScheduledTaskInfo taskInfo = scheduledTasks.get(taskId); + if (taskInfo != null) { + taskInfo.getFuture().cancel(false); + taskInfo.setStatus(ScheduleStatus.CANCELLED); + scheduledTasks.remove(taskId); + log.info("Task {} cancelled and removed from scheduler", taskId); + } + } + + public void cancelAllTasks() { + scheduledTasks.keySet().forEach(this::cancelTask); + } + + private long calculateDelay(LocalDateTime startTime) { + return Duration.between(LocalDateTime.now(), startTime).toMillis(); + } + + @PreDestroy + public void shutdown() { + cancelAllTasks(); + scheduler.shutdown(); + try { + if (!scheduler.awaitTermination(60, TimeUnit.SECONDS)) { + scheduler.shutdownNow(); + } + } catch (InterruptedException e) { + scheduler.shutdownNow(); + Thread.currentThread().interrupt(); + } + } + + // 스케줄러 관련 예외 클래스 + public static class SchedulerException extends RuntimeException { + public SchedulerException(String message, Throwable cause) { + super(message, cause); + } + } +} diff --git a/src/main/java/com/caliverse/admin/scheduler/SchedulerService.java b/src/main/java/com/caliverse/admin/scheduler/SchedulerService.java new file mode 100644 index 0000000..b688e1e --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/SchedulerService.java @@ -0,0 +1,53 @@ +package com.caliverse.admin.scheduler; + +import com.caliverse.admin.domain.entity.InGame; +import com.caliverse.admin.domain.entity.Mail; +import org.springframework.stereotype.Service; + +import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ScheduledFuture; + +@Service +public class SchedulerService { + + private final Map> scheduledTasks = new ConcurrentHashMap<>(); + + private final Map mailTask = new ConcurrentHashMap<>(); + private final Map noticeTask = new ConcurrentHashMap<>(); + + public boolean isTaskExist(String key){ + return scheduledTasks.containsKey(key); + } + + public void addTask(String key, ScheduledFuture schdule){ + scheduledTasks.put(key, schdule); + } + + public void closeTask(String key) { + ScheduledFuture scheduledFuture = scheduledTasks.get(key); + if (scheduledFuture != null) { + scheduledFuture.cancel(true); + scheduledTasks.remove(key); + } + } + +// public boolean isTaskExist(String type, Long id) { +// switch (type) { +// case "mail" -> { +// return mailTask.containsKey(id); +// } +// case "notice" -> { +// return noticeTask.containsKey(id); +// } +// default -> { +// return false; +// } +// } +// } +// +// public void createTask(Mail mail) { +// mailTask.put(mail.getId(), mail); +// } + +} diff --git a/src/main/java/com/caliverse/admin/scheduler/config/MissedExecutionConfig.java b/src/main/java/com/caliverse/admin/scheduler/config/MissedExecutionConfig.java new file mode 100644 index 0000000..5d35f95 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/config/MissedExecutionConfig.java @@ -0,0 +1,18 @@ +package com.caliverse.admin.scheduler.config; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class MissedExecutionConfig { + @Builder.Default + private int maxMissedExecutionsToProcess = 1; // 기본값으로 최근 1회만 처리 + + @Builder.Default + private boolean sequentialProcessing = false; // 기본값으로 순차 처리하지 않음 +} \ No newline at end of file diff --git a/src/main/java/com/caliverse/admin/scheduler/config/ScheduleExecutionConfig.java b/src/main/java/com/caliverse/admin/scheduler/config/ScheduleExecutionConfig.java new file mode 100644 index 0000000..b59d998 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/config/ScheduleExecutionConfig.java @@ -0,0 +1,29 @@ +package com.caliverse.admin.scheduler.config; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.Duration; +import java.time.LocalDateTime; +import java.time.LocalTime; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class ScheduleExecutionConfig { + private String taskId; + private LocalDateTime startTime; + private LocalDateTime endTime; + private Duration interval; + private Integer repeatCount; + private String cronExpression; + private LocalTime dailyExecutionTime; + + @Builder.Default + private boolean processMissedExecutions = false; + + private MissedExecutionConfig missedExecutionConfig; +} diff --git a/src/main/java/com/caliverse/admin/scheduler/config/ScheduleSystemConfig.java b/src/main/java/com/caliverse/admin/scheduler/config/ScheduleSystemConfig.java new file mode 100644 index 0000000..7f48317 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/config/ScheduleSystemConfig.java @@ -0,0 +1,24 @@ +package com.caliverse.admin.scheduler.config; + +import lombok.extern.slf4j.Slf4j; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; + +@Configuration +@Slf4j +public class ScheduleSystemConfig { + @Bean + public ScheduledExecutorService scheduledExecutorService() { + return Executors.newScheduledThreadPool( + Runtime.getRuntime().availableProcessors(), + r -> { + Thread thread = new Thread(r, "scheduler-"); + thread.setDaemon(true); + return thread; + } + ); + } +} diff --git a/src/main/java/com/caliverse/admin/scheduler/service/BlackListScheduler.java b/src/main/java/com/caliverse/admin/scheduler/service/BlackListScheduler.java new file mode 100644 index 0000000..e514836 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/service/BlackListScheduler.java @@ -0,0 +1,84 @@ +package com.caliverse.admin.scheduler.service; + +import com.caliverse.admin.domain.entity.BlackList; +import com.caliverse.admin.domain.service.BlackListService; +import com.caliverse.admin.domain.service.UserGameSessionService; +import com.caliverse.admin.scheduler.ScheduleType; +import com.caliverse.admin.scheduler.Scheduler; +import com.caliverse.admin.scheduler.config.ScheduleExecutionConfig; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; +import lombok.extern.slf4j.Slf4j; + +import java.time.LocalDateTime; + +@Slf4j +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class BlackListScheduler implements Scheduler { + private BlackList blackList; + private BlackListService blackListService; + private UserGameSessionService userGameSessionService; + + @Override + public void execute() { + try { + processBlackList(); + } catch (Exception e) { + log.error("BlackList execution failed for ID: {}", blackList.getId(), e); + blackListService.updateBlackListStatus(blackList.getId(), BlackList.STATUSTYPE.FAIL); + } + } + + @Override + public boolean isRepeatable() { + return false; + } + + @Override + public ScheduleType getScheduleType() { + return ScheduleType.DELAYED; + } + + @Override + public ScheduleExecutionConfig getSchedulerConfig() { + return ScheduleExecutionConfig.builder() + .taskId("blacklist-" + blackList.getId()) + .startTime(blackList.getStartDt()) + .endTime(blackList.getEndDt()) + .build(); + } + + private void processBlackList() { + LocalDateTime nowDate = LocalDateTime.now(); + LocalDateTime startTime = blackList.getStartDt(); + LocalDateTime endTime = blackList.getEndDt(); + + // 이미 지난시간이면 fail 처리 + if(nowDate.isAfter(endTime) && blackList.getStatus().equals(BlackList.STATUSTYPE.WAIT)) { + blackListService.updateBlackListStatus(blackList.getId(), BlackList.STATUSTYPE.FAIL); + log.error("blackListJob blackListSchedule timeOut : {}", blackList); + return; + } + + // 시작시간 지났으면 정지 처리 + if(!nowDate.isBefore(startTime) && blackList.getStatus().equals(BlackList.STATUSTYPE.WAIT)) { + // user kick 처리 + userGameSessionService.kickUserSession(blackList.getGuid()); + blackListService.updateScheduleBlockUser(blackList, "start"); + blackListService.updateBlackListStatus(blackList.getId(), BlackList.STATUSTYPE.INPROGRESS); + log.info("blackListJob blackListSchedule block start : {}", blackList); + } + + // 종료시간 지났으면 만료 처리 + if(!nowDate.isBefore(endTime) && blackList.getStatus().equals(BlackList.STATUSTYPE.INPROGRESS)) { + blackListService.updateScheduleBlockUser(blackList, "end"); + blackListService.updateBlackListStatus(blackList.getId(), BlackList.STATUSTYPE.EXPIRATION); + log.info("blackListJob blackListSchedule block end : {}", blackList); + } + } +} diff --git a/src/main/java/com/caliverse/admin/scheduler/service/EventScheduler.java b/src/main/java/com/caliverse/admin/scheduler/service/EventScheduler.java new file mode 100644 index 0000000..c5d62a1 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/service/EventScheduler.java @@ -0,0 +1,216 @@ +package com.caliverse.admin.scheduler.service; + +import com.caliverse.admin.domain.RabbitMq.MessageHandlerService; +import com.caliverse.admin.domain.RabbitMq.message.LanguageType; +import com.caliverse.admin.domain.RabbitMq.message.MailItem; +import com.caliverse.admin.domain.entity.*; +import com.caliverse.admin.domain.service.EventService; +import com.caliverse.admin.domain.service.HistoryService; +import com.caliverse.admin.dynamodb.entity.SystemMessage; +import com.caliverse.admin.redis.service.RedisUserInfoService; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.global.common.utils.JsonUtils; +import com.caliverse.admin.scheduler.config.ScheduleExecutionConfig; +import com.caliverse.admin.scheduler.ScheduleType; +import com.caliverse.admin.scheduler.Scheduler; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.ArrayNode; +import lombok.*; +import lombok.extern.slf4j.Slf4j; + +import java.time.Duration; +import java.time.LocalDateTime; +import java.util.ArrayList; +import java.util.List; + +@Slf4j +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class EventScheduler implements Scheduler { + private Event event; + private EventService eventService; + private RedisUserInfoService redisUserInfoService; + private MessageHandlerService messageHandlerService; + private HistoryService historyService; + + @Override + public void execute() { + try { + processEvent(); + } catch (Exception e) { + log.error("Event execution failed for event ID: {}", event.getId(), e); + eventService.updateEventStatus(event.getId(), Event.EVENTSTATUS.FAIL); + historyService.setScheduleLog(HISTORYTYPE.SCHEDULE_EVENT_FAIL, e.getMessage()); + } + } + + @Override + public boolean isRepeatable() { + return false; + } + + @Override + public ScheduleType getScheduleType() { + return ScheduleType.DELAYED; + } + + @Override + public ScheduleExecutionConfig getSchedulerConfig() { + return ScheduleExecutionConfig.builder() + .taskId("event-" + event.getId()) + .startTime(event.getStartDt()) + .endTime(event.getEndDt()) + .build(); + } + + private void processEvent() { + LocalDateTime nowDate = LocalDateTime.now(); + LocalDateTime startTime = event.getStartDt(); + LocalDateTime endTime = event.getEndDt(); + + // 이벤트가 이미 종료되었는지 체크 + if (nowDate.isAfter(endTime) && event.getStatus().equals(Event.EVENTSTATUS.WAIT)) { + eventService.updateEventStatus(event.getId(), Event.EVENTSTATUS.FAIL); + log.error("eventJob eventSchedule timeOut : {}", event); + return; + } + + // 시작 30분 전에 게임 DB에 insert + if (event.getStatus().equals(Event.EVENTSTATUS.WAIT) + && Duration.between(nowDate, startTime).abs().toMinutes() <= 30 + && !event.isAddFlag()) { + + systemMailInsert(); + eventService.updateEventStatus(event.getId(), Event.EVENTSTATUS.RUNNING); + log.info("eventJob eventSchedule dynamoDB Insert & Start: {}", event); + } + + // 종료 시간이 되면 이벤트 종료 + if (!nowDate.isBefore(endTime) && event.getStatus().equals(Event.EVENTSTATUS.RUNNING)) { + eventService.updateEventStatus(event.getId(), Event.EVENTSTATUS.FINISH); + log.info("eventJob eventSchedule block end : {}", event); + } + } + + private void systemMailInsert() { + try { + log.info("systemMailInsert Info: {}", event); + + // 메시지 처리 + List mailTitleMessages = new ArrayList<>(); + List mailTextMessages = new ArrayList<>(); + List mailSenderMessages = new ArrayList<>(); + List mailItems = new ArrayList<>(); + + processMessages(mailTitleMessages, mailTextMessages, mailSenderMessages); + processItems(mailItems); + + // JSON 변환 + ObjectMapper objectMapper = new ObjectMapper(); + ArrayNode mailTitleArray = convertToJsonArray(objectMapper, mailTitleMessages); + ArrayNode mailTextArray = convertToJsonArray(objectMapper, mailTextMessages); + ArrayNode mailSenderArray = convertToJsonArray(objectMapper, mailSenderMessages); + ArrayNode mailItemArray = convertToJsonArray(objectMapper, mailItems); + + // 시스템 메일 등록 + eventService.insertSystemMail( + event, + mailTitleArray, + mailTextArray, + mailSenderArray, + mailItemArray + ); + + } catch (Exception e) { + log.error("systemMailInsert Exception: {}", e.getMessage()); + eventService.updateEventStatus(event.getId(), Event.EVENTSTATUS.FAIL); + historyService.setScheduleLog(HISTORYTYPE.SCHEDULE_EVENT_FAIL, e.getMessage()); + throw new RuntimeException("Failed to insert system mail", e); + } + } + + private void processMessages( + List titleMessages, + List textMessages, + List senderMessages + ) { + List msgList = eventService.getMessageList(event.getId()); + + for (Message msg : msgList) { + LanguageConfig langConfig = getLanguageConfig(msg.getLanguage()); + + // Title message + titleMessages.add(SystemMessage.builder() + .languageType(langConfig.getLangType()) + .text(msg.getTitle()) + .build()); + + // Content message + textMessages.add(SystemMessage.builder() + .languageType(langConfig.getLangType()) + .text(msg.getContent()) + .build()); + + // Sender message + senderMessages.add(SystemMessage.builder() + .languageType(langConfig.getLangType()) + .text(langConfig.getSender()) + .build()); + } + } + + private void processItems(List mailItems) { + List itemList = eventService.getItemList(event.getId()); + + for (Item item : itemList) { + mailItems.add(MailItem.newBuilder() + .setItemId(CommonUtils.stringToInt(item.getItem())) + .setCount(item.getItemCnt()) + .build()); + } + } + + @Getter + @AllArgsConstructor + private static class LanguageConfig { + int langType; + String sender; + + static LanguageConfig from(String language) { + return switch (language) { + case "EN" -> new LanguageConfig( + LanguageType.LanguageType_en.getNumber(), + "CALIVERSE" + ); + case "JA" -> new LanguageConfig( + LanguageType.LanguageType_ja.getNumber(), + "カリバース" + ); + default -> new LanguageConfig( + LanguageType.LanguageType_ko.getNumber(), + "칼리버스" + ); + }; + } + } + + private LanguageConfig getLanguageConfig(String language) { + return LanguageConfig.from(language); + } + + private ArrayNode convertToJsonArray(ObjectMapper objectMapper, List items) { + ArrayNode arrayNode = objectMapper.createArrayNode(); + + items.forEach(item -> { + if (item instanceof SystemMessage) { + arrayNode.add(JsonUtils.createSystemMessage((SystemMessage) item)); + } else if (item instanceof MailItem) { + arrayNode.add(JsonUtils.createMAilItem((MailItem) item)); + } + }); + + return arrayNode; + } +} diff --git a/src/main/java/com/caliverse/admin/scheduler/service/LogCompressService.java b/src/main/java/com/caliverse/admin/scheduler/service/LogCompressService.java new file mode 100644 index 0000000..cbfc3f9 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/service/LogCompressService.java @@ -0,0 +1,5 @@ +package com.caliverse.admin.scheduler.service; + +public interface LogCompressService { + void compressLastMonthLogs(); +} diff --git a/src/main/java/com/caliverse/admin/scheduler/service/MailScheduler.java b/src/main/java/com/caliverse/admin/scheduler/service/MailScheduler.java new file mode 100644 index 0000000..b83487f --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/service/MailScheduler.java @@ -0,0 +1,194 @@ +package com.caliverse.admin.scheduler.service; + +import com.caliverse.admin.domain.RabbitMq.MessageHandlerService; +import com.caliverse.admin.domain.RabbitMq.message.LanguageType; +import com.caliverse.admin.domain.RabbitMq.message.MailItem; +import com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage; +import com.caliverse.admin.domain.entity.*; +import com.caliverse.admin.domain.service.MailService; +import com.caliverse.admin.redis.service.RedisUserInfoService; +import com.caliverse.admin.domain.entity.redis.RedisLoginInfo; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.global.common.utils.ExcelUtils; +import com.caliverse.admin.scheduler.config.ScheduleExecutionConfig; +import com.caliverse.admin.scheduler.ScheduleType; +import com.caliverse.admin.scheduler.Scheduler; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.BeanUtils; + +import java.util.ArrayList; +import java.util.List; +import java.util.Optional; +import java.util.stream.Collectors; + +@Slf4j +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class MailScheduler implements Scheduler { + private Mail mail; + private MailService mailService; + private RedisUserInfoService redisUserInfoService; + private MessageHandlerService messageHandlerService; + private ExcelUtils excelUtils; + + @Override + public void execute() { + try { + processMail(); + } catch (Exception e) { + log.error("Mail execution failed for mail ID: {}", mail.getId(), e); + mailService.updateMailStatus(mail.getId(), Mail.SENDSTATUS.FAIL); + } + } + + @Override + public boolean isRepeatable() { + return false; + } + + @Override + public ScheduleType getScheduleType() { + return mail.getSendType() == Mail.SENDTYPE.DIRECT_SEND + ? ScheduleType.IMMEDIATE + : ScheduleType.DELAYED; + } + + @Override + public ScheduleExecutionConfig getSchedulerConfig() { + return ScheduleExecutionConfig.builder() + .taskId("mail-" + mail.getId()) + .startTime(mail.getSendDt()) + .build(); + } + + private void processMail() { + if (mail.getReceiveType().equals(Mail.RECEIVETYPE.SINGLE)) { + boolean isSend = mailSend(mail); + if (isSend) { + mailService.updateMailStatus(mail.getId(), Mail.SENDSTATUS.FINISH); + } + } else { + List excelList = excelUtils.getExcelListData(mail.getTarget()); + log.info("mailJob mailSchedule schedule run ExcelList : {}", excelList); + boolean isSend; + mailService.updateMailStatus(mail.getId(), Mail.SENDSTATUS.RUNNING); + + for (Excel excel : excelList) { + String guid = mailService.getGuid(excel.getUser(), excel.getType()); + Mail tempMail = copyMailWithNewTarget(mail, guid); + isSend = mailSend(tempMail); + + if (!isSend) { + log.error("mailJob mailSchedule Excel fail user : {}", excel.getUser()); + mailService.setScheduleLog(HISTORYTYPE.SCHEDULE_MAIL_FAIL, + "mail schedule id: " + mail.getId() + " Excel Send Fail User: " + excel.getUser()); + } else { + log.info("mailJob mailSchedule Excel send user : {}", excel.getUser()); + } + } + mailService.updateMailStatus(mail.getId(), Mail.SENDSTATUS.FINISH); + } + } + + private Mail copyMailWithNewTarget(Mail originalMail, String newTarget) { + Mail newMail = new Mail(); + BeanUtils.copyProperties(originalMail, newMail); + newMail.setTarget(newTarget); + return newMail; + } + + // 메일 전송 + private boolean mailSend(Mail mail) { + try { + RedisLoginInfo info = redisUserInfoService.getUserLoginSessionInfo(mail.getTarget()); + String serverName = Optional.ofNullable(info) + .map(RedisLoginInfo::getCurrentServer) + .orElseGet(() -> { + String firstChannel = redisUserInfoService.getFirstChannel(); + if (firstChannel == null) { + log.error("mailJob mailSend serverName is empty"); + mailService.updateMailStatus(mail.getId(), Mail.SENDSTATUS.FAIL); + mailService.setScheduleLog(HISTORYTYPE.MAIL_SEND_FAIL, "is null server name"); + return null; + } + return firstChannel; + }); + + if (serverName == null) { + return false; + } + + List msgList = mailService.getMailMessageList(mail.getId()); + List titleList = new ArrayList<>(); + List contentList = new ArrayList<>(); + List senderList = new ArrayList<>(); + + for (Message msg : msgList) { + LanguageType lang; + String sender; + + switch (msg.getLanguage()) { + case "EN" -> { + lang = LanguageType.LanguageType_en; + sender = "Administrator"; + } + case "JA" -> { + lang = LanguageType.LanguageType_ja; + sender = "アドミニストレーター"; + } + default -> { + lang = LanguageType.LanguageType_ko; + sender = "시스템 관리자"; + } + } + + titleList.add(createOperationSystemMessage(lang, msg.getTitle())); + contentList.add(createOperationSystemMessage(lang, msg.getContent())); + senderList.add(createOperationSystemMessage(lang, sender)); + } + + List itemList = mailService.getMailItemList(mail.getId()); + List mailItemList = itemList.stream() + .map(item -> MailItem.newBuilder() + .setItemId(CommonUtils.stringToInt(item.getItem())) + .setCount(item.getItemCnt()) + .build()) + .collect(Collectors.toList()); + + log.info("Send Mail Message : {}, target : {}, type :{}", + contentList, mail.getTarget(), mail.getMailType()); + + messageHandlerService.sendMailMessage( + serverName, + mail.getTarget(), + mail.getMailType().toString(), + titleList, + contentList, + mailItemList, + senderList + ); + + log.info("mailJob mailSend completed"); + return true; + + } catch (Exception e) { + log.error("mailSend Exception: {}", e.getMessage()); + mailService.updateMailStatus(mail.getId(), Mail.SENDSTATUS.FAIL); + mailService.setScheduleLog(HISTORYTYPE.MAIL_SEND_FAIL, e.getMessage()); + return false; + } + } + + private OperationSystemMessage createOperationSystemMessage(LanguageType lang, String text) { + return OperationSystemMessage.newBuilder() + .setLanguageType(lang) + .setText(CommonUtils.stringToByte(text)) + .build(); + } +} diff --git a/src/main/java/com/caliverse/admin/scheduler/service/NoticeScheduler.java b/src/main/java/com/caliverse/admin/scheduler/service/NoticeScheduler.java new file mode 100644 index 0000000..03b7112 --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/service/NoticeScheduler.java @@ -0,0 +1,228 @@ +package com.caliverse.admin.scheduler.service; + +import com.caliverse.admin.domain.RabbitMq.MessageHandlerService; +import com.caliverse.admin.domain.RabbitMq.message.LanguageType; +import com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage; +import com.caliverse.admin.domain.entity.HISTORYTYPE; +import com.caliverse.admin.domain.entity.InGame; +import com.caliverse.admin.domain.entity.Message; +import com.caliverse.admin.domain.service.NoticeService; +import com.caliverse.admin.redis.service.RedisUserInfoService; +import com.caliverse.admin.global.common.utils.CommonUtils; +import com.caliverse.admin.scheduler.config.ScheduleExecutionConfig; +import com.caliverse.admin.scheduler.ScheduleType; +import com.caliverse.admin.scheduler.Scheduler; +import jakarta.annotation.PostConstruct; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import java.time.Duration; +import java.time.LocalTime; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.concurrent.atomic.AtomicInteger; + +@Slf4j +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class NoticeScheduler implements Scheduler { + private InGame notice; + private NoticeService noticeService; + private RedisUserInfoService redisUserInfoService; + private MessageHandlerService messageHandlerService; + + private final AtomicInteger currentExecutionCount = new AtomicInteger(0); // 현재 실행 횟수를 추적 + + @Override + public void execute() { + try { + // 실행 전 횟수 체크 + if (shouldStopExecution()) { + log.info("Notice execution stopped - Reached maximum count. NoticeId: {}, Current count: {}, Max count: {}", + notice.getId(), getCurrentCount(), getMaxCount()); + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.FINISH); + return; + } + + // 실행 횟수 증가 및 검증 + int newCount = currentExecutionCount.incrementAndGet(); + if (newCount > getMaxCount()) { + log.warn("Notice execution exceeded max count. NoticeId: {}, Current count: {}, Max count: {}", + notice.getId(), newCount, getMaxCount()); + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.FINISH); + return; + } + + boolean isSend = noticeSend(); + if (!isSend) { + // 전송 실패 시 카운트 롤백 + currentExecutionCount.decrementAndGet(); + return; + } + + if(notice.getSendStatus().equals(InGame.SENDSTATUS.WAIT)) { + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.RUNNING); + } + + // DB 업데이트 전 한번 더 체크 + if (newCount <= getMaxCount()) { + noticeService.updateNoticeCount(notice.getId()); + log.info("Notice execution successful. NoticeId: {}, Current count: {}, Max count: {}", + notice.getId(), newCount, getMaxCount()); + + // 최대 횟수 도달 시 상태 업데이트 + if (newCount >= getMaxCount()) { + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.FINISH); + log.info("Notice completed all executions. NoticeId: {}", notice.getId()); + } + } + + } catch (Exception e) { + currentExecutionCount.decrementAndGet(); + log.error("Notice execution failed for notice ID: {}", notice.getId(), e); + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.FAIL); + noticeService.setScheduleLog(HISTORYTYPE.SCHEDULE_NOTICE_FAIL, e.getMessage()); + } + } + + private boolean shouldStopExecution() { + if (!notice.getIsRepeat() || notice.getRepeatType() != InGame.REPEATTYPE.COUNT) { + return false; + } + return getCurrentCount() >= getMaxCount(); + } + + private int getCurrentCount() { + return currentExecutionCount.get(); + } + + private int getMaxCount() { + return notice.getRepeatCnt().intValue(); + } + + @Override + public boolean isRepeatable() { + return notice.getIsRepeat(); + } + + @Override + public ScheduleType getScheduleType() { + if (!notice.getIsRepeat()) { + return ScheduleType.DELAYED; + } + + return switch (notice.getRepeatType()) { + case COUNT, DATE -> ScheduleType.RECURRING; + case TIME -> ScheduleType.PERIODIC; + default -> ScheduleType.DELAYED; + }; + } + + @Override + public ScheduleExecutionConfig getSchedulerConfig() { + return ScheduleExecutionConfig.builder() + .taskId("notice-" + notice.getId()) + .startTime(notice.getSendDt()) + .endTime(notice.getEndDt()) + .interval(getRepeatInterval()) + .repeatCount(notice.getRepeatCnt().intValue()) + .build(); + } + + private Duration getRepeatInterval() { + if (!notice.getIsRepeat()) { + return null; + } + + return switch (notice.getRepeatType()) { + case COUNT -> Duration.ofSeconds(LocalTime.parse(notice.getRepeatDt()).toSecondOfDay()); + case DATE -> Duration.ofMillis(CommonUtils.intervalToMillis(notice.getRepeatDt())); + case TIME -> null; + }; + } + + @PostConstruct + private void initialize() { + // 기존 실행 횟수로 초기화 + currentExecutionCount.set(notice.getSendCnt().intValue()); + } + + // SchedulerManager에서 사용할 수 있도록 현재 실행 상태 제공 + public boolean hasReachedMaxExecutions() { + return getCurrentCount() >= getMaxCount(); + } + + // 실행 횟수 검증을 위한 메서드 + public boolean isValidExecutionCount() { + return getCurrentCount() <= getMaxCount(); + } + + private boolean noticeSend() { + try { + List serverList = redisUserInfoService.getAllServerList(); + if (serverList.isEmpty()) { + log.error("noticeJob noticeSend serverList is empty"); + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.FAIL); + noticeService.setScheduleLog(HISTORYTYPE.NOTICE_SEND_FAIL, "is null server name"); + return false; + } + + List msgList = noticeService.getNoticeMessageList(notice.getId()); + List contentList = new ArrayList<>(); + List senderList = new ArrayList<>(); + + for (Message msg : Collections.unmodifiableList(msgList)) { + LanguageType lang; + String sender; + + switch (msg.getLanguage()) { + case "EN" -> { + lang = LanguageType.LanguageType_en; + sender = "Administrator"; + } + case "JA" -> { + lang = LanguageType.LanguageType_ja; + sender = "アドミニストレーター"; + } + default -> { + lang = LanguageType.LanguageType_ko; + sender = "시스템 관리자"; + } + } + + contentList.add(createOperationSystemMessage(lang, msg.getContent())); + senderList.add(createOperationSystemMessage(lang, sender)); + } + + log.info("Send Notice Message: {}, type: {}", contentList, notice.getMessageType()); + + messageHandlerService.sendNoticeMessage( + serverList, + notice.getMessageType().toString(), + contentList, + senderList + ); + + log.info("noticeJob noticeSend completed"); + return true; + + } catch (Exception e) { + log.error("noticeSend Exception: {}", e.getMessage()); + noticeService.updateNoticeStatus(notice.getId(), InGame.SENDSTATUS.FAIL); + noticeService.setScheduleLog(HISTORYTYPE.NOTICE_SEND_FAIL, e.getMessage()); + return false; + } + } + + private OperationSystemMessage createOperationSystemMessage(LanguageType lang, String text) { + return OperationSystemMessage.newBuilder() + .setLanguageType(lang) + .setText(CommonUtils.stringToByte(text)) + .build(); + } +} diff --git a/src/main/java/com/caliverse/admin/scheduler/service/impl/LogCompressServiceImpl.java b/src/main/java/com/caliverse/admin/scheduler/service/impl/LogCompressServiceImpl.java new file mode 100644 index 0000000..1779acf --- /dev/null +++ b/src/main/java/com/caliverse/admin/scheduler/service/impl/LogCompressServiceImpl.java @@ -0,0 +1,70 @@ +package com.caliverse.admin.scheduler.service.impl; + +import com.caliverse.admin.scheduler.service.LogCompressService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.time.LocalDate; +import java.time.format.DateTimeFormatter; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +@Slf4j +@Service +public class LogCompressServiceImpl implements LogCompressService { + + private static final String LOG_DIR = "..\\logs"; + private static final String LOG_FILE_PREFIX = "caliverse"; + + @Override + public void compressLastMonthLogs() { + log.info("Start compressing last month's logs"); + try { + LocalDate lastMonth = LocalDate.now().minusMonths(1); + String yearMonth = lastMonth.format(DateTimeFormatter.ofPattern("yyyy-MM")); + + String zipFileName = LOG_DIR + File.separator + + LOG_FILE_PREFIX + "_" + yearMonth + ".zip"; + + String logFilePattern = LOG_FILE_PREFIX + "." + yearMonth + "*"; + + try (FileOutputStream fos = new FileOutputStream(zipFileName); + ZipOutputStream zos = new ZipOutputStream(fos)) { + + Files.newDirectoryStream(Paths.get(LOG_DIR), logFilePattern) + .forEach(path -> { + try { + addToZipFile(path.toFile(), zos); + Files.delete(path); + log.info("Compressed and deleted file: {}", path.getFileName()); + } catch (IOException e) { + log.error("Error while compressing file: {}", path.getFileName(), e); + } + }); + } + log.info("Finished compressing last month's logs"); + } catch (IOException e) { + log.error("Error in log compression service", e); + } + } + + private void addToZipFile(File file, ZipOutputStream zos) throws IOException { + try (FileInputStream fis = new FileInputStream(file)) { + ZipEntry zipEntry = new ZipEntry(file.getName()); + zos.putNextEntry(zipEntry); + + byte[] bytes = new byte[1024]; + int length; + while ((length = fis.read(bytes)) >= 0) { + zos.write(bytes, 0, length); + } + zos.closeEntry(); + } + } +} diff --git a/src/main/resources/config/application.yml b/src/main/resources/config/application.yml new file mode 100644 index 0000000..32b092a --- /dev/null +++ b/src/main/resources/config/application.yml @@ -0,0 +1,28 @@ +spring: + ## deploy +# profiles: +# active: stage + + + jwt: + secret_key: '81b659967735aea6e4cb0467d04ea12c4a6432b415254f59825055680f59a9823fec5a15e9adbd246b1365ef1522580477691bc5cb56a9364143e7d9385d9912' + expiration: 86400000 # a day + refresh-token: + expiration: 604800000 # 7 days + mail: + host: smtp.gmail.com + port: 465 + username: caliverse_adm@caliverse.io + password: fvif mdcq nxyq yzll + properties: + mail: + transport: + protocol: smtp + auth: true + starttls: + enable: true + debug: true +password: + expiration-days: 180 + + diff --git a/src/main/resources/config/dev/application.yml b/src/main/resources/config/dev/application.yml new file mode 100644 index 0000000..89810f8 --- /dev/null +++ b/src/main/resources/config/dev/application.yml @@ -0,0 +1,173 @@ +server: + port: 23450 + + + + + +################################################################################################################################################################################################ +# spring 설정 +################################################################################################################################################################################################ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + jdbc-url: jdbc:mysql://10.20.20.8:3306/caliverse?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 + username: root + password: root! + mybatis: + mapper-locations: classpath:mappers/*.xml + type-aliases-package: com.caliverse.admin.domain.entity + + total-datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + jdbc-url: jdbc:mysql://10.20.20.8:3306/caliverse?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 + username: external_ro + password: bQNEXbRWQTtV6bwlqktGyBiuf2KqYF + + #스프링 프레임워크의 기능 , 중복된 bean이 있을경우 마지막 등록된 bean이 이전에 등록된 bean을 덮어쓰게됨 + main: + allow-bean-definition-overriding: true + + #Hibernate의 로깅 레벨을 지정 + level: + org.hibernate.SQL: debug + org.hibernate.type: trace + + #mongodb autoconfiguration 설정 제외 + autoconfigure: + exclude: + - org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration + + config: + activate: + on-profile: ${spring.profiles.active:dev} + + +################################################################################################################################################################################################ +# springdoc +################################################################################################################################################################################################ +springdoc: + api-docs: + enabled: true + packages-to-scan: com.caliverse.admin.domain.api + default-consumes-media-type: application/json;charset=UTF-8 + default-produces-media-type: application/json;charset=UTF-8 + swagger-ui: + path: / + disable-swagger-default-url: true + display-request-duration: true + operations-sorter: alpha + + + + + +################################################################################################################################################################################################ +# logging +################################################################################################################################################################################################ +logging: + level: + root: info + org.springframework.cache: DEBUG + org.springframework.data.redis.cache: DEBUG + + + + + +################################################################################################################################################################################################ +# Meta +################################################################################################################################################################################################ +caliverse: +# metadatapath: /metadata/ +# metadatapath: classpath:/metadata/ + file: classpath:file/ + metadata: + path: /metadata/ + reload: + interval: 3600000 + + + + + +################################################################################################################################################################################################ +# File +################################################################################################################################################################################################ +excel: + file-path: /upload/ + + + + +################################################################################################################################################################################################ +# AWS +############################################t#################################################################################################################################################### +amazon: + dynamodb: + endpoint: https://dynamodb.us-west-2.amazonaws.com + metaTable: Metaverse-Dev + aws: + accesskey: AKIA4G3CB4Z5T6JUPHJN + secretkey: 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 + region: us-west-2 + s3: + bucket-name: metaverse-myhomeugc-test + enabled: false + + + + +################################################################################################################################################################################################ +# RabbitMq +################################################################################################################################################################################################ +rabbitmq: + url: 10.20.20.8 + port: 5672 + username: admin + password: admin + ssl: false + + + + + +################################################################################################################################################################################################ +# Mongodb +################################################################################################################################################################################################ +mongodb: + host: 10.20.20.8:27017 + business-log: + username: "" + password: "" + db: LogDB + indicator: + username: "" + password: "" + db: IndicatorDB + admin: + username: "" + password: "" + db: admin + + + + + +################################################################################################################################################################################################ +# "Redis": "127.0.0.1:6379,password=KT-i5#i%-%LxKfZ5YJj6,AsyncTimeout=30000,SyncTimeout=30000,ssl=false,abortConnect=false", +################################################################################################################################################################################################ +redis: + host: 10.20.20.8 + port: 6379 + password: KT-i5#i%-%LxKfZ5YJj6 + async-timeout: 30000 + sync-timeout: 30000 + ssl: false + abort-connect: false + +web3: + url: https://eco-system-dev-rollup-admin-api.caliverse.io/ + timeout: 60000 + delay: 2000 + max-retry: 3 \ No newline at end of file diff --git a/src/main/resources/config/dev/logback-spring.xml b/src/main/resources/config/dev/logback-spring.xml new file mode 100644 index 0000000..940652b --- /dev/null +++ b/src/main/resources/config/dev/logback-spring.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SS} [%thread] %-3level %logger{15}%X{method, .%method} - %msg %n + + + + + ${LOG_PATH_NAME}.log + + + ${LOG_PATH_NAME}.%d{yyyy-MM-dd}.%i.log + 10MB + 60 + + + %d{yyyy-MM-dd HH:mm:ss} [%-5p] [%F]%M\(%L\) : %m%n + + + + + + + + + diff --git a/src/main/resources/config/live/application.yml b/src/main/resources/config/live/application.yml new file mode 100644 index 0000000..064a620 --- /dev/null +++ b/src/main/resources/config/live/application.yml @@ -0,0 +1,174 @@ +server: + port: 23450 + + + + + +################################################################################################################################################################################################ +# spring 설정 +################################################################################################################################################################################################ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + jdbc-url: jdbc:mysql://metaverse-live-admintool.cdn6gxjy33pu.us-west-2.rds.amazonaws.com:3306/caliverse?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 + username: caliverse + password: ApxkZkfflqjtm1! + mybatis: + mapper-locations: classpath:mappers/*.xml + type-aliases-package: com.caliverse.admin.domain.entity + + total-datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + jdbc-url: jdbc:mysql://prod-caliverse-db.cluster-ro-czac0we0qoyx.us-west-2.rds.amazonaws.com:3306/caliverse?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 + username: external_ro + password: gMTkUuoETPAaJyGTveKWIWyxrdoDQf9aL + + #스프링 프레임워크의 기능 , 중복된 bean이 있을경우 마지막 등록된 bean이 이전에 등록된 bean을 덮어쓰게됨 + main: + allow-bean-definition-overriding: true + + #Hibernate의 로깅 레벨을 지정 + level: + org.hibernate.SQL: debug + org.hibernate.type: trace + + #mongodb autoconfiguration 설정 제외 + autoconfigure: + exclude: + - org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration + + config: + activate: + on-profile: ${spring.profiles.active:live} + + +################################################################################################################################################################################################ +# springdoc +################################################################################################################################################################################################ +springdoc: + api-docs: + enabled: true + packages-to-scan: com.caliverse.admin.domain.api + default-consumes-media-type: application/json;charset=UTF-8 + default-produces-media-type: application/json;charset=UTF-8 + swagger-ui: + path: / + disable-swagger-default-url: true + display-request-duration: true + operations-sorter: alpha + + + + + +################################################################################################################################################################################################ +# logging +################################################################################################################################################################################################ +logging: + level: + root: info + + + + + +################################################################################################################################################################################################ +# Meta +################################################################################################################################################################################################ +caliverse: +# metadatapath: classpath:metadata/ +# metadatapath: /metadata/ + file: classpath:file/ + metadata: + path: /metadata/ + reload: + interval: 3600000 + + + + + +################################################################################################################################################################################################ +# File +################################################################################################################################################################################################ +excel: + file-path: /upload/ + + + + + +################################################################################################################################################################################################ +# AWS +################################################################################################################################################################################################ +amazon: + dynamodb: + endpoint: https://dynamodb.us-west-2.amazonaws.com + metaTable: Metaverse-Live + aws: + accesskey: AKIA4G3CB4Z5T6JUPHJN + secretkey: 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 + region: us-west-2 + s3: + bucket-name: metaverse-myhomeugc-live + enabled: false + + + + + +################################################################################################################################################################################################ +# RabbitMq +################################################################################################################################################################################################ +rabbitmq: + url: b-a34727bf-09b9-4439-acfe-65ead25a5676.mq.us-west-2.amazonaws.com + port: 5671 + username: serveruser + password: Zkfflqjtm!33&*( + ssl: true + + + + + +################################################################################################################################################################################################ +# Mongodb +################################################################################################################################################################################################ +mongodb: + host: 172.20.143.197:27017 + business-log: + username: calimongowrite + password: cali%lw9#1verse + db: LogDB + indicator: + username: lrwindiconnect + password: live%sw9#3verse + db: IndicatorDB + admin: + username: admin + password: zk28fl@#qjtm + db: admin + + + + + +################################################################################################################################################################################################ +# "Redis": "127.0.0.1:6379,password=KT-i5#i%-%LxKfZ5YJj6,AsyncTimeout=30000,SyncTimeout=30000,ssl=false,abortConnect=false", +################################################################################################################################################################################################ +redis: + host: clustercfg.metaverse-live-cluster.ocif0u.usw2.cache.amazonaws.com + port: 6379 + password: wiUaVvNwX4PhBj&8 + async-timeout: 30000 + sync-timeout: 30000 + ssl: true + abort-connect: false + + +web3: + url: https://eco-system-live-rollup-admin-api.caliverse.io + timeout: 60000 + delay: 2000 + max-retry: 3 \ No newline at end of file diff --git a/src/main/resources/config/live/logback-spring.xml b/src/main/resources/config/live/logback-spring.xml new file mode 100644 index 0000000..2eb973f --- /dev/null +++ b/src/main/resources/config/live/logback-spring.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SS} [%thread] %-3level %logger{15}%X{method, .%method} - %msg %n + + + + + ${LOG_PATH_NAME}.log + + + ${LOG_PATH_NAME}.%d{yyyy-MM-dd}.%i.log + 10MB + 60 + + + %d{yyyy-MM-dd HH:mm:ss} [%-5p] [%F]%M\(%L\) : %m%n + + + + + + + + + diff --git a/src/main/resources/config/local/application.yml b/src/main/resources/config/local/application.yml new file mode 100644 index 0000000..4c8bdfd --- /dev/null +++ b/src/main/resources/config/local/application.yml @@ -0,0 +1,192 @@ +server: + port: 9099 + + + + +################################################################################################################################################################################################ +# spring 설정 +################################################################################################################################################################################################ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + jdbc-url: jdbc:mysql://localhost:3306/caliverse?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 + username: root + password: root! + mybatis: + mapper-locations: classpath:mappers/*.xml + type-aliases-package: com.caliverse.admin.domain.entity + + total-datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + jdbc-url: jdbc:mysql://localhost:13306/caliverse?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 + username: external_ro + password: bQNEXbRWQTtV6bwlqktGyBiuf2KqYF + + #스프링 프레임워크의 기능 , 중복된 bean이 있을경우 마지막 등록된 bean이 이전에 등록된 bean을 덮어쓰게됨 + main: + allow-bean-definition-overriding: true + #Hibernate의 로깅 레벨을 지정 + level: + org.hibernate.SQL: debug + org.hibernate.type: trace + + #mongodb autoconfiguration 설정 제외 + autoconfigure: + exclude: + - org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration + + + + + +################################################################################################################################################################################################ +# springdoc +################################################################################################################################################################################################ +springdoc: + api-docs: + enabled: true + packages-to-scan: com.caliverse.admin.domain.api + default-consumes-media-type: application/json;charset=UTF-8 + default-produces-media-type: application/json;charset=UTF-8 + swagger-ui: + path: /swagger-ui.html + disable-swagger-default-url: false + display-request-duration: true + operations-sorter: alpha + + + + + +################################################################################################################################################################################################ +# logging +################################################################################################################################################################################################ +logging: + level: + root: debug + + + + + +################################################################################################################################################################################################ +# Meta +################################################################################################################################################################################################ +caliverse: +# metadatapath: D:\03.SVN\03.caliverse\DataAssets\MS2\JSON +# metadatapath: classpath:metadata/ + file: classpath:file/ + metadata: + path: D:\03.SVN\03.caliverse\DataAssets\MS2\JSON + reload: + interval: 3600000 + + + + + +################################################################################################################################################################################################ +# File +################################################################################################################################################################################################ +excel: + # file-path: /home/ec2-user/admintool/upload/ + file-path: D:\caliverse-api/upload/ + + + + + +################################################################################################################################################################################################ +# AWS +################################################################################################################################################################################################ +amazon: + dynamodb: + endpoint: http://localhost:8000/ +# endpoint: https://dynamodb.us-west-2.amazonaws.com + metaTable: Metaverse-Dev +# metaTable: Metaverse-Live + aws: + accesskey: "" + secretkey: "" +# accesskey: AKIA4G3CB4Z5T6JUPHJN +# secretkey: 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 + region: us-west-2 + s3: + bucket-name: metaverse-myhomeugc-test + enabled: false + + + + + +################################################################################################################################################################################################ +# RabbitMq +################################################################################################################################################################################################ +rabbitmq: +# url: localhost +# port: 5672 +# username: admin +# password: admin +# ssl: false + # dev + url: 10.20.20.8 + port: 5672 + username: admin + password: admin + ssl: false + + + + + +################################################################################################################################################################################################ +# Mongodb +################################################################################################################################################################################################ +mongodb: + host: 10.20.20.8:27017 + business-log: + username: "" + password: "" + db: LogDB + indicator: + username: "" + password: "" + db: IndicatorDB + admin: + username: "" + password: "" + db: admin +# business-log: +# uri: mongodb://localhost:27017 +# db: LogDB +# indicator: +# uri: mongodb://localhost:27017 +# db: IndicatorDB + + +################################################################################################################################################################################################ +# "Redis": "127.0.0.1:6379,password=KT-i5#i%-%LxKfZ5YJj6,AsyncTimeout=30000,SyncTimeout=30000,ssl=false,abortConnect=false", +################################################################################################################################################################################################ +redis: +# host: localhost +# port: 6379 +# password: KT-i5#i%-%LxKfZ5YJj6 +# async-timeout: 30000 +# sync-timeout: 30000 +# ssl: false +# abort-connect: false + host: 10.20.20.8 + port: 6379 + password: KT-i5#i%-%LxKfZ5YJj6 + async-timeout: 30000 + sync-timeout: 30000 + ssl: false + abort-connect: false + + +web3: + url: https://eco-system-dev-rollup-admin-api.caliverse.io + timeout: 60000 + delay: 2000 + max-retry: 3 diff --git a/src/main/resources/config/local/logback-spring.xml b/src/main/resources/config/local/logback-spring.xml new file mode 100644 index 0000000..b633a54 --- /dev/null +++ b/src/main/resources/config/local/logback-spring.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SS} [%thread] %-3level %logger{15}%X{method, .%method} - %msg %n + + + + + ${LOG_PATH_NAME}.log + + + ${LOG_PATH_NAME}.%d{yyyy-MM-dd}.%i.log + 10MB + 60 + 3GB + + + %d{yyyy-MM-dd HH:mm:ss} [%-5p] [%F]%M\(%L\) : %m%n + + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SS} [%thread] %-3level [%X{method}] - %msg%n + + + + + + + + + diff --git a/src/main/resources/config/qa/application.yml b/src/main/resources/config/qa/application.yml new file mode 100644 index 0000000..f06372a --- /dev/null +++ b/src/main/resources/config/qa/application.yml @@ -0,0 +1,176 @@ +server: + port: 23450 + + + + + +################################################################################################################################################################################################ +# spring 설정 +################################################################################################################################################################################################ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + jdbc-url: jdbc:mysql://metaverse-qa-admintool.cdn6gxjy33pu.us-west-2.rds.amazonaws.com:3306/caliverse?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 + username: caliverse + password: Zkfflqjtm1!! + mybatis: + mapper-locations: classpath:mappers/*.xml + type-aliases-package: com.caliverse.admin.domain.entity + + total-datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + jdbc-url: jdbc:mysql://qa-caliverse-db.cluster-ro-czac0we0qoyx.us-west-2.rds.amazonaws.com:3306/caliverse?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 + username: external_ro + password: k0RantM9gOAg5ATecBTFXzbCYDnvXi + + #스프링 프레임워크의 기능 , 중복된 bean이 있을경우 마지막 등록된 bean이 이전에 등록된 bean을 덮어쓰게됨 + main: + allow-bean-definition-overriding: true + + #Hibernate의 로깅 레벨을 지정 + level: + org.hibernate.SQL: debug + org.hibernate.type: trace + + #mongodb autoconfiguration 설정 제외 + autoconfigure: + exclude: + - org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration + + config: + activate: + on-profile: ${spring.profiles.active:qa} + + +################################################################################################################################################################################################ +# springdoc +################################################################################################################################################################################################ +springdoc: + api-docs: + enabled: true + packages-to-scan: com.caliverse.admin.domain.api + default-consumes-media-type: application/json;charset=UTF-8 + default-produces-media-type: application/json;charset=UTF-8 + swagger-ui: + path: / + disable-swagger-default-url: true + display-request-duration: true + operations-sorter: alpha + + + + + +################################################################################################################################################################################################ +# logging +################################################################################################################################################################################################ +logging: + level: + root: info + org.springframework.cache: DEBUG + org.springframework.data.redis.cache: DEBUG + + + + + +################################################################################################################################################################################################ +# Meta +################################################################################################################################################################################################ +caliverse: +# metadatapath: classpath:/metadata/ +# metadatapath: /metadata/ + file: classpath:file/ + metadata: + path: /metadata/ + reload: + interval: 3600000 + + + + + +################################################################################################################################################################################################ +# File +################################################################################################################################################################################################ +excel: + file-path: /upload/ + + + + + +################################################################################################################################################################################################ +# AWS +############################################t#################################################################################################################################################### +amazon: + dynamodb: + endpoint: https://dynamodb.us-west-2.amazonaws.com + metaTable: Metaverse-Qa + aws: + accesskey: AKIA4G3CB4Z5T6JUPHJN + secretkey: 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 + region: us-west-2 + s3: + bucket-name: metaverse-myhomeugc-qa + enabled: false + + + + + +################################################################################################################################################################################################ +# RabbitMq +################################################################################################################################################################################################ +rabbitmq: + url: b-d7c76a76-156d-4d55-8614-d4ce122a47c3.mq.us-west-2.amazonaws.com + port: 5671 + username: serveruser + password: Zkfflqjtm!33&*( + ssl: true + + + + + +################################################################################################################################################################################################ +# Mongodb +################################################################################################################################################################################################ +mongodb: + host: 172.40.141.201:27017 + business-log: + username: calimongowrite + password: stage%sw9#1verse + db: LogDB + indicator: + username: srwindiconnect + password: stage%sw9#1verse + db: IndicatorDB + admin: + username: admin + password: stage28fl@#qjtm + db: admin +# uri: mongodb://srwindiconnect:stage%25sw9%231verse@172.40.141.201:27017 + + + + + +################################################################################################################################################################################################ +# "Redis": "127.0.0.1:6379,password=KT-i5#i%-%LxKfZ5YJj6,AsyncTimeout=30000,SyncTimeout=30000,ssl=false,abortConnect=false", +################################################################################################################################################################################################ +redis: + host: clustercfg.metaverse-qa-cluster.ocif0u.usw2.cache.amazonaws.com + port: 6379 + password: wiUaVvNwX4PhBj&8 + async-timeout: 30000 + sync-timeout: 30000 + ssl: true + abort-connect: false + +web3: + url: https://eco-system-qa-rollup-admin-api.caliverse.io + timeout: 60000 + delay: 2000 + max-retry: 3 \ No newline at end of file diff --git a/src/main/resources/config/qa/logback-spring.xml b/src/main/resources/config/qa/logback-spring.xml new file mode 100644 index 0000000..2eb973f --- /dev/null +++ b/src/main/resources/config/qa/logback-spring.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SS} [%thread] %-3level %logger{15}%X{method, .%method} - %msg %n + + + + + ${LOG_PATH_NAME}.log + + + ${LOG_PATH_NAME}.%d{yyyy-MM-dd}.%i.log + 10MB + 60 + + + %d{yyyy-MM-dd HH:mm:ss} [%-5p] [%F]%M\(%L\) : %m%n + + + + + + + + + diff --git a/src/main/resources/config/stage/application.yml b/src/main/resources/config/stage/application.yml new file mode 100644 index 0000000..033c1e1 --- /dev/null +++ b/src/main/resources/config/stage/application.yml @@ -0,0 +1,174 @@ +server: + port: 23450 + + + + + +################################################################################################################################################################################################ +# spring 설정 +################################################################################################################################################################################################ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + jdbc-url: jdbc:mysql://metaverse-stage-admintool.cdn6gxjy33pu.us-west-2.rds.amazonaws.com:3306/caliverse?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 + username: satuser + password: Zkfflha^&* + mybatis: + mapper-locations: classpath:mappers/*.xml + type-aliases-package: com.caliverse.admin.domain.entity + + total-datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + jdbc-url: jdbc:mysql://stage-caliverse-db.cluster-ro-czac0we0qoyx.us-west-2.rds.amazonaws.com:3306/caliverse?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 + username: caliverse + password: XjEDXb8fi9ZXP5PaxDCxPWeXK03mzk + + #스프링 프레임워크의 기능 , 중복된 bean이 있을경우 마지막 등록된 bean이 이전에 등록된 bean을 덮어쓰게됨 + main: + allow-bean-definition-overriding: true + + #Hibernate의 로깅 레벨을 지정 + level: + org.hibernate.SQL: debug + org.hibernate.type: trace + + #mongodb autoconfiguration 설정 제외 + autoconfigure: + exclude: + - org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration + + config: + activate: + on-profile: ${spring.profiles.active:stage} + + +################################################################################################################################################################################################ +# springdoc +################################################################################################################################################################################################ +springdoc: + api-docs: + enabled: true + packages-to-scan: com.caliverse.admin.domain.api + default-consumes-media-type: application/json;charset=UTF-8 + default-produces-media-type: application/json;charset=UTF-8 + swagger-ui: + path: / + disable-swagger-default-url: true + display-request-duration: true + operations-sorter: alpha + + + + + +################################################################################################################################################################################################ +# logging +################################################################################################################################################################################################ +logging: + level: + root: info + + + + + +################################################################################################################################################################################################ +# Meta +################################################################################################################################################################################################ +caliverse: +# metadatapath: classpath:/metadata/ +# metadatapath: /metadata/ + file: classpath:file/ + metadata: + path: /metadata/ + reload: + interval: 3600000 + + + + + +################################################################################################################################################################################################ +# File +################################################################################################################################################################################################ +excel: + file-path: /upload/ + + + + + +################################################################################################################################################################################################ +# AWS +############################################t#################################################################################################################################################### +amazon: + dynamodb: + endpoint: https://dynamodb.us-west-2.amazonaws.com + metaTable: Metaverse-Stage + aws: + accesskey: AKIA4G3CB4Z5T6JUPHJN + secretkey: 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 + region: us-west-2 + s3: + bucket-name: metaverse-myhomeugc-stage + enabled: false + + + + + +################################################################################################################################################################################################ +# RabbitMq +################################################################################################################################################################################################ +rabbitmq: + url: b-d0e44de3-7fb3-4120-b851-4566002eaf8e.mq.us-west-2.amazonaws.com + port: 5671 + username: serveruser + password: Zkfflqjtm!33&*( + ssl: true + + + + + +################################################################################################################################################################################################ +# Mongodb +################################################################################################################################################################################################ +mongodb: + host: 172.30.147.83:27017 + business-log: + username: calimongowrite + password: stage%sw9#1verse + db: LogDB + indicator: + username: srwindiconnect + password: stage%sw9#1verse + db: IndicatorDB + admin: + username: admin + password: stage28fl@#qjtm + db: admin + + + + + +################################################################################################################################################################################################ +# "Redis": "127.0.0.1:6379,password=KT-i5#i%-%LxKfZ5YJj6,AsyncTimeout=30000,SyncTimeout=30000,ssl=false,abortConnect=false", +################################################################################################################################################################################################ +redis: + host: clustercfg.metaverse-stage-cluster.ocif0u.usw2.cache.amazonaws.com + port: 6379 + password: wiUaVvNwX4PhBj&8 + async-timeout: 30000 + sync-timeout: 30000 + ssl: true + abort-connect: false + + +web3: + url: https://eco-system-stage-rollup-admin-api.caliverse.io + timeout: 60000 + delay: 2000 + max-retry: 3 \ No newline at end of file diff --git a/src/main/resources/config/stage/logback-spring.xml b/src/main/resources/config/stage/logback-spring.xml new file mode 100644 index 0000000..2eb973f --- /dev/null +++ b/src/main/resources/config/stage/logback-spring.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SS} [%thread] %-3level %logger{15}%X{method, .%method} - %msg %n + + + + + ${LOG_PATH_NAME}.log + + + ${LOG_PATH_NAME}.%d{yyyy-MM-dd}.%i.log + 10MB + 60 + + + %d{yyyy-MM-dd HH:mm:ss} [%-5p] [%F]%M\(%L\) : %m%n + + + + + + + + + diff --git a/src/main/resources/file/block_sample.xlsx b/src/main/resources/file/block_sample.xlsx new file mode 100644 index 0000000..e9680ee Binary files /dev/null and b/src/main/resources/file/block_sample.xlsx differ diff --git a/src/main/resources/file/mail_sample.xlsx b/src/main/resources/file/mail_sample.xlsx new file mode 100644 index 0000000..f930c82 Binary files /dev/null and b/src/main/resources/file/mail_sample.xlsx differ diff --git a/src/main/resources/http/test.http b/src/main/resources/http/test.http new file mode 100644 index 0000000..3b0ce3c --- /dev/null +++ b/src/main/resources/http/test.http @@ -0,0 +1,19 @@ +### RabbitMQ Test ( login ) +POST http://localhost:9099/api/v1/auth/login +Content-Type: application/json + +{ + "name": "sangyeob.kim@lotte.net", + "email": "sangyeob.kim@lotte.net", + "password": "502755Kcat!" +} + +> {% + client.global.set("auth_token", response.body.data.access_token); + %} + +### rabbit mq test ( send ) +POST http://localhost:9099/api/v1/RabbitMQTest/send +authorization: Bearer {{auth_token}} +Content-Type: application/json + diff --git a/src/main/resources/mappers/AdminMapper.xml b/src/main/resources/mappers/AdminMapper.xml new file mode 100644 index 0000000..a6de308 --- /dev/null +++ b/src/main/resources/mappers/AdminMapper.xml @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO admin (name, password, email, status, group_id) + VALUES (#{name}, #{password}, #{email}, #{status}, ${groupId} ) + + + + UPDATE admin SET password = #{password} + ,status = 'INIT' + ,update_by = #{updateBy} + ,pw_update_Dt = NOW() + ,update_dt = NOW() + WHERE id = #{id} + + + + UPDATE admin SET password = #{password} + ,status = #{status} + ,update_by = #{updateBy} + ,pw_update_Dt = NOW() + ,update_dt = NOW() + WHERE id = #{updateBy} + + + + INSERT INTO admin_history (admin_id,password) VALUES (#{adminId}, #{password}) + + + + + + + + + + + UPDATE admin SET status = #{status} , update_by = #{id} , update_dt = NOW() WHERE email = #{email} + + + + UPDATE admin SET group_id = #{group_id} , update_by = #{id} , update_dt = NOW() WHERE email = #{email} + + + + UPDATE admin SET deleted = ${deleted} WHERE email = #{email} + + + diff --git a/src/main/resources/mappers/BattleMapper.xml b/src/main/resources/mappers/BattleMapper.xml new file mode 100644 index 0000000..7d8cd03 --- /dev/null +++ b/src/main/resources/mappers/BattleMapper.xml @@ -0,0 +1,233 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO battle_event (group_id, event_name, repeat_type, event_operation_time, event_start_dt, event_end_dt, config_id, reward_group_id, round_time, round_count, hot_time, create_by, update_by) + VALUES (#{groupId}, #{eventName}, #{repeatType}, #{eventOperationTime}, #{eventStartDt}, #{eventEndDt}, #{configId}, #{rewardGroupId}, #{roundTime}, #{roundCount}, #{hotTime}, #{createBy}, #{updateBy}) + + + + + UPDATE battle_event SET group_id = #{groupId} + , resv_end_dt = #{resvEndDt} + , auction_start_dt = #{auctionStartDt} + , auction_end_dt = #{auctionEndDt} + , currency_type = #{currencyType} + , start_price = #{startPrice} + , update_by = #{updateBy} + , update_dt = NOW() + WHERE id = #{id} + + + + + UPDATE battle_event + SET deleted = 1 + ,status = 'CANCEL' + , update_by = #{updateBy} + , update_dt = NOW() + WHERE id = #{id} + + + + UPDATE battle_event + SET status = #{status} + where id = #{id} + + + + + diff --git a/src/main/resources/mappers/BlackListMapper.xml b/src/main/resources/mappers/BlackListMapper.xml new file mode 100644 index 0000000..eee10e7 --- /dev/null +++ b/src/main/resources/mappers/BlackListMapper.xml @@ -0,0 +1,192 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO black_list (guid, nickname, status, type, sanctions, period, start_dt, end_dt, create_by, create_dt) + VALUES (#{guid},#{nickname}, #{status}, #{type}, #{sanctions},#{period}, #{startDt}, #{endDt}, #{createBy}, NOW()) + + + + UPDATE black_list SET deleted = 1 WHERE id = #{id} + + + + + + UPDATE black_list SET status = #{status} WHERE id = #{id} + + + diff --git a/src/main/resources/mappers/CaliumMapper.xml b/src/main/resources/mappers/CaliumMapper.xml new file mode 100644 index 0000000..1e79568 --- /dev/null +++ b/src/main/resources/mappers/CaliumMapper.xml @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO calium_request (dept, count, content, request_id, create_time, create_by, update_by) + VALUES (#{dept}, #{count}, #{content}, #{requestId}, #{createTime}, #{createBy}, #{createBy}) + + + + UPDATE calium_request + SET status = #{status} + + ,state_time = #{stateTime} + + + , update_by = #{updateBy} + , update_dt = NOW() + + where id = #{id} + + + + + diff --git a/src/main/resources/mappers/EventMapper.xml b/src/main/resources/mappers/EventMapper.xml new file mode 100644 index 0000000..b0f0bd8 --- /dev/null +++ b/src/main/resources/mappers/EventMapper.xml @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO event (event_type, start_dt, end_dt, create_by) + VALUES (#{eventType}, #{startDt}, #{endDt}, #{createBy}) + + + + INSERT INTO guid (mail_id, guid) + VALUES (#{mailId}, #{guid}) + + + + INSERT INTO message (target_id, type,title, content, language) + VALUES (#{mailId}, 'EVENT',#{title}, #{content}, #{language}) + + + + INSERT INTO item (mail_id,reward_group_id,item_cnt,type) VALUES (#{mailId} , #{goodsId}, #{itemCnt}, 'EVENT') + + + + + UPDATE event SET event_type = #{eventType} + , start_dt = #{startDt} + , end_dt = #{endDt} + , update_by = #{updateBy} + , update_dt = NOW() + WHERE id = #{id} + + + + DELETE FROM message + WHERE target_id = #{mailId} + AND type = 'EVENT' + + + DELETE FROM item + WHERE mail_id = #{mailId} + AND type = 'EVENT' + + + + UPDATE event + SET deleted = 1 + ,status = 'DELETE' + ,delete_desc = #{desc} + WHERE id = #{mailId} + + + + UPDATE event + SET status = #{status} + where id = #{id} + + + + UPDATE event SET add_flag = true + where id = #{id} + + + + + diff --git a/src/main/resources/mappers/GroupMapper.xml b/src/main/resources/mappers/GroupMapper.xml new file mode 100644 index 0000000..1cbc1b2 --- /dev/null +++ b/src/main/resources/mappers/GroupMapper.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO groups (name,description,create_by) values (#{groupNm} ,#{description}, #{createBy}) + + + + DELETE FROM group_auth WHERE group_id = #{groupId} + + + + INSERT INTO group_auth (group_id, auth_id) values (#{groupId}, #{authId}) + + + + UPDATE groups set deleted = 1 WHERE id = #{groupId} + + diff --git a/src/main/resources/mappers/HistoryMapper.xml b/src/main/resources/mappers/HistoryMapper.xml new file mode 100644 index 0000000..40da217 --- /dev/null +++ b/src/main/resources/mappers/HistoryMapper.xml @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + INSERT INTO admin_log (admin_id,name,mail,type,content) VALUES (#{adminId},#{name},#{mail}, #{type}, #{content}); + + + TRUNCATE TABLE caliverse_meta_data + + + + INSERT INTO caliverse_meta_data (file_name, data_id, json_data) VALUES (#{fileName}, #{dataId}, #{jsonData}) + + + diff --git a/src/main/resources/mappers/LandMapper.xml b/src/main/resources/mappers/LandMapper.xml new file mode 100644 index 0000000..a9e57ee --- /dev/null +++ b/src/main/resources/mappers/LandMapper.xml @@ -0,0 +1,301 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO land_auction (land_id, land_name, land_size, land_socket, auction_seq, resv_start_dt, resv_end_dt, auction_start_dt, auction_end_dt, currency_type, start_price, create_by, update_by) + VALUES (#{landId}, #{landName}, #{landSize}, #{landSocket}, #{auctionSeq}, #{resvStartDt}, #{resvEndDt}, #{auctionStartDt}, #{auctionEndDt}, #{currencyType}, #{startPrice}, #{createBy}, #{updateBy}) + + + + INSERT INTO message (target_id, type, content, language) + VALUES (#{id}, 'LANDAUCTION', #{content}, #{language}) + + + + + UPDATE land_auction SET resv_start_dt = #{resvStartDt} + , resv_end_dt = #{resvEndDt} + , auction_start_dt = #{auctionStartDt} + , auction_end_dt = #{auctionEndDt} + , currency_type = #{currencyType} + , start_price = #{startPrice} + , update_by = #{updateBy} + , update_dt = NOW() + WHERE id = #{id} + + + + DELETE FROM message + WHERE target_id = #{id} + AND type = 'LANDAUCTION' + + + + UPDATE land_auction + SET deleted = 1 + ,status = 'CANCEL' + , update_by = #{updateBy} + , update_dt = NOW() + WHERE id = #{id} + + + + UPDATE land_auction + SET status = #{status} + + , bidder_guid = #{bidderGuid} + , bidder_nickname = #{bidderNickname} + + + , close_end_dt = #{closeEndDt, jdbcType=TIMESTAMP} + + + , close_price = #{closePrice} + + where id = #{id} + + + + + diff --git a/src/main/resources/mappers/MailMapper.xml b/src/main/resources/mappers/MailMapper.xml new file mode 100644 index 0000000..8869e54 --- /dev/null +++ b/src/main/resources/mappers/MailMapper.xml @@ -0,0 +1,272 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO mail (target,is_reserve, send_type, mail_type ,receive_type,send_dt, create_by, user_type) + VALUES (#{target},#{isReserve},#{sendType}, #{mailType}, #{receiveType},#{sendDt},#{createBy}, #{userType}) + + + + INSERT INTO guid (mail_id, guid) + VALUES (#{mailId}, #{guid}) + + + + INSERT INTO message (target_id, type,title, content, language) + VALUES (#{mailId}, 'MAIL',#{title}, #{content}, #{language}) + + + + INSERT INTO item (mail_id,reward_group_id,item_cnt,type) VALUES (#{mailId} , #{goodsId}, #{itemCnt},'MAIL') + + + + UPDATE mail SET target = #{target} + , is_reserve = #{isReserve} + , receive_type = #{receiveType} + , send_type =#{sendType} + , mail_type = #{mailType} + , send_dt = #{sendDt} + , update_by = #{updateBy} + , update_dt = NOW() + WHERE id = #{id} + + + DELETE FROM message + WHERE target_id = #{mailId} + + + DELETE FROM item + WHERE mail_id = #{mailId} + AND type = 'MAIL' + + + + UPDATE mail SET deleted = 1 + WHERE id = #{id} + + + + + + UPDATE mail SET send_status = #{status} + where id = #{id} + + + diff --git a/src/main/resources/mappers/NoticeMapper.xml b/src/main/resources/mappers/NoticeMapper.xml new file mode 100644 index 0000000..ef78e5b --- /dev/null +++ b/src/main/resources/mappers/NoticeMapper.xml @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO notice (message_type, send_dt, is_repeat, repeat_dt, repeat_cnt, create_by, end_dt, repeat_type) + VALUES (#{messageType}, #{sendDt}, #{isRepeat}, #{repeatDt}, #{repeatCnt},#{createBy}, #{endDt}, #{repeatType}) + + + + INSERT INTO message (target_id, type, content, language) + VALUES (#{id}, 'NOTICE', #{content}, #{language}) + + + + UPDATE notice SET message_type = #{messageType} + , send_dt = #{sendDt} + , end_dt = #{endDt} + , is_repeat = #{isRepeat} + , repeat_type = #{repeatType} + , repeat_dt = #{repeatDt} + , repeat_cnt = #{repeatCnt} + , update_by = #{updateBy} + , update_dt = NOW() + WHERE id = #{id} + + + DELETE FROM message + WHERE target_id = #{id} + AND type = 'NOTICE' + + + + UPDATE notice SET deleted = 1 + WHERE id = #{id} + + + + + + + + UPDATE notice SET send_status = #{status} + where id = #{id} + + + + UPDATE notice SET send_cnt = send_cnt + 1 + where id = #{id} + + + diff --git a/src/main/resources/mappers/TokenMapper.xml b/src/main/resources/mappers/TokenMapper.xml new file mode 100644 index 0000000..e5f6419 --- /dev/null +++ b/src/main/resources/mappers/TokenMapper.xml @@ -0,0 +1,36 @@ + + + + + + + + + + INSERT INTO token (token, token_type, revoked, expired, admin_id) + VALUES (#{token}, #{tokenType}, #{revoked}, #{expired}, #{adminId}) + + + + update token set revoked = #{revoked}, expired = #{expired} where id = #{id} + + + + + + UPDATE token + SET expired = true, + revoked = true + WHERE admin_id = #{id} + AND expired = false + AND id < (SELECT MAX(id) FROM token WHERE admin_id = #{id}) + + + diff --git a/src/main/resources/mappers/WalletUserMapper.xml b/src/main/resources/mappers/WalletUserMapper.xml new file mode 100644 index 0000000..d2246c6 --- /dev/null +++ b/src/main/resources/mappers/WalletUserMapper.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/mappers/WhiteListMapper.xml b/src/main/resources/mappers/WhiteListMapper.xml new file mode 100644 index 0000000..345a3be --- /dev/null +++ b/src/main/resources/mappers/WhiteListMapper.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + INSERT INTO white_list (guid,nickname, status, create_by) + VALUES (#{guid},#{nickname}, #{status},#{createBy}) + + + + UPDATE white_list SET status = 'PERMITTED' , update_dt = NOW() + WHERE id = #{id} + + + + UPDATE white_list SET deleted = 1 + WHERE id = #{id} + + + + + diff --git a/src/main/resources/sql/schema-mysql.sql b/src/main/resources/sql/schema-mysql.sql new file mode 100644 index 0000000..197ef3f --- /dev/null +++ b/src/main/resources/sql/schema-mysql.sql @@ -0,0 +1,98 @@ +-- Autogenerated: do not edit this file + +CREATE TABLE BATCH_JOB_INSTANCE ( + JOB_INSTANCE_ID BIGINT NOT NULL PRIMARY KEY , + VERSION BIGINT , + JOB_NAME VARCHAR(100) NOT NULL, + JOB_KEY VARCHAR(32) NOT NULL, + constraint JOB_INST_UN unique (JOB_NAME, JOB_KEY) +) ENGINE=InnoDB; + +CREATE TABLE BATCH_JOB_EXECUTION ( + JOB_EXECUTION_ID BIGINT NOT NULL PRIMARY KEY , + VERSION BIGINT , + JOB_INSTANCE_ID BIGINT NOT NULL, + CREATE_TIME DATETIME(6) NOT NULL, + START_TIME DATETIME(6) DEFAULT NULL , + END_TIME DATETIME(6) DEFAULT NULL , + STATUS VARCHAR(10) , + EXIT_CODE VARCHAR(2500) , + EXIT_MESSAGE VARCHAR(2500) , + LAST_UPDATED DATETIME(6), + constraint JOB_INST_EXEC_FK foreign key (JOB_INSTANCE_ID) + references BATCH_JOB_INSTANCE(JOB_INSTANCE_ID) +) ENGINE=InnoDB; + +CREATE TABLE BATCH_JOB_EXECUTION_PARAMS ( + JOB_EXECUTION_ID BIGINT NOT NULL , + PARAMETER_NAME VARCHAR(100) NOT NULL , + PARAMETER_TYPE VARCHAR(100) NOT NULL , + PARAMETER_VALUE VARCHAR(2500) , + IDENTIFYING CHAR(1) NOT NULL , + constraint JOB_EXEC_PARAMS_FK foreign key (JOB_EXECUTION_ID) + references BATCH_JOB_EXECUTION(JOB_EXECUTION_ID) +) ENGINE=InnoDB; + +CREATE TABLE BATCH_STEP_EXECUTION ( + STEP_EXECUTION_ID BIGINT NOT NULL PRIMARY KEY , + VERSION BIGINT NOT NULL, + STEP_NAME VARCHAR(100) NOT NULL, + JOB_EXECUTION_ID BIGINT NOT NULL, + CREATE_TIME DATETIME(6) NOT NULL, + START_TIME DATETIME(6) DEFAULT NULL , + END_TIME DATETIME(6) DEFAULT NULL , + STATUS VARCHAR(10) , + COMMIT_COUNT BIGINT , + READ_COUNT BIGINT , + FILTER_COUNT BIGINT , + WRITE_COUNT BIGINT , + READ_SKIP_COUNT BIGINT , + WRITE_SKIP_COUNT BIGINT , + PROCESS_SKIP_COUNT BIGINT , + ROLLBACK_COUNT BIGINT , + EXIT_CODE VARCHAR(2500) , + EXIT_MESSAGE VARCHAR(2500) , + LAST_UPDATED DATETIME(6), + constraint JOB_EXEC_STEP_FK foreign key (JOB_EXECUTION_ID) + references BATCH_JOB_EXECUTION(JOB_EXECUTION_ID) +) ENGINE=InnoDB; + +CREATE TABLE BATCH_STEP_EXECUTION_CONTEXT ( + STEP_EXECUTION_ID BIGINT NOT NULL PRIMARY KEY, + SHORT_CONTEXT VARCHAR(2500) NOT NULL, + SERIALIZED_CONTEXT TEXT , + constraint STEP_EXEC_CTX_FK foreign key (STEP_EXECUTION_ID) + references BATCH_STEP_EXECUTION(STEP_EXECUTION_ID) +) ENGINE=InnoDB; + +CREATE TABLE BATCH_JOB_EXECUTION_CONTEXT ( + JOB_EXECUTION_ID BIGINT NOT NULL PRIMARY KEY, + SHORT_CONTEXT VARCHAR(2500) NOT NULL, + SERIALIZED_CONTEXT TEXT , + constraint JOB_EXEC_CTX_FK foreign key (JOB_EXECUTION_ID) + references BATCH_JOB_EXECUTION(JOB_EXECUTION_ID) +) ENGINE=InnoDB; + +CREATE TABLE BATCH_STEP_EXECUTION_SEQ ( + ID BIGINT NOT NULL, + UNIQUE_KEY CHAR(1) NOT NULL, + constraint UNIQUE_KEY_UN unique (UNIQUE_KEY) +) ENGINE=InnoDB; + +INSERT INTO BATCH_STEP_EXECUTION_SEQ (ID, UNIQUE_KEY) select * from (select 0 as ID, '0' as UNIQUE_KEY) as tmp where not exists(select * from BATCH_STEP_EXECUTION_SEQ); + +CREATE TABLE BATCH_JOB_EXECUTION_SEQ ( + ID BIGINT NOT NULL, + UNIQUE_KEY CHAR(1) NOT NULL, + constraint UNIQUE_KEY_UN unique (UNIQUE_KEY) +) ENGINE=InnoDB; + +INSERT INTO BATCH_JOB_EXECUTION_SEQ (ID, UNIQUE_KEY) select * from (select 0 as ID, '0' as UNIQUE_KEY) as tmp where not exists(select * from BATCH_JOB_EXECUTION_SEQ); + +CREATE TABLE BATCH_JOB_SEQ ( + ID BIGINT NOT NULL, + UNIQUE_KEY CHAR(1) NOT NULL, + constraint UNIQUE_KEY_UN unique (UNIQUE_KEY) +) ENGINE=InnoDB; + +INSERT INTO BATCH_JOB_SEQ (ID, UNIQUE_KEY) select * from (select 0 as ID, '0' as UNIQUE_KEY) as tmp where not exists(select * from BATCH_JOB_SEQ); diff --git a/src/test/java/com/caliverse/admin/CaliverseAdminApiApplicationTests.java b/src/test/java/com/caliverse/admin/CaliverseAdminApiApplicationTests.java new file mode 100644 index 0000000..da88e5f --- /dev/null +++ b/src/test/java/com/caliverse/admin/CaliverseAdminApiApplicationTests.java @@ -0,0 +1,14 @@ +package com.caliverse.admin; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class CaliverseAdminApiApplicationTests { + + @Test + void contextLoads() { + System.err.println("Test"); + } + +}